1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_bool swig_types[0]
2463 #define SWIGTYPE_p_char swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_long swig_types[4]
2467 #define SWIGTYPE_p_unsigned_char swig_types[5]
2468 #define SWIGTYPE_p_unsigned_int swig_types[6]
2469 #define SWIGTYPE_p_unsigned_long swig_types[7]
2470 #define SWIGTYPE_p_void swig_types[8]
2471 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2472 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2473 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2474 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2475 #define SWIGTYPE_p_wxArrayString swig_types[13]
2476 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2477 #define SWIGTYPE_p_wxBitmap swig_types[15]
2478 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2479 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2480 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2481 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2482 #define SWIGTYPE_p_wxButton swig_types[20]
2483 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2484 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2485 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2486 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2487 #define SWIGTYPE_p_wxChoice swig_types[25]
2488 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2489 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2490 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2491 #define SWIGTYPE_p_wxCloseEvent swig_types[29]
2492 #define SWIGTYPE_p_wxColour swig_types[30]
2493 #define SWIGTYPE_p_wxComboBox swig_types[31]
2494 #define SWIGTYPE_p_wxCommandEvent swig_types[32]
2495 #define SWIGTYPE_p_wxContextHelp swig_types[33]
2496 #define SWIGTYPE_p_wxContextHelpButton swig_types[34]
2497 #define SWIGTYPE_p_wxContextMenuEvent swig_types[35]
2498 #define SWIGTYPE_p_wxControl swig_types[36]
2499 #define SWIGTYPE_p_wxControlWithItems swig_types[37]
2500 #define SWIGTYPE_p_wxCursor swig_types[38]
2501 #define SWIGTYPE_p_wxDC swig_types[39]
2502 #define SWIGTYPE_p_wxDateEvent swig_types[40]
2503 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[41]
2504 #define SWIGTYPE_p_wxDateTime swig_types[42]
2505 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[43]
2506 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[44]
2507 #define SWIGTYPE_p_wxDropFilesEvent swig_types[45]
2508 #define SWIGTYPE_p_wxDuplexMode swig_types[46]
2509 #define SWIGTYPE_p_wxEraseEvent swig_types[47]
2510 #define SWIGTYPE_p_wxEvent swig_types[48]
2511 #define SWIGTYPE_p_wxEvtHandler swig_types[49]
2512 #define SWIGTYPE_p_wxFSFile swig_types[50]
2513 #define SWIGTYPE_p_wxFileSystem swig_types[51]
2514 #define SWIGTYPE_p_wxFlexGridSizer swig_types[52]
2515 #define SWIGTYPE_p_wxFocusEvent swig_types[53]
2516 #define SWIGTYPE_p_wxFont swig_types[54]
2517 #define SWIGTYPE_p_wxGBSizerItem swig_types[55]
2518 #define SWIGTYPE_p_wxGIFHandler swig_types[56]
2519 #define SWIGTYPE_p_wxGauge swig_types[57]
2520 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[58]
2521 #define SWIGTYPE_p_wxGenericDragImage swig_types[59]
2522 #define SWIGTYPE_p_wxGridBagSizer swig_types[60]
2523 #define SWIGTYPE_p_wxGridSizer swig_types[61]
2524 #define SWIGTYPE_p_wxHelpEvent swig_types[62]
2525 #define SWIGTYPE_p_wxHelpProvider swig_types[63]
2526 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[64]
2527 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[65]
2528 #define SWIGTYPE_p_wxICOHandler swig_types[66]
2529 #define SWIGTYPE_p_wxIcon swig_types[67]
2530 #define SWIGTYPE_p_wxIconizeEvent swig_types[68]
2531 #define SWIGTYPE_p_wxIdleEvent swig_types[69]
2532 #define SWIGTYPE_p_wxImage swig_types[70]
2533 #define SWIGTYPE_p_wxImageHandler swig_types[71]
2534 #define SWIGTYPE_p_wxImageList swig_types[72]
2535 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[73]
2536 #define SWIGTYPE_p_wxInitDialogEvent swig_types[74]
2537 #define SWIGTYPE_p_wxItemContainer swig_types[75]
2538 #define SWIGTYPE_p_wxJPEGHandler swig_types[76]
2539 #define SWIGTYPE_p_wxKeyEvent swig_types[77]
2540 #define SWIGTYPE_p_wxLayoutConstraints swig_types[78]
2541 #define SWIGTYPE_p_wxListBox swig_types[79]
2542 #define SWIGTYPE_p_wxListEvent swig_types[80]
2543 #define SWIGTYPE_p_wxListItem swig_types[81]
2544 #define SWIGTYPE_p_wxListItemAttr swig_types[82]
2545 #define SWIGTYPE_p_wxListView swig_types[83]
2546 #define SWIGTYPE_p_wxListbook swig_types[84]
2547 #define SWIGTYPE_p_wxListbookEvent swig_types[85]
2548 #define SWIGTYPE_p_wxMaximizeEvent swig_types[86]
2549 #define SWIGTYPE_p_wxMemoryDC swig_types[87]
2550 #define SWIGTYPE_p_wxMenu swig_types[88]
2551 #define SWIGTYPE_p_wxMenuBar swig_types[89]
2552 #define SWIGTYPE_p_wxMenuEvent swig_types[90]
2553 #define SWIGTYPE_p_wxMenuItem swig_types[91]
2554 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[92]
2555 #define SWIGTYPE_p_wxMouseEvent swig_types[93]
2556 #define SWIGTYPE_p_wxMoveEvent swig_types[94]
2557 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[95]
2558 #define SWIGTYPE_p_wxNcPaintEvent swig_types[96]
2559 #define SWIGTYPE_p_wxNotebook swig_types[97]
2560 #define SWIGTYPE_p_wxNotebookEvent swig_types[98]
2561 #define SWIGTYPE_p_wxNotifyEvent swig_types[99]
2562 #define SWIGTYPE_p_wxObject swig_types[100]
2563 #define SWIGTYPE_p_wxPCXHandler swig_types[101]
2564 #define SWIGTYPE_p_wxPNGHandler swig_types[102]
2565 #define SWIGTYPE_p_wxPNMHandler swig_types[103]
2566 #define SWIGTYPE_p_wxPaintEvent swig_types[104]
2567 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[105]
2568 #define SWIGTYPE_p_wxPaperSize swig_types[106]
2569 #define SWIGTYPE_p_wxPoint swig_types[107]
2570 #define SWIGTYPE_p_wxPyApp swig_types[108]
2571 #define SWIGTYPE_p_wxPyCommandEvent swig_types[109]
2572 #define SWIGTYPE_p_wxPyControl swig_types[110]
2573 #define SWIGTYPE_p_wxPyEvent swig_types[111]
2574 #define SWIGTYPE_p_wxPyImageHandler swig_types[112]
2575 #define SWIGTYPE_p_wxPyListCtrl swig_types[113]
2576 #define SWIGTYPE_p_wxPySizer swig_types[114]
2577 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[115]
2578 #define SWIGTYPE_p_wxPyTreeItemData swig_types[116]
2579 #define SWIGTYPE_p_wxPyValidator swig_types[117]
2580 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[118]
2581 #define SWIGTYPE_p_wxRadioBox swig_types[119]
2582 #define SWIGTYPE_p_wxRadioButton swig_types[120]
2583 #define SWIGTYPE_p_wxRect swig_types[121]
2584 #define SWIGTYPE_p_wxScrollBar swig_types[122]
2585 #define SWIGTYPE_p_wxScrollEvent swig_types[123]
2586 #define SWIGTYPE_p_wxScrollWinEvent swig_types[124]
2587 #define SWIGTYPE_p_wxSetCursorEvent swig_types[125]
2588 #define SWIGTYPE_p_wxShowEvent swig_types[126]
2589 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[127]
2590 #define SWIGTYPE_p_wxSize swig_types[128]
2591 #define SWIGTYPE_p_wxSizeEvent swig_types[129]
2592 #define SWIGTYPE_p_wxSizer swig_types[130]
2593 #define SWIGTYPE_p_wxSizerItem swig_types[131]
2594 #define SWIGTYPE_p_wxSlider swig_types[132]
2595 #define SWIGTYPE_p_wxSpinButton swig_types[133]
2596 #define SWIGTYPE_p_wxSpinCtrl swig_types[134]
2597 #define SWIGTYPE_p_wxSpinEvent swig_types[135]
2598 #define SWIGTYPE_p_wxStaticBitmap swig_types[136]
2599 #define SWIGTYPE_p_wxStaticBox swig_types[137]
2600 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[138]
2601 #define SWIGTYPE_p_wxStaticLine swig_types[139]
2602 #define SWIGTYPE_p_wxStaticText swig_types[140]
2603 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[141]
2604 #define SWIGTYPE_p_wxString swig_types[142]
2605 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[143]
2606 #define SWIGTYPE_p_wxTIFFHandler swig_types[144]
2607 #define SWIGTYPE_p_wxTextAttr swig_types[145]
2608 #define SWIGTYPE_p_wxTextCtrl swig_types[146]
2609 #define SWIGTYPE_p_wxTextUrlEvent swig_types[147]
2610 #define SWIGTYPE_p_wxToggleButton swig_types[148]
2611 #define SWIGTYPE_p_wxToolBar swig_types[149]
2612 #define SWIGTYPE_p_wxToolBarBase swig_types[150]
2613 #define SWIGTYPE_p_wxToolBarToolBase swig_types[151]
2614 #define SWIGTYPE_p_wxToolbook swig_types[152]
2615 #define SWIGTYPE_p_wxToolbookEvent swig_types[153]
2616 #define SWIGTYPE_p_wxTreeCtrl swig_types[154]
2617 #define SWIGTYPE_p_wxTreeEvent swig_types[155]
2618 #define SWIGTYPE_p_wxTreeItemId swig_types[156]
2619 #define SWIGTYPE_p_wxTreebook swig_types[157]
2620 #define SWIGTYPE_p_wxTreebookEvent swig_types[158]
2621 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[159]
2622 #define SWIGTYPE_p_wxValidator swig_types[160]
2623 #define SWIGTYPE_p_wxVisualAttributes swig_types[161]
2624 #define SWIGTYPE_p_wxWindow swig_types[162]
2625 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[163]
2626 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[164]
2627 #define SWIGTYPE_p_wxXPMHandler swig_types[165]
2628 static swig_type_info
*swig_types
[167];
2629 static swig_module_info swig_module
= {swig_types
, 166, 0, 0, 0, 0};
2630 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2631 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2633 /* -------- TYPES TABLE (END) -------- */
2635 #if (PY_VERSION_HEX <= 0x02000000)
2636 # if !defined(SWIG_PYTHON_CLASSIC)
2637 # error "This python version requires to use swig with the '-classic' option"
2640 #if (PY_VERSION_HEX <= 0x02020000)
2641 # error "This python version requires to use swig with the '-nomodern' option"
2643 #if (PY_VERSION_HEX <= 0x02020000)
2644 # error "This python version requires to use swig with the '-nomodernargs' option"
2647 # error "This python version requires to use swig with the '-nofastunpack' option"
2650 /*-----------------------------------------------
2651 @(target):= _controls_.so
2652 ------------------------------------------------*/
2653 #define SWIG_init init_controls_
2655 #define SWIG_name "_controls_"
2657 #define SWIGVERSION 0x010329
2660 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2661 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2664 #include <stdexcept>
2668 class PyObject_ptr
{
2673 PyObject_ptr() :_obj(0)
2677 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2682 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2684 if (initial_ref
) Py_XINCREF(_obj
);
2687 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2689 Py_XINCREF(item
._obj
);
2700 operator PyObject
*() const
2705 PyObject
*operator->() const
2714 struct PyObject_var
: PyObject_ptr
{
2715 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2717 PyObject_var
& operator = (PyObject
* obj
)
2727 #include "wx/wxPython/wxPython.h"
2728 #include "wx/wxPython/pyclasses.h"
2730 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2731 static const wxString
wxPyEmptyString(wxEmptyString
);
2732 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2734 const wxArrayString wxPyEmptyStringArray
;
2736 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2738 #define SWIG_From_long PyInt_FromLong
2741 SWIGINTERNINLINE PyObject
*
2742 SWIG_From_int (int value
)
2744 return SWIG_From_long (value
);
2750 # define LLONG_MIN LONG_LONG_MIN
2753 # define LLONG_MAX LONG_LONG_MAX
2756 # define ULLONG_MAX ULONG_LONG_MAX
2761 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2763 if (PyNumber_Check(obj
)) {
2764 if (val
) *val
= PyInt_AsLong(obj
);
2767 return SWIG_TypeError
;
2772 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2775 int res
= SWIG_AsVal_long (obj
, &v
);
2776 if (SWIG_IsOK(res
)) {
2777 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2778 return SWIG_OverflowError
;
2780 if (val
) *val
= static_cast< int >(v
);
2786 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2789 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2791 if (obj
== Py_True
) {
2792 if (val
) *val
= true;
2794 } else if (obj
== Py_False
) {
2795 if (val
) *val
= false;
2799 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2800 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2805 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2806 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2807 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2808 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2809 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2810 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2812 #include <wx/checklst.h>
2814 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2815 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2818 wxPyClientData
* data
= new wxPyClientData(clientData
);
2819 self
->Insert(item
, pos
, data
);
2822 self
->Insert(item
, pos
);
2826 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2829 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2830 return SWIG_TypeError
;
2833 *val
= (unsigned long)v
;
2839 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2842 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2843 if (SWIG_IsOK(res
)) {
2844 if ((v
> UINT_MAX
)) {
2845 return SWIG_OverflowError
;
2847 if (val
) *val
= static_cast< unsigned int >(v
);
2853 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2854 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2856 self
->GetSelections(lst
);
2857 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2858 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2860 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2862 wxPyEndBlockThreads(blocked
);
2865 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2867 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2868 self
->GetItem(item
)->SetTextColour(c
);
2871 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2873 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2874 self
->GetItem(item
)->SetBackgroundColour(c
);
2877 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2879 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2880 self
->GetItem(item
)->SetFont(f
);
2883 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2884 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2885 self
->AppendText(text
);
2887 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2888 return self
->GetValue().Mid(from
, to
- from
);
2890 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2891 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2892 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2893 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2894 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2896 SWIGINTERNINLINE PyObject
*
2897 SWIG_From_unsigned_SS_long (unsigned long value
)
2899 return (value
> LONG_MAX
) ?
2900 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2904 SWIGINTERNINLINE PyObject
*
2905 SWIG_From_size_t (size_t value
)
2907 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2911 SWIGINTERNINLINE PyObject
*
2912 SWIG_From_unsigned_SS_int (unsigned int value
)
2914 return SWIG_From_unsigned_SS_long (value
);
2918 #include <wx/slider.h>
2921 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2922 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2924 #if !wxUSE_TOGGLEBTN
2925 // implement dummy items for platforms that don't have this class
2927 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2929 class wxToggleButton
: public wxControl
2932 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2933 const wxPoint
&, const wxSize
&, long,
2934 const wxValidator
&, const wxString
&)
2935 { wxPyRaiseNotImplemented(); }
2938 { wxPyRaiseNotImplemented(); }
2942 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2944 SWIGINTERNINLINE
int
2945 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2948 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2949 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2953 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2954 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2955 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2957 Py_INCREF(udata
->m_obj
);
2958 return udata
->m_obj
;
2964 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2965 self
->SetClientData(new wxPyUserData(clientData
));
2967 SWIGINTERN wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
2968 wxPyUserData
* udata
= NULL
;
2969 if (clientData
&& clientData
!= Py_None
)
2970 udata
= new wxPyUserData(clientData
);
2971 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2972 shortHelp
, longHelp
, udata
);
2974 SWIGINTERN wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
2975 wxPyUserData
* udata
= NULL
;
2976 if (clientData
&& clientData
!= Py_None
)
2977 udata
= new wxPyUserData(clientData
);
2978 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2979 shortHelp
, longHelp
, udata
);
2981 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2982 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
2984 Py_INCREF(udata
->m_obj
);
2985 return udata
->m_obj
;
2991 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
2992 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
2995 #include <wx/listctrl.h>
2997 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
2998 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
2999 // Python aware sorting function for wxPyListCtrl
3000 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3002 PyObject
* func
= (PyObject
*)funcPtr
;
3003 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3005 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3006 PyObject
* result
= PyEval_CallObject(func
, args
);
3009 retval
= PyInt_AsLong(result
);
3013 wxPyEndBlockThreads(blocked
);
3017 // C++ Version of a Python aware class
3018 class wxPyListCtrl
: public wxListCtrl
{
3019 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3021 wxPyListCtrl() : wxListCtrl() {}
3022 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3026 const wxValidator
& validator
,
3027 const wxString
& name
) :
3028 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3030 bool Create(wxWindow
* parent
, wxWindowID id
,
3034 const wxValidator
& validator
,
3035 const wxString
& name
) {
3036 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3039 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3040 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3042 // use the virtual version to avoid a confusing assert in the base class
3043 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3044 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3049 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3051 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3052 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3053 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3054 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3057 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3059 item
.SetMask( wxLIST_MASK_STATE
|
3067 if (self
->GetColumn(col
, item
))
3068 return new wxListItem(item
);
3072 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3073 wxListItem
* info
= new wxListItem
;
3074 info
->m_itemId
= itemId
;
3076 info
->m_mask
= 0xFFFF;
3077 self
->GetItem(*info
);
3080 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3082 self
->GetItemPosition(item
, pos
);
3085 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3087 self
->GetItemRect(item
, rect
, code
);
3090 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3091 if (!PyCallable_Check(func
))
3093 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3095 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3099 return (wxWindow
*)self
->m_mainWin
;
3103 #include <wx/treectrl.h>
3104 #include "wx/wxPython/pytree.h"
3106 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3107 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3108 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3109 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3110 // C++ version of Python aware wxTreeCtrl
3111 class wxPyTreeCtrl
: public wxTreeCtrl
{
3112 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3114 wxPyTreeCtrl() : wxTreeCtrl() {}
3115 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3119 const wxValidator
& validator
,
3120 const wxString
& name
) :
3121 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3123 bool Create(wxWindow
*parent
, wxWindowID id
,
3127 const wxValidator
& validator
,
3128 const wxString
& name
) {
3129 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3133 int OnCompareItems(const wxTreeItemId
& item1
,
3134 const wxTreeItemId
& item2
) {
3137 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3138 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3139 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3140 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3141 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3145 wxPyEndBlockThreads(blocked
);
3147 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3153 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3156 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3157 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3159 data
= new wxPyTreeItemData();
3160 data
->SetId(item
); // set the id
3161 self
->SetItemData(item
, data
);
3165 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3166 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3168 data
= new wxPyTreeItemData();
3169 data
->SetId(item
); // set the id
3170 self
->SetItemData(item
, data
);
3172 return data
->GetData();
3174 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3175 data
->SetId(item
); // set the id
3176 self
->SetItemData(item
, data
);
3178 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3179 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3181 data
= new wxPyTreeItemData(obj
);
3182 data
->SetId(item
); // set the id
3183 self
->SetItemData(item
, data
);
3187 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3188 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3189 PyObject
* rval
= PyList_New(0);
3190 wxArrayTreeItemIds array
;
3192 num
= self
->GetSelections(array
);
3193 for (x
=0; x
< num
; x
++) {
3194 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3195 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3196 PyList_Append(rval
, item
);
3199 wxPyEndBlockThreads(blocked
);
3202 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3204 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3205 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3206 PyObject
* tup
= PyTuple_New(2);
3207 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3208 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3209 wxPyEndBlockThreads(blocked
);
3212 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3213 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3214 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3215 PyObject
* tup
= PyTuple_New(2);
3216 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3217 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3218 wxPyEndBlockThreads(blocked
);
3221 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3223 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3224 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3225 wxRect
* r
= new wxRect(rect
);
3226 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3227 wxPyEndBlockThreads(blocked
);
3233 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3235 SWIGINTERNINLINE PyObject
*
3236 SWIG_From_bool (bool value
)
3238 return PyBool_FromLong(value
? 1 : 0);
3241 // C++ version of Python aware wxControl
3242 class wxPyControl
: public wxControl
3244 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3246 wxPyControl() : wxControl() {}
3247 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3248 const wxPoint
& pos
= wxDefaultPosition
,
3249 const wxSize
& size
= wxDefaultSize
,
3251 const wxValidator
& validator
=wxDefaultValidator
,
3252 const wxString
& name
= wxPyControlNameStr
)
3253 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3255 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
3257 bool DoEraseBackground(wxDC
* dc
) {
3259 return wxWindow::DoEraseBackground(dc
->GetHDC());
3261 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3267 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3268 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3269 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3270 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3272 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3273 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3274 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3276 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3277 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3279 DEC_PYCALLBACK__(InitDialog
);
3280 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3281 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3282 DEC_PYCALLBACK_BOOL_(Validate
);
3284 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3285 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3286 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3288 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3289 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3291 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3292 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3294 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3296 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3301 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3303 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3304 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3305 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3306 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3308 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3309 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3310 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3312 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3313 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3315 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3316 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3317 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3318 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3320 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3321 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3322 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3324 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3325 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3327 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3328 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3330 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3332 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3336 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3338 #include <wx/generic/dragimgg.h>
3340 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3341 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3343 self
->GetRange(&rv
, NULL
);
3346 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3348 self
->GetRange(NULL
, &rv
);
3352 #include <wx/hyperlink.h>
3354 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3358 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3359 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3364 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3365 PyObject
*pyobj
= 0;
3369 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3371 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3378 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3379 PyObject
*resultobj
= 0;
3380 wxWindow
*arg1
= (wxWindow
*) 0 ;
3381 int arg2
= (int) -1 ;
3382 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3383 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3384 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3385 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3386 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3387 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3388 long arg6
= (long) 0 ;
3389 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3390 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3391 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3392 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3393 wxButton
*result
= 0 ;
3398 bool temp3
= false ;
3405 bool temp8
= false ;
3406 PyObject
* obj0
= 0 ;
3407 PyObject
* obj1
= 0 ;
3408 PyObject
* obj2
= 0 ;
3409 PyObject
* obj3
= 0 ;
3410 PyObject
* obj4
= 0 ;
3411 PyObject
* obj5
= 0 ;
3412 PyObject
* obj6
= 0 ;
3413 PyObject
* obj7
= 0 ;
3414 char * kwnames
[] = {
3415 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3420 if (!SWIG_IsOK(res1
)) {
3421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3423 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3425 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3426 if (!SWIG_IsOK(ecode2
)) {
3427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3429 arg2
= static_cast< int >(val2
);
3433 arg3
= wxString_in_helper(obj2
);
3434 if (arg3
== NULL
) SWIG_fail
;
3441 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3447 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3451 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3452 if (!SWIG_IsOK(ecode6
)) {
3453 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3455 arg6
= static_cast< long >(val6
);
3458 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3459 if (!SWIG_IsOK(res7
)) {
3460 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3463 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3465 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3469 arg8
= wxString_in_helper(obj7
);
3470 if (arg8
== NULL
) SWIG_fail
;
3475 if (!wxPyCheckForApp()) SWIG_fail
;
3476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3477 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3478 wxPyEndAllowThreads(__tstate
);
3479 if (PyErr_Occurred()) SWIG_fail
;
3481 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3504 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3505 PyObject
*resultobj
= 0;
3506 wxButton
*result
= 0 ;
3508 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3510 if (!wxPyCheckForApp()) SWIG_fail
;
3511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3512 result
= (wxButton
*)new wxButton();
3513 wxPyEndAllowThreads(__tstate
);
3514 if (PyErr_Occurred()) SWIG_fail
;
3516 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3523 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3524 PyObject
*resultobj
= 0;
3525 wxButton
*arg1
= (wxButton
*) 0 ;
3526 wxWindow
*arg2
= (wxWindow
*) 0 ;
3527 int arg3
= (int) -1 ;
3528 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3529 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3530 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3531 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3532 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3533 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3534 long arg7
= (long) 0 ;
3535 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3536 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3537 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3538 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3546 bool temp4
= false ;
3553 bool temp9
= false ;
3554 PyObject
* obj0
= 0 ;
3555 PyObject
* obj1
= 0 ;
3556 PyObject
* obj2
= 0 ;
3557 PyObject
* obj3
= 0 ;
3558 PyObject
* obj4
= 0 ;
3559 PyObject
* obj5
= 0 ;
3560 PyObject
* obj6
= 0 ;
3561 PyObject
* obj7
= 0 ;
3562 PyObject
* obj8
= 0 ;
3563 char * kwnames
[] = {
3564 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3569 if (!SWIG_IsOK(res1
)) {
3570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3572 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3573 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3574 if (!SWIG_IsOK(res2
)) {
3575 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3577 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3579 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3580 if (!SWIG_IsOK(ecode3
)) {
3581 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3583 arg3
= static_cast< int >(val3
);
3587 arg4
= wxString_in_helper(obj3
);
3588 if (arg4
== NULL
) SWIG_fail
;
3595 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3601 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3605 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3606 if (!SWIG_IsOK(ecode7
)) {
3607 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3609 arg7
= static_cast< long >(val7
);
3612 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3613 if (!SWIG_IsOK(res8
)) {
3614 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3617 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3619 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3623 arg9
= wxString_in_helper(obj8
);
3624 if (arg9
== NULL
) SWIG_fail
;
3629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3630 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3631 wxPyEndAllowThreads(__tstate
);
3632 if (PyErr_Occurred()) SWIG_fail
;
3635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3659 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3660 PyObject
*resultobj
= 0;
3661 wxButton
*arg1
= (wxButton
*) 0 ;
3664 PyObject
*swig_obj
[1] ;
3666 if (!args
) SWIG_fail
;
3668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3669 if (!SWIG_IsOK(res1
)) {
3670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3672 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3675 (arg1
)->SetDefault();
3676 wxPyEndAllowThreads(__tstate
);
3677 if (PyErr_Occurred()) SWIG_fail
;
3679 resultobj
= SWIG_Py_Void();
3686 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3687 PyObject
*resultobj
= 0;
3690 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3693 result
= wxButton::GetDefaultSize();
3694 wxPyEndAllowThreads(__tstate
);
3695 if (PyErr_Occurred()) SWIG_fail
;
3697 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3704 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3705 PyObject
*resultobj
= 0;
3706 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3707 SwigValueWrapper
<wxVisualAttributes
> result
;
3710 PyObject
* obj0
= 0 ;
3711 char * kwnames
[] = {
3712 (char *) "variant", NULL
3715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3717 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3718 if (!SWIG_IsOK(ecode1
)) {
3719 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3721 arg1
= static_cast< wxWindowVariant
>(val1
);
3724 if (!wxPyCheckForApp()) SWIG_fail
;
3725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3726 result
= wxButton::GetClassDefaultAttributes(arg1
);
3727 wxPyEndAllowThreads(__tstate
);
3728 if (PyErr_Occurred()) SWIG_fail
;
3730 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3737 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3739 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3740 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3741 return SWIG_Py_Void();
3744 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3745 return SWIG_Python_InitShadowInstance(args
);
3748 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3749 PyObject
*resultobj
= 0;
3750 wxWindow
*arg1
= (wxWindow
*) 0 ;
3751 int arg2
= (int) -1 ;
3752 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3753 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3754 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3755 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3756 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3757 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3758 long arg6
= (long) wxBU_AUTODRAW
;
3759 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3760 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3761 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3762 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3763 wxBitmapButton
*result
= 0 ;
3776 bool temp8
= false ;
3777 PyObject
* obj0
= 0 ;
3778 PyObject
* obj1
= 0 ;
3779 PyObject
* obj2
= 0 ;
3780 PyObject
* obj3
= 0 ;
3781 PyObject
* obj4
= 0 ;
3782 PyObject
* obj5
= 0 ;
3783 PyObject
* obj6
= 0 ;
3784 PyObject
* obj7
= 0 ;
3785 char * kwnames
[] = {
3786 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3791 if (!SWIG_IsOK(res1
)) {
3792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3794 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3796 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3797 if (!SWIG_IsOK(ecode2
)) {
3798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3800 arg2
= static_cast< int >(val2
);
3803 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3804 if (!SWIG_IsOK(res3
)) {
3805 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3808 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3810 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3815 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3821 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3825 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3826 if (!SWIG_IsOK(ecode6
)) {
3827 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3829 arg6
= static_cast< long >(val6
);
3832 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3833 if (!SWIG_IsOK(res7
)) {
3834 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3837 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3839 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3843 arg8
= wxString_in_helper(obj7
);
3844 if (arg8
== NULL
) SWIG_fail
;
3849 if (!wxPyCheckForApp()) SWIG_fail
;
3850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3851 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3852 wxPyEndAllowThreads(__tstate
);
3853 if (PyErr_Occurred()) SWIG_fail
;
3855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3870 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3871 PyObject
*resultobj
= 0;
3872 wxBitmapButton
*result
= 0 ;
3874 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3876 if (!wxPyCheckForApp()) SWIG_fail
;
3877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3878 result
= (wxBitmapButton
*)new wxBitmapButton();
3879 wxPyEndAllowThreads(__tstate
);
3880 if (PyErr_Occurred()) SWIG_fail
;
3882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3889 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3890 PyObject
*resultobj
= 0;
3891 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3892 wxWindow
*arg2
= (wxWindow
*) 0 ;
3893 int arg3
= (int) -1 ;
3894 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3895 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3896 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3897 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3898 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3899 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3900 long arg7
= (long) wxBU_AUTODRAW
;
3901 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3902 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3903 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3904 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3920 bool temp9
= false ;
3921 PyObject
* obj0
= 0 ;
3922 PyObject
* obj1
= 0 ;
3923 PyObject
* obj2
= 0 ;
3924 PyObject
* obj3
= 0 ;
3925 PyObject
* obj4
= 0 ;
3926 PyObject
* obj5
= 0 ;
3927 PyObject
* obj6
= 0 ;
3928 PyObject
* obj7
= 0 ;
3929 PyObject
* obj8
= 0 ;
3930 char * kwnames
[] = {
3931 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3936 if (!SWIG_IsOK(res1
)) {
3937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3939 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3940 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3941 if (!SWIG_IsOK(res2
)) {
3942 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3944 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3946 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3947 if (!SWIG_IsOK(ecode3
)) {
3948 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3950 arg3
= static_cast< int >(val3
);
3953 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3954 if (!SWIG_IsOK(res4
)) {
3955 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3958 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3960 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3965 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3971 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3975 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3976 if (!SWIG_IsOK(ecode7
)) {
3977 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
3979 arg7
= static_cast< long >(val7
);
3982 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3983 if (!SWIG_IsOK(res8
)) {
3984 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3987 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3989 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3993 arg9
= wxString_in_helper(obj8
);
3994 if (arg9
== NULL
) SWIG_fail
;
3999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4000 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4001 wxPyEndAllowThreads(__tstate
);
4002 if (PyErr_Occurred()) SWIG_fail
;
4005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4021 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4022 PyObject
*resultobj
= 0;
4023 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4027 PyObject
*swig_obj
[1] ;
4029 if (!args
) SWIG_fail
;
4031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4032 if (!SWIG_IsOK(res1
)) {
4033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4035 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4038 result
= (arg1
)->GetBitmapLabel();
4039 wxPyEndAllowThreads(__tstate
);
4040 if (PyErr_Occurred()) SWIG_fail
;
4042 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4049 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4050 PyObject
*resultobj
= 0;
4051 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4055 PyObject
*swig_obj
[1] ;
4057 if (!args
) SWIG_fail
;
4059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4060 if (!SWIG_IsOK(res1
)) {
4061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4063 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4066 result
= (arg1
)->GetBitmapDisabled();
4067 wxPyEndAllowThreads(__tstate
);
4068 if (PyErr_Occurred()) SWIG_fail
;
4070 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4077 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4078 PyObject
*resultobj
= 0;
4079 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4083 PyObject
*swig_obj
[1] ;
4085 if (!args
) SWIG_fail
;
4087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4088 if (!SWIG_IsOK(res1
)) {
4089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4091 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4094 result
= (arg1
)->GetBitmapFocus();
4095 wxPyEndAllowThreads(__tstate
);
4096 if (PyErr_Occurred()) SWIG_fail
;
4098 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4105 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4106 PyObject
*resultobj
= 0;
4107 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4111 PyObject
*swig_obj
[1] ;
4113 if (!args
) SWIG_fail
;
4115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4116 if (!SWIG_IsOK(res1
)) {
4117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4119 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4122 result
= (arg1
)->GetBitmapSelected();
4123 wxPyEndAllowThreads(__tstate
);
4124 if (PyErr_Occurred()) SWIG_fail
;
4126 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4133 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4134 PyObject
*resultobj
= 0;
4135 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4139 PyObject
*swig_obj
[1] ;
4141 if (!args
) SWIG_fail
;
4143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4144 if (!SWIG_IsOK(res1
)) {
4145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4147 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4150 result
= (arg1
)->GetBitmapHover();
4151 wxPyEndAllowThreads(__tstate
);
4152 if (PyErr_Occurred()) SWIG_fail
;
4154 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4161 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4162 PyObject
*resultobj
= 0;
4163 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4164 wxBitmap
*arg2
= 0 ;
4169 PyObject
* obj0
= 0 ;
4170 PyObject
* obj1
= 0 ;
4171 char * kwnames
[] = {
4172 (char *) "self",(char *) "bitmap", NULL
4175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4177 if (!SWIG_IsOK(res1
)) {
4178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4180 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4181 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4182 if (!SWIG_IsOK(res2
)) {
4183 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4186 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4188 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4191 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4192 wxPyEndAllowThreads(__tstate
);
4193 if (PyErr_Occurred()) SWIG_fail
;
4195 resultobj
= SWIG_Py_Void();
4202 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4203 PyObject
*resultobj
= 0;
4204 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4205 wxBitmap
*arg2
= 0 ;
4210 PyObject
* obj0
= 0 ;
4211 PyObject
* obj1
= 0 ;
4212 char * kwnames
[] = {
4213 (char *) "self",(char *) "bitmap", NULL
4216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4218 if (!SWIG_IsOK(res1
)) {
4219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4221 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4222 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4223 if (!SWIG_IsOK(res2
)) {
4224 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4227 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4229 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4232 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4233 wxPyEndAllowThreads(__tstate
);
4234 if (PyErr_Occurred()) SWIG_fail
;
4236 resultobj
= SWIG_Py_Void();
4243 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4244 PyObject
*resultobj
= 0;
4245 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4246 wxBitmap
*arg2
= 0 ;
4251 PyObject
* obj0
= 0 ;
4252 PyObject
* obj1
= 0 ;
4253 char * kwnames
[] = {
4254 (char *) "self",(char *) "bitmap", NULL
4257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4259 if (!SWIG_IsOK(res1
)) {
4260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4262 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4263 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4264 if (!SWIG_IsOK(res2
)) {
4265 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4268 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4270 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4273 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4274 wxPyEndAllowThreads(__tstate
);
4275 if (PyErr_Occurred()) SWIG_fail
;
4277 resultobj
= SWIG_Py_Void();
4284 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4285 PyObject
*resultobj
= 0;
4286 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4287 wxBitmap
*arg2
= 0 ;
4292 PyObject
* obj0
= 0 ;
4293 PyObject
* obj1
= 0 ;
4294 char * kwnames
[] = {
4295 (char *) "self",(char *) "bitmap", NULL
4298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4300 if (!SWIG_IsOK(res1
)) {
4301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4303 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4304 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4305 if (!SWIG_IsOK(res2
)) {
4306 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4309 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4311 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4314 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4315 wxPyEndAllowThreads(__tstate
);
4316 if (PyErr_Occurred()) SWIG_fail
;
4318 resultobj
= SWIG_Py_Void();
4325 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4326 PyObject
*resultobj
= 0;
4327 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4328 wxBitmap
*arg2
= 0 ;
4333 PyObject
* obj0
= 0 ;
4334 PyObject
* obj1
= 0 ;
4335 char * kwnames
[] = {
4336 (char *) "self",(char *) "hover", NULL
4339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4341 if (!SWIG_IsOK(res1
)) {
4342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4344 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4345 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4346 if (!SWIG_IsOK(res2
)) {
4347 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4350 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4352 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4355 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4356 wxPyEndAllowThreads(__tstate
);
4357 if (PyErr_Occurred()) SWIG_fail
;
4359 resultobj
= SWIG_Py_Void();
4366 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4367 PyObject
*resultobj
= 0;
4368 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4377 PyObject
* obj0
= 0 ;
4378 PyObject
* obj1
= 0 ;
4379 PyObject
* obj2
= 0 ;
4380 char * kwnames
[] = {
4381 (char *) "self",(char *) "x",(char *) "y", NULL
4384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4386 if (!SWIG_IsOK(res1
)) {
4387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4389 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4390 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4391 if (!SWIG_IsOK(ecode2
)) {
4392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4394 arg2
= static_cast< int >(val2
);
4395 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4396 if (!SWIG_IsOK(ecode3
)) {
4397 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4399 arg3
= static_cast< int >(val3
);
4401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4402 (arg1
)->SetMargins(arg2
,arg3
);
4403 wxPyEndAllowThreads(__tstate
);
4404 if (PyErr_Occurred()) SWIG_fail
;
4406 resultobj
= SWIG_Py_Void();
4413 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4414 PyObject
*resultobj
= 0;
4415 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4419 PyObject
*swig_obj
[1] ;
4421 if (!args
) SWIG_fail
;
4423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4424 if (!SWIG_IsOK(res1
)) {
4425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4427 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4430 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4431 wxPyEndAllowThreads(__tstate
);
4432 if (PyErr_Occurred()) SWIG_fail
;
4434 resultobj
= SWIG_From_int(static_cast< int >(result
));
4441 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4442 PyObject
*resultobj
= 0;
4443 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4447 PyObject
*swig_obj
[1] ;
4449 if (!args
) SWIG_fail
;
4451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4452 if (!SWIG_IsOK(res1
)) {
4453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4455 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4458 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4459 wxPyEndAllowThreads(__tstate
);
4460 if (PyErr_Occurred()) SWIG_fail
;
4462 resultobj
= SWIG_From_int(static_cast< int >(result
));
4469 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4471 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4472 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4473 return SWIG_Py_Void();
4476 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4477 return SWIG_Python_InitShadowInstance(args
);
4480 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4481 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4486 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4487 PyObject
*pyobj
= 0;
4491 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4493 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4500 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4501 PyObject
*resultobj
= 0;
4502 wxWindow
*arg1
= (wxWindow
*) 0 ;
4503 int arg2
= (int) -1 ;
4504 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4505 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4506 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4507 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4508 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4509 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4510 long arg6
= (long) 0 ;
4511 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4512 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4513 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4514 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4515 wxCheckBox
*result
= 0 ;
4520 bool temp3
= false ;
4527 bool temp8
= false ;
4528 PyObject
* obj0
= 0 ;
4529 PyObject
* obj1
= 0 ;
4530 PyObject
* obj2
= 0 ;
4531 PyObject
* obj3
= 0 ;
4532 PyObject
* obj4
= 0 ;
4533 PyObject
* obj5
= 0 ;
4534 PyObject
* obj6
= 0 ;
4535 PyObject
* obj7
= 0 ;
4536 char * kwnames
[] = {
4537 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4542 if (!SWIG_IsOK(res1
)) {
4543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4545 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4547 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4548 if (!SWIG_IsOK(ecode2
)) {
4549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4551 arg2
= static_cast< int >(val2
);
4555 arg3
= wxString_in_helper(obj2
);
4556 if (arg3
== NULL
) SWIG_fail
;
4563 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4569 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4573 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4574 if (!SWIG_IsOK(ecode6
)) {
4575 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4577 arg6
= static_cast< long >(val6
);
4580 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4581 if (!SWIG_IsOK(res7
)) {
4582 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4585 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4587 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4591 arg8
= wxString_in_helper(obj7
);
4592 if (arg8
== NULL
) SWIG_fail
;
4597 if (!wxPyCheckForApp()) SWIG_fail
;
4598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4599 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4600 wxPyEndAllowThreads(__tstate
);
4601 if (PyErr_Occurred()) SWIG_fail
;
4603 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4626 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4627 PyObject
*resultobj
= 0;
4628 wxCheckBox
*result
= 0 ;
4630 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4632 if (!wxPyCheckForApp()) SWIG_fail
;
4633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4634 result
= (wxCheckBox
*)new wxCheckBox();
4635 wxPyEndAllowThreads(__tstate
);
4636 if (PyErr_Occurred()) SWIG_fail
;
4638 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4645 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4646 PyObject
*resultobj
= 0;
4647 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4648 wxWindow
*arg2
= (wxWindow
*) 0 ;
4649 int arg3
= (int) -1 ;
4650 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4651 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4652 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4653 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4654 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4655 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4656 long arg7
= (long) 0 ;
4657 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4658 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4659 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4660 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4668 bool temp4
= false ;
4675 bool temp9
= false ;
4676 PyObject
* obj0
= 0 ;
4677 PyObject
* obj1
= 0 ;
4678 PyObject
* obj2
= 0 ;
4679 PyObject
* obj3
= 0 ;
4680 PyObject
* obj4
= 0 ;
4681 PyObject
* obj5
= 0 ;
4682 PyObject
* obj6
= 0 ;
4683 PyObject
* obj7
= 0 ;
4684 PyObject
* obj8
= 0 ;
4685 char * kwnames
[] = {
4686 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4691 if (!SWIG_IsOK(res1
)) {
4692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4694 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4695 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4696 if (!SWIG_IsOK(res2
)) {
4697 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4699 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4701 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4702 if (!SWIG_IsOK(ecode3
)) {
4703 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4705 arg3
= static_cast< int >(val3
);
4709 arg4
= wxString_in_helper(obj3
);
4710 if (arg4
== NULL
) SWIG_fail
;
4717 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4723 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4727 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4728 if (!SWIG_IsOK(ecode7
)) {
4729 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4731 arg7
= static_cast< long >(val7
);
4734 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4735 if (!SWIG_IsOK(res8
)) {
4736 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4739 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4741 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4745 arg9
= wxString_in_helper(obj8
);
4746 if (arg9
== NULL
) SWIG_fail
;
4751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4752 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4753 wxPyEndAllowThreads(__tstate
);
4754 if (PyErr_Occurred()) SWIG_fail
;
4757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4781 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4782 PyObject
*resultobj
= 0;
4783 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4787 PyObject
*swig_obj
[1] ;
4789 if (!args
) SWIG_fail
;
4791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4792 if (!SWIG_IsOK(res1
)) {
4793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4795 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4798 result
= (bool)(arg1
)->GetValue();
4799 wxPyEndAllowThreads(__tstate
);
4800 if (PyErr_Occurred()) SWIG_fail
;
4803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4811 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4812 PyObject
*resultobj
= 0;
4813 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4817 PyObject
*swig_obj
[1] ;
4819 if (!args
) SWIG_fail
;
4821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4822 if (!SWIG_IsOK(res1
)) {
4823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4825 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4828 result
= (bool)(arg1
)->IsChecked();
4829 wxPyEndAllowThreads(__tstate
);
4830 if (PyErr_Occurred()) SWIG_fail
;
4833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4841 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4842 PyObject
*resultobj
= 0;
4843 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4849 PyObject
* obj0
= 0 ;
4850 PyObject
* obj1
= 0 ;
4851 char * kwnames
[] = {
4852 (char *) "self",(char *) "state", NULL
4855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4857 if (!SWIG_IsOK(res1
)) {
4858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4860 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4861 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4862 if (!SWIG_IsOK(ecode2
)) {
4863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4865 arg2
= static_cast< bool >(val2
);
4867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4868 (arg1
)->SetValue(arg2
);
4869 wxPyEndAllowThreads(__tstate
);
4870 if (PyErr_Occurred()) SWIG_fail
;
4872 resultobj
= SWIG_Py_Void();
4879 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4880 PyObject
*resultobj
= 0;
4881 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4882 wxCheckBoxState result
;
4885 PyObject
*swig_obj
[1] ;
4887 if (!args
) SWIG_fail
;
4889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4890 if (!SWIG_IsOK(res1
)) {
4891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4893 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4896 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4897 wxPyEndAllowThreads(__tstate
);
4898 if (PyErr_Occurred()) SWIG_fail
;
4900 resultobj
= SWIG_From_int(static_cast< int >(result
));
4907 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4908 PyObject
*resultobj
= 0;
4909 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4910 wxCheckBoxState arg2
;
4915 PyObject
* obj0
= 0 ;
4916 PyObject
* obj1
= 0 ;
4917 char * kwnames
[] = {
4918 (char *) "self",(char *) "state", NULL
4921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4923 if (!SWIG_IsOK(res1
)) {
4924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4926 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4927 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4928 if (!SWIG_IsOK(ecode2
)) {
4929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4931 arg2
= static_cast< wxCheckBoxState
>(val2
);
4933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4934 (arg1
)->Set3StateValue(arg2
);
4935 wxPyEndAllowThreads(__tstate
);
4936 if (PyErr_Occurred()) SWIG_fail
;
4938 resultobj
= SWIG_Py_Void();
4945 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4946 PyObject
*resultobj
= 0;
4947 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4951 PyObject
*swig_obj
[1] ;
4953 if (!args
) SWIG_fail
;
4955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4956 if (!SWIG_IsOK(res1
)) {
4957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4959 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4962 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4963 wxPyEndAllowThreads(__tstate
);
4964 if (PyErr_Occurred()) SWIG_fail
;
4967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4975 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4976 PyObject
*resultobj
= 0;
4977 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4981 PyObject
*swig_obj
[1] ;
4983 if (!args
) SWIG_fail
;
4985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4986 if (!SWIG_IsOK(res1
)) {
4987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4989 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4992 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
4993 wxPyEndAllowThreads(__tstate
);
4994 if (PyErr_Occurred()) SWIG_fail
;
4997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5005 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5006 PyObject
*resultobj
= 0;
5007 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5008 SwigValueWrapper
<wxVisualAttributes
> result
;
5011 PyObject
* obj0
= 0 ;
5012 char * kwnames
[] = {
5013 (char *) "variant", NULL
5016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5018 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5019 if (!SWIG_IsOK(ecode1
)) {
5020 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5022 arg1
= static_cast< wxWindowVariant
>(val1
);
5025 if (!wxPyCheckForApp()) SWIG_fail
;
5026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5027 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5028 wxPyEndAllowThreads(__tstate
);
5029 if (PyErr_Occurred()) SWIG_fail
;
5031 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5038 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5040 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5041 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5042 return SWIG_Py_Void();
5045 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5046 return SWIG_Python_InitShadowInstance(args
);
5049 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5050 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5055 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5056 PyObject
*pyobj
= 0;
5060 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5062 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5069 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5070 PyObject
*resultobj
= 0;
5071 wxWindow
*arg1
= (wxWindow
*) 0 ;
5072 int arg2
= (int) -1 ;
5073 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5074 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5075 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5076 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5077 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5078 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5079 long arg6
= (long) 0 ;
5080 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5081 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5082 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5083 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5084 wxChoice
*result
= 0 ;
5091 bool temp5
= false ;
5096 bool temp8
= false ;
5097 PyObject
* obj0
= 0 ;
5098 PyObject
* obj1
= 0 ;
5099 PyObject
* obj2
= 0 ;
5100 PyObject
* obj3
= 0 ;
5101 PyObject
* obj4
= 0 ;
5102 PyObject
* obj5
= 0 ;
5103 PyObject
* obj6
= 0 ;
5104 PyObject
* obj7
= 0 ;
5105 char * kwnames
[] = {
5106 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5111 if (!SWIG_IsOK(res1
)) {
5112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5114 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5116 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5117 if (!SWIG_IsOK(ecode2
)) {
5118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5120 arg2
= static_cast< int >(val2
);
5125 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5131 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5136 if (! PySequence_Check(obj4
)) {
5137 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5140 arg5
= new wxArrayString
;
5142 int i
, len
=PySequence_Length(obj4
);
5143 for (i
=0; i
<len
; i
++) {
5144 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5145 wxString
* s
= wxString_in_helper(item
);
5146 if (PyErr_Occurred()) SWIG_fail
;
5154 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5155 if (!SWIG_IsOK(ecode6
)) {
5156 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5158 arg6
= static_cast< long >(val6
);
5161 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5162 if (!SWIG_IsOK(res7
)) {
5163 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5166 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5168 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5172 arg8
= wxString_in_helper(obj7
);
5173 if (arg8
== NULL
) SWIG_fail
;
5178 if (!wxPyCheckForApp()) SWIG_fail
;
5179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5180 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5181 wxPyEndAllowThreads(__tstate
);
5182 if (PyErr_Occurred()) SWIG_fail
;
5184 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5186 if (temp5
) delete arg5
;
5195 if (temp5
) delete arg5
;
5205 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5206 PyObject
*resultobj
= 0;
5207 wxChoice
*result
= 0 ;
5209 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5211 if (!wxPyCheckForApp()) SWIG_fail
;
5212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5213 result
= (wxChoice
*)new wxChoice();
5214 wxPyEndAllowThreads(__tstate
);
5215 if (PyErr_Occurred()) SWIG_fail
;
5217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5224 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5225 PyObject
*resultobj
= 0;
5226 wxChoice
*arg1
= (wxChoice
*) 0 ;
5227 wxWindow
*arg2
= (wxWindow
*) 0 ;
5228 int arg3
= (int) -1 ;
5229 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5230 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5231 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5232 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5233 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5234 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5235 long arg7
= (long) 0 ;
5236 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5237 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5238 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5239 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5249 bool temp6
= false ;
5254 bool temp9
= false ;
5255 PyObject
* obj0
= 0 ;
5256 PyObject
* obj1
= 0 ;
5257 PyObject
* obj2
= 0 ;
5258 PyObject
* obj3
= 0 ;
5259 PyObject
* obj4
= 0 ;
5260 PyObject
* obj5
= 0 ;
5261 PyObject
* obj6
= 0 ;
5262 PyObject
* obj7
= 0 ;
5263 PyObject
* obj8
= 0 ;
5264 char * kwnames
[] = {
5265 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5270 if (!SWIG_IsOK(res1
)) {
5271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5273 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5274 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5275 if (!SWIG_IsOK(res2
)) {
5276 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5278 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5280 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5281 if (!SWIG_IsOK(ecode3
)) {
5282 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5284 arg3
= static_cast< int >(val3
);
5289 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5295 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5300 if (! PySequence_Check(obj5
)) {
5301 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5304 arg6
= new wxArrayString
;
5306 int i
, len
=PySequence_Length(obj5
);
5307 for (i
=0; i
<len
; i
++) {
5308 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5309 wxString
* s
= wxString_in_helper(item
);
5310 if (PyErr_Occurred()) SWIG_fail
;
5318 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5319 if (!SWIG_IsOK(ecode7
)) {
5320 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5322 arg7
= static_cast< long >(val7
);
5325 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5326 if (!SWIG_IsOK(res8
)) {
5327 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5330 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5332 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5336 arg9
= wxString_in_helper(obj8
);
5337 if (arg9
== NULL
) SWIG_fail
;
5342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5343 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5344 wxPyEndAllowThreads(__tstate
);
5345 if (PyErr_Occurred()) SWIG_fail
;
5348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5351 if (temp6
) delete arg6
;
5360 if (temp6
) delete arg6
;
5370 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5371 PyObject
*resultobj
= 0;
5372 wxChoice
*arg1
= (wxChoice
*) 0 ;
5376 PyObject
*swig_obj
[1] ;
5378 if (!args
) SWIG_fail
;
5380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5381 if (!SWIG_IsOK(res1
)) {
5382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5384 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5387 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5388 wxPyEndAllowThreads(__tstate
);
5389 if (PyErr_Occurred()) SWIG_fail
;
5391 resultobj
= SWIG_From_int(static_cast< int >(result
));
5398 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5399 PyObject
*resultobj
= 0;
5400 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5401 SwigValueWrapper
<wxVisualAttributes
> result
;
5404 PyObject
* obj0
= 0 ;
5405 char * kwnames
[] = {
5406 (char *) "variant", NULL
5409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5411 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5412 if (!SWIG_IsOK(ecode1
)) {
5413 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5415 arg1
= static_cast< wxWindowVariant
>(val1
);
5418 if (!wxPyCheckForApp()) SWIG_fail
;
5419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5420 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5421 wxPyEndAllowThreads(__tstate
);
5422 if (PyErr_Occurred()) SWIG_fail
;
5424 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5431 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5433 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5434 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5435 return SWIG_Py_Void();
5438 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5439 return SWIG_Python_InitShadowInstance(args
);
5442 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5443 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5448 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5449 PyObject
*pyobj
= 0;
5453 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5455 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5462 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5463 PyObject
*resultobj
= 0;
5464 wxWindow
*arg1
= (wxWindow
*) 0 ;
5465 int arg2
= (int) -1 ;
5466 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5467 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5468 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5469 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5470 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5471 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5472 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5473 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5474 long arg7
= (long) 0 ;
5475 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5476 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5477 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5478 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5479 wxComboBox
*result
= 0 ;
5484 bool temp3
= false ;
5487 bool temp6
= false ;
5492 bool temp9
= false ;
5493 PyObject
* obj0
= 0 ;
5494 PyObject
* obj1
= 0 ;
5495 PyObject
* obj2
= 0 ;
5496 PyObject
* obj3
= 0 ;
5497 PyObject
* obj4
= 0 ;
5498 PyObject
* obj5
= 0 ;
5499 PyObject
* obj6
= 0 ;
5500 PyObject
* obj7
= 0 ;
5501 PyObject
* obj8
= 0 ;
5502 char * kwnames
[] = {
5503 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5508 if (!SWIG_IsOK(res1
)) {
5509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5511 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5513 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5514 if (!SWIG_IsOK(ecode2
)) {
5515 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5517 arg2
= static_cast< int >(val2
);
5521 arg3
= wxString_in_helper(obj2
);
5522 if (arg3
== NULL
) SWIG_fail
;
5529 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5535 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5540 if (! PySequence_Check(obj5
)) {
5541 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5544 arg6
= new wxArrayString
;
5546 int i
, len
=PySequence_Length(obj5
);
5547 for (i
=0; i
<len
; i
++) {
5548 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5549 wxString
* s
= wxString_in_helper(item
);
5550 if (PyErr_Occurred()) SWIG_fail
;
5558 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5559 if (!SWIG_IsOK(ecode7
)) {
5560 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5562 arg7
= static_cast< long >(val7
);
5565 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5566 if (!SWIG_IsOK(res8
)) {
5567 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5570 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5572 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5576 arg9
= wxString_in_helper(obj8
);
5577 if (arg9
== NULL
) SWIG_fail
;
5582 if (!wxPyCheckForApp()) SWIG_fail
;
5583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5584 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
);
5585 wxPyEndAllowThreads(__tstate
);
5586 if (PyErr_Occurred()) SWIG_fail
;
5588 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5594 if (temp6
) delete arg6
;
5607 if (temp6
) delete arg6
;
5617 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5618 PyObject
*resultobj
= 0;
5619 wxComboBox
*result
= 0 ;
5621 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5623 if (!wxPyCheckForApp()) SWIG_fail
;
5624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5625 result
= (wxComboBox
*)new wxComboBox();
5626 wxPyEndAllowThreads(__tstate
);
5627 if (PyErr_Occurred()) SWIG_fail
;
5629 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5636 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5637 PyObject
*resultobj
= 0;
5638 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5639 wxWindow
*arg2
= (wxWindow
*) 0 ;
5640 int arg3
= (int) -1 ;
5641 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5642 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5643 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5644 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5645 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5646 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5647 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5648 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5649 long arg8
= (long) 0 ;
5650 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5651 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5652 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5653 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5661 bool temp4
= false ;
5664 bool temp7
= false ;
5669 bool temp10
= false ;
5670 PyObject
* obj0
= 0 ;
5671 PyObject
* obj1
= 0 ;
5672 PyObject
* obj2
= 0 ;
5673 PyObject
* obj3
= 0 ;
5674 PyObject
* obj4
= 0 ;
5675 PyObject
* obj5
= 0 ;
5676 PyObject
* obj6
= 0 ;
5677 PyObject
* obj7
= 0 ;
5678 PyObject
* obj8
= 0 ;
5679 PyObject
* obj9
= 0 ;
5680 char * kwnames
[] = {
5681 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5686 if (!SWIG_IsOK(res1
)) {
5687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5689 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5690 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5691 if (!SWIG_IsOK(res2
)) {
5692 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5694 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5696 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5697 if (!SWIG_IsOK(ecode3
)) {
5698 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5700 arg3
= static_cast< int >(val3
);
5704 arg4
= wxString_in_helper(obj3
);
5705 if (arg4
== NULL
) SWIG_fail
;
5712 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5718 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5723 if (! PySequence_Check(obj6
)) {
5724 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5727 arg7
= new wxArrayString
;
5729 int i
, len
=PySequence_Length(obj6
);
5730 for (i
=0; i
<len
; i
++) {
5731 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5732 wxString
* s
= wxString_in_helper(item
);
5733 if (PyErr_Occurred()) SWIG_fail
;
5741 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5742 if (!SWIG_IsOK(ecode8
)) {
5743 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5745 arg8
= static_cast< long >(val8
);
5748 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5749 if (!SWIG_IsOK(res9
)) {
5750 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5753 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5755 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5759 arg10
= wxString_in_helper(obj9
);
5760 if (arg10
== NULL
) SWIG_fail
;
5765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5766 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
);
5767 wxPyEndAllowThreads(__tstate
);
5768 if (PyErr_Occurred()) SWIG_fail
;
5771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5778 if (temp7
) delete arg7
;
5791 if (temp7
) delete arg7
;
5801 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5802 PyObject
*resultobj
= 0;
5803 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5807 PyObject
*swig_obj
[1] ;
5809 if (!args
) SWIG_fail
;
5811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5812 if (!SWIG_IsOK(res1
)) {
5813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5815 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5818 result
= ((wxComboBox
const *)arg1
)->GetValue();
5819 wxPyEndAllowThreads(__tstate
);
5820 if (PyErr_Occurred()) SWIG_fail
;
5824 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5826 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5835 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5836 PyObject
*resultobj
= 0;
5837 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5838 wxString
*arg2
= 0 ;
5841 bool temp2
= false ;
5842 PyObject
* obj0
= 0 ;
5843 PyObject
* obj1
= 0 ;
5844 char * kwnames
[] = {
5845 (char *) "self",(char *) "value", NULL
5848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5850 if (!SWIG_IsOK(res1
)) {
5851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5853 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5855 arg2
= wxString_in_helper(obj1
);
5856 if (arg2
== NULL
) SWIG_fail
;
5860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5861 (arg1
)->SetValue((wxString
const &)*arg2
);
5862 wxPyEndAllowThreads(__tstate
);
5863 if (PyErr_Occurred()) SWIG_fail
;
5865 resultobj
= SWIG_Py_Void();
5880 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5881 PyObject
*resultobj
= 0;
5882 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5885 PyObject
*swig_obj
[1] ;
5887 if (!args
) SWIG_fail
;
5889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5890 if (!SWIG_IsOK(res1
)) {
5891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5893 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5897 wxPyEndAllowThreads(__tstate
);
5898 if (PyErr_Occurred()) SWIG_fail
;
5900 resultobj
= SWIG_Py_Void();
5907 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5908 PyObject
*resultobj
= 0;
5909 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5912 PyObject
*swig_obj
[1] ;
5914 if (!args
) SWIG_fail
;
5916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5917 if (!SWIG_IsOK(res1
)) {
5918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5920 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5924 wxPyEndAllowThreads(__tstate
);
5925 if (PyErr_Occurred()) SWIG_fail
;
5927 resultobj
= SWIG_Py_Void();
5934 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5935 PyObject
*resultobj
= 0;
5936 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5939 PyObject
*swig_obj
[1] ;
5941 if (!args
) SWIG_fail
;
5943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5944 if (!SWIG_IsOK(res1
)) {
5945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5947 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5951 wxPyEndAllowThreads(__tstate
);
5952 if (PyErr_Occurred()) SWIG_fail
;
5954 resultobj
= SWIG_Py_Void();
5961 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5962 PyObject
*resultobj
= 0;
5963 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5969 PyObject
* obj0
= 0 ;
5970 PyObject
* obj1
= 0 ;
5971 char * kwnames
[] = {
5972 (char *) "self",(char *) "pos", NULL
5975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5977 if (!SWIG_IsOK(res1
)) {
5978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
5980 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5981 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
5982 if (!SWIG_IsOK(ecode2
)) {
5983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
5985 arg2
= static_cast< long >(val2
);
5987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5988 (arg1
)->SetInsertionPoint(arg2
);
5989 wxPyEndAllowThreads(__tstate
);
5990 if (PyErr_Occurred()) SWIG_fail
;
5992 resultobj
= SWIG_Py_Void();
5999 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6000 PyObject
*resultobj
= 0;
6001 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6005 PyObject
*swig_obj
[1] ;
6007 if (!args
) SWIG_fail
;
6009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6010 if (!SWIG_IsOK(res1
)) {
6011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6013 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6016 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6017 wxPyEndAllowThreads(__tstate
);
6018 if (PyErr_Occurred()) SWIG_fail
;
6020 resultobj
= SWIG_From_long(static_cast< long >(result
));
6027 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6028 PyObject
*resultobj
= 0;
6029 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6033 PyObject
*swig_obj
[1] ;
6035 if (!args
) SWIG_fail
;
6037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6038 if (!SWIG_IsOK(res1
)) {
6039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6041 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6044 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6045 wxPyEndAllowThreads(__tstate
);
6046 if (PyErr_Occurred()) SWIG_fail
;
6048 resultobj
= SWIG_From_long(static_cast< long >(result
));
6055 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6056 PyObject
*resultobj
= 0;
6057 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6060 wxString
*arg4
= 0 ;
6067 bool temp4
= false ;
6068 PyObject
* obj0
= 0 ;
6069 PyObject
* obj1
= 0 ;
6070 PyObject
* obj2
= 0 ;
6071 PyObject
* obj3
= 0 ;
6072 char * kwnames
[] = {
6073 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6078 if (!SWIG_IsOK(res1
)) {
6079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6081 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6082 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6083 if (!SWIG_IsOK(ecode2
)) {
6084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6086 arg2
= static_cast< long >(val2
);
6087 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6088 if (!SWIG_IsOK(ecode3
)) {
6089 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6091 arg3
= static_cast< long >(val3
);
6093 arg4
= wxString_in_helper(obj3
);
6094 if (arg4
== NULL
) SWIG_fail
;
6098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6099 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6100 wxPyEndAllowThreads(__tstate
);
6101 if (PyErr_Occurred()) SWIG_fail
;
6103 resultobj
= SWIG_Py_Void();
6118 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6119 PyObject
*resultobj
= 0;
6120 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6129 PyObject
* obj0
= 0 ;
6130 PyObject
* obj1
= 0 ;
6131 PyObject
* obj2
= 0 ;
6132 char * kwnames
[] = {
6133 (char *) "self",(char *) "from",(char *) "to", NULL
6136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6138 if (!SWIG_IsOK(res1
)) {
6139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6141 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6142 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6143 if (!SWIG_IsOK(ecode2
)) {
6144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6146 arg2
= static_cast< long >(val2
);
6147 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6148 if (!SWIG_IsOK(ecode3
)) {
6149 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6151 arg3
= static_cast< long >(val3
);
6153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6154 (arg1
)->SetSelection(arg2
,arg3
);
6155 wxPyEndAllowThreads(__tstate
);
6156 if (PyErr_Occurred()) SWIG_fail
;
6158 resultobj
= SWIG_Py_Void();
6165 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6166 PyObject
*resultobj
= 0;
6167 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6171 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_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6179 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6182 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6183 wxPyEndAllowThreads(__tstate
);
6184 if (PyErr_Occurred()) SWIG_fail
;
6186 resultobj
= SWIG_From_int(static_cast< int >(result
));
6193 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6194 PyObject
*resultobj
= 0;
6195 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6196 wxString
*arg2
= 0 ;
6200 bool temp2
= false ;
6201 PyObject
* obj0
= 0 ;
6202 PyObject
* obj1
= 0 ;
6203 char * kwnames
[] = {
6204 (char *) "self",(char *) "string", NULL
6207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6209 if (!SWIG_IsOK(res1
)) {
6210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6212 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6214 arg2
= wxString_in_helper(obj1
);
6215 if (arg2
== NULL
) SWIG_fail
;
6219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6220 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6221 wxPyEndAllowThreads(__tstate
);
6222 if (PyErr_Occurred()) SWIG_fail
;
6225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6241 SWIGINTERN PyObject
*_wrap_ComboBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6242 PyObject
*resultobj
= 0;
6243 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6245 wxString
*arg3
= 0 ;
6250 bool temp3
= false ;
6251 PyObject
* obj0
= 0 ;
6252 PyObject
* obj1
= 0 ;
6253 PyObject
* obj2
= 0 ;
6254 char * kwnames
[] = {
6255 (char *) "self",(char *) "n",(char *) "string", NULL
6258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6260 if (!SWIG_IsOK(res1
)) {
6261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6263 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6265 if (!SWIG_IsOK(ecode2
)) {
6266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6268 arg2
= static_cast< int >(val2
);
6270 arg3
= wxString_in_helper(obj2
);
6271 if (arg3
== NULL
) SWIG_fail
;
6275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6276 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
6277 wxPyEndAllowThreads(__tstate
);
6278 if (PyErr_Occurred()) SWIG_fail
;
6280 resultobj
= SWIG_Py_Void();
6295 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6296 PyObject
*resultobj
= 0;
6297 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6303 PyObject
* obj0
= 0 ;
6304 PyObject
* obj1
= 0 ;
6305 char * kwnames
[] = {
6306 (char *) "self",(char *) "editable", NULL
6309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6311 if (!SWIG_IsOK(res1
)) {
6312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6314 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6315 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6316 if (!SWIG_IsOK(ecode2
)) {
6317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6319 arg2
= static_cast< bool >(val2
);
6321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6322 (arg1
)->SetEditable(arg2
);
6323 wxPyEndAllowThreads(__tstate
);
6324 if (PyErr_Occurred()) SWIG_fail
;
6326 resultobj
= SWIG_Py_Void();
6333 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6334 PyObject
*resultobj
= 0;
6335 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6338 PyObject
*swig_obj
[1] ;
6340 if (!args
) SWIG_fail
;
6342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6343 if (!SWIG_IsOK(res1
)) {
6344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6346 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6349 (arg1
)->SetInsertionPointEnd();
6350 wxPyEndAllowThreads(__tstate
);
6351 if (PyErr_Occurred()) SWIG_fail
;
6353 resultobj
= SWIG_Py_Void();
6360 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6361 PyObject
*resultobj
= 0;
6362 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6371 PyObject
* obj0
= 0 ;
6372 PyObject
* obj1
= 0 ;
6373 PyObject
* obj2
= 0 ;
6374 char * kwnames
[] = {
6375 (char *) "self",(char *) "from",(char *) "to", NULL
6378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6380 if (!SWIG_IsOK(res1
)) {
6381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6383 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6384 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6385 if (!SWIG_IsOK(ecode2
)) {
6386 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6388 arg2
= static_cast< long >(val2
);
6389 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6390 if (!SWIG_IsOK(ecode3
)) {
6391 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6393 arg3
= static_cast< long >(val3
);
6395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6396 (arg1
)->Remove(arg2
,arg3
);
6397 wxPyEndAllowThreads(__tstate
);
6398 if (PyErr_Occurred()) SWIG_fail
;
6400 resultobj
= SWIG_Py_Void();
6407 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6408 PyObject
*resultobj
= 0;
6409 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6413 PyObject
*swig_obj
[1] ;
6415 if (!args
) SWIG_fail
;
6417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6418 if (!SWIG_IsOK(res1
)) {
6419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6421 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6424 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6425 wxPyEndAllowThreads(__tstate
);
6426 if (PyErr_Occurred()) SWIG_fail
;
6429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6437 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6438 PyObject
*resultobj
= 0;
6439 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6442 PyObject
*swig_obj
[1] ;
6444 if (!args
) SWIG_fail
;
6446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6447 if (!SWIG_IsOK(res1
)) {
6448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6450 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6454 wxPyEndAllowThreads(__tstate
);
6455 if (PyErr_Occurred()) SWIG_fail
;
6457 resultobj
= SWIG_Py_Void();
6464 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6465 PyObject
*resultobj
= 0;
6466 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6469 PyObject
*swig_obj
[1] ;
6471 if (!args
) SWIG_fail
;
6473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6474 if (!SWIG_IsOK(res1
)) {
6475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6477 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6481 wxPyEndAllowThreads(__tstate
);
6482 if (PyErr_Occurred()) SWIG_fail
;
6484 resultobj
= SWIG_Py_Void();
6491 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6492 PyObject
*resultobj
= 0;
6493 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6496 PyObject
*swig_obj
[1] ;
6498 if (!args
) SWIG_fail
;
6500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6501 if (!SWIG_IsOK(res1
)) {
6502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6504 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6507 (arg1
)->SelectAll();
6508 wxPyEndAllowThreads(__tstate
);
6509 if (PyErr_Occurred()) SWIG_fail
;
6511 resultobj
= SWIG_Py_Void();
6518 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6519 PyObject
*resultobj
= 0;
6520 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6524 PyObject
*swig_obj
[1] ;
6526 if (!args
) SWIG_fail
;
6528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6529 if (!SWIG_IsOK(res1
)) {
6530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6532 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6535 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6536 wxPyEndAllowThreads(__tstate
);
6537 if (PyErr_Occurred()) SWIG_fail
;
6540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6548 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6549 PyObject
*resultobj
= 0;
6550 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6554 PyObject
*swig_obj
[1] ;
6556 if (!args
) SWIG_fail
;
6558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6559 if (!SWIG_IsOK(res1
)) {
6560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6562 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6565 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6566 wxPyEndAllowThreads(__tstate
);
6567 if (PyErr_Occurred()) SWIG_fail
;
6570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6578 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6579 PyObject
*resultobj
= 0;
6580 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6584 PyObject
*swig_obj
[1] ;
6586 if (!args
) SWIG_fail
;
6588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6589 if (!SWIG_IsOK(res1
)) {
6590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6592 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6595 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6596 wxPyEndAllowThreads(__tstate
);
6597 if (PyErr_Occurred()) SWIG_fail
;
6600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6608 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6609 PyObject
*resultobj
= 0;
6610 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6614 PyObject
*swig_obj
[1] ;
6616 if (!args
) SWIG_fail
;
6618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6619 if (!SWIG_IsOK(res1
)) {
6620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6622 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6625 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6626 wxPyEndAllowThreads(__tstate
);
6627 if (PyErr_Occurred()) SWIG_fail
;
6630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6638 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6639 PyObject
*resultobj
= 0;
6640 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6644 PyObject
*swig_obj
[1] ;
6646 if (!args
) SWIG_fail
;
6648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6649 if (!SWIG_IsOK(res1
)) {
6650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6652 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6655 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6656 wxPyEndAllowThreads(__tstate
);
6657 if (PyErr_Occurred()) SWIG_fail
;
6660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6668 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6669 PyObject
*resultobj
= 0;
6670 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6671 SwigValueWrapper
<wxVisualAttributes
> result
;
6674 PyObject
* obj0
= 0 ;
6675 char * kwnames
[] = {
6676 (char *) "variant", NULL
6679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6681 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6682 if (!SWIG_IsOK(ecode1
)) {
6683 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6685 arg1
= static_cast< wxWindowVariant
>(val1
);
6688 if (!wxPyCheckForApp()) SWIG_fail
;
6689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6690 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6691 wxPyEndAllowThreads(__tstate
);
6692 if (PyErr_Occurred()) SWIG_fail
;
6694 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6701 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6703 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6704 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6705 return SWIG_Py_Void();
6708 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6709 return SWIG_Python_InitShadowInstance(args
);
6712 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6713 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6718 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6719 PyObject
*pyobj
= 0;
6723 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6725 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6732 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6733 PyObject
*resultobj
= 0;
6734 wxWindow
*arg1
= (wxWindow
*) 0 ;
6735 int arg2
= (int) -1 ;
6736 int arg3
= (int) 100 ;
6737 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6738 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6739 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6740 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6741 long arg6
= (long) wxGA_HORIZONTAL
;
6742 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6743 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6744 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6745 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6746 wxGauge
*result
= 0 ;
6759 bool temp8
= false ;
6760 PyObject
* obj0
= 0 ;
6761 PyObject
* obj1
= 0 ;
6762 PyObject
* obj2
= 0 ;
6763 PyObject
* obj3
= 0 ;
6764 PyObject
* obj4
= 0 ;
6765 PyObject
* obj5
= 0 ;
6766 PyObject
* obj6
= 0 ;
6767 PyObject
* obj7
= 0 ;
6768 char * kwnames
[] = {
6769 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6774 if (!SWIG_IsOK(res1
)) {
6775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6777 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6779 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6780 if (!SWIG_IsOK(ecode2
)) {
6781 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6783 arg2
= static_cast< int >(val2
);
6786 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6787 if (!SWIG_IsOK(ecode3
)) {
6788 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6790 arg3
= static_cast< int >(val3
);
6795 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6801 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6805 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6806 if (!SWIG_IsOK(ecode6
)) {
6807 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6809 arg6
= static_cast< long >(val6
);
6812 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6813 if (!SWIG_IsOK(res7
)) {
6814 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6817 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6819 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6823 arg8
= wxString_in_helper(obj7
);
6824 if (arg8
== NULL
) SWIG_fail
;
6829 if (!wxPyCheckForApp()) SWIG_fail
;
6830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6831 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6832 wxPyEndAllowThreads(__tstate
);
6833 if (PyErr_Occurred()) SWIG_fail
;
6835 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6850 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6851 PyObject
*resultobj
= 0;
6852 wxGauge
*result
= 0 ;
6854 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6856 if (!wxPyCheckForApp()) SWIG_fail
;
6857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6858 result
= (wxGauge
*)new wxGauge();
6859 wxPyEndAllowThreads(__tstate
);
6860 if (PyErr_Occurred()) SWIG_fail
;
6862 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6869 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6870 PyObject
*resultobj
= 0;
6871 wxGauge
*arg1
= (wxGauge
*) 0 ;
6872 wxWindow
*arg2
= (wxWindow
*) 0 ;
6873 int arg3
= (int) -1 ;
6874 int arg4
= (int) 100 ;
6875 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6876 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6877 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6878 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6879 long arg7
= (long) wxGA_HORIZONTAL
;
6880 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6881 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6882 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6883 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6899 bool temp9
= false ;
6900 PyObject
* obj0
= 0 ;
6901 PyObject
* obj1
= 0 ;
6902 PyObject
* obj2
= 0 ;
6903 PyObject
* obj3
= 0 ;
6904 PyObject
* obj4
= 0 ;
6905 PyObject
* obj5
= 0 ;
6906 PyObject
* obj6
= 0 ;
6907 PyObject
* obj7
= 0 ;
6908 PyObject
* obj8
= 0 ;
6909 char * kwnames
[] = {
6910 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6915 if (!SWIG_IsOK(res1
)) {
6916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6918 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6919 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6920 if (!SWIG_IsOK(res2
)) {
6921 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6923 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6925 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6926 if (!SWIG_IsOK(ecode3
)) {
6927 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6929 arg3
= static_cast< int >(val3
);
6932 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6933 if (!SWIG_IsOK(ecode4
)) {
6934 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6936 arg4
= static_cast< int >(val4
);
6941 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6947 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6951 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6952 if (!SWIG_IsOK(ecode7
)) {
6953 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6955 arg7
= static_cast< long >(val7
);
6958 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
6959 if (!SWIG_IsOK(res8
)) {
6960 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6963 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6965 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
6969 arg9
= wxString_in_helper(obj8
);
6970 if (arg9
== NULL
) SWIG_fail
;
6975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6976 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6977 wxPyEndAllowThreads(__tstate
);
6978 if (PyErr_Occurred()) SWIG_fail
;
6981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6997 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6998 PyObject
*resultobj
= 0;
6999 wxGauge
*arg1
= (wxGauge
*) 0 ;
7005 PyObject
* obj0
= 0 ;
7006 PyObject
* obj1
= 0 ;
7007 char * kwnames
[] = {
7008 (char *) "self",(char *) "range", NULL
7011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7013 if (!SWIG_IsOK(res1
)) {
7014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7016 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7017 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7018 if (!SWIG_IsOK(ecode2
)) {
7019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7021 arg2
= static_cast< int >(val2
);
7023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7024 (arg1
)->SetRange(arg2
);
7025 wxPyEndAllowThreads(__tstate
);
7026 if (PyErr_Occurred()) SWIG_fail
;
7028 resultobj
= SWIG_Py_Void();
7035 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7036 PyObject
*resultobj
= 0;
7037 wxGauge
*arg1
= (wxGauge
*) 0 ;
7041 PyObject
*swig_obj
[1] ;
7043 if (!args
) SWIG_fail
;
7045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7046 if (!SWIG_IsOK(res1
)) {
7047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7049 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7052 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7053 wxPyEndAllowThreads(__tstate
);
7054 if (PyErr_Occurred()) SWIG_fail
;
7056 resultobj
= SWIG_From_int(static_cast< int >(result
));
7063 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7064 PyObject
*resultobj
= 0;
7065 wxGauge
*arg1
= (wxGauge
*) 0 ;
7071 PyObject
* obj0
= 0 ;
7072 PyObject
* obj1
= 0 ;
7073 char * kwnames
[] = {
7074 (char *) "self",(char *) "pos", NULL
7077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7079 if (!SWIG_IsOK(res1
)) {
7080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7082 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7084 if (!SWIG_IsOK(ecode2
)) {
7085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7087 arg2
= static_cast< int >(val2
);
7089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7090 (arg1
)->SetValue(arg2
);
7091 wxPyEndAllowThreads(__tstate
);
7092 if (PyErr_Occurred()) SWIG_fail
;
7094 resultobj
= SWIG_Py_Void();
7101 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7102 PyObject
*resultobj
= 0;
7103 wxGauge
*arg1
= (wxGauge
*) 0 ;
7107 PyObject
*swig_obj
[1] ;
7109 if (!args
) SWIG_fail
;
7111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7112 if (!SWIG_IsOK(res1
)) {
7113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7115 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7118 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7119 wxPyEndAllowThreads(__tstate
);
7120 if (PyErr_Occurred()) SWIG_fail
;
7122 resultobj
= SWIG_From_int(static_cast< int >(result
));
7129 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7130 PyObject
*resultobj
= 0;
7131 wxGauge
*arg1
= (wxGauge
*) 0 ;
7135 PyObject
*swig_obj
[1] ;
7137 if (!args
) SWIG_fail
;
7139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7140 if (!SWIG_IsOK(res1
)) {
7141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7143 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7146 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7147 wxPyEndAllowThreads(__tstate
);
7148 if (PyErr_Occurred()) SWIG_fail
;
7151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7159 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7160 PyObject
*resultobj
= 0;
7161 wxGauge
*arg1
= (wxGauge
*) 0 ;
7167 PyObject
* obj0
= 0 ;
7168 PyObject
* obj1
= 0 ;
7169 char * kwnames
[] = {
7170 (char *) "self",(char *) "w", NULL
7173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7175 if (!SWIG_IsOK(res1
)) {
7176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7178 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7179 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7180 if (!SWIG_IsOK(ecode2
)) {
7181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7183 arg2
= static_cast< int >(val2
);
7185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7186 (arg1
)->SetShadowWidth(arg2
);
7187 wxPyEndAllowThreads(__tstate
);
7188 if (PyErr_Occurred()) SWIG_fail
;
7190 resultobj
= SWIG_Py_Void();
7197 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7198 PyObject
*resultobj
= 0;
7199 wxGauge
*arg1
= (wxGauge
*) 0 ;
7203 PyObject
*swig_obj
[1] ;
7205 if (!args
) SWIG_fail
;
7207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7208 if (!SWIG_IsOK(res1
)) {
7209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7211 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7214 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7215 wxPyEndAllowThreads(__tstate
);
7216 if (PyErr_Occurred()) SWIG_fail
;
7218 resultobj
= SWIG_From_int(static_cast< int >(result
));
7225 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7226 PyObject
*resultobj
= 0;
7227 wxGauge
*arg1
= (wxGauge
*) 0 ;
7233 PyObject
* obj0
= 0 ;
7234 PyObject
* obj1
= 0 ;
7235 char * kwnames
[] = {
7236 (char *) "self",(char *) "w", NULL
7239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7241 if (!SWIG_IsOK(res1
)) {
7242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7244 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7246 if (!SWIG_IsOK(ecode2
)) {
7247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7249 arg2
= static_cast< int >(val2
);
7251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7252 (arg1
)->SetBezelFace(arg2
);
7253 wxPyEndAllowThreads(__tstate
);
7254 if (PyErr_Occurred()) SWIG_fail
;
7256 resultobj
= SWIG_Py_Void();
7263 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7264 PyObject
*resultobj
= 0;
7265 wxGauge
*arg1
= (wxGauge
*) 0 ;
7269 PyObject
*swig_obj
[1] ;
7271 if (!args
) SWIG_fail
;
7273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7274 if (!SWIG_IsOK(res1
)) {
7275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7277 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7280 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7281 wxPyEndAllowThreads(__tstate
);
7282 if (PyErr_Occurred()) SWIG_fail
;
7284 resultobj
= SWIG_From_int(static_cast< int >(result
));
7291 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7292 PyObject
*resultobj
= 0;
7293 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7294 SwigValueWrapper
<wxVisualAttributes
> result
;
7297 PyObject
* obj0
= 0 ;
7298 char * kwnames
[] = {
7299 (char *) "variant", NULL
7302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7304 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7305 if (!SWIG_IsOK(ecode1
)) {
7306 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7308 arg1
= static_cast< wxWindowVariant
>(val1
);
7311 if (!wxPyCheckForApp()) SWIG_fail
;
7312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7313 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7314 wxPyEndAllowThreads(__tstate
);
7315 if (PyErr_Occurred()) SWIG_fail
;
7317 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7324 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7326 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7327 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7328 return SWIG_Py_Void();
7331 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7332 return SWIG_Python_InitShadowInstance(args
);
7335 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7336 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7341 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7342 PyObject
*pyobj
= 0;
7346 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7348 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7355 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7356 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7361 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7362 PyObject
*pyobj
= 0;
7366 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7368 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7375 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7376 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7381 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7382 PyObject
*pyobj
= 0;
7386 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7388 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7395 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7396 PyObject
*resultobj
= 0;
7397 wxWindow
*arg1
= (wxWindow
*) 0 ;
7398 int arg2
= (int) -1 ;
7399 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7400 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7401 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7402 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7403 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7404 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7405 long arg6
= (long) 0 ;
7406 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7407 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7408 wxStaticBox
*result
= 0 ;
7413 bool temp3
= false ;
7418 bool temp7
= false ;
7419 PyObject
* obj0
= 0 ;
7420 PyObject
* obj1
= 0 ;
7421 PyObject
* obj2
= 0 ;
7422 PyObject
* obj3
= 0 ;
7423 PyObject
* obj4
= 0 ;
7424 PyObject
* obj5
= 0 ;
7425 PyObject
* obj6
= 0 ;
7426 char * kwnames
[] = {
7427 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7432 if (!SWIG_IsOK(res1
)) {
7433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7435 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7437 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7438 if (!SWIG_IsOK(ecode2
)) {
7439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7441 arg2
= static_cast< int >(val2
);
7445 arg3
= wxString_in_helper(obj2
);
7446 if (arg3
== NULL
) SWIG_fail
;
7453 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7459 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7463 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7464 if (!SWIG_IsOK(ecode6
)) {
7465 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7467 arg6
= static_cast< long >(val6
);
7471 arg7
= wxString_in_helper(obj6
);
7472 if (arg7
== NULL
) SWIG_fail
;
7477 if (!wxPyCheckForApp()) SWIG_fail
;
7478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7479 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7480 wxPyEndAllowThreads(__tstate
);
7481 if (PyErr_Occurred()) SWIG_fail
;
7483 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7506 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7507 PyObject
*resultobj
= 0;
7508 wxStaticBox
*result
= 0 ;
7510 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7512 if (!wxPyCheckForApp()) SWIG_fail
;
7513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7514 result
= (wxStaticBox
*)new wxStaticBox();
7515 wxPyEndAllowThreads(__tstate
);
7516 if (PyErr_Occurred()) SWIG_fail
;
7518 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7525 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7526 PyObject
*resultobj
= 0;
7527 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7528 wxWindow
*arg2
= (wxWindow
*) 0 ;
7529 int arg3
= (int) -1 ;
7530 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7531 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7532 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7533 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7534 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7535 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7536 long arg7
= (long) 0 ;
7537 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7538 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7546 bool temp4
= false ;
7551 bool temp8
= false ;
7552 PyObject
* obj0
= 0 ;
7553 PyObject
* obj1
= 0 ;
7554 PyObject
* obj2
= 0 ;
7555 PyObject
* obj3
= 0 ;
7556 PyObject
* obj4
= 0 ;
7557 PyObject
* obj5
= 0 ;
7558 PyObject
* obj6
= 0 ;
7559 PyObject
* obj7
= 0 ;
7560 char * kwnames
[] = {
7561 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7566 if (!SWIG_IsOK(res1
)) {
7567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7569 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7570 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7571 if (!SWIG_IsOK(res2
)) {
7572 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7574 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7576 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7577 if (!SWIG_IsOK(ecode3
)) {
7578 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7580 arg3
= static_cast< int >(val3
);
7584 arg4
= wxString_in_helper(obj3
);
7585 if (arg4
== NULL
) SWIG_fail
;
7592 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7598 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7602 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7603 if (!SWIG_IsOK(ecode7
)) {
7604 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7606 arg7
= static_cast< long >(val7
);
7610 arg8
= wxString_in_helper(obj7
);
7611 if (arg8
== NULL
) SWIG_fail
;
7616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7617 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7618 wxPyEndAllowThreads(__tstate
);
7619 if (PyErr_Occurred()) SWIG_fail
;
7622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7646 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7647 PyObject
*resultobj
= 0;
7648 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7649 SwigValueWrapper
<wxVisualAttributes
> result
;
7652 PyObject
* obj0
= 0 ;
7653 char * kwnames
[] = {
7654 (char *) "variant", NULL
7657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7659 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7660 if (!SWIG_IsOK(ecode1
)) {
7661 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7663 arg1
= static_cast< wxWindowVariant
>(val1
);
7666 if (!wxPyCheckForApp()) SWIG_fail
;
7667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7668 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7669 wxPyEndAllowThreads(__tstate
);
7670 if (PyErr_Occurred()) SWIG_fail
;
7672 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7679 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7681 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7682 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7683 return SWIG_Py_Void();
7686 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7687 return SWIG_Python_InitShadowInstance(args
);
7690 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7691 PyObject
*resultobj
= 0;
7692 wxWindow
*arg1
= (wxWindow
*) 0 ;
7693 int arg2
= (int) -1 ;
7694 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7695 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7696 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7697 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7698 long arg5
= (long) wxLI_HORIZONTAL
;
7699 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7700 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7701 wxStaticLine
*result
= 0 ;
7710 bool temp6
= false ;
7711 PyObject
* obj0
= 0 ;
7712 PyObject
* obj1
= 0 ;
7713 PyObject
* obj2
= 0 ;
7714 PyObject
* obj3
= 0 ;
7715 PyObject
* obj4
= 0 ;
7716 PyObject
* obj5
= 0 ;
7717 char * kwnames
[] = {
7718 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7723 if (!SWIG_IsOK(res1
)) {
7724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7726 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7728 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7729 if (!SWIG_IsOK(ecode2
)) {
7730 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7732 arg2
= static_cast< int >(val2
);
7737 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7743 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7747 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7748 if (!SWIG_IsOK(ecode5
)) {
7749 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7751 arg5
= static_cast< long >(val5
);
7755 arg6
= wxString_in_helper(obj5
);
7756 if (arg6
== NULL
) SWIG_fail
;
7761 if (!wxPyCheckForApp()) SWIG_fail
;
7762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7763 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7764 wxPyEndAllowThreads(__tstate
);
7765 if (PyErr_Occurred()) SWIG_fail
;
7767 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7782 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7783 PyObject
*resultobj
= 0;
7784 wxStaticLine
*result
= 0 ;
7786 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7788 if (!wxPyCheckForApp()) SWIG_fail
;
7789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7790 result
= (wxStaticLine
*)new wxStaticLine();
7791 wxPyEndAllowThreads(__tstate
);
7792 if (PyErr_Occurred()) SWIG_fail
;
7794 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7801 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7802 PyObject
*resultobj
= 0;
7803 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7804 wxWindow
*arg2
= (wxWindow
*) 0 ;
7805 int arg3
= (int) -1 ;
7806 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7807 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7808 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7809 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7810 long arg6
= (long) wxLI_HORIZONTAL
;
7811 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7812 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7824 bool temp7
= false ;
7825 PyObject
* obj0
= 0 ;
7826 PyObject
* obj1
= 0 ;
7827 PyObject
* obj2
= 0 ;
7828 PyObject
* obj3
= 0 ;
7829 PyObject
* obj4
= 0 ;
7830 PyObject
* obj5
= 0 ;
7831 PyObject
* obj6
= 0 ;
7832 char * kwnames
[] = {
7833 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7838 if (!SWIG_IsOK(res1
)) {
7839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7841 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7842 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7843 if (!SWIG_IsOK(res2
)) {
7844 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7846 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7848 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7849 if (!SWIG_IsOK(ecode3
)) {
7850 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7852 arg3
= static_cast< int >(val3
);
7857 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7863 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7867 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7868 if (!SWIG_IsOK(ecode6
)) {
7869 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7871 arg6
= static_cast< long >(val6
);
7875 arg7
= wxString_in_helper(obj6
);
7876 if (arg7
== NULL
) SWIG_fail
;
7881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7882 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7883 wxPyEndAllowThreads(__tstate
);
7884 if (PyErr_Occurred()) SWIG_fail
;
7887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7903 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7904 PyObject
*resultobj
= 0;
7905 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7909 PyObject
*swig_obj
[1] ;
7911 if (!args
) SWIG_fail
;
7913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7914 if (!SWIG_IsOK(res1
)) {
7915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7917 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7920 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7921 wxPyEndAllowThreads(__tstate
);
7922 if (PyErr_Occurred()) SWIG_fail
;
7925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7933 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7934 PyObject
*resultobj
= 0;
7937 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
7939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7940 result
= (int)wxStaticLine::GetDefaultSize();
7941 wxPyEndAllowThreads(__tstate
);
7942 if (PyErr_Occurred()) SWIG_fail
;
7944 resultobj
= SWIG_From_int(static_cast< int >(result
));
7951 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7952 PyObject
*resultobj
= 0;
7953 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7954 SwigValueWrapper
<wxVisualAttributes
> result
;
7957 PyObject
* obj0
= 0 ;
7958 char * kwnames
[] = {
7959 (char *) "variant", NULL
7962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7964 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7965 if (!SWIG_IsOK(ecode1
)) {
7966 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7968 arg1
= static_cast< wxWindowVariant
>(val1
);
7971 if (!wxPyCheckForApp()) SWIG_fail
;
7972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7973 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
7974 wxPyEndAllowThreads(__tstate
);
7975 if (PyErr_Occurred()) SWIG_fail
;
7977 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7984 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7986 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7987 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
7988 return SWIG_Py_Void();
7991 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7992 return SWIG_Python_InitShadowInstance(args
);
7995 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7996 PyObject
*resultobj
= 0;
7997 wxWindow
*arg1
= (wxWindow
*) 0 ;
7998 int arg2
= (int) -1 ;
7999 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8000 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8001 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8002 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8003 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8004 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8005 long arg6
= (long) 0 ;
8006 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8007 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8008 wxStaticText
*result
= 0 ;
8013 bool temp3
= false ;
8018 bool temp7
= false ;
8019 PyObject
* obj0
= 0 ;
8020 PyObject
* obj1
= 0 ;
8021 PyObject
* obj2
= 0 ;
8022 PyObject
* obj3
= 0 ;
8023 PyObject
* obj4
= 0 ;
8024 PyObject
* obj5
= 0 ;
8025 PyObject
* obj6
= 0 ;
8026 char * kwnames
[] = {
8027 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8032 if (!SWIG_IsOK(res1
)) {
8033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8035 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8037 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8038 if (!SWIG_IsOK(ecode2
)) {
8039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8041 arg2
= static_cast< int >(val2
);
8045 arg3
= wxString_in_helper(obj2
);
8046 if (arg3
== NULL
) SWIG_fail
;
8053 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8059 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8063 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8064 if (!SWIG_IsOK(ecode6
)) {
8065 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8067 arg6
= static_cast< long >(val6
);
8071 arg7
= wxString_in_helper(obj6
);
8072 if (arg7
== NULL
) SWIG_fail
;
8077 if (!wxPyCheckForApp()) SWIG_fail
;
8078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8079 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8080 wxPyEndAllowThreads(__tstate
);
8081 if (PyErr_Occurred()) SWIG_fail
;
8083 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8106 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8107 PyObject
*resultobj
= 0;
8108 wxStaticText
*result
= 0 ;
8110 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8112 if (!wxPyCheckForApp()) SWIG_fail
;
8113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8114 result
= (wxStaticText
*)new wxStaticText();
8115 wxPyEndAllowThreads(__tstate
);
8116 if (PyErr_Occurred()) SWIG_fail
;
8118 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8125 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8126 PyObject
*resultobj
= 0;
8127 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8128 wxWindow
*arg2
= (wxWindow
*) 0 ;
8129 int arg3
= (int) -1 ;
8130 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8131 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8132 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8133 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8134 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8135 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8136 long arg7
= (long) 0 ;
8137 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8138 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8146 bool temp4
= false ;
8151 bool temp8
= false ;
8152 PyObject
* obj0
= 0 ;
8153 PyObject
* obj1
= 0 ;
8154 PyObject
* obj2
= 0 ;
8155 PyObject
* obj3
= 0 ;
8156 PyObject
* obj4
= 0 ;
8157 PyObject
* obj5
= 0 ;
8158 PyObject
* obj6
= 0 ;
8159 PyObject
* obj7
= 0 ;
8160 char * kwnames
[] = {
8161 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8166 if (!SWIG_IsOK(res1
)) {
8167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8169 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8170 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8171 if (!SWIG_IsOK(res2
)) {
8172 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8174 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8176 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8177 if (!SWIG_IsOK(ecode3
)) {
8178 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8180 arg3
= static_cast< int >(val3
);
8184 arg4
= wxString_in_helper(obj3
);
8185 if (arg4
== NULL
) SWIG_fail
;
8192 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8198 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8202 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8203 if (!SWIG_IsOK(ecode7
)) {
8204 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8206 arg7
= static_cast< long >(val7
);
8210 arg8
= wxString_in_helper(obj7
);
8211 if (arg8
== NULL
) SWIG_fail
;
8216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8217 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8218 wxPyEndAllowThreads(__tstate
);
8219 if (PyErr_Occurred()) SWIG_fail
;
8222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8246 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8247 PyObject
*resultobj
= 0;
8248 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8254 PyObject
* obj0
= 0 ;
8255 PyObject
* obj1
= 0 ;
8256 char * kwnames
[] = {
8257 (char *) "self",(char *) "width", NULL
8260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8262 if (!SWIG_IsOK(res1
)) {
8263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8265 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8266 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8267 if (!SWIG_IsOK(ecode2
)) {
8268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8270 arg2
= static_cast< int >(val2
);
8272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8274 wxPyEndAllowThreads(__tstate
);
8275 if (PyErr_Occurred()) SWIG_fail
;
8277 resultobj
= SWIG_Py_Void();
8284 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8285 PyObject
*resultobj
= 0;
8286 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8287 SwigValueWrapper
<wxVisualAttributes
> result
;
8290 PyObject
* obj0
= 0 ;
8291 char * kwnames
[] = {
8292 (char *) "variant", NULL
8295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8297 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8298 if (!SWIG_IsOK(ecode1
)) {
8299 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8301 arg1
= static_cast< wxWindowVariant
>(val1
);
8304 if (!wxPyCheckForApp()) SWIG_fail
;
8305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8306 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8307 wxPyEndAllowThreads(__tstate
);
8308 if (PyErr_Occurred()) SWIG_fail
;
8310 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8317 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8319 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8320 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8321 return SWIG_Py_Void();
8324 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8325 return SWIG_Python_InitShadowInstance(args
);
8328 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8329 PyObject
*resultobj
= 0;
8330 wxWindow
*arg1
= (wxWindow
*) 0 ;
8331 int arg2
= (int) -1 ;
8332 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8333 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8334 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8335 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8336 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8337 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8338 long arg6
= (long) 0 ;
8339 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8340 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8341 wxStaticBitmap
*result
= 0 ;
8352 bool temp7
= false ;
8353 PyObject
* obj0
= 0 ;
8354 PyObject
* obj1
= 0 ;
8355 PyObject
* obj2
= 0 ;
8356 PyObject
* obj3
= 0 ;
8357 PyObject
* obj4
= 0 ;
8358 PyObject
* obj5
= 0 ;
8359 PyObject
* obj6
= 0 ;
8360 char * kwnames
[] = {
8361 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8366 if (!SWIG_IsOK(res1
)) {
8367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8369 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8371 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8372 if (!SWIG_IsOK(ecode2
)) {
8373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8375 arg2
= static_cast< int >(val2
);
8378 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8379 if (!SWIG_IsOK(res3
)) {
8380 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8383 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8385 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8390 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8396 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8400 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8401 if (!SWIG_IsOK(ecode6
)) {
8402 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8404 arg6
= static_cast< long >(val6
);
8408 arg7
= wxString_in_helper(obj6
);
8409 if (arg7
== NULL
) SWIG_fail
;
8414 if (!wxPyCheckForApp()) SWIG_fail
;
8415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8416 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8417 wxPyEndAllowThreads(__tstate
);
8418 if (PyErr_Occurred()) SWIG_fail
;
8420 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8435 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8436 PyObject
*resultobj
= 0;
8437 wxStaticBitmap
*result
= 0 ;
8439 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8441 if (!wxPyCheckForApp()) SWIG_fail
;
8442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8443 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8444 wxPyEndAllowThreads(__tstate
);
8445 if (PyErr_Occurred()) SWIG_fail
;
8447 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8454 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8455 PyObject
*resultobj
= 0;
8456 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8457 wxWindow
*arg2
= (wxWindow
*) 0 ;
8458 int arg3
= (int) -1 ;
8459 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8460 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8461 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8462 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8463 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8464 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8465 long arg7
= (long) 0 ;
8466 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8467 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8481 bool temp8
= false ;
8482 PyObject
* obj0
= 0 ;
8483 PyObject
* obj1
= 0 ;
8484 PyObject
* obj2
= 0 ;
8485 PyObject
* obj3
= 0 ;
8486 PyObject
* obj4
= 0 ;
8487 PyObject
* obj5
= 0 ;
8488 PyObject
* obj6
= 0 ;
8489 PyObject
* obj7
= 0 ;
8490 char * kwnames
[] = {
8491 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8496 if (!SWIG_IsOK(res1
)) {
8497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8499 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8500 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8501 if (!SWIG_IsOK(res2
)) {
8502 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8504 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8506 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8507 if (!SWIG_IsOK(ecode3
)) {
8508 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8510 arg3
= static_cast< int >(val3
);
8513 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8514 if (!SWIG_IsOK(res4
)) {
8515 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8518 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8520 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8525 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8531 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8535 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8536 if (!SWIG_IsOK(ecode7
)) {
8537 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8539 arg7
= static_cast< long >(val7
);
8543 arg8
= wxString_in_helper(obj7
);
8544 if (arg8
== NULL
) SWIG_fail
;
8549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8550 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8551 wxPyEndAllowThreads(__tstate
);
8552 if (PyErr_Occurred()) SWIG_fail
;
8555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8571 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8572 PyObject
*resultobj
= 0;
8573 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8577 PyObject
*swig_obj
[1] ;
8579 if (!args
) SWIG_fail
;
8581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8582 if (!SWIG_IsOK(res1
)) {
8583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8585 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8588 result
= (arg1
)->GetBitmap();
8589 wxPyEndAllowThreads(__tstate
);
8590 if (PyErr_Occurred()) SWIG_fail
;
8592 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8599 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8600 PyObject
*resultobj
= 0;
8601 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8602 wxBitmap
*arg2
= 0 ;
8607 PyObject
* obj0
= 0 ;
8608 PyObject
* obj1
= 0 ;
8609 char * kwnames
[] = {
8610 (char *) "self",(char *) "bitmap", NULL
8613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8615 if (!SWIG_IsOK(res1
)) {
8616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8618 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8619 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8620 if (!SWIG_IsOK(res2
)) {
8621 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8624 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8626 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8629 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8630 wxPyEndAllowThreads(__tstate
);
8631 if (PyErr_Occurred()) SWIG_fail
;
8633 resultobj
= SWIG_Py_Void();
8640 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8641 PyObject
*resultobj
= 0;
8642 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8648 PyObject
* obj0
= 0 ;
8649 PyObject
* obj1
= 0 ;
8650 char * kwnames
[] = {
8651 (char *) "self",(char *) "icon", NULL
8654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8656 if (!SWIG_IsOK(res1
)) {
8657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8659 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8660 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8661 if (!SWIG_IsOK(res2
)) {
8662 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8665 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8667 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8670 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8671 wxPyEndAllowThreads(__tstate
);
8672 if (PyErr_Occurred()) SWIG_fail
;
8674 resultobj
= SWIG_Py_Void();
8681 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8682 PyObject
*resultobj
= 0;
8683 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8684 SwigValueWrapper
<wxVisualAttributes
> result
;
8687 PyObject
* obj0
= 0 ;
8688 char * kwnames
[] = {
8689 (char *) "variant", NULL
8692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8694 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8695 if (!SWIG_IsOK(ecode1
)) {
8696 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8698 arg1
= static_cast< wxWindowVariant
>(val1
);
8701 if (!wxPyCheckForApp()) SWIG_fail
;
8702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8703 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8704 wxPyEndAllowThreads(__tstate
);
8705 if (PyErr_Occurred()) SWIG_fail
;
8707 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8714 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8716 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8717 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8718 return SWIG_Py_Void();
8721 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8722 return SWIG_Python_InitShadowInstance(args
);
8725 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8726 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8731 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8732 PyObject
*pyobj
= 0;
8736 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8738 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8745 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8746 PyObject
*resultobj
= 0;
8747 wxWindow
*arg1
= (wxWindow
*) 0 ;
8748 int arg2
= (int) -1 ;
8749 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8750 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8751 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8752 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8753 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8754 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8755 long arg6
= (long) 0 ;
8756 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8757 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8758 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8759 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8760 wxListBox
*result
= 0 ;
8767 bool temp5
= false ;
8772 bool temp8
= false ;
8773 PyObject
* obj0
= 0 ;
8774 PyObject
* obj1
= 0 ;
8775 PyObject
* obj2
= 0 ;
8776 PyObject
* obj3
= 0 ;
8777 PyObject
* obj4
= 0 ;
8778 PyObject
* obj5
= 0 ;
8779 PyObject
* obj6
= 0 ;
8780 PyObject
* obj7
= 0 ;
8781 char * kwnames
[] = {
8782 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8787 if (!SWIG_IsOK(res1
)) {
8788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8790 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8792 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8793 if (!SWIG_IsOK(ecode2
)) {
8794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8796 arg2
= static_cast< int >(val2
);
8801 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8807 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8812 if (! PySequence_Check(obj4
)) {
8813 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8816 arg5
= new wxArrayString
;
8818 int i
, len
=PySequence_Length(obj4
);
8819 for (i
=0; i
<len
; i
++) {
8820 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8821 wxString
* s
= wxString_in_helper(item
);
8822 if (PyErr_Occurred()) SWIG_fail
;
8830 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8831 if (!SWIG_IsOK(ecode6
)) {
8832 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8834 arg6
= static_cast< long >(val6
);
8837 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8838 if (!SWIG_IsOK(res7
)) {
8839 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8842 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8844 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8848 arg8
= wxString_in_helper(obj7
);
8849 if (arg8
== NULL
) SWIG_fail
;
8854 if (!wxPyCheckForApp()) SWIG_fail
;
8855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8856 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8857 wxPyEndAllowThreads(__tstate
);
8858 if (PyErr_Occurred()) SWIG_fail
;
8860 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8862 if (temp5
) delete arg5
;
8871 if (temp5
) delete arg5
;
8881 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8882 PyObject
*resultobj
= 0;
8883 wxListBox
*result
= 0 ;
8885 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8887 if (!wxPyCheckForApp()) SWIG_fail
;
8888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8889 result
= (wxListBox
*)new wxListBox();
8890 wxPyEndAllowThreads(__tstate
);
8891 if (PyErr_Occurred()) SWIG_fail
;
8893 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8900 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8901 PyObject
*resultobj
= 0;
8902 wxListBox
*arg1
= (wxListBox
*) 0 ;
8903 wxWindow
*arg2
= (wxWindow
*) 0 ;
8904 int arg3
= (int) -1 ;
8905 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8906 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8907 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8908 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8909 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8910 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8911 long arg7
= (long) 0 ;
8912 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8913 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8914 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8915 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8925 bool temp6
= false ;
8930 bool temp9
= false ;
8931 PyObject
* obj0
= 0 ;
8932 PyObject
* obj1
= 0 ;
8933 PyObject
* obj2
= 0 ;
8934 PyObject
* obj3
= 0 ;
8935 PyObject
* obj4
= 0 ;
8936 PyObject
* obj5
= 0 ;
8937 PyObject
* obj6
= 0 ;
8938 PyObject
* obj7
= 0 ;
8939 PyObject
* obj8
= 0 ;
8940 char * kwnames
[] = {
8941 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
8945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
8946 if (!SWIG_IsOK(res1
)) {
8947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
8949 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
8950 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8951 if (!SWIG_IsOK(res2
)) {
8952 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8954 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8956 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8957 if (!SWIG_IsOK(ecode3
)) {
8958 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
8960 arg3
= static_cast< int >(val3
);
8965 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8971 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8976 if (! PySequence_Check(obj5
)) {
8977 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8980 arg6
= new wxArrayString
;
8982 int i
, len
=PySequence_Length(obj5
);
8983 for (i
=0; i
<len
; i
++) {
8984 PyObject
* item
= PySequence_GetItem(obj5
, i
);
8985 wxString
* s
= wxString_in_helper(item
);
8986 if (PyErr_Occurred()) SWIG_fail
;
8994 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8995 if (!SWIG_IsOK(ecode7
)) {
8996 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
8998 arg7
= static_cast< long >(val7
);
9001 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9002 if (!SWIG_IsOK(res8
)) {
9003 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9006 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9008 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9012 arg9
= wxString_in_helper(obj8
);
9013 if (arg9
== NULL
) SWIG_fail
;
9018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9019 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9020 wxPyEndAllowThreads(__tstate
);
9021 if (PyErr_Occurred()) SWIG_fail
;
9024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9027 if (temp6
) delete arg6
;
9036 if (temp6
) delete arg6
;
9046 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9047 PyObject
*resultobj
= 0;
9048 wxListBox
*arg1
= (wxListBox
*) 0 ;
9049 wxString
*arg2
= 0 ;
9051 PyObject
*arg4
= (PyObject
*) NULL
;
9054 bool temp2
= false ;
9057 PyObject
* obj0
= 0 ;
9058 PyObject
* obj1
= 0 ;
9059 PyObject
* obj2
= 0 ;
9060 PyObject
* obj3
= 0 ;
9061 char * kwnames
[] = {
9062 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9067 if (!SWIG_IsOK(res1
)) {
9068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9070 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9072 arg2
= wxString_in_helper(obj1
);
9073 if (arg2
== NULL
) SWIG_fail
;
9076 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9077 if (!SWIG_IsOK(ecode3
)) {
9078 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9080 arg3
= static_cast< int >(val3
);
9085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9086 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9087 wxPyEndAllowThreads(__tstate
);
9088 if (PyErr_Occurred()) SWIG_fail
;
9090 resultobj
= SWIG_Py_Void();
9105 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9106 PyObject
*resultobj
= 0;
9107 wxListBox
*arg1
= (wxListBox
*) 0 ;
9108 wxArrayString
*arg2
= 0 ;
9112 bool temp2
= false ;
9115 PyObject
* obj0
= 0 ;
9116 PyObject
* obj1
= 0 ;
9117 PyObject
* obj2
= 0 ;
9118 char * kwnames
[] = {
9119 (char *) "self",(char *) "items",(char *) "pos", NULL
9122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9124 if (!SWIG_IsOK(res1
)) {
9125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9127 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9129 if (! PySequence_Check(obj1
)) {
9130 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9133 arg2
= new wxArrayString
;
9135 int i
, len
=PySequence_Length(obj1
);
9136 for (i
=0; i
<len
; i
++) {
9137 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9138 wxString
* s
= wxString_in_helper(item
);
9139 if (PyErr_Occurred()) SWIG_fail
;
9145 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9146 if (!SWIG_IsOK(ecode3
)) {
9147 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9149 arg3
= static_cast< unsigned int >(val3
);
9151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9152 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9153 wxPyEndAllowThreads(__tstate
);
9154 if (PyErr_Occurred()) SWIG_fail
;
9156 resultobj
= SWIG_Py_Void();
9158 if (temp2
) delete arg2
;
9163 if (temp2
) delete arg2
;
9169 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9170 PyObject
*resultobj
= 0;
9171 wxListBox
*arg1
= (wxListBox
*) 0 ;
9172 wxArrayString
*arg2
= 0 ;
9175 bool temp2
= false ;
9176 PyObject
* obj0
= 0 ;
9177 PyObject
* obj1
= 0 ;
9178 char * kwnames
[] = {
9179 (char *) "self",(char *) "items", NULL
9182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9184 if (!SWIG_IsOK(res1
)) {
9185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9187 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9189 if (! PySequence_Check(obj1
)) {
9190 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9193 arg2
= new wxArrayString
;
9195 int i
, len
=PySequence_Length(obj1
);
9196 for (i
=0; i
<len
; i
++) {
9197 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9198 wxString
* s
= wxString_in_helper(item
);
9199 if (PyErr_Occurred()) SWIG_fail
;
9206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9207 (arg1
)->Set((wxArrayString
const &)*arg2
);
9208 wxPyEndAllowThreads(__tstate
);
9209 if (PyErr_Occurred()) SWIG_fail
;
9211 resultobj
= SWIG_Py_Void();
9213 if (temp2
) delete arg2
;
9218 if (temp2
) delete arg2
;
9224 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9225 PyObject
*resultobj
= 0;
9226 wxListBox
*arg1
= (wxListBox
*) 0 ;
9233 PyObject
* obj0
= 0 ;
9234 PyObject
* obj1
= 0 ;
9235 char * kwnames
[] = {
9236 (char *) "self",(char *) "n", NULL
9239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9241 if (!SWIG_IsOK(res1
)) {
9242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9244 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9246 if (!SWIG_IsOK(ecode2
)) {
9247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9249 arg2
= static_cast< int >(val2
);
9251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9252 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9253 wxPyEndAllowThreads(__tstate
);
9254 if (PyErr_Occurred()) SWIG_fail
;
9257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9265 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9266 PyObject
*resultobj
= 0;
9267 wxListBox
*arg1
= (wxListBox
*) 0 ;
9269 bool arg3
= (bool) true ;
9276 PyObject
* obj0
= 0 ;
9277 PyObject
* obj1
= 0 ;
9278 PyObject
* obj2
= 0 ;
9279 char * kwnames
[] = {
9280 (char *) "self",(char *) "n",(char *) "select", NULL
9283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9285 if (!SWIG_IsOK(res1
)) {
9286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9288 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9290 if (!SWIG_IsOK(ecode2
)) {
9291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9293 arg2
= static_cast< int >(val2
);
9295 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9296 if (!SWIG_IsOK(ecode3
)) {
9297 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9299 arg3
= static_cast< bool >(val3
);
9302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9303 (arg1
)->SetSelection(arg2
,arg3
);
9304 wxPyEndAllowThreads(__tstate
);
9305 if (PyErr_Occurred()) SWIG_fail
;
9307 resultobj
= SWIG_Py_Void();
9314 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9315 PyObject
*resultobj
= 0;
9316 wxListBox
*arg1
= (wxListBox
*) 0 ;
9322 PyObject
* obj0
= 0 ;
9323 PyObject
* obj1
= 0 ;
9324 char * kwnames
[] = {
9325 (char *) "self",(char *) "n", NULL
9328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9330 if (!SWIG_IsOK(res1
)) {
9331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9333 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9334 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9335 if (!SWIG_IsOK(ecode2
)) {
9336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9338 arg2
= static_cast< int >(val2
);
9340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9341 (arg1
)->Select(arg2
);
9342 wxPyEndAllowThreads(__tstate
);
9343 if (PyErr_Occurred()) SWIG_fail
;
9345 resultobj
= SWIG_Py_Void();
9352 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9353 PyObject
*resultobj
= 0;
9354 wxListBox
*arg1
= (wxListBox
*) 0 ;
9360 PyObject
* obj0
= 0 ;
9361 PyObject
* obj1
= 0 ;
9362 char * kwnames
[] = {
9363 (char *) "self",(char *) "n", NULL
9366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9368 if (!SWIG_IsOK(res1
)) {
9369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9371 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9372 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9373 if (!SWIG_IsOK(ecode2
)) {
9374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9376 arg2
= static_cast< int >(val2
);
9378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9379 (arg1
)->Deselect(arg2
);
9380 wxPyEndAllowThreads(__tstate
);
9381 if (PyErr_Occurred()) SWIG_fail
;
9383 resultobj
= SWIG_Py_Void();
9390 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9391 PyObject
*resultobj
= 0;
9392 wxListBox
*arg1
= (wxListBox
*) 0 ;
9393 int arg2
= (int) -1 ;
9398 PyObject
* obj0
= 0 ;
9399 PyObject
* obj1
= 0 ;
9400 char * kwnames
[] = {
9401 (char *) "self",(char *) "itemToLeaveSelected", NULL
9404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9406 if (!SWIG_IsOK(res1
)) {
9407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9409 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9411 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9412 if (!SWIG_IsOK(ecode2
)) {
9413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9415 arg2
= static_cast< int >(val2
);
9418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9419 (arg1
)->DeselectAll(arg2
);
9420 wxPyEndAllowThreads(__tstate
);
9421 if (PyErr_Occurred()) SWIG_fail
;
9423 resultobj
= SWIG_Py_Void();
9430 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9431 PyObject
*resultobj
= 0;
9432 wxListBox
*arg1
= (wxListBox
*) 0 ;
9433 wxString
*arg2
= 0 ;
9434 bool arg3
= (bool) true ;
9438 bool temp2
= false ;
9441 PyObject
* obj0
= 0 ;
9442 PyObject
* obj1
= 0 ;
9443 PyObject
* obj2
= 0 ;
9444 char * kwnames
[] = {
9445 (char *) "self",(char *) "s",(char *) "select", NULL
9448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9450 if (!SWIG_IsOK(res1
)) {
9451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9453 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9455 arg2
= wxString_in_helper(obj1
);
9456 if (arg2
== NULL
) SWIG_fail
;
9460 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9461 if (!SWIG_IsOK(ecode3
)) {
9462 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9464 arg3
= static_cast< bool >(val3
);
9467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9468 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9469 wxPyEndAllowThreads(__tstate
);
9470 if (PyErr_Occurred()) SWIG_fail
;
9473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9489 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9490 PyObject
*resultobj
= 0;
9491 wxListBox
*arg1
= (wxListBox
*) 0 ;
9492 PyObject
*result
= 0 ;
9495 PyObject
*swig_obj
[1] ;
9497 if (!args
) SWIG_fail
;
9499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9500 if (!SWIG_IsOK(res1
)) {
9501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9503 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9506 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9507 wxPyEndAllowThreads(__tstate
);
9508 if (PyErr_Occurred()) SWIG_fail
;
9517 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9518 PyObject
*resultobj
= 0;
9519 wxListBox
*arg1
= (wxListBox
*) 0 ;
9525 PyObject
* obj0
= 0 ;
9526 PyObject
* obj1
= 0 ;
9527 char * kwnames
[] = {
9528 (char *) "self",(char *) "n", NULL
9531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9533 if (!SWIG_IsOK(res1
)) {
9534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9536 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9537 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9538 if (!SWIG_IsOK(ecode2
)) {
9539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9541 arg2
= static_cast< int >(val2
);
9543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9544 (arg1
)->SetFirstItem(arg2
);
9545 wxPyEndAllowThreads(__tstate
);
9546 if (PyErr_Occurred()) SWIG_fail
;
9548 resultobj
= SWIG_Py_Void();
9555 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9556 PyObject
*resultobj
= 0;
9557 wxListBox
*arg1
= (wxListBox
*) 0 ;
9558 wxString
*arg2
= 0 ;
9561 bool temp2
= false ;
9562 PyObject
* obj0
= 0 ;
9563 PyObject
* obj1
= 0 ;
9564 char * kwnames
[] = {
9565 (char *) "self",(char *) "s", NULL
9568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9570 if (!SWIG_IsOK(res1
)) {
9571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9573 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9575 arg2
= wxString_in_helper(obj1
);
9576 if (arg2
== NULL
) SWIG_fail
;
9580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9581 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9582 wxPyEndAllowThreads(__tstate
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9585 resultobj
= SWIG_Py_Void();
9600 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9601 PyObject
*resultobj
= 0;
9602 wxListBox
*arg1
= (wxListBox
*) 0 ;
9608 PyObject
* obj0
= 0 ;
9609 PyObject
* obj1
= 0 ;
9610 char * kwnames
[] = {
9611 (char *) "self",(char *) "n", NULL
9614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9616 if (!SWIG_IsOK(res1
)) {
9617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9619 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9620 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9621 if (!SWIG_IsOK(ecode2
)) {
9622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9624 arg2
= static_cast< int >(val2
);
9626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9627 (arg1
)->EnsureVisible(arg2
);
9628 wxPyEndAllowThreads(__tstate
);
9629 if (PyErr_Occurred()) SWIG_fail
;
9631 resultobj
= SWIG_Py_Void();
9638 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9639 PyObject
*resultobj
= 0;
9640 wxListBox
*arg1
= (wxListBox
*) 0 ;
9641 wxString
*arg2
= 0 ;
9644 bool temp2
= false ;
9645 PyObject
* obj0
= 0 ;
9646 PyObject
* obj1
= 0 ;
9647 char * kwnames
[] = {
9648 (char *) "self",(char *) "s", NULL
9651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9653 if (!SWIG_IsOK(res1
)) {
9654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9656 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9658 arg2
= wxString_in_helper(obj1
);
9659 if (arg2
== NULL
) SWIG_fail
;
9663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9664 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9665 wxPyEndAllowThreads(__tstate
);
9666 if (PyErr_Occurred()) SWIG_fail
;
9668 resultobj
= SWIG_Py_Void();
9683 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9684 PyObject
*resultobj
= 0;
9685 wxListBox
*arg1
= (wxListBox
*) 0 ;
9689 PyObject
*swig_obj
[1] ;
9691 if (!args
) SWIG_fail
;
9693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9694 if (!SWIG_IsOK(res1
)) {
9695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9697 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9700 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9701 wxPyEndAllowThreads(__tstate
);
9702 if (PyErr_Occurred()) SWIG_fail
;
9705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9713 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9714 PyObject
*resultobj
= 0;
9715 wxListBox
*arg1
= (wxListBox
*) 0 ;
9721 PyObject
* obj0
= 0 ;
9722 PyObject
* obj1
= 0 ;
9723 char * kwnames
[] = {
9724 (char *) "self",(char *) "pt", NULL
9727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9729 if (!SWIG_IsOK(res1
)) {
9730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9732 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9735 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9739 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9740 wxPyEndAllowThreads(__tstate
);
9741 if (PyErr_Occurred()) SWIG_fail
;
9743 resultobj
= SWIG_From_int(static_cast< int >(result
));
9750 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9751 PyObject
*resultobj
= 0;
9752 wxListBox
*arg1
= (wxListBox
*) 0 ;
9754 wxColour
*arg3
= 0 ;
9760 PyObject
* obj0
= 0 ;
9761 PyObject
* obj1
= 0 ;
9762 PyObject
* obj2
= 0 ;
9763 char * kwnames
[] = {
9764 (char *) "self",(char *) "item",(char *) "c", NULL
9767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) 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_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9772 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9773 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9774 if (!SWIG_IsOK(ecode2
)) {
9775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9777 arg2
= static_cast< int >(val2
);
9780 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9784 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9785 wxPyEndAllowThreads(__tstate
);
9786 if (PyErr_Occurred()) SWIG_fail
;
9788 resultobj
= SWIG_Py_Void();
9795 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9796 PyObject
*resultobj
= 0;
9797 wxListBox
*arg1
= (wxListBox
*) 0 ;
9799 wxColour
*arg3
= 0 ;
9805 PyObject
* obj0
= 0 ;
9806 PyObject
* obj1
= 0 ;
9807 PyObject
* obj2
= 0 ;
9808 char * kwnames
[] = {
9809 (char *) "self",(char *) "item",(char *) "c", NULL
9812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9814 if (!SWIG_IsOK(res1
)) {
9815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9817 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9818 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9819 if (!SWIG_IsOK(ecode2
)) {
9820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9822 arg2
= static_cast< int >(val2
);
9825 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9829 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9830 wxPyEndAllowThreads(__tstate
);
9831 if (PyErr_Occurred()) SWIG_fail
;
9833 resultobj
= SWIG_Py_Void();
9840 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9841 PyObject
*resultobj
= 0;
9842 wxListBox
*arg1
= (wxListBox
*) 0 ;
9851 PyObject
* obj0
= 0 ;
9852 PyObject
* obj1
= 0 ;
9853 PyObject
* obj2
= 0 ;
9854 char * kwnames
[] = {
9855 (char *) "self",(char *) "item",(char *) "f", NULL
9858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9860 if (!SWIG_IsOK(res1
)) {
9861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9863 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9864 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9865 if (!SWIG_IsOK(ecode2
)) {
9866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9868 arg2
= static_cast< int >(val2
);
9869 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9870 if (!SWIG_IsOK(res3
)) {
9871 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9874 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9876 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9879 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9880 wxPyEndAllowThreads(__tstate
);
9881 if (PyErr_Occurred()) SWIG_fail
;
9883 resultobj
= SWIG_Py_Void();
9890 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9891 PyObject
*resultobj
= 0;
9892 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9893 SwigValueWrapper
<wxVisualAttributes
> result
;
9896 PyObject
* obj0
= 0 ;
9897 char * kwnames
[] = {
9898 (char *) "variant", NULL
9901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9903 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9904 if (!SWIG_IsOK(ecode1
)) {
9905 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9907 arg1
= static_cast< wxWindowVariant
>(val1
);
9910 if (!wxPyCheckForApp()) SWIG_fail
;
9911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9912 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9913 wxPyEndAllowThreads(__tstate
);
9914 if (PyErr_Occurred()) SWIG_fail
;
9916 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9923 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9925 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9926 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9927 return SWIG_Py_Void();
9930 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9931 return SWIG_Python_InitShadowInstance(args
);
9934 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9935 PyObject
*resultobj
= 0;
9936 wxWindow
*arg1
= (wxWindow
*) 0 ;
9937 int arg2
= (int) -1 ;
9938 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9939 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9940 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9941 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9942 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
9943 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
9944 long arg6
= (long) 0 ;
9945 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9946 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9947 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
9948 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9949 wxCheckListBox
*result
= 0 ;
9956 bool temp5
= false ;
9961 bool temp8
= false ;
9962 PyObject
* obj0
= 0 ;
9963 PyObject
* obj1
= 0 ;
9964 PyObject
* obj2
= 0 ;
9965 PyObject
* obj3
= 0 ;
9966 PyObject
* obj4
= 0 ;
9967 PyObject
* obj5
= 0 ;
9968 PyObject
* obj6
= 0 ;
9969 PyObject
* obj7
= 0 ;
9970 char * kwnames
[] = {
9971 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
9975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9976 if (!SWIG_IsOK(res1
)) {
9977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
9979 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9981 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9982 if (!SWIG_IsOK(ecode2
)) {
9983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
9985 arg2
= static_cast< int >(val2
);
9990 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9996 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10001 if (! PySequence_Check(obj4
)) {
10002 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10005 arg5
= new wxArrayString
;
10007 int i
, len
=PySequence_Length(obj4
);
10008 for (i
=0; i
<len
; i
++) {
10009 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10010 wxString
* s
= wxString_in_helper(item
);
10011 if (PyErr_Occurred()) SWIG_fail
;
10019 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10020 if (!SWIG_IsOK(ecode6
)) {
10021 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10023 arg6
= static_cast< long >(val6
);
10026 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10027 if (!SWIG_IsOK(res7
)) {
10028 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10031 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10033 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10037 arg8
= wxString_in_helper(obj7
);
10038 if (arg8
== NULL
) SWIG_fail
;
10043 if (!wxPyCheckForApp()) SWIG_fail
;
10044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10045 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10046 wxPyEndAllowThreads(__tstate
);
10047 if (PyErr_Occurred()) SWIG_fail
;
10049 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10051 if (temp5
) delete arg5
;
10060 if (temp5
) delete arg5
;
10070 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10071 PyObject
*resultobj
= 0;
10072 wxCheckListBox
*result
= 0 ;
10074 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10076 if (!wxPyCheckForApp()) SWIG_fail
;
10077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10078 result
= (wxCheckListBox
*)new wxCheckListBox();
10079 wxPyEndAllowThreads(__tstate
);
10080 if (PyErr_Occurred()) SWIG_fail
;
10082 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10089 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10090 PyObject
*resultobj
= 0;
10091 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10092 wxWindow
*arg2
= (wxWindow
*) 0 ;
10093 int arg3
= (int) -1 ;
10094 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10095 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10096 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10097 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10098 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10099 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10100 long arg7
= (long) 0 ;
10101 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10102 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10103 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10104 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10114 bool temp6
= false ;
10119 bool temp9
= false ;
10120 PyObject
* obj0
= 0 ;
10121 PyObject
* obj1
= 0 ;
10122 PyObject
* obj2
= 0 ;
10123 PyObject
* obj3
= 0 ;
10124 PyObject
* obj4
= 0 ;
10125 PyObject
* obj5
= 0 ;
10126 PyObject
* obj6
= 0 ;
10127 PyObject
* obj7
= 0 ;
10128 PyObject
* obj8
= 0 ;
10129 char * kwnames
[] = {
10130 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10135 if (!SWIG_IsOK(res1
)) {
10136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10138 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10139 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10140 if (!SWIG_IsOK(res2
)) {
10141 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10143 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10145 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10146 if (!SWIG_IsOK(ecode3
)) {
10147 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10149 arg3
= static_cast< int >(val3
);
10154 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10160 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10165 if (! PySequence_Check(obj5
)) {
10166 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10169 arg6
= new wxArrayString
;
10171 int i
, len
=PySequence_Length(obj5
);
10172 for (i
=0; i
<len
; i
++) {
10173 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10174 wxString
* s
= wxString_in_helper(item
);
10175 if (PyErr_Occurred()) SWIG_fail
;
10183 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10184 if (!SWIG_IsOK(ecode7
)) {
10185 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10187 arg7
= static_cast< long >(val7
);
10190 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10191 if (!SWIG_IsOK(res8
)) {
10192 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10195 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10197 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10201 arg9
= wxString_in_helper(obj8
);
10202 if (arg9
== NULL
) SWIG_fail
;
10207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10208 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10209 wxPyEndAllowThreads(__tstate
);
10210 if (PyErr_Occurred()) SWIG_fail
;
10213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10216 if (temp6
) delete arg6
;
10225 if (temp6
) delete arg6
;
10235 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10236 PyObject
*resultobj
= 0;
10237 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10238 unsigned int arg2
;
10242 unsigned int val2
;
10244 PyObject
* obj0
= 0 ;
10245 PyObject
* obj1
= 0 ;
10246 char * kwnames
[] = {
10247 (char *) "self",(char *) "index", NULL
10250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10252 if (!SWIG_IsOK(res1
)) {
10253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10255 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10256 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10257 if (!SWIG_IsOK(ecode2
)) {
10258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10260 arg2
= static_cast< unsigned int >(val2
);
10262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10263 result
= (bool)(arg1
)->IsChecked(arg2
);
10264 wxPyEndAllowThreads(__tstate
);
10265 if (PyErr_Occurred()) SWIG_fail
;
10268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10276 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10277 PyObject
*resultobj
= 0;
10278 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10279 unsigned int arg2
;
10280 int arg3
= (int) true ;
10283 unsigned int val2
;
10287 PyObject
* obj0
= 0 ;
10288 PyObject
* obj1
= 0 ;
10289 PyObject
* obj2
= 0 ;
10290 char * kwnames
[] = {
10291 (char *) "self",(char *) "index",(char *) "check", NULL
10294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10296 if (!SWIG_IsOK(res1
)) {
10297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10299 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10300 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10301 if (!SWIG_IsOK(ecode2
)) {
10302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10304 arg2
= static_cast< unsigned int >(val2
);
10306 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10307 if (!SWIG_IsOK(ecode3
)) {
10308 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10310 arg3
= static_cast< int >(val3
);
10313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10314 (arg1
)->Check(arg2
,arg3
);
10315 wxPyEndAllowThreads(__tstate
);
10316 if (PyErr_Occurred()) SWIG_fail
;
10318 resultobj
= SWIG_Py_Void();
10325 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10327 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10328 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10329 return SWIG_Py_Void();
10332 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10333 return SWIG_Python_InitShadowInstance(args
);
10336 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10337 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10342 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10343 PyObject
*pyobj
= 0;
10347 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10349 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10356 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10357 PyObject
*resultobj
= 0;
10358 wxColour
const &arg1_defvalue
= wxNullColour
;
10359 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10360 wxColour
const &arg2_defvalue
= wxNullColour
;
10361 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10362 wxFont
const &arg3_defvalue
= wxNullFont
;
10363 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10364 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10365 wxTextAttr
*result
= 0 ;
10372 PyObject
* obj0
= 0 ;
10373 PyObject
* obj1
= 0 ;
10374 PyObject
* obj2
= 0 ;
10375 PyObject
* obj3
= 0 ;
10376 char * kwnames
[] = {
10377 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10384 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10390 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10394 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10395 if (!SWIG_IsOK(res3
)) {
10396 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10399 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10401 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10404 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10405 if (!SWIG_IsOK(ecode4
)) {
10406 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10408 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10412 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10413 wxPyEndAllowThreads(__tstate
);
10414 if (PyErr_Occurred()) SWIG_fail
;
10416 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10423 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10424 PyObject
*resultobj
= 0;
10425 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10428 PyObject
*swig_obj
[1] ;
10430 if (!args
) SWIG_fail
;
10431 swig_obj
[0] = args
;
10432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10433 if (!SWIG_IsOK(res1
)) {
10434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10436 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10441 wxPyEndAllowThreads(__tstate
);
10442 if (PyErr_Occurred()) SWIG_fail
;
10444 resultobj
= SWIG_Py_Void();
10451 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10452 PyObject
*resultobj
= 0;
10453 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10456 PyObject
*swig_obj
[1] ;
10458 if (!args
) SWIG_fail
;
10459 swig_obj
[0] = args
;
10460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10461 if (!SWIG_IsOK(res1
)) {
10462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10464 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10468 wxPyEndAllowThreads(__tstate
);
10469 if (PyErr_Occurred()) SWIG_fail
;
10471 resultobj
= SWIG_Py_Void();
10478 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10479 PyObject
*resultobj
= 0;
10480 wxTextAttr
*arg1
= 0 ;
10481 wxTextAttr
*arg2
= 0 ;
10487 PyObject
* obj0
= 0 ;
10488 PyObject
* obj1
= 0 ;
10489 char * kwnames
[] = {
10490 (char *) "base",(char *) "overlay", NULL
10493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10494 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10495 if (!SWIG_IsOK(res1
)) {
10496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10499 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10501 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10502 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10503 if (!SWIG_IsOK(res2
)) {
10504 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10507 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10509 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10512 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10513 wxPyEndAllowThreads(__tstate
);
10514 if (PyErr_Occurred()) SWIG_fail
;
10516 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10523 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10524 PyObject
*resultobj
= 0;
10525 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10526 wxColour
*arg2
= 0 ;
10530 PyObject
* obj0
= 0 ;
10531 PyObject
* obj1
= 0 ;
10532 char * kwnames
[] = {
10533 (char *) "self",(char *) "colText", NULL
10536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10538 if (!SWIG_IsOK(res1
)) {
10539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10541 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10544 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10548 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10549 wxPyEndAllowThreads(__tstate
);
10550 if (PyErr_Occurred()) SWIG_fail
;
10552 resultobj
= SWIG_Py_Void();
10559 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10560 PyObject
*resultobj
= 0;
10561 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10562 wxColour
*arg2
= 0 ;
10566 PyObject
* obj0
= 0 ;
10567 PyObject
* obj1
= 0 ;
10568 char * kwnames
[] = {
10569 (char *) "self",(char *) "colBack", NULL
10572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10574 if (!SWIG_IsOK(res1
)) {
10575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10577 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10580 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10584 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10585 wxPyEndAllowThreads(__tstate
);
10586 if (PyErr_Occurred()) SWIG_fail
;
10588 resultobj
= SWIG_Py_Void();
10595 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10596 PyObject
*resultobj
= 0;
10597 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10599 long arg3
= (long) wxTEXT_ATTR_FONT
;
10606 PyObject
* obj0
= 0 ;
10607 PyObject
* obj1
= 0 ;
10608 PyObject
* obj2
= 0 ;
10609 char * kwnames
[] = {
10610 (char *) "self",(char *) "font",(char *) "flags", NULL
10613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10615 if (!SWIG_IsOK(res1
)) {
10616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10618 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10619 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10620 if (!SWIG_IsOK(res2
)) {
10621 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10624 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10626 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10628 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10629 if (!SWIG_IsOK(ecode3
)) {
10630 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10632 arg3
= static_cast< long >(val3
);
10635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10636 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10637 wxPyEndAllowThreads(__tstate
);
10638 if (PyErr_Occurred()) SWIG_fail
;
10640 resultobj
= SWIG_Py_Void();
10647 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10648 PyObject
*resultobj
= 0;
10649 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10650 wxTextAttrAlignment arg2
;
10655 PyObject
* obj0
= 0 ;
10656 PyObject
* obj1
= 0 ;
10657 char * kwnames
[] = {
10658 (char *) "self",(char *) "alignment", NULL
10661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10663 if (!SWIG_IsOK(res1
)) {
10664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10666 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10667 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10668 if (!SWIG_IsOK(ecode2
)) {
10669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10671 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10674 (arg1
)->SetAlignment(arg2
);
10675 wxPyEndAllowThreads(__tstate
);
10676 if (PyErr_Occurred()) SWIG_fail
;
10678 resultobj
= SWIG_Py_Void();
10685 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10686 PyObject
*resultobj
= 0;
10687 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10688 wxArrayInt
*arg2
= 0 ;
10691 bool temp2
= false ;
10692 PyObject
* obj0
= 0 ;
10693 PyObject
* obj1
= 0 ;
10694 char * kwnames
[] = {
10695 (char *) "self",(char *) "tabs", NULL
10698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10700 if (!SWIG_IsOK(res1
)) {
10701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10703 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10705 if (! PySequence_Check(obj1
)) {
10706 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10709 arg2
= new wxArrayInt
;
10711 int i
, len
=PySequence_Length(obj1
);
10712 for (i
=0; i
<len
; i
++) {
10713 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10714 PyObject
* number
= PyNumber_Int(item
);
10715 arg2
->Add(PyInt_AS_LONG(number
));
10721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10722 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10723 wxPyEndAllowThreads(__tstate
);
10724 if (PyErr_Occurred()) SWIG_fail
;
10726 resultobj
= SWIG_Py_Void();
10728 if (temp2
) delete arg2
;
10733 if (temp2
) delete arg2
;
10739 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10740 PyObject
*resultobj
= 0;
10741 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10743 int arg3
= (int) 0 ;
10750 PyObject
* obj0
= 0 ;
10751 PyObject
* obj1
= 0 ;
10752 PyObject
* obj2
= 0 ;
10753 char * kwnames
[] = {
10754 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10759 if (!SWIG_IsOK(res1
)) {
10760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10762 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10763 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10764 if (!SWIG_IsOK(ecode2
)) {
10765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10767 arg2
= static_cast< int >(val2
);
10769 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10770 if (!SWIG_IsOK(ecode3
)) {
10771 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10773 arg3
= static_cast< int >(val3
);
10776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10777 (arg1
)->SetLeftIndent(arg2
,arg3
);
10778 wxPyEndAllowThreads(__tstate
);
10779 if (PyErr_Occurred()) SWIG_fail
;
10781 resultobj
= SWIG_Py_Void();
10788 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10789 PyObject
*resultobj
= 0;
10790 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10796 PyObject
* obj0
= 0 ;
10797 PyObject
* obj1
= 0 ;
10798 char * kwnames
[] = {
10799 (char *) "self",(char *) "indent", NULL
10802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10804 if (!SWIG_IsOK(res1
)) {
10805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10807 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10808 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10809 if (!SWIG_IsOK(ecode2
)) {
10810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10812 arg2
= static_cast< int >(val2
);
10814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10815 (arg1
)->SetRightIndent(arg2
);
10816 wxPyEndAllowThreads(__tstate
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10819 resultobj
= SWIG_Py_Void();
10826 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10827 PyObject
*resultobj
= 0;
10828 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10834 PyObject
* obj0
= 0 ;
10835 PyObject
* obj1
= 0 ;
10836 char * kwnames
[] = {
10837 (char *) "self",(char *) "flags", NULL
10840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10842 if (!SWIG_IsOK(res1
)) {
10843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10845 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10846 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10847 if (!SWIG_IsOK(ecode2
)) {
10848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10850 arg2
= static_cast< long >(val2
);
10852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10853 (arg1
)->SetFlags(arg2
);
10854 wxPyEndAllowThreads(__tstate
);
10855 if (PyErr_Occurred()) SWIG_fail
;
10857 resultobj
= SWIG_Py_Void();
10864 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10865 PyObject
*resultobj
= 0;
10866 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10870 PyObject
*swig_obj
[1] ;
10872 if (!args
) SWIG_fail
;
10873 swig_obj
[0] = args
;
10874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10875 if (!SWIG_IsOK(res1
)) {
10876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10878 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10881 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10882 wxPyEndAllowThreads(__tstate
);
10883 if (PyErr_Occurred()) SWIG_fail
;
10886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10894 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10895 PyObject
*resultobj
= 0;
10896 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10900 PyObject
*swig_obj
[1] ;
10902 if (!args
) SWIG_fail
;
10903 swig_obj
[0] = args
;
10904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10905 if (!SWIG_IsOK(res1
)) {
10906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10908 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10911 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
10912 wxPyEndAllowThreads(__tstate
);
10913 if (PyErr_Occurred()) SWIG_fail
;
10916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10924 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10925 PyObject
*resultobj
= 0;
10926 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10930 PyObject
*swig_obj
[1] ;
10932 if (!args
) SWIG_fail
;
10933 swig_obj
[0] = args
;
10934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10935 if (!SWIG_IsOK(res1
)) {
10936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10938 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10941 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
10942 wxPyEndAllowThreads(__tstate
);
10943 if (PyErr_Occurred()) SWIG_fail
;
10946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10954 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10955 PyObject
*resultobj
= 0;
10956 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10960 PyObject
*swig_obj
[1] ;
10962 if (!args
) SWIG_fail
;
10963 swig_obj
[0] = args
;
10964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10965 if (!SWIG_IsOK(res1
)) {
10966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10968 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10971 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
10972 wxPyEndAllowThreads(__tstate
);
10973 if (PyErr_Occurred()) SWIG_fail
;
10976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10984 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10985 PyObject
*resultobj
= 0;
10986 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10990 PyObject
*swig_obj
[1] ;
10992 if (!args
) SWIG_fail
;
10993 swig_obj
[0] = args
;
10994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10995 if (!SWIG_IsOK(res1
)) {
10996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10998 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11001 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11002 wxPyEndAllowThreads(__tstate
);
11003 if (PyErr_Occurred()) SWIG_fail
;
11006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11014 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11015 PyObject
*resultobj
= 0;
11016 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11020 PyObject
*swig_obj
[1] ;
11022 if (!args
) SWIG_fail
;
11023 swig_obj
[0] = args
;
11024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11025 if (!SWIG_IsOK(res1
)) {
11026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11028 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11031 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11032 wxPyEndAllowThreads(__tstate
);
11033 if (PyErr_Occurred()) SWIG_fail
;
11036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11044 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11045 PyObject
*resultobj
= 0;
11046 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11050 PyObject
*swig_obj
[1] ;
11052 if (!args
) SWIG_fail
;
11053 swig_obj
[0] = args
;
11054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11055 if (!SWIG_IsOK(res1
)) {
11056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11058 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11061 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11062 wxPyEndAllowThreads(__tstate
);
11063 if (PyErr_Occurred()) SWIG_fail
;
11066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11074 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11075 PyObject
*resultobj
= 0;
11076 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11083 PyObject
* obj0
= 0 ;
11084 PyObject
* obj1
= 0 ;
11085 char * kwnames
[] = {
11086 (char *) "self",(char *) "flag", NULL
11089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11091 if (!SWIG_IsOK(res1
)) {
11092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11094 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11095 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11096 if (!SWIG_IsOK(ecode2
)) {
11097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11099 arg2
= static_cast< long >(val2
);
11101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11102 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11103 wxPyEndAllowThreads(__tstate
);
11104 if (PyErr_Occurred()) SWIG_fail
;
11107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11115 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11116 PyObject
*resultobj
= 0;
11117 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11118 wxColour
*result
= 0 ;
11121 PyObject
*swig_obj
[1] ;
11123 if (!args
) SWIG_fail
;
11124 swig_obj
[0] = args
;
11125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11126 if (!SWIG_IsOK(res1
)) {
11127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11129 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11133 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11134 result
= (wxColour
*) &_result_ref
;
11136 wxPyEndAllowThreads(__tstate
);
11137 if (PyErr_Occurred()) SWIG_fail
;
11139 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11146 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11147 PyObject
*resultobj
= 0;
11148 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11149 wxColour
*result
= 0 ;
11152 PyObject
*swig_obj
[1] ;
11154 if (!args
) SWIG_fail
;
11155 swig_obj
[0] = args
;
11156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11157 if (!SWIG_IsOK(res1
)) {
11158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11160 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11164 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11165 result
= (wxColour
*) &_result_ref
;
11167 wxPyEndAllowThreads(__tstate
);
11168 if (PyErr_Occurred()) SWIG_fail
;
11170 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11177 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11178 PyObject
*resultobj
= 0;
11179 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11180 wxFont
*result
= 0 ;
11183 PyObject
*swig_obj
[1] ;
11185 if (!args
) SWIG_fail
;
11186 swig_obj
[0] = args
;
11187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11188 if (!SWIG_IsOK(res1
)) {
11189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11191 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11195 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11196 result
= (wxFont
*) &_result_ref
;
11198 wxPyEndAllowThreads(__tstate
);
11199 if (PyErr_Occurred()) SWIG_fail
;
11202 wxFont
* resultptr
= new wxFont(*result
);
11203 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11211 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11212 PyObject
*resultobj
= 0;
11213 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11214 wxTextAttrAlignment result
;
11217 PyObject
*swig_obj
[1] ;
11219 if (!args
) SWIG_fail
;
11220 swig_obj
[0] = args
;
11221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11222 if (!SWIG_IsOK(res1
)) {
11223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11225 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11228 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11229 wxPyEndAllowThreads(__tstate
);
11230 if (PyErr_Occurred()) SWIG_fail
;
11232 resultobj
= SWIG_From_int(static_cast< int >(result
));
11239 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11240 PyObject
*resultobj
= 0;
11241 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11242 wxArrayInt
*result
= 0 ;
11245 PyObject
*swig_obj
[1] ;
11247 if (!args
) SWIG_fail
;
11248 swig_obj
[0] = args
;
11249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11250 if (!SWIG_IsOK(res1
)) {
11251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11253 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11257 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11258 result
= (wxArrayInt
*) &_result_ref
;
11260 wxPyEndAllowThreads(__tstate
);
11261 if (PyErr_Occurred()) SWIG_fail
;
11264 resultobj
= PyList_New(0);
11266 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
11267 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
11268 PyList_Append(resultobj
, val
);
11278 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11279 PyObject
*resultobj
= 0;
11280 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11284 PyObject
*swig_obj
[1] ;
11286 if (!args
) SWIG_fail
;
11287 swig_obj
[0] = args
;
11288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11289 if (!SWIG_IsOK(res1
)) {
11290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11292 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11295 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11296 wxPyEndAllowThreads(__tstate
);
11297 if (PyErr_Occurred()) SWIG_fail
;
11299 resultobj
= SWIG_From_long(static_cast< long >(result
));
11306 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11307 PyObject
*resultobj
= 0;
11308 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11312 PyObject
*swig_obj
[1] ;
11314 if (!args
) SWIG_fail
;
11315 swig_obj
[0] = args
;
11316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11317 if (!SWIG_IsOK(res1
)) {
11318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11320 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11323 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11324 wxPyEndAllowThreads(__tstate
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11327 resultobj
= SWIG_From_long(static_cast< long >(result
));
11334 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11335 PyObject
*resultobj
= 0;
11336 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11340 PyObject
*swig_obj
[1] ;
11342 if (!args
) SWIG_fail
;
11343 swig_obj
[0] = args
;
11344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11345 if (!SWIG_IsOK(res1
)) {
11346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11348 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11351 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11352 wxPyEndAllowThreads(__tstate
);
11353 if (PyErr_Occurred()) SWIG_fail
;
11355 resultobj
= SWIG_From_long(static_cast< long >(result
));
11362 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11363 PyObject
*resultobj
= 0;
11364 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11368 PyObject
*swig_obj
[1] ;
11370 if (!args
) SWIG_fail
;
11371 swig_obj
[0] = args
;
11372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11373 if (!SWIG_IsOK(res1
)) {
11374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11376 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11379 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11380 wxPyEndAllowThreads(__tstate
);
11381 if (PyErr_Occurred()) SWIG_fail
;
11383 resultobj
= SWIG_From_long(static_cast< long >(result
));
11390 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11391 PyObject
*resultobj
= 0;
11392 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11396 PyObject
*swig_obj
[1] ;
11398 if (!args
) SWIG_fail
;
11399 swig_obj
[0] = args
;
11400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11401 if (!SWIG_IsOK(res1
)) {
11402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11404 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11407 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11408 wxPyEndAllowThreads(__tstate
);
11409 if (PyErr_Occurred()) SWIG_fail
;
11412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11420 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11421 PyObject
*resultobj
= 0;
11422 wxTextAttr
*arg1
= 0 ;
11423 wxTextAttr
*arg2
= 0 ;
11424 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11432 PyObject
* obj0
= 0 ;
11433 PyObject
* obj1
= 0 ;
11434 PyObject
* obj2
= 0 ;
11435 char * kwnames
[] = {
11436 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11440 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11441 if (!SWIG_IsOK(res1
)) {
11442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11445 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11447 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11448 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11449 if (!SWIG_IsOK(res2
)) {
11450 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11453 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11455 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11456 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11457 if (!SWIG_IsOK(res3
)) {
11458 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11460 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11463 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11464 wxPyEndAllowThreads(__tstate
);
11465 if (PyErr_Occurred()) SWIG_fail
;
11467 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11474 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11476 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11477 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11478 return SWIG_Py_Void();
11481 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11482 return SWIG_Python_InitShadowInstance(args
);
11485 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11486 PyObject
*resultobj
= 0;
11487 wxWindow
*arg1
= (wxWindow
*) 0 ;
11488 int arg2
= (int) -1 ;
11489 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11490 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11491 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11492 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11493 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11494 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11495 long arg6
= (long) 0 ;
11496 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11497 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11498 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11499 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11500 wxTextCtrl
*result
= 0 ;
11505 bool temp3
= false ;
11512 bool temp8
= false ;
11513 PyObject
* obj0
= 0 ;
11514 PyObject
* obj1
= 0 ;
11515 PyObject
* obj2
= 0 ;
11516 PyObject
* obj3
= 0 ;
11517 PyObject
* obj4
= 0 ;
11518 PyObject
* obj5
= 0 ;
11519 PyObject
* obj6
= 0 ;
11520 PyObject
* obj7
= 0 ;
11521 char * kwnames
[] = {
11522 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11527 if (!SWIG_IsOK(res1
)) {
11528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11530 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11532 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11533 if (!SWIG_IsOK(ecode2
)) {
11534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11536 arg2
= static_cast< int >(val2
);
11540 arg3
= wxString_in_helper(obj2
);
11541 if (arg3
== NULL
) SWIG_fail
;
11548 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11554 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11558 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11559 if (!SWIG_IsOK(ecode6
)) {
11560 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11562 arg6
= static_cast< long >(val6
);
11565 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11566 if (!SWIG_IsOK(res7
)) {
11567 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11570 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11572 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11576 arg8
= wxString_in_helper(obj7
);
11577 if (arg8
== NULL
) SWIG_fail
;
11582 if (!wxPyCheckForApp()) SWIG_fail
;
11583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11584 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11585 wxPyEndAllowThreads(__tstate
);
11586 if (PyErr_Occurred()) SWIG_fail
;
11588 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11611 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11612 PyObject
*resultobj
= 0;
11613 wxTextCtrl
*result
= 0 ;
11615 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11617 if (!wxPyCheckForApp()) SWIG_fail
;
11618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11619 result
= (wxTextCtrl
*)new wxTextCtrl();
11620 wxPyEndAllowThreads(__tstate
);
11621 if (PyErr_Occurred()) SWIG_fail
;
11623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11630 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11631 PyObject
*resultobj
= 0;
11632 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11633 wxWindow
*arg2
= (wxWindow
*) 0 ;
11634 int arg3
= (int) -1 ;
11635 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11636 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11637 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11638 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11639 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11640 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11641 long arg7
= (long) 0 ;
11642 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11643 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11644 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11645 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11653 bool temp4
= false ;
11660 bool temp9
= false ;
11661 PyObject
* obj0
= 0 ;
11662 PyObject
* obj1
= 0 ;
11663 PyObject
* obj2
= 0 ;
11664 PyObject
* obj3
= 0 ;
11665 PyObject
* obj4
= 0 ;
11666 PyObject
* obj5
= 0 ;
11667 PyObject
* obj6
= 0 ;
11668 PyObject
* obj7
= 0 ;
11669 PyObject
* obj8
= 0 ;
11670 char * kwnames
[] = {
11671 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11676 if (!SWIG_IsOK(res1
)) {
11677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11679 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11680 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11681 if (!SWIG_IsOK(res2
)) {
11682 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11684 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11686 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11687 if (!SWIG_IsOK(ecode3
)) {
11688 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11690 arg3
= static_cast< int >(val3
);
11694 arg4
= wxString_in_helper(obj3
);
11695 if (arg4
== NULL
) SWIG_fail
;
11702 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11708 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11712 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11713 if (!SWIG_IsOK(ecode7
)) {
11714 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11716 arg7
= static_cast< long >(val7
);
11719 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11720 if (!SWIG_IsOK(res8
)) {
11721 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11724 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11726 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11730 arg9
= wxString_in_helper(obj8
);
11731 if (arg9
== NULL
) SWIG_fail
;
11736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11737 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11738 wxPyEndAllowThreads(__tstate
);
11739 if (PyErr_Occurred()) SWIG_fail
;
11742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11766 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11767 PyObject
*resultobj
= 0;
11768 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11772 PyObject
*swig_obj
[1] ;
11774 if (!args
) SWIG_fail
;
11775 swig_obj
[0] = args
;
11776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11777 if (!SWIG_IsOK(res1
)) {
11778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11780 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11783 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11784 wxPyEndAllowThreads(__tstate
);
11785 if (PyErr_Occurred()) SWIG_fail
;
11789 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11791 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11800 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11801 PyObject
*resultobj
= 0;
11802 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11803 wxString
*arg2
= 0 ;
11806 bool temp2
= false ;
11807 PyObject
* obj0
= 0 ;
11808 PyObject
* obj1
= 0 ;
11809 char * kwnames
[] = {
11810 (char *) "self",(char *) "value", NULL
11813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11815 if (!SWIG_IsOK(res1
)) {
11816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11818 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11820 arg2
= wxString_in_helper(obj1
);
11821 if (arg2
== NULL
) SWIG_fail
;
11825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11826 (arg1
)->SetValue((wxString
const &)*arg2
);
11827 wxPyEndAllowThreads(__tstate
);
11828 if (PyErr_Occurred()) SWIG_fail
;
11830 resultobj
= SWIG_Py_Void();
11845 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11846 PyObject
*resultobj
= 0;
11847 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11857 PyObject
* obj0
= 0 ;
11858 PyObject
* obj1
= 0 ;
11859 PyObject
* obj2
= 0 ;
11860 char * kwnames
[] = {
11861 (char *) "self",(char *) "from",(char *) "to", NULL
11864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11866 if (!SWIG_IsOK(res1
)) {
11867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11869 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11870 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11871 if (!SWIG_IsOK(ecode2
)) {
11872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11874 arg2
= static_cast< long >(val2
);
11875 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11876 if (!SWIG_IsOK(ecode3
)) {
11877 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
11879 arg3
= static_cast< long >(val3
);
11881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11882 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
11883 wxPyEndAllowThreads(__tstate
);
11884 if (PyErr_Occurred()) SWIG_fail
;
11888 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11890 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11899 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11900 PyObject
*resultobj
= 0;
11901 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11908 PyObject
* obj0
= 0 ;
11909 PyObject
* obj1
= 0 ;
11910 char * kwnames
[] = {
11911 (char *) "self",(char *) "lineNo", NULL
11914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11916 if (!SWIG_IsOK(res1
)) {
11917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11919 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11920 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11921 if (!SWIG_IsOK(ecode2
)) {
11922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
11924 arg2
= static_cast< long >(val2
);
11926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11927 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
11928 wxPyEndAllowThreads(__tstate
);
11929 if (PyErr_Occurred()) SWIG_fail
;
11931 resultobj
= SWIG_From_int(static_cast< int >(result
));
11938 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11939 PyObject
*resultobj
= 0;
11940 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11947 PyObject
* obj0
= 0 ;
11948 PyObject
* obj1
= 0 ;
11949 char * kwnames
[] = {
11950 (char *) "self",(char *) "lineNo", NULL
11953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11955 if (!SWIG_IsOK(res1
)) {
11956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11958 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11959 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11960 if (!SWIG_IsOK(ecode2
)) {
11961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
11963 arg2
= static_cast< long >(val2
);
11965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11966 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
11967 wxPyEndAllowThreads(__tstate
);
11968 if (PyErr_Occurred()) SWIG_fail
;
11972 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11974 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11983 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11984 PyObject
*resultobj
= 0;
11985 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11989 PyObject
*swig_obj
[1] ;
11991 if (!args
) SWIG_fail
;
11992 swig_obj
[0] = args
;
11993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11994 if (!SWIG_IsOK(res1
)) {
11995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11997 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12000 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12001 wxPyEndAllowThreads(__tstate
);
12002 if (PyErr_Occurred()) SWIG_fail
;
12004 resultobj
= SWIG_From_int(static_cast< int >(result
));
12011 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12012 PyObject
*resultobj
= 0;
12013 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12017 PyObject
*swig_obj
[1] ;
12019 if (!args
) SWIG_fail
;
12020 swig_obj
[0] = args
;
12021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12022 if (!SWIG_IsOK(res1
)) {
12023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12025 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12028 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12029 wxPyEndAllowThreads(__tstate
);
12030 if (PyErr_Occurred()) SWIG_fail
;
12033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12041 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12042 PyObject
*resultobj
= 0;
12043 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12047 PyObject
*swig_obj
[1] ;
12049 if (!args
) SWIG_fail
;
12050 swig_obj
[0] = args
;
12051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12052 if (!SWIG_IsOK(res1
)) {
12053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12055 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12058 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12059 wxPyEndAllowThreads(__tstate
);
12060 if (PyErr_Occurred()) SWIG_fail
;
12063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12071 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12072 PyObject
*resultobj
= 0;
12073 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12077 PyObject
*swig_obj
[1] ;
12079 if (!args
) SWIG_fail
;
12080 swig_obj
[0] = args
;
12081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12082 if (!SWIG_IsOK(res1
)) {
12083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12085 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12088 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12089 wxPyEndAllowThreads(__tstate
);
12090 if (PyErr_Occurred()) SWIG_fail
;
12093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12101 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12102 PyObject
*resultobj
= 0;
12103 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12107 PyObject
*swig_obj
[1] ;
12109 if (!args
) SWIG_fail
;
12110 swig_obj
[0] = args
;
12111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12112 if (!SWIG_IsOK(res1
)) {
12113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12115 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12118 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12119 wxPyEndAllowThreads(__tstate
);
12120 if (PyErr_Occurred()) SWIG_fail
;
12123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12131 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12132 PyObject
*resultobj
= 0;
12133 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12134 long *arg2
= (long *) 0 ;
12135 long *arg3
= (long *) 0 ;
12139 int res2
= SWIG_TMPOBJ
;
12141 int res3
= SWIG_TMPOBJ
;
12142 PyObject
*swig_obj
[1] ;
12146 if (!args
) SWIG_fail
;
12147 swig_obj
[0] = args
;
12148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12149 if (!SWIG_IsOK(res1
)) {
12150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12152 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12155 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12156 wxPyEndAllowThreads(__tstate
);
12157 if (PyErr_Occurred()) SWIG_fail
;
12159 resultobj
= SWIG_Py_Void();
12160 if (SWIG_IsTmpObj(res2
)) {
12161 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12163 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12164 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12166 if (SWIG_IsTmpObj(res3
)) {
12167 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12169 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12170 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12178 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12179 PyObject
*resultobj
= 0;
12180 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12184 PyObject
*swig_obj
[1] ;
12186 if (!args
) SWIG_fail
;
12187 swig_obj
[0] = args
;
12188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12189 if (!SWIG_IsOK(res1
)) {
12190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12192 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12195 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12196 wxPyEndAllowThreads(__tstate
);
12197 if (PyErr_Occurred()) SWIG_fail
;
12201 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12203 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12212 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12213 PyObject
*resultobj
= 0;
12214 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12217 PyObject
*swig_obj
[1] ;
12219 if (!args
) SWIG_fail
;
12220 swig_obj
[0] = args
;
12221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12222 if (!SWIG_IsOK(res1
)) {
12223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12225 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12229 wxPyEndAllowThreads(__tstate
);
12230 if (PyErr_Occurred()) SWIG_fail
;
12232 resultobj
= SWIG_Py_Void();
12239 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12240 PyObject
*resultobj
= 0;
12241 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12244 wxString
*arg4
= 0 ;
12251 bool temp4
= false ;
12252 PyObject
* obj0
= 0 ;
12253 PyObject
* obj1
= 0 ;
12254 PyObject
* obj2
= 0 ;
12255 PyObject
* obj3
= 0 ;
12256 char * kwnames
[] = {
12257 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12262 if (!SWIG_IsOK(res1
)) {
12263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12265 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12266 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12267 if (!SWIG_IsOK(ecode2
)) {
12268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12270 arg2
= static_cast< long >(val2
);
12271 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12272 if (!SWIG_IsOK(ecode3
)) {
12273 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12275 arg3
= static_cast< long >(val3
);
12277 arg4
= wxString_in_helper(obj3
);
12278 if (arg4
== NULL
) SWIG_fail
;
12282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12283 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12284 wxPyEndAllowThreads(__tstate
);
12285 if (PyErr_Occurred()) SWIG_fail
;
12287 resultobj
= SWIG_Py_Void();
12302 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12303 PyObject
*resultobj
= 0;
12304 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12313 PyObject
* obj0
= 0 ;
12314 PyObject
* obj1
= 0 ;
12315 PyObject
* obj2
= 0 ;
12316 char * kwnames
[] = {
12317 (char *) "self",(char *) "from",(char *) "to", NULL
12320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12322 if (!SWIG_IsOK(res1
)) {
12323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12325 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12326 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12327 if (!SWIG_IsOK(ecode2
)) {
12328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12330 arg2
= static_cast< long >(val2
);
12331 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12332 if (!SWIG_IsOK(ecode3
)) {
12333 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12335 arg3
= static_cast< long >(val3
);
12337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12338 (arg1
)->Remove(arg2
,arg3
);
12339 wxPyEndAllowThreads(__tstate
);
12340 if (PyErr_Occurred()) SWIG_fail
;
12342 resultobj
= SWIG_Py_Void();
12349 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12350 PyObject
*resultobj
= 0;
12351 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12352 wxString
*arg2
= 0 ;
12356 bool temp2
= false ;
12357 PyObject
* obj0
= 0 ;
12358 PyObject
* obj1
= 0 ;
12359 char * kwnames
[] = {
12360 (char *) "self",(char *) "file", NULL
12363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12365 if (!SWIG_IsOK(res1
)) {
12366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12368 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12370 arg2
= wxString_in_helper(obj1
);
12371 if (arg2
== NULL
) SWIG_fail
;
12375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12376 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
12377 wxPyEndAllowThreads(__tstate
);
12378 if (PyErr_Occurred()) SWIG_fail
;
12381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12397 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12398 PyObject
*resultobj
= 0;
12399 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12400 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12401 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12405 bool temp2
= false ;
12406 PyObject
* obj0
= 0 ;
12407 PyObject
* obj1
= 0 ;
12408 char * kwnames
[] = {
12409 (char *) "self",(char *) "file", NULL
12412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12414 if (!SWIG_IsOK(res1
)) {
12415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12417 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12420 arg2
= wxString_in_helper(obj1
);
12421 if (arg2
== NULL
) SWIG_fail
;
12426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12427 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
12428 wxPyEndAllowThreads(__tstate
);
12429 if (PyErr_Occurred()) SWIG_fail
;
12432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12448 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12449 PyObject
*resultobj
= 0;
12450 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12453 PyObject
*swig_obj
[1] ;
12455 if (!args
) SWIG_fail
;
12456 swig_obj
[0] = args
;
12457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12458 if (!SWIG_IsOK(res1
)) {
12459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12461 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12464 (arg1
)->MarkDirty();
12465 wxPyEndAllowThreads(__tstate
);
12466 if (PyErr_Occurred()) SWIG_fail
;
12468 resultobj
= SWIG_Py_Void();
12475 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12476 PyObject
*resultobj
= 0;
12477 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12480 PyObject
*swig_obj
[1] ;
12482 if (!args
) SWIG_fail
;
12483 swig_obj
[0] = args
;
12484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12485 if (!SWIG_IsOK(res1
)) {
12486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12488 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12491 (arg1
)->DiscardEdits();
12492 wxPyEndAllowThreads(__tstate
);
12493 if (PyErr_Occurred()) SWIG_fail
;
12495 resultobj
= SWIG_Py_Void();
12502 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12503 PyObject
*resultobj
= 0;
12504 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12505 unsigned long arg2
;
12508 unsigned long val2
;
12510 PyObject
* obj0
= 0 ;
12511 PyObject
* obj1
= 0 ;
12512 char * kwnames
[] = {
12513 (char *) "self",(char *) "len", NULL
12516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12518 if (!SWIG_IsOK(res1
)) {
12519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12521 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12522 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12523 if (!SWIG_IsOK(ecode2
)) {
12524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12526 arg2
= static_cast< unsigned long >(val2
);
12528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12529 (arg1
)->SetMaxLength(arg2
);
12530 wxPyEndAllowThreads(__tstate
);
12531 if (PyErr_Occurred()) SWIG_fail
;
12533 resultobj
= SWIG_Py_Void();
12540 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12541 PyObject
*resultobj
= 0;
12542 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12543 wxString
*arg2
= 0 ;
12546 bool temp2
= false ;
12547 PyObject
* obj0
= 0 ;
12548 PyObject
* obj1
= 0 ;
12549 char * kwnames
[] = {
12550 (char *) "self",(char *) "text", NULL
12553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12555 if (!SWIG_IsOK(res1
)) {
12556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12558 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12560 arg2
= wxString_in_helper(obj1
);
12561 if (arg2
== NULL
) SWIG_fail
;
12565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12566 (arg1
)->WriteText((wxString
const &)*arg2
);
12567 wxPyEndAllowThreads(__tstate
);
12568 if (PyErr_Occurred()) SWIG_fail
;
12570 resultobj
= SWIG_Py_Void();
12585 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12586 PyObject
*resultobj
= 0;
12587 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12588 wxString
*arg2
= 0 ;
12591 bool temp2
= false ;
12592 PyObject
* obj0
= 0 ;
12593 PyObject
* obj1
= 0 ;
12594 char * kwnames
[] = {
12595 (char *) "self",(char *) "text", NULL
12598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12600 if (!SWIG_IsOK(res1
)) {
12601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12603 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12605 arg2
= wxString_in_helper(obj1
);
12606 if (arg2
== NULL
) SWIG_fail
;
12610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12611 (arg1
)->AppendText((wxString
const &)*arg2
);
12612 wxPyEndAllowThreads(__tstate
);
12613 if (PyErr_Occurred()) SWIG_fail
;
12615 resultobj
= SWIG_Py_Void();
12630 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12631 PyObject
*resultobj
= 0;
12632 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12633 wxKeyEvent
*arg2
= 0 ;
12639 PyObject
* obj0
= 0 ;
12640 PyObject
* obj1
= 0 ;
12641 char * kwnames
[] = {
12642 (char *) "self",(char *) "event", NULL
12645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12647 if (!SWIG_IsOK(res1
)) {
12648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12650 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12651 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12652 if (!SWIG_IsOK(res2
)) {
12653 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12656 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12658 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12661 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12662 wxPyEndAllowThreads(__tstate
);
12663 if (PyErr_Occurred()) SWIG_fail
;
12666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12674 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12675 PyObject
*resultobj
= 0;
12676 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12679 wxTextAttr
*arg4
= 0 ;
12689 PyObject
* obj0
= 0 ;
12690 PyObject
* obj1
= 0 ;
12691 PyObject
* obj2
= 0 ;
12692 PyObject
* obj3
= 0 ;
12693 char * kwnames
[] = {
12694 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12699 if (!SWIG_IsOK(res1
)) {
12700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12702 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12703 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12704 if (!SWIG_IsOK(ecode2
)) {
12705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12707 arg2
= static_cast< long >(val2
);
12708 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12709 if (!SWIG_IsOK(ecode3
)) {
12710 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12712 arg3
= static_cast< long >(val3
);
12713 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12714 if (!SWIG_IsOK(res4
)) {
12715 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12718 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12720 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12723 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12724 wxPyEndAllowThreads(__tstate
);
12725 if (PyErr_Occurred()) SWIG_fail
;
12728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12736 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12737 PyObject
*resultobj
= 0;
12738 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12740 wxTextAttr
*arg3
= 0 ;
12748 PyObject
* obj0
= 0 ;
12749 PyObject
* obj1
= 0 ;
12750 PyObject
* obj2
= 0 ;
12751 char * kwnames
[] = {
12752 (char *) "self",(char *) "position",(char *) "style", NULL
12755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12757 if (!SWIG_IsOK(res1
)) {
12758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12760 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12761 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12762 if (!SWIG_IsOK(ecode2
)) {
12763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12765 arg2
= static_cast< long >(val2
);
12766 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12767 if (!SWIG_IsOK(res3
)) {
12768 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12771 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12773 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12776 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12777 wxPyEndAllowThreads(__tstate
);
12778 if (PyErr_Occurred()) SWIG_fail
;
12781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12789 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12790 PyObject
*resultobj
= 0;
12791 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12792 wxTextAttr
*arg2
= 0 ;
12798 PyObject
* obj0
= 0 ;
12799 PyObject
* obj1
= 0 ;
12800 char * kwnames
[] = {
12801 (char *) "self",(char *) "style", NULL
12804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12806 if (!SWIG_IsOK(res1
)) {
12807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12809 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12810 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12811 if (!SWIG_IsOK(res2
)) {
12812 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12815 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12817 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
12819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12820 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
12821 wxPyEndAllowThreads(__tstate
);
12822 if (PyErr_Occurred()) SWIG_fail
;
12825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12833 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12834 PyObject
*resultobj
= 0;
12835 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12836 wxTextAttr
*result
= 0 ;
12839 PyObject
*swig_obj
[1] ;
12841 if (!args
) SWIG_fail
;
12842 swig_obj
[0] = args
;
12843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12844 if (!SWIG_IsOK(res1
)) {
12845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12847 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12851 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
12852 result
= (wxTextAttr
*) &_result_ref
;
12854 wxPyEndAllowThreads(__tstate
);
12855 if (PyErr_Occurred()) SWIG_fail
;
12857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
12864 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12865 PyObject
*resultobj
= 0;
12866 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12876 PyObject
* obj0
= 0 ;
12877 PyObject
* obj1
= 0 ;
12878 PyObject
* obj2
= 0 ;
12879 char * kwnames
[] = {
12880 (char *) "self",(char *) "x",(char *) "y", NULL
12883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12885 if (!SWIG_IsOK(res1
)) {
12886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12888 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12889 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12890 if (!SWIG_IsOK(ecode2
)) {
12891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
12893 arg2
= static_cast< long >(val2
);
12894 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12895 if (!SWIG_IsOK(ecode3
)) {
12896 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
12898 arg3
= static_cast< long >(val3
);
12900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12901 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
12902 wxPyEndAllowThreads(__tstate
);
12903 if (PyErr_Occurred()) SWIG_fail
;
12905 resultobj
= SWIG_From_long(static_cast< long >(result
));
12912 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12913 PyObject
*resultobj
= 0;
12914 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12916 long *arg3
= (long *) 0 ;
12917 long *arg4
= (long *) 0 ;
12923 int res3
= SWIG_TMPOBJ
;
12925 int res4
= SWIG_TMPOBJ
;
12926 PyObject
* obj0
= 0 ;
12927 PyObject
* obj1
= 0 ;
12928 char * kwnames
[] = {
12929 (char *) "self",(char *) "pos", NULL
12934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12936 if (!SWIG_IsOK(res1
)) {
12937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12939 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12940 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12941 if (!SWIG_IsOK(ecode2
)) {
12942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
12944 arg2
= static_cast< long >(val2
);
12946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12947 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
12948 wxPyEndAllowThreads(__tstate
);
12949 if (PyErr_Occurred()) SWIG_fail
;
12951 resultobj
= SWIG_Py_Void();
12952 if (SWIG_IsTmpObj(res3
)) {
12953 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12955 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12956 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12958 if (SWIG_IsTmpObj(res4
)) {
12959 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
12961 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12962 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
12970 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12971 PyObject
*resultobj
= 0;
12972 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12978 PyObject
* obj0
= 0 ;
12979 PyObject
* obj1
= 0 ;
12980 char * kwnames
[] = {
12981 (char *) "self",(char *) "pos", NULL
12984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12986 if (!SWIG_IsOK(res1
)) {
12987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12989 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12990 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12991 if (!SWIG_IsOK(ecode2
)) {
12992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
12994 arg2
= static_cast< long >(val2
);
12996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12997 (arg1
)->ShowPosition(arg2
);
12998 wxPyEndAllowThreads(__tstate
);
12999 if (PyErr_Occurred()) SWIG_fail
;
13001 resultobj
= SWIG_Py_Void();
13008 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13009 PyObject
*resultobj
= 0;
13010 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13011 wxPoint
*arg2
= 0 ;
13012 long *arg3
= (long *) 0 ;
13013 long *arg4
= (long *) 0 ;
13014 wxTextCtrlHitTestResult result
;
13019 int res3
= SWIG_TMPOBJ
;
13021 int res4
= SWIG_TMPOBJ
;
13022 PyObject
* obj0
= 0 ;
13023 PyObject
* obj1
= 0 ;
13024 char * kwnames
[] = {
13025 (char *) "self",(char *) "pt", NULL
13030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13032 if (!SWIG_IsOK(res1
)) {
13033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13035 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13038 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13042 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13043 wxPyEndAllowThreads(__tstate
);
13044 if (PyErr_Occurred()) SWIG_fail
;
13046 resultobj
= SWIG_From_int(static_cast< int >(result
));
13047 if (SWIG_IsTmpObj(res3
)) {
13048 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13050 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13051 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13053 if (SWIG_IsTmpObj(res4
)) {
13054 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13056 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13057 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13065 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13066 PyObject
*resultobj
= 0;
13067 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13068 wxPoint
*arg2
= 0 ;
13069 long *arg3
= (long *) 0 ;
13070 wxTextCtrlHitTestResult result
;
13075 int res3
= SWIG_TMPOBJ
;
13076 PyObject
* obj0
= 0 ;
13077 PyObject
* obj1
= 0 ;
13078 char * kwnames
[] = {
13079 (char *) "self",(char *) "pt", NULL
13083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13085 if (!SWIG_IsOK(res1
)) {
13086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13088 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13091 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13095 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13096 wxPyEndAllowThreads(__tstate
);
13097 if (PyErr_Occurred()) SWIG_fail
;
13099 resultobj
= SWIG_From_int(static_cast< int >(result
));
13100 if (SWIG_IsTmpObj(res3
)) {
13101 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13103 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13104 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13112 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13113 PyObject
*resultobj
= 0;
13114 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13117 PyObject
*swig_obj
[1] ;
13119 if (!args
) SWIG_fail
;
13120 swig_obj
[0] = args
;
13121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13122 if (!SWIG_IsOK(res1
)) {
13123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13125 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13129 wxPyEndAllowThreads(__tstate
);
13130 if (PyErr_Occurred()) SWIG_fail
;
13132 resultobj
= SWIG_Py_Void();
13139 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13140 PyObject
*resultobj
= 0;
13141 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13144 PyObject
*swig_obj
[1] ;
13146 if (!args
) SWIG_fail
;
13147 swig_obj
[0] = args
;
13148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13149 if (!SWIG_IsOK(res1
)) {
13150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13152 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13156 wxPyEndAllowThreads(__tstate
);
13157 if (PyErr_Occurred()) SWIG_fail
;
13159 resultobj
= SWIG_Py_Void();
13166 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13167 PyObject
*resultobj
= 0;
13168 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13171 PyObject
*swig_obj
[1] ;
13173 if (!args
) SWIG_fail
;
13174 swig_obj
[0] = args
;
13175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13176 if (!SWIG_IsOK(res1
)) {
13177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13179 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13183 wxPyEndAllowThreads(__tstate
);
13184 if (PyErr_Occurred()) SWIG_fail
;
13186 resultobj
= SWIG_Py_Void();
13193 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13194 PyObject
*resultobj
= 0;
13195 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13199 PyObject
*swig_obj
[1] ;
13201 if (!args
) SWIG_fail
;
13202 swig_obj
[0] = args
;
13203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13204 if (!SWIG_IsOK(res1
)) {
13205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13207 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13210 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13211 wxPyEndAllowThreads(__tstate
);
13212 if (PyErr_Occurred()) SWIG_fail
;
13215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13223 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13224 PyObject
*resultobj
= 0;
13225 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13229 PyObject
*swig_obj
[1] ;
13231 if (!args
) SWIG_fail
;
13232 swig_obj
[0] = args
;
13233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13234 if (!SWIG_IsOK(res1
)) {
13235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13237 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13240 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13241 wxPyEndAllowThreads(__tstate
);
13242 if (PyErr_Occurred()) SWIG_fail
;
13245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13253 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13254 PyObject
*resultobj
= 0;
13255 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13259 PyObject
*swig_obj
[1] ;
13261 if (!args
) SWIG_fail
;
13262 swig_obj
[0] = args
;
13263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13264 if (!SWIG_IsOK(res1
)) {
13265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13267 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13270 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13271 wxPyEndAllowThreads(__tstate
);
13272 if (PyErr_Occurred()) SWIG_fail
;
13275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13283 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13284 PyObject
*resultobj
= 0;
13285 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13288 PyObject
*swig_obj
[1] ;
13290 if (!args
) SWIG_fail
;
13291 swig_obj
[0] = args
;
13292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13293 if (!SWIG_IsOK(res1
)) {
13294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13296 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13300 wxPyEndAllowThreads(__tstate
);
13301 if (PyErr_Occurred()) SWIG_fail
;
13303 resultobj
= SWIG_Py_Void();
13310 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13311 PyObject
*resultobj
= 0;
13312 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13315 PyObject
*swig_obj
[1] ;
13317 if (!args
) SWIG_fail
;
13318 swig_obj
[0] = args
;
13319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13320 if (!SWIG_IsOK(res1
)) {
13321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13323 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13327 wxPyEndAllowThreads(__tstate
);
13328 if (PyErr_Occurred()) SWIG_fail
;
13330 resultobj
= SWIG_Py_Void();
13337 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13338 PyObject
*resultobj
= 0;
13339 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13343 PyObject
*swig_obj
[1] ;
13345 if (!args
) SWIG_fail
;
13346 swig_obj
[0] = args
;
13347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13348 if (!SWIG_IsOK(res1
)) {
13349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13351 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13354 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13355 wxPyEndAllowThreads(__tstate
);
13356 if (PyErr_Occurred()) SWIG_fail
;
13359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13367 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13368 PyObject
*resultobj
= 0;
13369 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13373 PyObject
*swig_obj
[1] ;
13375 if (!args
) SWIG_fail
;
13376 swig_obj
[0] = args
;
13377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13378 if (!SWIG_IsOK(res1
)) {
13379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13381 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13384 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13385 wxPyEndAllowThreads(__tstate
);
13386 if (PyErr_Occurred()) SWIG_fail
;
13389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13397 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13398 PyObject
*resultobj
= 0;
13399 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13405 PyObject
* obj0
= 0 ;
13406 PyObject
* obj1
= 0 ;
13407 char * kwnames
[] = {
13408 (char *) "self",(char *) "pos", NULL
13411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13413 if (!SWIG_IsOK(res1
)) {
13414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13416 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13417 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13418 if (!SWIG_IsOK(ecode2
)) {
13419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13421 arg2
= static_cast< long >(val2
);
13423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13424 (arg1
)->SetInsertionPoint(arg2
);
13425 wxPyEndAllowThreads(__tstate
);
13426 if (PyErr_Occurred()) SWIG_fail
;
13428 resultobj
= SWIG_Py_Void();
13435 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13436 PyObject
*resultobj
= 0;
13437 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13440 PyObject
*swig_obj
[1] ;
13442 if (!args
) SWIG_fail
;
13443 swig_obj
[0] = args
;
13444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13445 if (!SWIG_IsOK(res1
)) {
13446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13448 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13451 (arg1
)->SetInsertionPointEnd();
13452 wxPyEndAllowThreads(__tstate
);
13453 if (PyErr_Occurred()) SWIG_fail
;
13455 resultobj
= SWIG_Py_Void();
13462 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13463 PyObject
*resultobj
= 0;
13464 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13468 PyObject
*swig_obj
[1] ;
13470 if (!args
) SWIG_fail
;
13471 swig_obj
[0] = args
;
13472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13473 if (!SWIG_IsOK(res1
)) {
13474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13476 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13479 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13480 wxPyEndAllowThreads(__tstate
);
13481 if (PyErr_Occurred()) SWIG_fail
;
13483 resultobj
= SWIG_From_long(static_cast< long >(result
));
13490 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13491 PyObject
*resultobj
= 0;
13492 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13496 PyObject
*swig_obj
[1] ;
13498 if (!args
) SWIG_fail
;
13499 swig_obj
[0] = args
;
13500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13501 if (!SWIG_IsOK(res1
)) {
13502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13504 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13507 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13508 wxPyEndAllowThreads(__tstate
);
13509 if (PyErr_Occurred()) SWIG_fail
;
13511 resultobj
= SWIG_From_long(static_cast< long >(result
));
13518 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13519 PyObject
*resultobj
= 0;
13520 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13529 PyObject
* obj0
= 0 ;
13530 PyObject
* obj1
= 0 ;
13531 PyObject
* obj2
= 0 ;
13532 char * kwnames
[] = {
13533 (char *) "self",(char *) "from",(char *) "to", NULL
13536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13538 if (!SWIG_IsOK(res1
)) {
13539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13541 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13542 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13543 if (!SWIG_IsOK(ecode2
)) {
13544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13546 arg2
= static_cast< long >(val2
);
13547 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13548 if (!SWIG_IsOK(ecode3
)) {
13549 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13551 arg3
= static_cast< long >(val3
);
13553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13554 (arg1
)->SetSelection(arg2
,arg3
);
13555 wxPyEndAllowThreads(__tstate
);
13556 if (PyErr_Occurred()) SWIG_fail
;
13558 resultobj
= SWIG_Py_Void();
13565 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13566 PyObject
*resultobj
= 0;
13567 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13570 PyObject
*swig_obj
[1] ;
13572 if (!args
) SWIG_fail
;
13573 swig_obj
[0] = args
;
13574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13575 if (!SWIG_IsOK(res1
)) {
13576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13578 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13581 (arg1
)->SelectAll();
13582 wxPyEndAllowThreads(__tstate
);
13583 if (PyErr_Occurred()) SWIG_fail
;
13585 resultobj
= SWIG_Py_Void();
13592 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13593 PyObject
*resultobj
= 0;
13594 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13600 PyObject
* obj0
= 0 ;
13601 PyObject
* obj1
= 0 ;
13602 char * kwnames
[] = {
13603 (char *) "self",(char *) "editable", NULL
13606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13608 if (!SWIG_IsOK(res1
)) {
13609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13611 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13612 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13613 if (!SWIG_IsOK(ecode2
)) {
13614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13616 arg2
= static_cast< bool >(val2
);
13618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13619 (arg1
)->SetEditable(arg2
);
13620 wxPyEndAllowThreads(__tstate
);
13621 if (PyErr_Occurred()) SWIG_fail
;
13623 resultobj
= SWIG_Py_Void();
13630 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13631 PyObject
*resultobj
= 0;
13632 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13633 wxString
*arg2
= 0 ;
13636 bool temp2
= false ;
13637 PyObject
* obj0
= 0 ;
13638 PyObject
* obj1
= 0 ;
13639 char * kwnames
[] = {
13640 (char *) "self",(char *) "text", NULL
13643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13645 if (!SWIG_IsOK(res1
)) {
13646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13648 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13650 arg2
= wxString_in_helper(obj1
);
13651 if (arg2
== NULL
) SWIG_fail
;
13655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13656 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13657 wxPyEndAllowThreads(__tstate
);
13658 if (PyErr_Occurred()) SWIG_fail
;
13660 resultobj
= SWIG_Py_Void();
13675 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13676 PyObject
*resultobj
= 0;
13677 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13687 PyObject
* obj0
= 0 ;
13688 PyObject
* obj1
= 0 ;
13689 PyObject
* obj2
= 0 ;
13690 char * kwnames
[] = {
13691 (char *) "self",(char *) "from",(char *) "to", NULL
13694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13696 if (!SWIG_IsOK(res1
)) {
13697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13699 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13700 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13701 if (!SWIG_IsOK(ecode2
)) {
13702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13704 arg2
= static_cast< long >(val2
);
13705 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13706 if (!SWIG_IsOK(ecode3
)) {
13707 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13709 arg3
= static_cast< long >(val3
);
13711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13712 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13713 wxPyEndAllowThreads(__tstate
);
13714 if (PyErr_Occurred()) SWIG_fail
;
13718 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13720 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13729 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13730 PyObject
*resultobj
= 0;
13731 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13732 SwigValueWrapper
<wxVisualAttributes
> result
;
13735 PyObject
* obj0
= 0 ;
13736 char * kwnames
[] = {
13737 (char *) "variant", NULL
13740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
13742 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13743 if (!SWIG_IsOK(ecode1
)) {
13744 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13746 arg1
= static_cast< wxWindowVariant
>(val1
);
13749 if (!wxPyCheckForApp()) SWIG_fail
;
13750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13751 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
13752 wxPyEndAllowThreads(__tstate
);
13753 if (PyErr_Occurred()) SWIG_fail
;
13755 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
13762 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13764 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13765 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
13766 return SWIG_Py_Void();
13769 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13770 return SWIG_Python_InitShadowInstance(args
);
13773 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13774 PyObject
*resultobj
= 0;
13776 wxMouseEvent
*arg2
= 0 ;
13779 wxTextUrlEvent
*result
= 0 ;
13788 PyObject
* obj0
= 0 ;
13789 PyObject
* obj1
= 0 ;
13790 PyObject
* obj2
= 0 ;
13791 PyObject
* obj3
= 0 ;
13792 char * kwnames
[] = {
13793 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
13796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13797 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13798 if (!SWIG_IsOK(ecode1
)) {
13799 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
13801 arg1
= static_cast< int >(val1
);
13802 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
13803 if (!SWIG_IsOK(res2
)) {
13804 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13807 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13809 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
13810 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13811 if (!SWIG_IsOK(ecode3
)) {
13812 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
13814 arg3
= static_cast< long >(val3
);
13815 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
13816 if (!SWIG_IsOK(ecode4
)) {
13817 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
13819 arg4
= static_cast< long >(val4
);
13821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13822 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
13823 wxPyEndAllowThreads(__tstate
);
13824 if (PyErr_Occurred()) SWIG_fail
;
13826 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
13833 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13834 PyObject
*resultobj
= 0;
13835 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13836 wxMouseEvent
*result
= 0 ;
13839 PyObject
*swig_obj
[1] ;
13841 if (!args
) SWIG_fail
;
13842 swig_obj
[0] = args
;
13843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13844 if (!SWIG_IsOK(res1
)) {
13845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
13847 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13851 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
13852 result
= (wxMouseEvent
*) &_result_ref
;
13854 wxPyEndAllowThreads(__tstate
);
13855 if (PyErr_Occurred()) SWIG_fail
;
13857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
13864 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13865 PyObject
*resultobj
= 0;
13866 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13870 PyObject
*swig_obj
[1] ;
13872 if (!args
) SWIG_fail
;
13873 swig_obj
[0] = args
;
13874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13875 if (!SWIG_IsOK(res1
)) {
13876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13878 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13881 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
13882 wxPyEndAllowThreads(__tstate
);
13883 if (PyErr_Occurred()) SWIG_fail
;
13885 resultobj
= SWIG_From_long(static_cast< long >(result
));
13892 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13893 PyObject
*resultobj
= 0;
13894 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13898 PyObject
*swig_obj
[1] ;
13900 if (!args
) SWIG_fail
;
13901 swig_obj
[0] = args
;
13902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13903 if (!SWIG_IsOK(res1
)) {
13904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13906 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13909 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
13910 wxPyEndAllowThreads(__tstate
);
13911 if (PyErr_Occurred()) SWIG_fail
;
13913 resultobj
= SWIG_From_long(static_cast< long >(result
));
13920 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13922 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13923 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
13924 return SWIG_Py_Void();
13927 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13928 return SWIG_Python_InitShadowInstance(args
);
13931 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
13932 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
13937 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
13938 PyObject
*pyobj
= 0;
13942 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
13944 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
13951 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13952 PyObject
*resultobj
= 0;
13953 wxWindow
*arg1
= (wxWindow
*) 0 ;
13954 int arg2
= (int) -1 ;
13955 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13956 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13957 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13958 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13959 long arg5
= (long) wxSB_HORIZONTAL
;
13960 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
13961 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
13962 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
13963 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13964 wxScrollBar
*result
= 0 ;
13975 bool temp7
= false ;
13976 PyObject
* obj0
= 0 ;
13977 PyObject
* obj1
= 0 ;
13978 PyObject
* obj2
= 0 ;
13979 PyObject
* obj3
= 0 ;
13980 PyObject
* obj4
= 0 ;
13981 PyObject
* obj5
= 0 ;
13982 PyObject
* obj6
= 0 ;
13983 char * kwnames
[] = {
13984 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13989 if (!SWIG_IsOK(res1
)) {
13990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
13992 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13994 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13995 if (!SWIG_IsOK(ecode2
)) {
13996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
13998 arg2
= static_cast< int >(val2
);
14003 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14009 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14013 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14014 if (!SWIG_IsOK(ecode5
)) {
14015 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14017 arg5
= static_cast< long >(val5
);
14020 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14021 if (!SWIG_IsOK(res6
)) {
14022 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14025 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14027 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14031 arg7
= wxString_in_helper(obj6
);
14032 if (arg7
== NULL
) SWIG_fail
;
14037 if (!wxPyCheckForApp()) SWIG_fail
;
14038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14039 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14040 wxPyEndAllowThreads(__tstate
);
14041 if (PyErr_Occurred()) SWIG_fail
;
14043 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14058 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14059 PyObject
*resultobj
= 0;
14060 wxScrollBar
*result
= 0 ;
14062 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14064 if (!wxPyCheckForApp()) SWIG_fail
;
14065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14066 result
= (wxScrollBar
*)new wxScrollBar();
14067 wxPyEndAllowThreads(__tstate
);
14068 if (PyErr_Occurred()) SWIG_fail
;
14070 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14077 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14078 PyObject
*resultobj
= 0;
14079 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14080 wxWindow
*arg2
= (wxWindow
*) 0 ;
14081 int arg3
= (int) -1 ;
14082 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14083 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14084 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14085 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14086 long arg6
= (long) wxSB_HORIZONTAL
;
14087 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14088 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14089 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14090 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14104 bool temp8
= false ;
14105 PyObject
* obj0
= 0 ;
14106 PyObject
* obj1
= 0 ;
14107 PyObject
* obj2
= 0 ;
14108 PyObject
* obj3
= 0 ;
14109 PyObject
* obj4
= 0 ;
14110 PyObject
* obj5
= 0 ;
14111 PyObject
* obj6
= 0 ;
14112 PyObject
* obj7
= 0 ;
14113 char * kwnames
[] = {
14114 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14119 if (!SWIG_IsOK(res1
)) {
14120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14122 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14123 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14124 if (!SWIG_IsOK(res2
)) {
14125 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14127 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14129 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14130 if (!SWIG_IsOK(ecode3
)) {
14131 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14133 arg3
= static_cast< int >(val3
);
14138 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14144 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14148 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14149 if (!SWIG_IsOK(ecode6
)) {
14150 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14152 arg6
= static_cast< long >(val6
);
14155 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14156 if (!SWIG_IsOK(res7
)) {
14157 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14160 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14162 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14166 arg8
= wxString_in_helper(obj7
);
14167 if (arg8
== NULL
) SWIG_fail
;
14172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14173 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14174 wxPyEndAllowThreads(__tstate
);
14175 if (PyErr_Occurred()) SWIG_fail
;
14178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14194 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14195 PyObject
*resultobj
= 0;
14196 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14200 PyObject
*swig_obj
[1] ;
14202 if (!args
) SWIG_fail
;
14203 swig_obj
[0] = args
;
14204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14205 if (!SWIG_IsOK(res1
)) {
14206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14208 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14211 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14212 wxPyEndAllowThreads(__tstate
);
14213 if (PyErr_Occurred()) SWIG_fail
;
14215 resultobj
= SWIG_From_int(static_cast< int >(result
));
14222 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14223 PyObject
*resultobj
= 0;
14224 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14228 PyObject
*swig_obj
[1] ;
14230 if (!args
) SWIG_fail
;
14231 swig_obj
[0] = args
;
14232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14233 if (!SWIG_IsOK(res1
)) {
14234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14236 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14239 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14240 wxPyEndAllowThreads(__tstate
);
14241 if (PyErr_Occurred()) SWIG_fail
;
14243 resultobj
= SWIG_From_int(static_cast< int >(result
));
14250 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14251 PyObject
*resultobj
= 0;
14252 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14256 PyObject
*swig_obj
[1] ;
14258 if (!args
) SWIG_fail
;
14259 swig_obj
[0] = args
;
14260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14261 if (!SWIG_IsOK(res1
)) {
14262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14264 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14267 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14268 wxPyEndAllowThreads(__tstate
);
14269 if (PyErr_Occurred()) SWIG_fail
;
14271 resultobj
= SWIG_From_int(static_cast< int >(result
));
14278 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14279 PyObject
*resultobj
= 0;
14280 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14284 PyObject
*swig_obj
[1] ;
14286 if (!args
) SWIG_fail
;
14287 swig_obj
[0] = args
;
14288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14289 if (!SWIG_IsOK(res1
)) {
14290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14292 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14295 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14296 wxPyEndAllowThreads(__tstate
);
14297 if (PyErr_Occurred()) SWIG_fail
;
14299 resultobj
= SWIG_From_int(static_cast< int >(result
));
14306 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14307 PyObject
*resultobj
= 0;
14308 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14312 PyObject
*swig_obj
[1] ;
14314 if (!args
) SWIG_fail
;
14315 swig_obj
[0] = args
;
14316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14317 if (!SWIG_IsOK(res1
)) {
14318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14320 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14323 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14324 wxPyEndAllowThreads(__tstate
);
14325 if (PyErr_Occurred()) SWIG_fail
;
14328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14336 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14337 PyObject
*resultobj
= 0;
14338 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14344 PyObject
* obj0
= 0 ;
14345 PyObject
* obj1
= 0 ;
14346 char * kwnames
[] = {
14347 (char *) "self",(char *) "viewStart", NULL
14350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14352 if (!SWIG_IsOK(res1
)) {
14353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14355 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14357 if (!SWIG_IsOK(ecode2
)) {
14358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14360 arg2
= static_cast< int >(val2
);
14362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14363 (arg1
)->SetThumbPosition(arg2
);
14364 wxPyEndAllowThreads(__tstate
);
14365 if (PyErr_Occurred()) SWIG_fail
;
14367 resultobj
= SWIG_Py_Void();
14374 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14375 PyObject
*resultobj
= 0;
14376 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14377 SwigValueWrapper
<wxVisualAttributes
> result
;
14380 PyObject
* obj0
= 0 ;
14381 char * kwnames
[] = {
14382 (char *) "variant", NULL
14385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14387 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14388 if (!SWIG_IsOK(ecode1
)) {
14389 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14391 arg1
= static_cast< wxWindowVariant
>(val1
);
14394 if (!wxPyCheckForApp()) SWIG_fail
;
14395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14396 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14397 wxPyEndAllowThreads(__tstate
);
14398 if (PyErr_Occurred()) SWIG_fail
;
14400 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14407 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14409 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14410 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14411 return SWIG_Py_Void();
14414 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14415 return SWIG_Python_InitShadowInstance(args
);
14418 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14419 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14424 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14425 PyObject
*pyobj
= 0;
14429 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14431 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14438 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14439 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14444 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14445 PyObject
*pyobj
= 0;
14449 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14451 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14458 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14459 PyObject
*resultobj
= 0;
14460 wxWindow
*arg1
= (wxWindow
*) 0 ;
14461 int arg2
= (int) -1 ;
14462 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14463 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14464 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14465 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14466 long arg5
= (long) wxSP_HORIZONTAL
;
14467 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14468 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14469 wxSpinButton
*result
= 0 ;
14478 bool temp6
= false ;
14479 PyObject
* obj0
= 0 ;
14480 PyObject
* obj1
= 0 ;
14481 PyObject
* obj2
= 0 ;
14482 PyObject
* obj3
= 0 ;
14483 PyObject
* obj4
= 0 ;
14484 PyObject
* obj5
= 0 ;
14485 char * kwnames
[] = {
14486 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14491 if (!SWIG_IsOK(res1
)) {
14492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14494 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14496 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14497 if (!SWIG_IsOK(ecode2
)) {
14498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14500 arg2
= static_cast< int >(val2
);
14505 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14511 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14515 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14516 if (!SWIG_IsOK(ecode5
)) {
14517 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14519 arg5
= static_cast< long >(val5
);
14523 arg6
= wxString_in_helper(obj5
);
14524 if (arg6
== NULL
) SWIG_fail
;
14529 if (!wxPyCheckForApp()) SWIG_fail
;
14530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14531 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14532 wxPyEndAllowThreads(__tstate
);
14533 if (PyErr_Occurred()) SWIG_fail
;
14535 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14550 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14551 PyObject
*resultobj
= 0;
14552 wxSpinButton
*result
= 0 ;
14554 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14556 if (!wxPyCheckForApp()) SWIG_fail
;
14557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14558 result
= (wxSpinButton
*)new wxSpinButton();
14559 wxPyEndAllowThreads(__tstate
);
14560 if (PyErr_Occurred()) SWIG_fail
;
14562 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14569 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14570 PyObject
*resultobj
= 0;
14571 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14572 wxWindow
*arg2
= (wxWindow
*) 0 ;
14573 int arg3
= (int) -1 ;
14574 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14575 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14576 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14577 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14578 long arg6
= (long) wxSP_HORIZONTAL
;
14579 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14580 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14592 bool temp7
= false ;
14593 PyObject
* obj0
= 0 ;
14594 PyObject
* obj1
= 0 ;
14595 PyObject
* obj2
= 0 ;
14596 PyObject
* obj3
= 0 ;
14597 PyObject
* obj4
= 0 ;
14598 PyObject
* obj5
= 0 ;
14599 PyObject
* obj6
= 0 ;
14600 char * kwnames
[] = {
14601 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14606 if (!SWIG_IsOK(res1
)) {
14607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14609 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14610 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14611 if (!SWIG_IsOK(res2
)) {
14612 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14614 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14616 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14617 if (!SWIG_IsOK(ecode3
)) {
14618 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14620 arg3
= static_cast< int >(val3
);
14625 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14631 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14635 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14636 if (!SWIG_IsOK(ecode6
)) {
14637 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14639 arg6
= static_cast< long >(val6
);
14643 arg7
= wxString_in_helper(obj6
);
14644 if (arg7
== NULL
) SWIG_fail
;
14649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14650 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14651 wxPyEndAllowThreads(__tstate
);
14652 if (PyErr_Occurred()) SWIG_fail
;
14655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14671 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14672 PyObject
*resultobj
= 0;
14673 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14677 PyObject
*swig_obj
[1] ;
14679 if (!args
) SWIG_fail
;
14680 swig_obj
[0] = args
;
14681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14682 if (!SWIG_IsOK(res1
)) {
14683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14685 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14688 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14689 wxPyEndAllowThreads(__tstate
);
14690 if (PyErr_Occurred()) SWIG_fail
;
14692 resultobj
= SWIG_From_int(static_cast< int >(result
));
14699 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14700 PyObject
*resultobj
= 0;
14701 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14705 PyObject
*swig_obj
[1] ;
14707 if (!args
) SWIG_fail
;
14708 swig_obj
[0] = args
;
14709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14710 if (!SWIG_IsOK(res1
)) {
14711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14713 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14716 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14717 wxPyEndAllowThreads(__tstate
);
14718 if (PyErr_Occurred()) SWIG_fail
;
14720 resultobj
= SWIG_From_int(static_cast< int >(result
));
14727 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14728 PyObject
*resultobj
= 0;
14729 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14733 PyObject
*swig_obj
[1] ;
14735 if (!args
) SWIG_fail
;
14736 swig_obj
[0] = args
;
14737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14738 if (!SWIG_IsOK(res1
)) {
14739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14741 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14744 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
14745 wxPyEndAllowThreads(__tstate
);
14746 if (PyErr_Occurred()) SWIG_fail
;
14748 resultobj
= SWIG_From_int(static_cast< int >(result
));
14755 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14756 PyObject
*resultobj
= 0;
14757 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14763 PyObject
* obj0
= 0 ;
14764 PyObject
* obj1
= 0 ;
14765 char * kwnames
[] = {
14766 (char *) "self",(char *) "val", NULL
14769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14771 if (!SWIG_IsOK(res1
)) {
14772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14774 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14775 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14776 if (!SWIG_IsOK(ecode2
)) {
14777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
14779 arg2
= static_cast< int >(val2
);
14781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14782 (arg1
)->SetValue(arg2
);
14783 wxPyEndAllowThreads(__tstate
);
14784 if (PyErr_Occurred()) SWIG_fail
;
14786 resultobj
= SWIG_Py_Void();
14793 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14794 PyObject
*resultobj
= 0;
14795 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14801 PyObject
* obj0
= 0 ;
14802 PyObject
* obj1
= 0 ;
14803 char * kwnames
[] = {
14804 (char *) "self",(char *) "minVal", NULL
14807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14809 if (!SWIG_IsOK(res1
)) {
14810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14812 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14813 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14814 if (!SWIG_IsOK(ecode2
)) {
14815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
14817 arg2
= static_cast< int >(val2
);
14819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14820 (arg1
)->SetMin(arg2
);
14821 wxPyEndAllowThreads(__tstate
);
14822 if (PyErr_Occurred()) SWIG_fail
;
14824 resultobj
= SWIG_Py_Void();
14831 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14832 PyObject
*resultobj
= 0;
14833 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14839 PyObject
* obj0
= 0 ;
14840 PyObject
* obj1
= 0 ;
14841 char * kwnames
[] = {
14842 (char *) "self",(char *) "maxVal", NULL
14845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14847 if (!SWIG_IsOK(res1
)) {
14848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14850 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14851 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14852 if (!SWIG_IsOK(ecode2
)) {
14853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
14855 arg2
= static_cast< int >(val2
);
14857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14858 (arg1
)->SetMax(arg2
);
14859 wxPyEndAllowThreads(__tstate
);
14860 if (PyErr_Occurred()) SWIG_fail
;
14862 resultobj
= SWIG_Py_Void();
14869 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14870 PyObject
*resultobj
= 0;
14871 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14880 PyObject
* obj0
= 0 ;
14881 PyObject
* obj1
= 0 ;
14882 PyObject
* obj2
= 0 ;
14883 char * kwnames
[] = {
14884 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
14887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14889 if (!SWIG_IsOK(res1
)) {
14890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14892 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14893 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14894 if (!SWIG_IsOK(ecode2
)) {
14895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
14897 arg2
= static_cast< int >(val2
);
14898 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14899 if (!SWIG_IsOK(ecode3
)) {
14900 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
14902 arg3
= static_cast< int >(val3
);
14904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14905 (arg1
)->SetRange(arg2
,arg3
);
14906 wxPyEndAllowThreads(__tstate
);
14907 if (PyErr_Occurred()) SWIG_fail
;
14909 resultobj
= SWIG_Py_Void();
14916 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14917 PyObject
*resultobj
= 0;
14918 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14922 PyObject
*swig_obj
[1] ;
14924 if (!args
) SWIG_fail
;
14925 swig_obj
[0] = args
;
14926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14927 if (!SWIG_IsOK(res1
)) {
14928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14930 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14933 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
14934 wxPyEndAllowThreads(__tstate
);
14935 if (PyErr_Occurred()) SWIG_fail
;
14938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14946 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14947 PyObject
*resultobj
= 0;
14948 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14949 SwigValueWrapper
<wxVisualAttributes
> result
;
14952 PyObject
* obj0
= 0 ;
14953 char * kwnames
[] = {
14954 (char *) "variant", NULL
14957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14959 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14960 if (!SWIG_IsOK(ecode1
)) {
14961 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14963 arg1
= static_cast< wxWindowVariant
>(val1
);
14966 if (!wxPyCheckForApp()) SWIG_fail
;
14967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14968 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
14969 wxPyEndAllowThreads(__tstate
);
14970 if (PyErr_Occurred()) SWIG_fail
;
14972 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14979 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14981 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14982 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
14983 return SWIG_Py_Void();
14986 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14987 return SWIG_Python_InitShadowInstance(args
);
14990 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14991 PyObject
*resultobj
= 0;
14992 wxWindow
*arg1
= (wxWindow
*) 0 ;
14993 int arg2
= (int) -1 ;
14994 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14995 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14996 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14997 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14998 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14999 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15000 long arg6
= (long) wxSP_ARROW_KEYS
;
15001 int arg7
= (int) 0 ;
15002 int arg8
= (int) 100 ;
15003 int arg9
= (int) 0 ;
15004 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15005 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15006 wxSpinCtrl
*result
= 0 ;
15011 bool temp3
= false ;
15022 bool temp10
= false ;
15023 PyObject
* obj0
= 0 ;
15024 PyObject
* obj1
= 0 ;
15025 PyObject
* obj2
= 0 ;
15026 PyObject
* obj3
= 0 ;
15027 PyObject
* obj4
= 0 ;
15028 PyObject
* obj5
= 0 ;
15029 PyObject
* obj6
= 0 ;
15030 PyObject
* obj7
= 0 ;
15031 PyObject
* obj8
= 0 ;
15032 PyObject
* obj9
= 0 ;
15033 char * kwnames
[] = {
15034 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15039 if (!SWIG_IsOK(res1
)) {
15040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15042 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15044 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15045 if (!SWIG_IsOK(ecode2
)) {
15046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15048 arg2
= static_cast< int >(val2
);
15052 arg3
= wxString_in_helper(obj2
);
15053 if (arg3
== NULL
) SWIG_fail
;
15060 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15066 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15070 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15071 if (!SWIG_IsOK(ecode6
)) {
15072 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15074 arg6
= static_cast< long >(val6
);
15077 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15078 if (!SWIG_IsOK(ecode7
)) {
15079 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15081 arg7
= static_cast< int >(val7
);
15084 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15085 if (!SWIG_IsOK(ecode8
)) {
15086 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15088 arg8
= static_cast< int >(val8
);
15091 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15092 if (!SWIG_IsOK(ecode9
)) {
15093 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15095 arg9
= static_cast< int >(val9
);
15099 arg10
= wxString_in_helper(obj9
);
15100 if (arg10
== NULL
) SWIG_fail
;
15105 if (!wxPyCheckForApp()) SWIG_fail
;
15106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15107 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15108 wxPyEndAllowThreads(__tstate
);
15109 if (PyErr_Occurred()) SWIG_fail
;
15111 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15134 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15135 PyObject
*resultobj
= 0;
15136 wxSpinCtrl
*result
= 0 ;
15138 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15140 if (!wxPyCheckForApp()) SWIG_fail
;
15141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15142 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15143 wxPyEndAllowThreads(__tstate
);
15144 if (PyErr_Occurred()) SWIG_fail
;
15146 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15153 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15154 PyObject
*resultobj
= 0;
15155 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15156 wxWindow
*arg2
= (wxWindow
*) 0 ;
15157 int arg3
= (int) -1 ;
15158 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15159 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15160 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15161 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15162 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15163 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15164 long arg7
= (long) wxSP_ARROW_KEYS
;
15165 int arg8
= (int) 0 ;
15166 int arg9
= (int) 100 ;
15167 int arg10
= (int) 0 ;
15168 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15169 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15177 bool temp4
= false ;
15188 bool temp11
= false ;
15189 PyObject
* obj0
= 0 ;
15190 PyObject
* obj1
= 0 ;
15191 PyObject
* obj2
= 0 ;
15192 PyObject
* obj3
= 0 ;
15193 PyObject
* obj4
= 0 ;
15194 PyObject
* obj5
= 0 ;
15195 PyObject
* obj6
= 0 ;
15196 PyObject
* obj7
= 0 ;
15197 PyObject
* obj8
= 0 ;
15198 PyObject
* obj9
= 0 ;
15199 PyObject
* obj10
= 0 ;
15200 char * kwnames
[] = {
15201 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15206 if (!SWIG_IsOK(res1
)) {
15207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15209 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15210 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15211 if (!SWIG_IsOK(res2
)) {
15212 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15214 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15216 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15217 if (!SWIG_IsOK(ecode3
)) {
15218 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15220 arg3
= static_cast< int >(val3
);
15224 arg4
= wxString_in_helper(obj3
);
15225 if (arg4
== NULL
) SWIG_fail
;
15232 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15238 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15242 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15243 if (!SWIG_IsOK(ecode7
)) {
15244 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15246 arg7
= static_cast< long >(val7
);
15249 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15250 if (!SWIG_IsOK(ecode8
)) {
15251 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15253 arg8
= static_cast< int >(val8
);
15256 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15257 if (!SWIG_IsOK(ecode9
)) {
15258 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15260 arg9
= static_cast< int >(val9
);
15263 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15264 if (!SWIG_IsOK(ecode10
)) {
15265 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15267 arg10
= static_cast< int >(val10
);
15271 arg11
= wxString_in_helper(obj10
);
15272 if (arg11
== NULL
) SWIG_fail
;
15277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15278 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15279 wxPyEndAllowThreads(__tstate
);
15280 if (PyErr_Occurred()) SWIG_fail
;
15283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15307 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15308 PyObject
*resultobj
= 0;
15309 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15313 PyObject
*swig_obj
[1] ;
15315 if (!args
) SWIG_fail
;
15316 swig_obj
[0] = args
;
15317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15318 if (!SWIG_IsOK(res1
)) {
15319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15321 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15324 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15325 wxPyEndAllowThreads(__tstate
);
15326 if (PyErr_Occurred()) SWIG_fail
;
15328 resultobj
= SWIG_From_int(static_cast< int >(result
));
15335 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15336 PyObject
*resultobj
= 0;
15337 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15343 PyObject
* obj0
= 0 ;
15344 PyObject
* obj1
= 0 ;
15345 char * kwnames
[] = {
15346 (char *) "self",(char *) "value", NULL
15349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15351 if (!SWIG_IsOK(res1
)) {
15352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15354 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15355 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15356 if (!SWIG_IsOK(ecode2
)) {
15357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15359 arg2
= static_cast< int >(val2
);
15361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15362 (arg1
)->SetValue(arg2
);
15363 wxPyEndAllowThreads(__tstate
);
15364 if (PyErr_Occurred()) SWIG_fail
;
15366 resultobj
= SWIG_Py_Void();
15373 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15374 PyObject
*resultobj
= 0;
15375 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15376 wxString
*arg2
= 0 ;
15379 bool temp2
= false ;
15380 PyObject
* obj0
= 0 ;
15381 PyObject
* obj1
= 0 ;
15382 char * kwnames
[] = {
15383 (char *) "self",(char *) "text", NULL
15386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15388 if (!SWIG_IsOK(res1
)) {
15389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15391 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15393 arg2
= wxString_in_helper(obj1
);
15394 if (arg2
== NULL
) SWIG_fail
;
15398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15399 (arg1
)->SetValue((wxString
const &)*arg2
);
15400 wxPyEndAllowThreads(__tstate
);
15401 if (PyErr_Occurred()) SWIG_fail
;
15403 resultobj
= SWIG_Py_Void();
15418 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15419 PyObject
*resultobj
= 0;
15420 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15429 PyObject
* obj0
= 0 ;
15430 PyObject
* obj1
= 0 ;
15431 PyObject
* obj2
= 0 ;
15432 char * kwnames
[] = {
15433 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15438 if (!SWIG_IsOK(res1
)) {
15439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15441 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15442 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15443 if (!SWIG_IsOK(ecode2
)) {
15444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15446 arg2
= static_cast< int >(val2
);
15447 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15448 if (!SWIG_IsOK(ecode3
)) {
15449 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15451 arg3
= static_cast< int >(val3
);
15453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15454 (arg1
)->SetRange(arg2
,arg3
);
15455 wxPyEndAllowThreads(__tstate
);
15456 if (PyErr_Occurred()) SWIG_fail
;
15458 resultobj
= SWIG_Py_Void();
15465 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15466 PyObject
*resultobj
= 0;
15467 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15471 PyObject
*swig_obj
[1] ;
15473 if (!args
) SWIG_fail
;
15474 swig_obj
[0] = args
;
15475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15476 if (!SWIG_IsOK(res1
)) {
15477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15479 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15482 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15483 wxPyEndAllowThreads(__tstate
);
15484 if (PyErr_Occurred()) SWIG_fail
;
15486 resultobj
= SWIG_From_int(static_cast< int >(result
));
15493 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15494 PyObject
*resultobj
= 0;
15495 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15499 PyObject
*swig_obj
[1] ;
15501 if (!args
) SWIG_fail
;
15502 swig_obj
[0] = args
;
15503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15504 if (!SWIG_IsOK(res1
)) {
15505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15507 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15510 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15511 wxPyEndAllowThreads(__tstate
);
15512 if (PyErr_Occurred()) SWIG_fail
;
15514 resultobj
= SWIG_From_int(static_cast< int >(result
));
15521 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15522 PyObject
*resultobj
= 0;
15523 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15532 PyObject
* obj0
= 0 ;
15533 PyObject
* obj1
= 0 ;
15534 PyObject
* obj2
= 0 ;
15535 char * kwnames
[] = {
15536 (char *) "self",(char *) "from",(char *) "to", NULL
15539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15541 if (!SWIG_IsOK(res1
)) {
15542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15544 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15545 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15546 if (!SWIG_IsOK(ecode2
)) {
15547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15549 arg2
= static_cast< long >(val2
);
15550 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15551 if (!SWIG_IsOK(ecode3
)) {
15552 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15554 arg3
= static_cast< long >(val3
);
15556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15557 (arg1
)->SetSelection(arg2
,arg3
);
15558 wxPyEndAllowThreads(__tstate
);
15559 if (PyErr_Occurred()) SWIG_fail
;
15561 resultobj
= SWIG_Py_Void();
15568 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15569 PyObject
*resultobj
= 0;
15570 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15571 SwigValueWrapper
<wxVisualAttributes
> result
;
15574 PyObject
* obj0
= 0 ;
15575 char * kwnames
[] = {
15576 (char *) "variant", NULL
15579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15581 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15582 if (!SWIG_IsOK(ecode1
)) {
15583 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15585 arg1
= static_cast< wxWindowVariant
>(val1
);
15588 if (!wxPyCheckForApp()) SWIG_fail
;
15589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15590 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15591 wxPyEndAllowThreads(__tstate
);
15592 if (PyErr_Occurred()) SWIG_fail
;
15594 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15601 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15603 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15604 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15605 return SWIG_Py_Void();
15608 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15609 return SWIG_Python_InitShadowInstance(args
);
15612 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15613 PyObject
*resultobj
= 0;
15614 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15615 int arg2
= (int) 0 ;
15616 wxSpinEvent
*result
= 0 ;
15621 PyObject
* obj0
= 0 ;
15622 PyObject
* obj1
= 0 ;
15623 char * kwnames
[] = {
15624 (char *) "commandType",(char *) "winid", NULL
15627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15629 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15630 if (!SWIG_IsOK(ecode1
)) {
15631 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15633 arg1
= static_cast< wxEventType
>(val1
);
15636 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15637 if (!SWIG_IsOK(ecode2
)) {
15638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15640 arg2
= static_cast< int >(val2
);
15643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15644 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15645 wxPyEndAllowThreads(__tstate
);
15646 if (PyErr_Occurred()) SWIG_fail
;
15648 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15655 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15656 PyObject
*resultobj
= 0;
15657 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15661 PyObject
*swig_obj
[1] ;
15663 if (!args
) SWIG_fail
;
15664 swig_obj
[0] = args
;
15665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15666 if (!SWIG_IsOK(res1
)) {
15667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15669 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15672 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15673 wxPyEndAllowThreads(__tstate
);
15674 if (PyErr_Occurred()) SWIG_fail
;
15676 resultobj
= SWIG_From_int(static_cast< int >(result
));
15683 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15684 PyObject
*resultobj
= 0;
15685 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15691 PyObject
* obj0
= 0 ;
15692 PyObject
* obj1
= 0 ;
15693 char * kwnames
[] = {
15694 (char *) "self",(char *) "pos", NULL
15697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15699 if (!SWIG_IsOK(res1
)) {
15700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15702 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15703 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15704 if (!SWIG_IsOK(ecode2
)) {
15705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15707 arg2
= static_cast< int >(val2
);
15709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15710 (arg1
)->SetPosition(arg2
);
15711 wxPyEndAllowThreads(__tstate
);
15712 if (PyErr_Occurred()) SWIG_fail
;
15714 resultobj
= SWIG_Py_Void();
15721 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15723 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15724 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15725 return SWIG_Py_Void();
15728 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15729 return SWIG_Python_InitShadowInstance(args
);
15732 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15733 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
15738 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
15739 PyObject
*pyobj
= 0;
15743 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15745 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15752 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
15753 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
15758 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
15759 PyObject
*pyobj
= 0;
15763 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15765 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15772 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15773 PyObject
*resultobj
= 0;
15774 wxWindow
*arg1
= (wxWindow
*) 0 ;
15775 int arg2
= (int) -1 ;
15776 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15777 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15778 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15779 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15780 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15781 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15782 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
15783 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
15784 int arg7
= (int) 0 ;
15785 long arg8
= (long) wxRA_HORIZONTAL
;
15786 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
15787 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
15788 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
15789 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15790 wxRadioBox
*result
= 0 ;
15795 bool temp3
= false ;
15798 bool temp6
= false ;
15805 bool temp10
= false ;
15806 PyObject
* obj0
= 0 ;
15807 PyObject
* obj1
= 0 ;
15808 PyObject
* obj2
= 0 ;
15809 PyObject
* obj3
= 0 ;
15810 PyObject
* obj4
= 0 ;
15811 PyObject
* obj5
= 0 ;
15812 PyObject
* obj6
= 0 ;
15813 PyObject
* obj7
= 0 ;
15814 PyObject
* obj8
= 0 ;
15815 PyObject
* obj9
= 0 ;
15816 char * kwnames
[] = {
15817 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
15820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15822 if (!SWIG_IsOK(res1
)) {
15823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15825 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15827 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15828 if (!SWIG_IsOK(ecode2
)) {
15829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
15831 arg2
= static_cast< int >(val2
);
15835 arg3
= wxString_in_helper(obj2
);
15836 if (arg3
== NULL
) SWIG_fail
;
15843 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15849 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15854 if (! PySequence_Check(obj5
)) {
15855 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
15858 arg6
= new wxArrayString
;
15860 int i
, len
=PySequence_Length(obj5
);
15861 for (i
=0; i
<len
; i
++) {
15862 PyObject
* item
= PySequence_GetItem(obj5
, i
);
15863 wxString
* s
= wxString_in_helper(item
);
15864 if (PyErr_Occurred()) SWIG_fail
;
15872 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15873 if (!SWIG_IsOK(ecode7
)) {
15874 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
15876 arg7
= static_cast< int >(val7
);
15879 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
15880 if (!SWIG_IsOK(ecode8
)) {
15881 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
15883 arg8
= static_cast< long >(val8
);
15886 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
15887 if (!SWIG_IsOK(res9
)) {
15888 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15891 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15893 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
15897 arg10
= wxString_in_helper(obj9
);
15898 if (arg10
== NULL
) SWIG_fail
;
15903 if (!wxPyCheckForApp()) SWIG_fail
;
15904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15905 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
);
15906 wxPyEndAllowThreads(__tstate
);
15907 if (PyErr_Occurred()) SWIG_fail
;
15909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
15915 if (temp6
) delete arg6
;
15928 if (temp6
) delete arg6
;
15938 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15939 PyObject
*resultobj
= 0;
15940 wxRadioBox
*result
= 0 ;
15942 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
15944 if (!wxPyCheckForApp()) SWIG_fail
;
15945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15946 result
= (wxRadioBox
*)new wxRadioBox();
15947 wxPyEndAllowThreads(__tstate
);
15948 if (PyErr_Occurred()) SWIG_fail
;
15950 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
15957 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15958 PyObject
*resultobj
= 0;
15959 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
15960 wxWindow
*arg2
= (wxWindow
*) 0 ;
15961 int arg3
= (int) -1 ;
15962 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15963 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15964 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15965 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15966 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15967 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15968 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
15969 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
15970 int arg8
= (int) 0 ;
15971 long arg9
= (long) wxRA_HORIZONTAL
;
15972 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
15973 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
15974 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
15975 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15983 bool temp4
= false ;
15986 bool temp7
= false ;
15993 bool temp11
= false ;
15994 PyObject
* obj0
= 0 ;
15995 PyObject
* obj1
= 0 ;
15996 PyObject
* obj2
= 0 ;
15997 PyObject
* obj3
= 0 ;
15998 PyObject
* obj4
= 0 ;
15999 PyObject
* obj5
= 0 ;
16000 PyObject
* obj6
= 0 ;
16001 PyObject
* obj7
= 0 ;
16002 PyObject
* obj8
= 0 ;
16003 PyObject
* obj9
= 0 ;
16004 PyObject
* obj10
= 0 ;
16005 char * kwnames
[] = {
16006 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16011 if (!SWIG_IsOK(res1
)) {
16012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16014 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16015 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16016 if (!SWIG_IsOK(res2
)) {
16017 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16019 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16021 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16022 if (!SWIG_IsOK(ecode3
)) {
16023 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16025 arg3
= static_cast< int >(val3
);
16029 arg4
= wxString_in_helper(obj3
);
16030 if (arg4
== NULL
) SWIG_fail
;
16037 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16043 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16048 if (! PySequence_Check(obj6
)) {
16049 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16052 arg7
= new wxArrayString
;
16054 int i
, len
=PySequence_Length(obj6
);
16055 for (i
=0; i
<len
; i
++) {
16056 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16057 wxString
* s
= wxString_in_helper(item
);
16058 if (PyErr_Occurred()) SWIG_fail
;
16066 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16067 if (!SWIG_IsOK(ecode8
)) {
16068 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16070 arg8
= static_cast< int >(val8
);
16073 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16074 if (!SWIG_IsOK(ecode9
)) {
16075 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16077 arg9
= static_cast< long >(val9
);
16080 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16081 if (!SWIG_IsOK(res10
)) {
16082 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16085 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16087 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16091 arg11
= wxString_in_helper(obj10
);
16092 if (arg11
== NULL
) SWIG_fail
;
16097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16098 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
);
16099 wxPyEndAllowThreads(__tstate
);
16100 if (PyErr_Occurred()) SWIG_fail
;
16103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16110 if (temp7
) delete arg7
;
16123 if (temp7
) delete arg7
;
16133 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16134 PyObject
*resultobj
= 0;
16135 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16141 PyObject
* obj0
= 0 ;
16142 PyObject
* obj1
= 0 ;
16143 char * kwnames
[] = {
16144 (char *) "self",(char *) "n", NULL
16147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16149 if (!SWIG_IsOK(res1
)) {
16150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16152 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16153 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16154 if (!SWIG_IsOK(ecode2
)) {
16155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16157 arg2
= static_cast< int >(val2
);
16159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16160 (arg1
)->SetSelection(arg2
);
16161 wxPyEndAllowThreads(__tstate
);
16162 if (PyErr_Occurred()) SWIG_fail
;
16164 resultobj
= SWIG_Py_Void();
16171 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16172 PyObject
*resultobj
= 0;
16173 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16177 PyObject
*swig_obj
[1] ;
16179 if (!args
) SWIG_fail
;
16180 swig_obj
[0] = args
;
16181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16182 if (!SWIG_IsOK(res1
)) {
16183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16185 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16188 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16189 wxPyEndAllowThreads(__tstate
);
16190 if (PyErr_Occurred()) SWIG_fail
;
16192 resultobj
= SWIG_From_int(static_cast< int >(result
));
16199 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16200 PyObject
*resultobj
= 0;
16201 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16205 PyObject
*swig_obj
[1] ;
16207 if (!args
) SWIG_fail
;
16208 swig_obj
[0] = args
;
16209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16210 if (!SWIG_IsOK(res1
)) {
16211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16213 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16216 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16217 wxPyEndAllowThreads(__tstate
);
16218 if (PyErr_Occurred()) SWIG_fail
;
16222 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16224 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16233 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16234 PyObject
*resultobj
= 0;
16235 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16236 wxString
*arg2
= 0 ;
16240 bool temp2
= false ;
16241 PyObject
* obj0
= 0 ;
16242 PyObject
* obj1
= 0 ;
16243 char * kwnames
[] = {
16244 (char *) "self",(char *) "s", NULL
16247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16249 if (!SWIG_IsOK(res1
)) {
16250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16252 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16254 arg2
= wxString_in_helper(obj1
);
16255 if (arg2
== NULL
) SWIG_fail
;
16259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16260 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16261 wxPyEndAllowThreads(__tstate
);
16262 if (PyErr_Occurred()) SWIG_fail
;
16265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16281 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16282 PyObject
*resultobj
= 0;
16283 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16287 PyObject
*swig_obj
[1] ;
16289 if (!args
) SWIG_fail
;
16290 swig_obj
[0] = args
;
16291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16292 if (!SWIG_IsOK(res1
)) {
16293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16295 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16298 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16299 wxPyEndAllowThreads(__tstate
);
16300 if (PyErr_Occurred()) SWIG_fail
;
16302 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16309 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16310 PyObject
*resultobj
= 0;
16311 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16312 wxString
*arg2
= 0 ;
16316 bool temp2
= false ;
16317 PyObject
* obj0
= 0 ;
16318 PyObject
* obj1
= 0 ;
16319 char * kwnames
[] = {
16320 (char *) "self",(char *) "s", NULL
16323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16325 if (!SWIG_IsOK(res1
)) {
16326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16328 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16330 arg2
= wxString_in_helper(obj1
);
16331 if (arg2
== NULL
) SWIG_fail
;
16335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16336 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16337 wxPyEndAllowThreads(__tstate
);
16338 if (PyErr_Occurred()) SWIG_fail
;
16340 resultobj
= SWIG_From_int(static_cast< int >(result
));
16355 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16356 PyObject
*resultobj
= 0;
16357 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16364 PyObject
* obj0
= 0 ;
16365 PyObject
* obj1
= 0 ;
16366 char * kwnames
[] = {
16367 (char *) "self",(char *) "n", NULL
16370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16372 if (!SWIG_IsOK(res1
)) {
16373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16375 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16376 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16377 if (!SWIG_IsOK(ecode2
)) {
16378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16380 arg2
= static_cast< int >(val2
);
16382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16383 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16384 wxPyEndAllowThreads(__tstate
);
16385 if (PyErr_Occurred()) SWIG_fail
;
16389 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16391 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16400 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16401 PyObject
*resultobj
= 0;
16402 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16404 wxString
*arg3
= 0 ;
16409 bool temp3
= false ;
16410 PyObject
* obj0
= 0 ;
16411 PyObject
* obj1
= 0 ;
16412 PyObject
* obj2
= 0 ;
16413 char * kwnames
[] = {
16414 (char *) "self",(char *) "n",(char *) "label", NULL
16417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16419 if (!SWIG_IsOK(res1
)) {
16420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16422 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16423 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16424 if (!SWIG_IsOK(ecode2
)) {
16425 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16427 arg2
= static_cast< int >(val2
);
16429 arg3
= wxString_in_helper(obj2
);
16430 if (arg3
== NULL
) SWIG_fail
;
16434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16435 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16436 wxPyEndAllowThreads(__tstate
);
16437 if (PyErr_Occurred()) SWIG_fail
;
16439 resultobj
= SWIG_Py_Void();
16454 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16455 PyObject
*resultobj
= 0;
16456 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16457 unsigned int arg2
;
16458 bool arg3
= (bool) true ;
16461 unsigned int val2
;
16465 PyObject
* obj0
= 0 ;
16466 PyObject
* obj1
= 0 ;
16467 PyObject
* obj2
= 0 ;
16468 char * kwnames
[] = {
16469 (char *) "self",(char *) "n",(char *) "enable", NULL
16472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16474 if (!SWIG_IsOK(res1
)) {
16475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16477 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16478 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16479 if (!SWIG_IsOK(ecode2
)) {
16480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16482 arg2
= static_cast< unsigned int >(val2
);
16484 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16485 if (!SWIG_IsOK(ecode3
)) {
16486 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16488 arg3
= static_cast< bool >(val3
);
16491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16492 (arg1
)->Enable(arg2
,arg3
);
16493 wxPyEndAllowThreads(__tstate
);
16494 if (PyErr_Occurred()) SWIG_fail
;
16496 resultobj
= SWIG_Py_Void();
16503 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16504 PyObject
*resultobj
= 0;
16505 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16506 unsigned int arg2
;
16507 bool arg3
= (bool) true ;
16510 unsigned int val2
;
16514 PyObject
* obj0
= 0 ;
16515 PyObject
* obj1
= 0 ;
16516 PyObject
* obj2
= 0 ;
16517 char * kwnames
[] = {
16518 (char *) "self",(char *) "n",(char *) "show", NULL
16521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16523 if (!SWIG_IsOK(res1
)) {
16524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16526 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16527 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16528 if (!SWIG_IsOK(ecode2
)) {
16529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16531 arg2
= static_cast< unsigned int >(val2
);
16533 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16534 if (!SWIG_IsOK(ecode3
)) {
16535 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16537 arg3
= static_cast< bool >(val3
);
16540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16541 (arg1
)->Show(arg2
,arg3
);
16542 wxPyEndAllowThreads(__tstate
);
16543 if (PyErr_Occurred()) SWIG_fail
;
16545 resultobj
= SWIG_Py_Void();
16552 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16553 PyObject
*resultobj
= 0;
16554 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16555 unsigned int arg2
;
16559 unsigned int val2
;
16561 PyObject
* obj0
= 0 ;
16562 PyObject
* obj1
= 0 ;
16563 char * kwnames
[] = {
16564 (char *) "self",(char *) "n", NULL
16567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16569 if (!SWIG_IsOK(res1
)) {
16570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16572 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16573 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16574 if (!SWIG_IsOK(ecode2
)) {
16575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16577 arg2
= static_cast< unsigned int >(val2
);
16579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16580 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16581 wxPyEndAllowThreads(__tstate
);
16582 if (PyErr_Occurred()) SWIG_fail
;
16585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16593 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16594 PyObject
*resultobj
= 0;
16595 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16596 unsigned int arg2
;
16600 unsigned int val2
;
16602 PyObject
* obj0
= 0 ;
16603 PyObject
* obj1
= 0 ;
16604 char * kwnames
[] = {
16605 (char *) "self",(char *) "n", NULL
16608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16610 if (!SWIG_IsOK(res1
)) {
16611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16613 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16614 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16615 if (!SWIG_IsOK(ecode2
)) {
16616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16618 arg2
= static_cast< unsigned int >(val2
);
16620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16621 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16622 wxPyEndAllowThreads(__tstate
);
16623 if (PyErr_Occurred()) SWIG_fail
;
16626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16634 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16635 PyObject
*resultobj
= 0;
16636 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16637 unsigned int result
;
16640 PyObject
*swig_obj
[1] ;
16642 if (!args
) SWIG_fail
;
16643 swig_obj
[0] = args
;
16644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16645 if (!SWIG_IsOK(res1
)) {
16646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16648 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16651 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16652 wxPyEndAllowThreads(__tstate
);
16653 if (PyErr_Occurred()) SWIG_fail
;
16655 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16662 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16663 PyObject
*resultobj
= 0;
16664 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16665 unsigned int result
;
16668 PyObject
*swig_obj
[1] ;
16670 if (!args
) SWIG_fail
;
16671 swig_obj
[0] = args
;
16672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16673 if (!SWIG_IsOK(res1
)) {
16674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16676 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16679 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16680 wxPyEndAllowThreads(__tstate
);
16681 if (PyErr_Occurred()) SWIG_fail
;
16683 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16690 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16691 PyObject
*resultobj
= 0;
16692 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16705 PyObject
* obj0
= 0 ;
16706 PyObject
* obj1
= 0 ;
16707 PyObject
* obj2
= 0 ;
16708 PyObject
* obj3
= 0 ;
16709 char * kwnames
[] = {
16710 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16715 if (!SWIG_IsOK(res1
)) {
16716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16718 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16719 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16720 if (!SWIG_IsOK(ecode2
)) {
16721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16723 arg2
= static_cast< int >(val2
);
16724 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16725 if (!SWIG_IsOK(ecode3
)) {
16726 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16728 arg3
= static_cast< wxDirection
>(val3
);
16729 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16730 if (!SWIG_IsOK(ecode4
)) {
16731 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16733 arg4
= static_cast< long >(val4
);
16735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16736 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
16737 wxPyEndAllowThreads(__tstate
);
16738 if (PyErr_Occurred()) SWIG_fail
;
16740 resultobj
= SWIG_From_int(static_cast< int >(result
));
16747 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16748 PyObject
*resultobj
= 0;
16749 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16750 unsigned int arg2
;
16751 wxString
*arg3
= 0 ;
16754 unsigned int val2
;
16756 bool temp3
= false ;
16757 PyObject
* obj0
= 0 ;
16758 PyObject
* obj1
= 0 ;
16759 PyObject
* obj2
= 0 ;
16760 char * kwnames
[] = {
16761 (char *) "self",(char *) "item",(char *) "text", NULL
16764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16766 if (!SWIG_IsOK(res1
)) {
16767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16769 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16770 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16771 if (!SWIG_IsOK(ecode2
)) {
16772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16774 arg2
= static_cast< unsigned int >(val2
);
16776 arg3
= wxString_in_helper(obj2
);
16777 if (arg3
== NULL
) SWIG_fail
;
16781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16782 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
16783 wxPyEndAllowThreads(__tstate
);
16784 if (PyErr_Occurred()) SWIG_fail
;
16786 resultobj
= SWIG_Py_Void();
16801 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16802 PyObject
*resultobj
= 0;
16803 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16804 unsigned int arg2
;
16805 wxToolTip
*result
= 0 ;
16808 unsigned int val2
;
16810 PyObject
* obj0
= 0 ;
16811 PyObject
* obj1
= 0 ;
16812 char * kwnames
[] = {
16813 (char *) "self",(char *) "item", NULL
16816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16818 if (!SWIG_IsOK(res1
)) {
16819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16821 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16822 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16823 if (!SWIG_IsOK(ecode2
)) {
16824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16826 arg2
= static_cast< unsigned int >(val2
);
16828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16829 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
16830 wxPyEndAllowThreads(__tstate
);
16831 if (PyErr_Occurred()) SWIG_fail
;
16834 resultobj
= wxPyMake_wxObject(result
, (bool)0);
16842 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16843 PyObject
*resultobj
= 0;
16844 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16845 SwigValueWrapper
<wxVisualAttributes
> result
;
16848 PyObject
* obj0
= 0 ;
16849 char * kwnames
[] = {
16850 (char *) "variant", NULL
16853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
16855 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16856 if (!SWIG_IsOK(ecode1
)) {
16857 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
16859 arg1
= static_cast< wxWindowVariant
>(val1
);
16862 if (!wxPyCheckForApp()) SWIG_fail
;
16863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16864 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
16865 wxPyEndAllowThreads(__tstate
);
16866 if (PyErr_Occurred()) SWIG_fail
;
16868 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
16875 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16877 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16878 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
16879 return SWIG_Py_Void();
16882 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16883 return SWIG_Python_InitShadowInstance(args
);
16886 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16887 PyObject
*resultobj
= 0;
16888 wxWindow
*arg1
= (wxWindow
*) 0 ;
16889 int arg2
= (int) -1 ;
16890 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16891 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16892 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16893 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16894 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16895 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16896 long arg6
= (long) 0 ;
16897 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
16898 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
16899 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
16900 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16901 wxRadioButton
*result
= 0 ;
16906 bool temp3
= false ;
16913 bool temp8
= false ;
16914 PyObject
* obj0
= 0 ;
16915 PyObject
* obj1
= 0 ;
16916 PyObject
* obj2
= 0 ;
16917 PyObject
* obj3
= 0 ;
16918 PyObject
* obj4
= 0 ;
16919 PyObject
* obj5
= 0 ;
16920 PyObject
* obj6
= 0 ;
16921 PyObject
* obj7
= 0 ;
16922 char * kwnames
[] = {
16923 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
16927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16928 if (!SWIG_IsOK(res1
)) {
16929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
16931 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16933 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16934 if (!SWIG_IsOK(ecode2
)) {
16935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
16937 arg2
= static_cast< int >(val2
);
16941 arg3
= wxString_in_helper(obj2
);
16942 if (arg3
== NULL
) SWIG_fail
;
16949 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16955 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16959 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16960 if (!SWIG_IsOK(ecode6
)) {
16961 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
16963 arg6
= static_cast< long >(val6
);
16966 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
16967 if (!SWIG_IsOK(res7
)) {
16968 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
16971 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
16973 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
16977 arg8
= wxString_in_helper(obj7
);
16978 if (arg8
== NULL
) SWIG_fail
;
16983 if (!wxPyCheckForApp()) SWIG_fail
;
16984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16985 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
16986 wxPyEndAllowThreads(__tstate
);
16987 if (PyErr_Occurred()) SWIG_fail
;
16989 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17012 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17013 PyObject
*resultobj
= 0;
17014 wxRadioButton
*result
= 0 ;
17016 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17018 if (!wxPyCheckForApp()) SWIG_fail
;
17019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17020 result
= (wxRadioButton
*)new wxRadioButton();
17021 wxPyEndAllowThreads(__tstate
);
17022 if (PyErr_Occurred()) SWIG_fail
;
17024 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17031 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17032 PyObject
*resultobj
= 0;
17033 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17034 wxWindow
*arg2
= (wxWindow
*) 0 ;
17035 int arg3
= (int) -1 ;
17036 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17037 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17038 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17039 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17040 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17041 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17042 long arg7
= (long) 0 ;
17043 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17044 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17045 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17046 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17054 bool temp4
= false ;
17061 bool temp9
= false ;
17062 PyObject
* obj0
= 0 ;
17063 PyObject
* obj1
= 0 ;
17064 PyObject
* obj2
= 0 ;
17065 PyObject
* obj3
= 0 ;
17066 PyObject
* obj4
= 0 ;
17067 PyObject
* obj5
= 0 ;
17068 PyObject
* obj6
= 0 ;
17069 PyObject
* obj7
= 0 ;
17070 PyObject
* obj8
= 0 ;
17071 char * kwnames
[] = {
17072 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17077 if (!SWIG_IsOK(res1
)) {
17078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17080 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17081 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17082 if (!SWIG_IsOK(res2
)) {
17083 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17085 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17087 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17088 if (!SWIG_IsOK(ecode3
)) {
17089 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17091 arg3
= static_cast< int >(val3
);
17095 arg4
= wxString_in_helper(obj3
);
17096 if (arg4
== NULL
) SWIG_fail
;
17103 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17109 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17113 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17114 if (!SWIG_IsOK(ecode7
)) {
17115 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17117 arg7
= static_cast< long >(val7
);
17120 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17121 if (!SWIG_IsOK(res8
)) {
17122 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17125 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17127 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17131 arg9
= wxString_in_helper(obj8
);
17132 if (arg9
== NULL
) SWIG_fail
;
17137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17138 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17139 wxPyEndAllowThreads(__tstate
);
17140 if (PyErr_Occurred()) SWIG_fail
;
17143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17167 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17168 PyObject
*resultobj
= 0;
17169 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17173 PyObject
*swig_obj
[1] ;
17175 if (!args
) SWIG_fail
;
17176 swig_obj
[0] = args
;
17177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17178 if (!SWIG_IsOK(res1
)) {
17179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17181 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17184 result
= (bool)(arg1
)->GetValue();
17185 wxPyEndAllowThreads(__tstate
);
17186 if (PyErr_Occurred()) SWIG_fail
;
17189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17197 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17198 PyObject
*resultobj
= 0;
17199 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17205 PyObject
* obj0
= 0 ;
17206 PyObject
* obj1
= 0 ;
17207 char * kwnames
[] = {
17208 (char *) "self",(char *) "value", NULL
17211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17213 if (!SWIG_IsOK(res1
)) {
17214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17216 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17217 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17218 if (!SWIG_IsOK(ecode2
)) {
17219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17221 arg2
= static_cast< bool >(val2
);
17223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17224 (arg1
)->SetValue(arg2
);
17225 wxPyEndAllowThreads(__tstate
);
17226 if (PyErr_Occurred()) SWIG_fail
;
17228 resultobj
= SWIG_Py_Void();
17235 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17236 PyObject
*resultobj
= 0;
17237 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17238 SwigValueWrapper
<wxVisualAttributes
> result
;
17241 PyObject
* obj0
= 0 ;
17242 char * kwnames
[] = {
17243 (char *) "variant", NULL
17246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17248 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17249 if (!SWIG_IsOK(ecode1
)) {
17250 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17252 arg1
= static_cast< wxWindowVariant
>(val1
);
17255 if (!wxPyCheckForApp()) SWIG_fail
;
17256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17257 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17258 wxPyEndAllowThreads(__tstate
);
17259 if (PyErr_Occurred()) SWIG_fail
;
17261 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17268 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17270 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17271 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17272 return SWIG_Py_Void();
17275 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17276 return SWIG_Python_InitShadowInstance(args
);
17279 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17280 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17285 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17286 PyObject
*pyobj
= 0;
17290 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17292 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17299 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17300 PyObject
*resultobj
= 0;
17301 wxWindow
*arg1
= (wxWindow
*) 0 ;
17302 int arg2
= (int) -1 ;
17303 int arg3
= (int) 0 ;
17304 int arg4
= (int) 0 ;
17305 int arg5
= (int) 100 ;
17306 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17307 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17308 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17309 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17310 long arg8
= (long) wxSL_HORIZONTAL
;
17311 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17312 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17313 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17314 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17315 wxSlider
*result
= 0 ;
17332 bool temp10
= false ;
17333 PyObject
* obj0
= 0 ;
17334 PyObject
* obj1
= 0 ;
17335 PyObject
* obj2
= 0 ;
17336 PyObject
* obj3
= 0 ;
17337 PyObject
* obj4
= 0 ;
17338 PyObject
* obj5
= 0 ;
17339 PyObject
* obj6
= 0 ;
17340 PyObject
* obj7
= 0 ;
17341 PyObject
* obj8
= 0 ;
17342 PyObject
* obj9
= 0 ;
17343 char * kwnames
[] = {
17344 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17349 if (!SWIG_IsOK(res1
)) {
17350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17352 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17354 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17355 if (!SWIG_IsOK(ecode2
)) {
17356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17358 arg2
= static_cast< int >(val2
);
17361 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17362 if (!SWIG_IsOK(ecode3
)) {
17363 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17365 arg3
= static_cast< int >(val3
);
17368 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17369 if (!SWIG_IsOK(ecode4
)) {
17370 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17372 arg4
= static_cast< int >(val4
);
17375 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17376 if (!SWIG_IsOK(ecode5
)) {
17377 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17379 arg5
= static_cast< int >(val5
);
17384 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17390 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17394 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17395 if (!SWIG_IsOK(ecode8
)) {
17396 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17398 arg8
= static_cast< long >(val8
);
17401 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17402 if (!SWIG_IsOK(res9
)) {
17403 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17406 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17408 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17412 arg10
= wxString_in_helper(obj9
);
17413 if (arg10
== NULL
) SWIG_fail
;
17418 if (!wxPyCheckForApp()) SWIG_fail
;
17419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17420 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17421 wxPyEndAllowThreads(__tstate
);
17422 if (PyErr_Occurred()) SWIG_fail
;
17424 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17439 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17440 PyObject
*resultobj
= 0;
17441 wxSlider
*result
= 0 ;
17443 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17445 if (!wxPyCheckForApp()) SWIG_fail
;
17446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17447 result
= (wxSlider
*)new wxSlider();
17448 wxPyEndAllowThreads(__tstate
);
17449 if (PyErr_Occurred()) SWIG_fail
;
17451 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17458 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17459 PyObject
*resultobj
= 0;
17460 wxSlider
*arg1
= (wxSlider
*) 0 ;
17461 wxWindow
*arg2
= (wxWindow
*) 0 ;
17462 int arg3
= (int) -1 ;
17463 int arg4
= (int) 0 ;
17464 int arg5
= (int) 0 ;
17465 int arg6
= (int) 100 ;
17466 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17467 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17468 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17469 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17470 long arg9
= (long) wxSL_HORIZONTAL
;
17471 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17472 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17473 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17474 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17494 bool temp11
= false ;
17495 PyObject
* obj0
= 0 ;
17496 PyObject
* obj1
= 0 ;
17497 PyObject
* obj2
= 0 ;
17498 PyObject
* obj3
= 0 ;
17499 PyObject
* obj4
= 0 ;
17500 PyObject
* obj5
= 0 ;
17501 PyObject
* obj6
= 0 ;
17502 PyObject
* obj7
= 0 ;
17503 PyObject
* obj8
= 0 ;
17504 PyObject
* obj9
= 0 ;
17505 PyObject
* obj10
= 0 ;
17506 char * kwnames
[] = {
17507 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17512 if (!SWIG_IsOK(res1
)) {
17513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17515 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17516 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17517 if (!SWIG_IsOK(res2
)) {
17518 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17520 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17522 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17523 if (!SWIG_IsOK(ecode3
)) {
17524 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17526 arg3
= static_cast< int >(val3
);
17529 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17530 if (!SWIG_IsOK(ecode4
)) {
17531 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17533 arg4
= static_cast< int >(val4
);
17536 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17537 if (!SWIG_IsOK(ecode5
)) {
17538 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17540 arg5
= static_cast< int >(val5
);
17543 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17544 if (!SWIG_IsOK(ecode6
)) {
17545 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17547 arg6
= static_cast< int >(val6
);
17552 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17558 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17562 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17563 if (!SWIG_IsOK(ecode9
)) {
17564 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17566 arg9
= static_cast< long >(val9
);
17569 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17570 if (!SWIG_IsOK(res10
)) {
17571 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17574 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17576 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17580 arg11
= wxString_in_helper(obj10
);
17581 if (arg11
== NULL
) SWIG_fail
;
17586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17587 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17588 wxPyEndAllowThreads(__tstate
);
17589 if (PyErr_Occurred()) SWIG_fail
;
17592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17608 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17609 PyObject
*resultobj
= 0;
17610 wxSlider
*arg1
= (wxSlider
*) 0 ;
17614 PyObject
*swig_obj
[1] ;
17616 if (!args
) SWIG_fail
;
17617 swig_obj
[0] = args
;
17618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17619 if (!SWIG_IsOK(res1
)) {
17620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17622 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17625 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17626 wxPyEndAllowThreads(__tstate
);
17627 if (PyErr_Occurred()) SWIG_fail
;
17629 resultobj
= SWIG_From_int(static_cast< int >(result
));
17636 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17637 PyObject
*resultobj
= 0;
17638 wxSlider
*arg1
= (wxSlider
*) 0 ;
17644 PyObject
* obj0
= 0 ;
17645 PyObject
* obj1
= 0 ;
17646 char * kwnames
[] = {
17647 (char *) "self",(char *) "value", NULL
17650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17652 if (!SWIG_IsOK(res1
)) {
17653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17655 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17656 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17657 if (!SWIG_IsOK(ecode2
)) {
17658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17660 arg2
= static_cast< int >(val2
);
17662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17663 (arg1
)->SetValue(arg2
);
17664 wxPyEndAllowThreads(__tstate
);
17665 if (PyErr_Occurred()) SWIG_fail
;
17667 resultobj
= SWIG_Py_Void();
17674 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17675 PyObject
*resultobj
= 0;
17676 wxSlider
*arg1
= (wxSlider
*) 0 ;
17685 PyObject
* obj0
= 0 ;
17686 PyObject
* obj1
= 0 ;
17687 PyObject
* obj2
= 0 ;
17688 char * kwnames
[] = {
17689 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
17692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17694 if (!SWIG_IsOK(res1
)) {
17695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
17697 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17698 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17699 if (!SWIG_IsOK(ecode2
)) {
17700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
17702 arg2
= static_cast< int >(val2
);
17703 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17704 if (!SWIG_IsOK(ecode3
)) {
17705 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
17707 arg3
= static_cast< int >(val3
);
17709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17710 (arg1
)->SetRange(arg2
,arg3
);
17711 wxPyEndAllowThreads(__tstate
);
17712 if (PyErr_Occurred()) SWIG_fail
;
17714 resultobj
= SWIG_Py_Void();
17721 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17722 PyObject
*resultobj
= 0;
17723 wxSlider
*arg1
= (wxSlider
*) 0 ;
17727 PyObject
*swig_obj
[1] ;
17729 if (!args
) SWIG_fail
;
17730 swig_obj
[0] = args
;
17731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17732 if (!SWIG_IsOK(res1
)) {
17733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
17735 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17738 result
= (int)((wxSlider
const *)arg1
)->GetMin();
17739 wxPyEndAllowThreads(__tstate
);
17740 if (PyErr_Occurred()) SWIG_fail
;
17742 resultobj
= SWIG_From_int(static_cast< int >(result
));
17749 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17750 PyObject
*resultobj
= 0;
17751 wxSlider
*arg1
= (wxSlider
*) 0 ;
17755 PyObject
*swig_obj
[1] ;
17757 if (!args
) SWIG_fail
;
17758 swig_obj
[0] = args
;
17759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17760 if (!SWIG_IsOK(res1
)) {
17761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
17763 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17766 result
= (int)((wxSlider
const *)arg1
)->GetMax();
17767 wxPyEndAllowThreads(__tstate
);
17768 if (PyErr_Occurred()) SWIG_fail
;
17770 resultobj
= SWIG_From_int(static_cast< int >(result
));
17777 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17778 PyObject
*resultobj
= 0;
17779 wxSlider
*arg1
= (wxSlider
*) 0 ;
17785 PyObject
* obj0
= 0 ;
17786 PyObject
* obj1
= 0 ;
17787 char * kwnames
[] = {
17788 (char *) "self",(char *) "minValue", NULL
17791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17793 if (!SWIG_IsOK(res1
)) {
17794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
17796 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17797 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17798 if (!SWIG_IsOK(ecode2
)) {
17799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
17801 arg2
= static_cast< int >(val2
);
17803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17804 (arg1
)->SetMin(arg2
);
17805 wxPyEndAllowThreads(__tstate
);
17806 if (PyErr_Occurred()) SWIG_fail
;
17808 resultobj
= SWIG_Py_Void();
17815 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17816 PyObject
*resultobj
= 0;
17817 wxSlider
*arg1
= (wxSlider
*) 0 ;
17823 PyObject
* obj0
= 0 ;
17824 PyObject
* obj1
= 0 ;
17825 char * kwnames
[] = {
17826 (char *) "self",(char *) "maxValue", NULL
17829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17831 if (!SWIG_IsOK(res1
)) {
17832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
17834 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17835 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17836 if (!SWIG_IsOK(ecode2
)) {
17837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
17839 arg2
= static_cast< int >(val2
);
17841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17842 (arg1
)->SetMax(arg2
);
17843 wxPyEndAllowThreads(__tstate
);
17844 if (PyErr_Occurred()) SWIG_fail
;
17846 resultobj
= SWIG_Py_Void();
17853 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17854 PyObject
*resultobj
= 0;
17855 wxSlider
*arg1
= (wxSlider
*) 0 ;
17861 PyObject
* obj0
= 0 ;
17862 PyObject
* obj1
= 0 ;
17863 char * kwnames
[] = {
17864 (char *) "self",(char *) "lineSize", NULL
17867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17869 if (!SWIG_IsOK(res1
)) {
17870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
17872 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17873 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17874 if (!SWIG_IsOK(ecode2
)) {
17875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
17877 arg2
= static_cast< int >(val2
);
17879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17880 (arg1
)->SetLineSize(arg2
);
17881 wxPyEndAllowThreads(__tstate
);
17882 if (PyErr_Occurred()) SWIG_fail
;
17884 resultobj
= SWIG_Py_Void();
17891 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17892 PyObject
*resultobj
= 0;
17893 wxSlider
*arg1
= (wxSlider
*) 0 ;
17899 PyObject
* obj0
= 0 ;
17900 PyObject
* obj1
= 0 ;
17901 char * kwnames
[] = {
17902 (char *) "self",(char *) "pageSize", NULL
17905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17907 if (!SWIG_IsOK(res1
)) {
17908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
17910 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17911 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17912 if (!SWIG_IsOK(ecode2
)) {
17913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
17915 arg2
= static_cast< int >(val2
);
17917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17918 (arg1
)->SetPageSize(arg2
);
17919 wxPyEndAllowThreads(__tstate
);
17920 if (PyErr_Occurred()) SWIG_fail
;
17922 resultobj
= SWIG_Py_Void();
17929 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17930 PyObject
*resultobj
= 0;
17931 wxSlider
*arg1
= (wxSlider
*) 0 ;
17935 PyObject
*swig_obj
[1] ;
17937 if (!args
) SWIG_fail
;
17938 swig_obj
[0] = args
;
17939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17940 if (!SWIG_IsOK(res1
)) {
17941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
17943 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17946 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
17947 wxPyEndAllowThreads(__tstate
);
17948 if (PyErr_Occurred()) SWIG_fail
;
17950 resultobj
= SWIG_From_int(static_cast< int >(result
));
17957 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17958 PyObject
*resultobj
= 0;
17959 wxSlider
*arg1
= (wxSlider
*) 0 ;
17963 PyObject
*swig_obj
[1] ;
17965 if (!args
) SWIG_fail
;
17966 swig_obj
[0] = args
;
17967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17968 if (!SWIG_IsOK(res1
)) {
17969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
17971 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17974 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
17975 wxPyEndAllowThreads(__tstate
);
17976 if (PyErr_Occurred()) SWIG_fail
;
17978 resultobj
= SWIG_From_int(static_cast< int >(result
));
17985 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17986 PyObject
*resultobj
= 0;
17987 wxSlider
*arg1
= (wxSlider
*) 0 ;
17993 PyObject
* obj0
= 0 ;
17994 PyObject
* obj1
= 0 ;
17995 char * kwnames
[] = {
17996 (char *) "self",(char *) "lenPixels", NULL
17999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18001 if (!SWIG_IsOK(res1
)) {
18002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18004 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18005 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18006 if (!SWIG_IsOK(ecode2
)) {
18007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18009 arg2
= static_cast< int >(val2
);
18011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18012 (arg1
)->SetThumbLength(arg2
);
18013 wxPyEndAllowThreads(__tstate
);
18014 if (PyErr_Occurred()) SWIG_fail
;
18016 resultobj
= SWIG_Py_Void();
18023 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18024 PyObject
*resultobj
= 0;
18025 wxSlider
*arg1
= (wxSlider
*) 0 ;
18029 PyObject
*swig_obj
[1] ;
18031 if (!args
) SWIG_fail
;
18032 swig_obj
[0] = args
;
18033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18034 if (!SWIG_IsOK(res1
)) {
18035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18037 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18040 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18041 wxPyEndAllowThreads(__tstate
);
18042 if (PyErr_Occurred()) SWIG_fail
;
18044 resultobj
= SWIG_From_int(static_cast< int >(result
));
18051 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18052 PyObject
*resultobj
= 0;
18053 wxSlider
*arg1
= (wxSlider
*) 0 ;
18055 int arg3
= (int) 1 ;
18062 PyObject
* obj0
= 0 ;
18063 PyObject
* obj1
= 0 ;
18064 PyObject
* obj2
= 0 ;
18065 char * kwnames
[] = {
18066 (char *) "self",(char *) "n",(char *) "pos", NULL
18069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18071 if (!SWIG_IsOK(res1
)) {
18072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18074 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18075 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18076 if (!SWIG_IsOK(ecode2
)) {
18077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18079 arg2
= static_cast< int >(val2
);
18081 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18082 if (!SWIG_IsOK(ecode3
)) {
18083 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18085 arg3
= static_cast< int >(val3
);
18088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18089 (arg1
)->SetTickFreq(arg2
,arg3
);
18090 wxPyEndAllowThreads(__tstate
);
18091 if (PyErr_Occurred()) SWIG_fail
;
18093 resultobj
= SWIG_Py_Void();
18100 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18101 PyObject
*resultobj
= 0;
18102 wxSlider
*arg1
= (wxSlider
*) 0 ;
18106 PyObject
*swig_obj
[1] ;
18108 if (!args
) SWIG_fail
;
18109 swig_obj
[0] = args
;
18110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18111 if (!SWIG_IsOK(res1
)) {
18112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18114 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18117 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18118 wxPyEndAllowThreads(__tstate
);
18119 if (PyErr_Occurred()) SWIG_fail
;
18121 resultobj
= SWIG_From_int(static_cast< int >(result
));
18128 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18129 PyObject
*resultobj
= 0;
18130 wxSlider
*arg1
= (wxSlider
*) 0 ;
18133 PyObject
*swig_obj
[1] ;
18135 if (!args
) SWIG_fail
;
18136 swig_obj
[0] = args
;
18137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18138 if (!SWIG_IsOK(res1
)) {
18139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18141 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18144 (arg1
)->ClearTicks();
18145 wxPyEndAllowThreads(__tstate
);
18146 if (PyErr_Occurred()) SWIG_fail
;
18148 resultobj
= SWIG_Py_Void();
18155 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18156 PyObject
*resultobj
= 0;
18157 wxSlider
*arg1
= (wxSlider
*) 0 ;
18163 PyObject
* obj0
= 0 ;
18164 PyObject
* obj1
= 0 ;
18165 char * kwnames
[] = {
18166 (char *) "self",(char *) "tickPos", NULL
18169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18171 if (!SWIG_IsOK(res1
)) {
18172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18174 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18175 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18176 if (!SWIG_IsOK(ecode2
)) {
18177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18179 arg2
= static_cast< int >(val2
);
18181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18182 (arg1
)->SetTick(arg2
);
18183 wxPyEndAllowThreads(__tstate
);
18184 if (PyErr_Occurred()) SWIG_fail
;
18186 resultobj
= SWIG_Py_Void();
18193 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18194 PyObject
*resultobj
= 0;
18195 wxSlider
*arg1
= (wxSlider
*) 0 ;
18198 PyObject
*swig_obj
[1] ;
18200 if (!args
) SWIG_fail
;
18201 swig_obj
[0] = args
;
18202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18203 if (!SWIG_IsOK(res1
)) {
18204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18206 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18209 (arg1
)->ClearSel();
18210 wxPyEndAllowThreads(__tstate
);
18211 if (PyErr_Occurred()) SWIG_fail
;
18213 resultobj
= SWIG_Py_Void();
18220 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18221 PyObject
*resultobj
= 0;
18222 wxSlider
*arg1
= (wxSlider
*) 0 ;
18226 PyObject
*swig_obj
[1] ;
18228 if (!args
) SWIG_fail
;
18229 swig_obj
[0] = args
;
18230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18231 if (!SWIG_IsOK(res1
)) {
18232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18234 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18237 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18238 wxPyEndAllowThreads(__tstate
);
18239 if (PyErr_Occurred()) SWIG_fail
;
18241 resultobj
= SWIG_From_int(static_cast< int >(result
));
18248 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18249 PyObject
*resultobj
= 0;
18250 wxSlider
*arg1
= (wxSlider
*) 0 ;
18254 PyObject
*swig_obj
[1] ;
18256 if (!args
) SWIG_fail
;
18257 swig_obj
[0] = args
;
18258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18259 if (!SWIG_IsOK(res1
)) {
18260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18262 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18265 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18266 wxPyEndAllowThreads(__tstate
);
18267 if (PyErr_Occurred()) SWIG_fail
;
18269 resultobj
= SWIG_From_int(static_cast< int >(result
));
18276 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18277 PyObject
*resultobj
= 0;
18278 wxSlider
*arg1
= (wxSlider
*) 0 ;
18287 PyObject
* obj0
= 0 ;
18288 PyObject
* obj1
= 0 ;
18289 PyObject
* obj2
= 0 ;
18290 char * kwnames
[] = {
18291 (char *) "self",(char *) "min",(char *) "max", NULL
18294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18296 if (!SWIG_IsOK(res1
)) {
18297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18299 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18301 if (!SWIG_IsOK(ecode2
)) {
18302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18304 arg2
= static_cast< int >(val2
);
18305 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18306 if (!SWIG_IsOK(ecode3
)) {
18307 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18309 arg3
= static_cast< int >(val3
);
18311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18312 (arg1
)->SetSelection(arg2
,arg3
);
18313 wxPyEndAllowThreads(__tstate
);
18314 if (PyErr_Occurred()) SWIG_fail
;
18316 resultobj
= SWIG_Py_Void();
18323 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18324 PyObject
*resultobj
= 0;
18325 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18326 SwigValueWrapper
<wxVisualAttributes
> result
;
18329 PyObject
* obj0
= 0 ;
18330 char * kwnames
[] = {
18331 (char *) "variant", NULL
18334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18336 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18337 if (!SWIG_IsOK(ecode1
)) {
18338 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18340 arg1
= static_cast< wxWindowVariant
>(val1
);
18343 if (!wxPyCheckForApp()) SWIG_fail
;
18344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18345 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18346 wxPyEndAllowThreads(__tstate
);
18347 if (PyErr_Occurred()) SWIG_fail
;
18349 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18356 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18358 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18359 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18360 return SWIG_Py_Void();
18363 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18364 return SWIG_Python_InitShadowInstance(args
);
18367 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18368 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18373 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18374 PyObject
*pyobj
= 0;
18378 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18380 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18387 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18388 PyObject
*resultobj
= 0;
18389 wxWindow
*arg1
= (wxWindow
*) 0 ;
18390 int arg2
= (int) -1 ;
18391 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18392 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18393 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18394 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18395 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18396 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18397 long arg6
= (long) 0 ;
18398 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18399 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18400 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18401 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18402 wxToggleButton
*result
= 0 ;
18407 bool temp3
= false ;
18414 bool temp8
= false ;
18415 PyObject
* obj0
= 0 ;
18416 PyObject
* obj1
= 0 ;
18417 PyObject
* obj2
= 0 ;
18418 PyObject
* obj3
= 0 ;
18419 PyObject
* obj4
= 0 ;
18420 PyObject
* obj5
= 0 ;
18421 PyObject
* obj6
= 0 ;
18422 PyObject
* obj7
= 0 ;
18423 char * kwnames
[] = {
18424 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18429 if (!SWIG_IsOK(res1
)) {
18430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18432 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18435 if (!SWIG_IsOK(ecode2
)) {
18436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18438 arg2
= static_cast< int >(val2
);
18442 arg3
= wxString_in_helper(obj2
);
18443 if (arg3
== NULL
) SWIG_fail
;
18450 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18456 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18460 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18461 if (!SWIG_IsOK(ecode6
)) {
18462 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18464 arg6
= static_cast< long >(val6
);
18467 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18468 if (!SWIG_IsOK(res7
)) {
18469 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18472 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18474 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18478 arg8
= wxString_in_helper(obj7
);
18479 if (arg8
== NULL
) SWIG_fail
;
18484 if (!wxPyCheckForApp()) SWIG_fail
;
18485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18486 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18487 wxPyEndAllowThreads(__tstate
);
18488 if (PyErr_Occurred()) SWIG_fail
;
18490 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18513 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18514 PyObject
*resultobj
= 0;
18515 wxToggleButton
*result
= 0 ;
18517 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18519 if (!wxPyCheckForApp()) SWIG_fail
;
18520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18521 result
= (wxToggleButton
*)new wxToggleButton();
18522 wxPyEndAllowThreads(__tstate
);
18523 if (PyErr_Occurred()) SWIG_fail
;
18525 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18532 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18533 PyObject
*resultobj
= 0;
18534 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18535 wxWindow
*arg2
= (wxWindow
*) 0 ;
18536 int arg3
= (int) -1 ;
18537 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18538 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18539 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18540 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18541 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18542 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18543 long arg7
= (long) 0 ;
18544 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18545 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18546 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18547 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18555 bool temp4
= false ;
18562 bool temp9
= false ;
18563 PyObject
* obj0
= 0 ;
18564 PyObject
* obj1
= 0 ;
18565 PyObject
* obj2
= 0 ;
18566 PyObject
* obj3
= 0 ;
18567 PyObject
* obj4
= 0 ;
18568 PyObject
* obj5
= 0 ;
18569 PyObject
* obj6
= 0 ;
18570 PyObject
* obj7
= 0 ;
18571 PyObject
* obj8
= 0 ;
18572 char * kwnames
[] = {
18573 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18578 if (!SWIG_IsOK(res1
)) {
18579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18581 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18582 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18583 if (!SWIG_IsOK(res2
)) {
18584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18586 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18588 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18589 if (!SWIG_IsOK(ecode3
)) {
18590 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18592 arg3
= static_cast< int >(val3
);
18596 arg4
= wxString_in_helper(obj3
);
18597 if (arg4
== NULL
) SWIG_fail
;
18604 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18610 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18614 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18615 if (!SWIG_IsOK(ecode7
)) {
18616 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18618 arg7
= static_cast< long >(val7
);
18621 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18622 if (!SWIG_IsOK(res8
)) {
18623 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18626 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18628 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18632 arg9
= wxString_in_helper(obj8
);
18633 if (arg9
== NULL
) SWIG_fail
;
18638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18639 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18640 wxPyEndAllowThreads(__tstate
);
18641 if (PyErr_Occurred()) SWIG_fail
;
18644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18668 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18669 PyObject
*resultobj
= 0;
18670 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18676 PyObject
* obj0
= 0 ;
18677 PyObject
* obj1
= 0 ;
18678 char * kwnames
[] = {
18679 (char *) "self",(char *) "value", NULL
18682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18684 if (!SWIG_IsOK(res1
)) {
18685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18687 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18688 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18689 if (!SWIG_IsOK(ecode2
)) {
18690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
18692 arg2
= static_cast< bool >(val2
);
18694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18695 (arg1
)->SetValue(arg2
);
18696 wxPyEndAllowThreads(__tstate
);
18697 if (PyErr_Occurred()) SWIG_fail
;
18699 resultobj
= SWIG_Py_Void();
18706 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18707 PyObject
*resultobj
= 0;
18708 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18712 PyObject
*swig_obj
[1] ;
18714 if (!args
) SWIG_fail
;
18715 swig_obj
[0] = args
;
18716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18717 if (!SWIG_IsOK(res1
)) {
18718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
18720 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18723 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
18724 wxPyEndAllowThreads(__tstate
);
18725 if (PyErr_Occurred()) SWIG_fail
;
18728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18736 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18737 PyObject
*resultobj
= 0;
18738 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18739 SwigValueWrapper
<wxVisualAttributes
> result
;
18742 PyObject
* obj0
= 0 ;
18743 char * kwnames
[] = {
18744 (char *) "variant", NULL
18747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18749 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18750 if (!SWIG_IsOK(ecode1
)) {
18751 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18753 arg1
= static_cast< wxWindowVariant
>(val1
);
18756 if (!wxPyCheckForApp()) SWIG_fail
;
18757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18758 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
18759 wxPyEndAllowThreads(__tstate
);
18760 if (PyErr_Occurred()) SWIG_fail
;
18762 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18769 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18771 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18772 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
18773 return SWIG_Py_Void();
18776 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18777 return SWIG_Python_InitShadowInstance(args
);
18780 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
18781 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
18786 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
18787 PyObject
*pyobj
= 0;
18791 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18793 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18800 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18801 PyObject
*resultobj
= 0;
18802 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18806 PyObject
*swig_obj
[1] ;
18808 if (!args
) SWIG_fail
;
18809 swig_obj
[0] = args
;
18810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18811 if (!SWIG_IsOK(res1
)) {
18812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18814 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18817 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
18818 wxPyEndAllowThreads(__tstate
);
18819 if (PyErr_Occurred()) SWIG_fail
;
18821 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
18828 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18829 PyObject
*resultobj
= 0;
18830 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18832 wxWindow
*result
= 0 ;
18837 PyObject
* obj0
= 0 ;
18838 PyObject
* obj1
= 0 ;
18839 char * kwnames
[] = {
18840 (char *) "self",(char *) "n", NULL
18843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18845 if (!SWIG_IsOK(res1
)) {
18846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18848 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18849 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
18850 if (!SWIG_IsOK(ecode2
)) {
18851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
18853 arg2
= static_cast< size_t >(val2
);
18855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18856 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
18857 wxPyEndAllowThreads(__tstate
);
18858 if (PyErr_Occurred()) SWIG_fail
;
18861 resultobj
= wxPyMake_wxObject(result
, 0);
18869 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18870 PyObject
*resultobj
= 0;
18871 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18872 wxWindow
*result
= 0 ;
18875 PyObject
*swig_obj
[1] ;
18877 if (!args
) SWIG_fail
;
18878 swig_obj
[0] = args
;
18879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18880 if (!SWIG_IsOK(res1
)) {
18881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18883 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18886 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
18887 wxPyEndAllowThreads(__tstate
);
18888 if (PyErr_Occurred()) SWIG_fail
;
18891 resultobj
= wxPyMake_wxObject(result
, 0);
18899 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18900 PyObject
*resultobj
= 0;
18901 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18905 PyObject
*swig_obj
[1] ;
18907 if (!args
) SWIG_fail
;
18908 swig_obj
[0] = args
;
18909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18910 if (!SWIG_IsOK(res1
)) {
18911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18913 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18916 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
18917 wxPyEndAllowThreads(__tstate
);
18918 if (PyErr_Occurred()) SWIG_fail
;
18920 resultobj
= SWIG_From_int(static_cast< int >(result
));
18927 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18928 PyObject
*resultobj
= 0;
18929 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18931 wxString
*arg3
= 0 ;
18937 bool temp3
= false ;
18938 PyObject
* obj0
= 0 ;
18939 PyObject
* obj1
= 0 ;
18940 PyObject
* obj2
= 0 ;
18941 char * kwnames
[] = {
18942 (char *) "self",(char *) "n",(char *) "strText", NULL
18945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18947 if (!SWIG_IsOK(res1
)) {
18948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18950 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18951 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
18952 if (!SWIG_IsOK(ecode2
)) {
18953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
18955 arg2
= static_cast< size_t >(val2
);
18957 arg3
= wxString_in_helper(obj2
);
18958 if (arg3
== NULL
) SWIG_fail
;
18962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18963 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
18964 wxPyEndAllowThreads(__tstate
);
18965 if (PyErr_Occurred()) SWIG_fail
;
18968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18984 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18985 PyObject
*resultobj
= 0;
18986 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18993 PyObject
* obj0
= 0 ;
18994 PyObject
* obj1
= 0 ;
18995 char * kwnames
[] = {
18996 (char *) "self",(char *) "n", NULL
18999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19001 if (!SWIG_IsOK(res1
)) {
19002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19004 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19005 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19006 if (!SWIG_IsOK(ecode2
)) {
19007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19009 arg2
= static_cast< size_t >(val2
);
19011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19012 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19013 wxPyEndAllowThreads(__tstate
);
19014 if (PyErr_Occurred()) SWIG_fail
;
19018 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19020 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19029 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19030 PyObject
*resultobj
= 0;
19031 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19032 wxImageList
*arg2
= (wxImageList
*) 0 ;
19037 PyObject
* obj0
= 0 ;
19038 PyObject
* obj1
= 0 ;
19039 char * kwnames
[] = {
19040 (char *) "self",(char *) "imageList", NULL
19043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19045 if (!SWIG_IsOK(res1
)) {
19046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19048 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19049 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19050 if (!SWIG_IsOK(res2
)) {
19051 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19053 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19056 (arg1
)->SetImageList(arg2
);
19057 wxPyEndAllowThreads(__tstate
);
19058 if (PyErr_Occurred()) SWIG_fail
;
19060 resultobj
= SWIG_Py_Void();
19067 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19068 PyObject
*resultobj
= 0;
19069 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19070 wxImageList
*arg2
= (wxImageList
*) 0 ;
19074 PyObject
* obj0
= 0 ;
19075 PyObject
* obj1
= 0 ;
19076 char * kwnames
[] = {
19077 (char *) "self",(char *) "imageList", NULL
19080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19082 if (!SWIG_IsOK(res1
)) {
19083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19085 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19086 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19087 if (!SWIG_IsOK(res2
)) {
19088 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19092 (arg1
)->AssignImageList(arg2
);
19093 wxPyEndAllowThreads(__tstate
);
19094 if (PyErr_Occurred()) SWIG_fail
;
19096 resultobj
= SWIG_Py_Void();
19103 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19104 PyObject
*resultobj
= 0;
19105 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19106 wxImageList
*result
= 0 ;
19109 PyObject
*swig_obj
[1] ;
19111 if (!args
) SWIG_fail
;
19112 swig_obj
[0] = args
;
19113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19114 if (!SWIG_IsOK(res1
)) {
19115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19117 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19120 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19121 wxPyEndAllowThreads(__tstate
);
19122 if (PyErr_Occurred()) SWIG_fail
;
19125 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19133 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19134 PyObject
*resultobj
= 0;
19135 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19142 PyObject
* obj0
= 0 ;
19143 PyObject
* obj1
= 0 ;
19144 char * kwnames
[] = {
19145 (char *) "self",(char *) "n", NULL
19148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19150 if (!SWIG_IsOK(res1
)) {
19151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19153 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19154 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19155 if (!SWIG_IsOK(ecode2
)) {
19156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19158 arg2
= static_cast< size_t >(val2
);
19160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19161 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19162 wxPyEndAllowThreads(__tstate
);
19163 if (PyErr_Occurred()) SWIG_fail
;
19165 resultobj
= SWIG_From_int(static_cast< int >(result
));
19172 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19173 PyObject
*resultobj
= 0;
19174 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19184 PyObject
* obj0
= 0 ;
19185 PyObject
* obj1
= 0 ;
19186 PyObject
* obj2
= 0 ;
19187 char * kwnames
[] = {
19188 (char *) "self",(char *) "n",(char *) "imageId", NULL
19191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19193 if (!SWIG_IsOK(res1
)) {
19194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19196 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19197 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19198 if (!SWIG_IsOK(ecode2
)) {
19199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19201 arg2
= static_cast< size_t >(val2
);
19202 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19203 if (!SWIG_IsOK(ecode3
)) {
19204 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19206 arg3
= static_cast< int >(val3
);
19208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19209 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19210 wxPyEndAllowThreads(__tstate
);
19211 if (PyErr_Occurred()) SWIG_fail
;
19214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19222 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19223 PyObject
*resultobj
= 0;
19224 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19229 PyObject
* obj0
= 0 ;
19230 PyObject
* obj1
= 0 ;
19231 char * kwnames
[] = {
19232 (char *) "self",(char *) "size", NULL
19235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19237 if (!SWIG_IsOK(res1
)) {
19238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19240 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19243 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19247 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19248 wxPyEndAllowThreads(__tstate
);
19249 if (PyErr_Occurred()) SWIG_fail
;
19251 resultobj
= SWIG_Py_Void();
19258 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19259 PyObject
*resultobj
= 0;
19260 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19266 PyObject
* obj0
= 0 ;
19267 PyObject
* obj1
= 0 ;
19268 char * kwnames
[] = {
19269 (char *) "self",(char *) "sizePage", NULL
19272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19274 if (!SWIG_IsOK(res1
)) {
19275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19277 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19280 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19284 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19285 wxPyEndAllowThreads(__tstate
);
19286 if (PyErr_Occurred()) SWIG_fail
;
19288 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19295 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19296 PyObject
*resultobj
= 0;
19297 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19298 unsigned int result
;
19301 PyObject
*swig_obj
[1] ;
19303 if (!args
) SWIG_fail
;
19304 swig_obj
[0] = args
;
19305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19306 if (!SWIG_IsOK(res1
)) {
19307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19309 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19312 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19313 wxPyEndAllowThreads(__tstate
);
19314 if (PyErr_Occurred()) SWIG_fail
;
19316 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19323 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19324 PyObject
*resultobj
= 0;
19325 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19326 unsigned int arg2
;
19329 unsigned int val2
;
19331 PyObject
* obj0
= 0 ;
19332 PyObject
* obj1
= 0 ;
19333 char * kwnames
[] = {
19334 (char *) "self",(char *) "internalBorder", NULL
19337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19339 if (!SWIG_IsOK(res1
)) {
19340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19342 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19343 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19344 if (!SWIG_IsOK(ecode2
)) {
19345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19347 arg2
= static_cast< unsigned int >(val2
);
19349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19350 (arg1
)->SetInternalBorder(arg2
);
19351 wxPyEndAllowThreads(__tstate
);
19352 if (PyErr_Occurred()) SWIG_fail
;
19354 resultobj
= SWIG_Py_Void();
19361 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19362 PyObject
*resultobj
= 0;
19363 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19367 PyObject
*swig_obj
[1] ;
19369 if (!args
) SWIG_fail
;
19370 swig_obj
[0] = args
;
19371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19372 if (!SWIG_IsOK(res1
)) {
19373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19375 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19378 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19379 wxPyEndAllowThreads(__tstate
);
19380 if (PyErr_Occurred()) SWIG_fail
;
19383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19391 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19392 PyObject
*resultobj
= 0;
19393 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19399 PyObject
* obj0
= 0 ;
19400 PyObject
* obj1
= 0 ;
19401 char * kwnames
[] = {
19402 (char *) "self",(char *) "margin", NULL
19405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19407 if (!SWIG_IsOK(res1
)) {
19408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19410 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19411 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19412 if (!SWIG_IsOK(ecode2
)) {
19413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19415 arg2
= static_cast< int >(val2
);
19417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19418 (arg1
)->SetControlMargin(arg2
);
19419 wxPyEndAllowThreads(__tstate
);
19420 if (PyErr_Occurred()) SWIG_fail
;
19422 resultobj
= SWIG_Py_Void();
19429 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19430 PyObject
*resultobj
= 0;
19431 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19435 PyObject
*swig_obj
[1] ;
19437 if (!args
) SWIG_fail
;
19438 swig_obj
[0] = args
;
19439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19440 if (!SWIG_IsOK(res1
)) {
19441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19443 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19446 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19447 wxPyEndAllowThreads(__tstate
);
19448 if (PyErr_Occurred()) SWIG_fail
;
19450 resultobj
= SWIG_From_int(static_cast< int >(result
));
19457 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19458 PyObject
*resultobj
= 0;
19459 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19465 PyObject
* obj0
= 0 ;
19466 PyObject
* obj1
= 0 ;
19467 char * kwnames
[] = {
19468 (char *) "self",(char *) "fit", NULL
19471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19473 if (!SWIG_IsOK(res1
)) {
19474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19476 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19477 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19478 if (!SWIG_IsOK(ecode2
)) {
19479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19481 arg2
= static_cast< bool >(val2
);
19483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19484 (arg1
)->SetFitToCurrentPage(arg2
);
19485 wxPyEndAllowThreads(__tstate
);
19486 if (PyErr_Occurred()) SWIG_fail
;
19488 resultobj
= SWIG_Py_Void();
19495 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19496 PyObject
*resultobj
= 0;
19497 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19501 PyObject
*swig_obj
[1] ;
19503 if (!args
) SWIG_fail
;
19504 swig_obj
[0] = args
;
19505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19506 if (!SWIG_IsOK(res1
)) {
19507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19509 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19512 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19513 wxPyEndAllowThreads(__tstate
);
19514 if (PyErr_Occurred()) SWIG_fail
;
19517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19525 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19526 PyObject
*resultobj
= 0;
19527 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19528 wxSizer
*result
= 0 ;
19531 PyObject
*swig_obj
[1] ;
19533 if (!args
) SWIG_fail
;
19534 swig_obj
[0] = args
;
19535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19536 if (!SWIG_IsOK(res1
)) {
19537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19539 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19542 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19543 wxPyEndAllowThreads(__tstate
);
19544 if (PyErr_Occurred()) SWIG_fail
;
19547 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19555 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19556 PyObject
*resultobj
= 0;
19557 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19564 PyObject
* obj0
= 0 ;
19565 PyObject
* obj1
= 0 ;
19566 char * kwnames
[] = {
19567 (char *) "self",(char *) "n", NULL
19570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19572 if (!SWIG_IsOK(res1
)) {
19573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19575 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19576 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19577 if (!SWIG_IsOK(ecode2
)) {
19578 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19580 arg2
= static_cast< size_t >(val2
);
19582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19583 result
= (bool)(arg1
)->DeletePage(arg2
);
19584 wxPyEndAllowThreads(__tstate
);
19585 if (PyErr_Occurred()) SWIG_fail
;
19588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19596 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19597 PyObject
*resultobj
= 0;
19598 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19605 PyObject
* obj0
= 0 ;
19606 PyObject
* obj1
= 0 ;
19607 char * kwnames
[] = {
19608 (char *) "self",(char *) "n", NULL
19611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19613 if (!SWIG_IsOK(res1
)) {
19614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19616 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19617 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19618 if (!SWIG_IsOK(ecode2
)) {
19619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19621 arg2
= static_cast< size_t >(val2
);
19623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19624 result
= (bool)(arg1
)->RemovePage(arg2
);
19625 wxPyEndAllowThreads(__tstate
);
19626 if (PyErr_Occurred()) SWIG_fail
;
19629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19637 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19638 PyObject
*resultobj
= 0;
19639 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19643 PyObject
*swig_obj
[1] ;
19645 if (!args
) SWIG_fail
;
19646 swig_obj
[0] = args
;
19647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19648 if (!SWIG_IsOK(res1
)) {
19649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19651 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19654 result
= (bool)(arg1
)->DeleteAllPages();
19655 wxPyEndAllowThreads(__tstate
);
19656 if (PyErr_Occurred()) SWIG_fail
;
19659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19667 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19668 PyObject
*resultobj
= 0;
19669 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19670 wxWindow
*arg2
= (wxWindow
*) 0 ;
19671 wxString
*arg3
= 0 ;
19672 bool arg4
= (bool) false ;
19673 int arg5
= (int) -1 ;
19679 bool temp3
= false ;
19684 PyObject
* obj0
= 0 ;
19685 PyObject
* obj1
= 0 ;
19686 PyObject
* obj2
= 0 ;
19687 PyObject
* obj3
= 0 ;
19688 PyObject
* obj4
= 0 ;
19689 char * kwnames
[] = {
19690 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19695 if (!SWIG_IsOK(res1
)) {
19696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19698 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19699 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19700 if (!SWIG_IsOK(res2
)) {
19701 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
19703 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19705 arg3
= wxString_in_helper(obj2
);
19706 if (arg3
== NULL
) SWIG_fail
;
19710 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19711 if (!SWIG_IsOK(ecode4
)) {
19712 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
19714 arg4
= static_cast< bool >(val4
);
19717 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19718 if (!SWIG_IsOK(ecode5
)) {
19719 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
19721 arg5
= static_cast< int >(val5
);
19724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19725 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19726 wxPyEndAllowThreads(__tstate
);
19727 if (PyErr_Occurred()) SWIG_fail
;
19730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19746 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19747 PyObject
*resultobj
= 0;
19748 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19750 wxWindow
*arg3
= (wxWindow
*) 0 ;
19751 wxString
*arg4
= 0 ;
19752 bool arg5
= (bool) false ;
19753 int arg6
= (int) -1 ;
19761 bool temp4
= false ;
19766 PyObject
* obj0
= 0 ;
19767 PyObject
* obj1
= 0 ;
19768 PyObject
* obj2
= 0 ;
19769 PyObject
* obj3
= 0 ;
19770 PyObject
* obj4
= 0 ;
19771 PyObject
* obj5
= 0 ;
19772 char * kwnames
[] = {
19773 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19778 if (!SWIG_IsOK(res1
)) {
19779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19781 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19782 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19783 if (!SWIG_IsOK(ecode2
)) {
19784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
19786 arg2
= static_cast< size_t >(val2
);
19787 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19788 if (!SWIG_IsOK(res3
)) {
19789 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
19791 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
19793 arg4
= wxString_in_helper(obj3
);
19794 if (arg4
== NULL
) SWIG_fail
;
19798 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19799 if (!SWIG_IsOK(ecode5
)) {
19800 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
19802 arg5
= static_cast< bool >(val5
);
19805 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19806 if (!SWIG_IsOK(ecode6
)) {
19807 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
19809 arg6
= static_cast< int >(val6
);
19812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19813 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
19814 wxPyEndAllowThreads(__tstate
);
19815 if (PyErr_Occurred()) SWIG_fail
;
19818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19834 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19835 PyObject
*resultobj
= 0;
19836 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19843 PyObject
* obj0
= 0 ;
19844 PyObject
* obj1
= 0 ;
19845 char * kwnames
[] = {
19846 (char *) "self",(char *) "n", NULL
19849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19851 if (!SWIG_IsOK(res1
)) {
19852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19854 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19855 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19856 if (!SWIG_IsOK(ecode2
)) {
19857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
19859 arg2
= static_cast< size_t >(val2
);
19861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19862 result
= (int)(arg1
)->SetSelection(arg2
);
19863 wxPyEndAllowThreads(__tstate
);
19864 if (PyErr_Occurred()) SWIG_fail
;
19866 resultobj
= SWIG_From_int(static_cast< int >(result
));
19873 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19874 PyObject
*resultobj
= 0;
19875 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19876 bool arg2
= (bool) true ;
19881 PyObject
* obj0
= 0 ;
19882 PyObject
* obj1
= 0 ;
19883 char * kwnames
[] = {
19884 (char *) "self",(char *) "forward", NULL
19887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19889 if (!SWIG_IsOK(res1
)) {
19890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19892 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19894 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19895 if (!SWIG_IsOK(ecode2
)) {
19896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
19898 arg2
= static_cast< bool >(val2
);
19901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19902 (arg1
)->AdvanceSelection(arg2
);
19903 wxPyEndAllowThreads(__tstate
);
19904 if (PyErr_Occurred()) SWIG_fail
;
19906 resultobj
= SWIG_Py_Void();
19913 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19914 PyObject
*resultobj
= 0;
19915 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19916 wxPoint
*arg2
= 0 ;
19917 long *arg3
= (long *) 0 ;
19923 int res3
= SWIG_TMPOBJ
;
19924 PyObject
* obj0
= 0 ;
19925 PyObject
* obj1
= 0 ;
19926 char * kwnames
[] = {
19927 (char *) "self",(char *) "pt", NULL
19931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19933 if (!SWIG_IsOK(res1
)) {
19934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19936 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19939 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19943 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
19944 wxPyEndAllowThreads(__tstate
);
19945 if (PyErr_Occurred()) SWIG_fail
;
19947 resultobj
= SWIG_From_int(static_cast< int >(result
));
19948 if (SWIG_IsTmpObj(res3
)) {
19949 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
19951 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19952 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
19960 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19961 PyObject
*resultobj
= 0;
19962 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19963 SwigValueWrapper
<wxVisualAttributes
> result
;
19966 PyObject
* obj0
= 0 ;
19967 char * kwnames
[] = {
19968 (char *) "variant", NULL
19971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19973 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19974 if (!SWIG_IsOK(ecode1
)) {
19975 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19977 arg1
= static_cast< wxWindowVariant
>(val1
);
19980 if (!wxPyCheckForApp()) SWIG_fail
;
19981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19982 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
19983 wxPyEndAllowThreads(__tstate
);
19984 if (PyErr_Occurred()) SWIG_fail
;
19986 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19993 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19995 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19996 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
19997 return SWIG_Py_Void();
20000 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20001 PyObject
*resultobj
= 0;
20002 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20003 int arg2
= (int) 0 ;
20004 int arg3
= (int) -1 ;
20005 int arg4
= (int) -1 ;
20006 wxBookCtrlBaseEvent
*result
= 0 ;
20015 PyObject
* obj0
= 0 ;
20016 PyObject
* obj1
= 0 ;
20017 PyObject
* obj2
= 0 ;
20018 PyObject
* obj3
= 0 ;
20019 char * kwnames
[] = {
20020 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20025 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20026 if (!SWIG_IsOK(ecode1
)) {
20027 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20029 arg1
= static_cast< wxEventType
>(val1
);
20032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20033 if (!SWIG_IsOK(ecode2
)) {
20034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20036 arg2
= static_cast< int >(val2
);
20039 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20040 if (!SWIG_IsOK(ecode3
)) {
20041 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20043 arg3
= static_cast< int >(val3
);
20046 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20047 if (!SWIG_IsOK(ecode4
)) {
20048 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20050 arg4
= static_cast< int >(val4
);
20053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20054 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20055 wxPyEndAllowThreads(__tstate
);
20056 if (PyErr_Occurred()) SWIG_fail
;
20058 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20065 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20066 PyObject
*resultobj
= 0;
20067 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20071 PyObject
*swig_obj
[1] ;
20073 if (!args
) SWIG_fail
;
20074 swig_obj
[0] = args
;
20075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20076 if (!SWIG_IsOK(res1
)) {
20077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20079 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20082 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20083 wxPyEndAllowThreads(__tstate
);
20084 if (PyErr_Occurred()) SWIG_fail
;
20086 resultobj
= SWIG_From_int(static_cast< int >(result
));
20093 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20094 PyObject
*resultobj
= 0;
20095 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20101 PyObject
* obj0
= 0 ;
20102 PyObject
* obj1
= 0 ;
20103 char * kwnames
[] = {
20104 (char *) "self",(char *) "nSel", NULL
20107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20109 if (!SWIG_IsOK(res1
)) {
20110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20112 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20113 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20114 if (!SWIG_IsOK(ecode2
)) {
20115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20117 arg2
= static_cast< int >(val2
);
20119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20120 (arg1
)->SetSelection(arg2
);
20121 wxPyEndAllowThreads(__tstate
);
20122 if (PyErr_Occurred()) SWIG_fail
;
20124 resultobj
= SWIG_Py_Void();
20131 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20132 PyObject
*resultobj
= 0;
20133 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20137 PyObject
*swig_obj
[1] ;
20139 if (!args
) SWIG_fail
;
20140 swig_obj
[0] = args
;
20141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20142 if (!SWIG_IsOK(res1
)) {
20143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20145 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20148 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20149 wxPyEndAllowThreads(__tstate
);
20150 if (PyErr_Occurred()) SWIG_fail
;
20152 resultobj
= SWIG_From_int(static_cast< int >(result
));
20159 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20160 PyObject
*resultobj
= 0;
20161 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20167 PyObject
* obj0
= 0 ;
20168 PyObject
* obj1
= 0 ;
20169 char * kwnames
[] = {
20170 (char *) "self",(char *) "nOldSel", NULL
20173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20175 if (!SWIG_IsOK(res1
)) {
20176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20178 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20179 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20180 if (!SWIG_IsOK(ecode2
)) {
20181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20183 arg2
= static_cast< int >(val2
);
20185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20186 (arg1
)->SetOldSelection(arg2
);
20187 wxPyEndAllowThreads(__tstate
);
20188 if (PyErr_Occurred()) SWIG_fail
;
20190 resultobj
= SWIG_Py_Void();
20197 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20199 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20200 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20201 return SWIG_Py_Void();
20204 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20205 return SWIG_Python_InitShadowInstance(args
);
20208 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20209 PyObject
*resultobj
= 0;
20210 wxWindow
*arg1
= (wxWindow
*) 0 ;
20211 int arg2
= (int) -1 ;
20212 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20213 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20214 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20215 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20216 long arg5
= (long) 0 ;
20217 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20218 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20219 wxNotebook
*result
= 0 ;
20228 bool temp6
= false ;
20229 PyObject
* obj0
= 0 ;
20230 PyObject
* obj1
= 0 ;
20231 PyObject
* obj2
= 0 ;
20232 PyObject
* obj3
= 0 ;
20233 PyObject
* obj4
= 0 ;
20234 PyObject
* obj5
= 0 ;
20235 char * kwnames
[] = {
20236 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20241 if (!SWIG_IsOK(res1
)) {
20242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20244 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20246 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20247 if (!SWIG_IsOK(ecode2
)) {
20248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20250 arg2
= static_cast< int >(val2
);
20255 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20261 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20265 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20266 if (!SWIG_IsOK(ecode5
)) {
20267 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20269 arg5
= static_cast< long >(val5
);
20273 arg6
= wxString_in_helper(obj5
);
20274 if (arg6
== NULL
) SWIG_fail
;
20279 if (!wxPyCheckForApp()) SWIG_fail
;
20280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20281 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20282 wxPyEndAllowThreads(__tstate
);
20283 if (PyErr_Occurred()) SWIG_fail
;
20285 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20300 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20301 PyObject
*resultobj
= 0;
20302 wxNotebook
*result
= 0 ;
20304 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20306 if (!wxPyCheckForApp()) SWIG_fail
;
20307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20308 result
= (wxNotebook
*)new wxNotebook();
20309 wxPyEndAllowThreads(__tstate
);
20310 if (PyErr_Occurred()) SWIG_fail
;
20312 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20319 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20320 PyObject
*resultobj
= 0;
20321 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20322 wxWindow
*arg2
= (wxWindow
*) 0 ;
20323 int arg3
= (int) -1 ;
20324 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20325 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20326 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20327 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20328 long arg6
= (long) 0 ;
20329 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20330 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20342 bool temp7
= false ;
20343 PyObject
* obj0
= 0 ;
20344 PyObject
* obj1
= 0 ;
20345 PyObject
* obj2
= 0 ;
20346 PyObject
* obj3
= 0 ;
20347 PyObject
* obj4
= 0 ;
20348 PyObject
* obj5
= 0 ;
20349 PyObject
* obj6
= 0 ;
20350 char * kwnames
[] = {
20351 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20356 if (!SWIG_IsOK(res1
)) {
20357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20359 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20360 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20361 if (!SWIG_IsOK(res2
)) {
20362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20364 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20366 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20367 if (!SWIG_IsOK(ecode3
)) {
20368 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20370 arg3
= static_cast< int >(val3
);
20375 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20381 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20385 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20386 if (!SWIG_IsOK(ecode6
)) {
20387 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20389 arg6
= static_cast< long >(val6
);
20393 arg7
= wxString_in_helper(obj6
);
20394 if (arg7
== NULL
) SWIG_fail
;
20399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20400 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20401 wxPyEndAllowThreads(__tstate
);
20402 if (PyErr_Occurred()) SWIG_fail
;
20405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20421 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20422 PyObject
*resultobj
= 0;
20423 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20427 PyObject
*swig_obj
[1] ;
20429 if (!args
) SWIG_fail
;
20430 swig_obj
[0] = args
;
20431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20432 if (!SWIG_IsOK(res1
)) {
20433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20435 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20438 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20439 wxPyEndAllowThreads(__tstate
);
20440 if (PyErr_Occurred()) SWIG_fail
;
20442 resultobj
= SWIG_From_int(static_cast< int >(result
));
20449 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20450 PyObject
*resultobj
= 0;
20451 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20456 PyObject
* obj0
= 0 ;
20457 PyObject
* obj1
= 0 ;
20458 char * kwnames
[] = {
20459 (char *) "self",(char *) "padding", NULL
20462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20464 if (!SWIG_IsOK(res1
)) {
20465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20467 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20470 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20474 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20475 wxPyEndAllowThreads(__tstate
);
20476 if (PyErr_Occurred()) SWIG_fail
;
20478 resultobj
= SWIG_Py_Void();
20485 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20486 PyObject
*resultobj
= 0;
20487 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20492 PyObject
* obj0
= 0 ;
20493 PyObject
* obj1
= 0 ;
20494 char * kwnames
[] = {
20495 (char *) "self",(char *) "sz", NULL
20498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20500 if (!SWIG_IsOK(res1
)) {
20501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20503 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20506 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20510 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20511 wxPyEndAllowThreads(__tstate
);
20512 if (PyErr_Occurred()) SWIG_fail
;
20514 resultobj
= SWIG_Py_Void();
20521 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20522 PyObject
*resultobj
= 0;
20523 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20527 PyObject
*swig_obj
[1] ;
20529 if (!args
) SWIG_fail
;
20530 swig_obj
[0] = args
;
20531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20532 if (!SWIG_IsOK(res1
)) {
20533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20535 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20538 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20539 wxPyEndAllowThreads(__tstate
);
20540 if (PyErr_Occurred()) SWIG_fail
;
20542 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20549 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20550 PyObject
*resultobj
= 0;
20551 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20552 SwigValueWrapper
<wxVisualAttributes
> result
;
20555 PyObject
* obj0
= 0 ;
20556 char * kwnames
[] = {
20557 (char *) "variant", NULL
20560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20562 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20563 if (!SWIG_IsOK(ecode1
)) {
20564 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20566 arg1
= static_cast< wxWindowVariant
>(val1
);
20569 if (!wxPyCheckForApp()) SWIG_fail
;
20570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20571 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20572 wxPyEndAllowThreads(__tstate
);
20573 if (PyErr_Occurred()) SWIG_fail
;
20575 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20582 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20584 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20585 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
20586 return SWIG_Py_Void();
20589 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20590 return SWIG_Python_InitShadowInstance(args
);
20593 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20594 PyObject
*resultobj
= 0;
20595 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20596 int arg2
= (int) 0 ;
20597 int arg3
= (int) -1 ;
20598 int arg4
= (int) -1 ;
20599 wxNotebookEvent
*result
= 0 ;
20608 PyObject
* obj0
= 0 ;
20609 PyObject
* obj1
= 0 ;
20610 PyObject
* obj2
= 0 ;
20611 PyObject
* obj3
= 0 ;
20612 char * kwnames
[] = {
20613 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20618 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20619 if (!SWIG_IsOK(ecode1
)) {
20620 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20622 arg1
= static_cast< wxEventType
>(val1
);
20625 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20626 if (!SWIG_IsOK(ecode2
)) {
20627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
20629 arg2
= static_cast< int >(val2
);
20632 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20633 if (!SWIG_IsOK(ecode3
)) {
20634 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
20636 arg3
= static_cast< int >(val3
);
20639 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20640 if (!SWIG_IsOK(ecode4
)) {
20641 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
20643 arg4
= static_cast< int >(val4
);
20646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20647 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
20648 wxPyEndAllowThreads(__tstate
);
20649 if (PyErr_Occurred()) SWIG_fail
;
20651 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
20658 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20660 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20661 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
20662 return SWIG_Py_Void();
20665 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20666 return SWIG_Python_InitShadowInstance(args
);
20669 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20670 PyObject
*resultobj
= 0;
20671 wxWindow
*arg1
= (wxWindow
*) 0 ;
20672 int arg2
= (int) -1 ;
20673 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20674 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20675 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20676 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20677 long arg5
= (long) 0 ;
20678 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20679 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20680 wxListbook
*result
= 0 ;
20689 bool temp6
= false ;
20690 PyObject
* obj0
= 0 ;
20691 PyObject
* obj1
= 0 ;
20692 PyObject
* obj2
= 0 ;
20693 PyObject
* obj3
= 0 ;
20694 PyObject
* obj4
= 0 ;
20695 PyObject
* obj5
= 0 ;
20696 char * kwnames
[] = {
20697 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20702 if (!SWIG_IsOK(res1
)) {
20703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
20705 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20707 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20708 if (!SWIG_IsOK(ecode2
)) {
20709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
20711 arg2
= static_cast< int >(val2
);
20716 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20722 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20726 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20727 if (!SWIG_IsOK(ecode5
)) {
20728 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
20730 arg5
= static_cast< long >(val5
);
20734 arg6
= wxString_in_helper(obj5
);
20735 if (arg6
== NULL
) SWIG_fail
;
20740 if (!wxPyCheckForApp()) SWIG_fail
;
20741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20742 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20743 wxPyEndAllowThreads(__tstate
);
20744 if (PyErr_Occurred()) SWIG_fail
;
20746 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
20761 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20762 PyObject
*resultobj
= 0;
20763 wxListbook
*result
= 0 ;
20765 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
20767 if (!wxPyCheckForApp()) SWIG_fail
;
20768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20769 result
= (wxListbook
*)new wxListbook();
20770 wxPyEndAllowThreads(__tstate
);
20771 if (PyErr_Occurred()) SWIG_fail
;
20773 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
20780 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20781 PyObject
*resultobj
= 0;
20782 wxListbook
*arg1
= (wxListbook
*) 0 ;
20783 wxWindow
*arg2
= (wxWindow
*) 0 ;
20784 int arg3
= (int) -1 ;
20785 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20786 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20787 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20788 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20789 long arg6
= (long) 0 ;
20790 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20791 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20803 bool temp7
= false ;
20804 PyObject
* obj0
= 0 ;
20805 PyObject
* obj1
= 0 ;
20806 PyObject
* obj2
= 0 ;
20807 PyObject
* obj3
= 0 ;
20808 PyObject
* obj4
= 0 ;
20809 PyObject
* obj5
= 0 ;
20810 PyObject
* obj6
= 0 ;
20811 char * kwnames
[] = {
20812 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
20817 if (!SWIG_IsOK(res1
)) {
20818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
20820 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
20821 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20822 if (!SWIG_IsOK(res2
)) {
20823 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20825 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20827 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20828 if (!SWIG_IsOK(ecode3
)) {
20829 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
20831 arg3
= static_cast< int >(val3
);
20836 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20842 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20846 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20847 if (!SWIG_IsOK(ecode6
)) {
20848 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
20850 arg6
= static_cast< long >(val6
);
20854 arg7
= wxString_in_helper(obj6
);
20855 if (arg7
== NULL
) SWIG_fail
;
20860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20861 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20862 wxPyEndAllowThreads(__tstate
);
20863 if (PyErr_Occurred()) SWIG_fail
;
20866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20882 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20883 PyObject
*resultobj
= 0;
20884 wxListbook
*arg1
= (wxListbook
*) 0 ;
20885 wxListView
*result
= 0 ;
20888 PyObject
*swig_obj
[1] ;
20890 if (!args
) SWIG_fail
;
20891 swig_obj
[0] = args
;
20892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
20893 if (!SWIG_IsOK(res1
)) {
20894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
20896 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
20898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20899 result
= (wxListView
*)(arg1
)->GetListView();
20900 wxPyEndAllowThreads(__tstate
);
20901 if (PyErr_Occurred()) SWIG_fail
;
20903 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
20910 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20912 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20913 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
20914 return SWIG_Py_Void();
20917 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20918 return SWIG_Python_InitShadowInstance(args
);
20921 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20922 PyObject
*resultobj
= 0;
20923 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20924 int arg2
= (int) 0 ;
20925 int arg3
= (int) -1 ;
20926 int arg4
= (int) -1 ;
20927 wxListbookEvent
*result
= 0 ;
20936 PyObject
* obj0
= 0 ;
20937 PyObject
* obj1
= 0 ;
20938 PyObject
* obj2
= 0 ;
20939 PyObject
* obj3
= 0 ;
20940 char * kwnames
[] = {
20941 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20946 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20947 if (!SWIG_IsOK(ecode1
)) {
20948 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20950 arg1
= static_cast< wxEventType
>(val1
);
20953 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20954 if (!SWIG_IsOK(ecode2
)) {
20955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
20957 arg2
= static_cast< int >(val2
);
20960 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20961 if (!SWIG_IsOK(ecode3
)) {
20962 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
20964 arg3
= static_cast< int >(val3
);
20967 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20968 if (!SWIG_IsOK(ecode4
)) {
20969 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
20971 arg4
= static_cast< int >(val4
);
20974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20975 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
20976 wxPyEndAllowThreads(__tstate
);
20977 if (PyErr_Occurred()) SWIG_fail
;
20979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
20986 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20988 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20989 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
20990 return SWIG_Py_Void();
20993 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20994 return SWIG_Python_InitShadowInstance(args
);
20997 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20998 PyObject
*resultobj
= 0;
20999 wxWindow
*arg1
= (wxWindow
*) 0 ;
21001 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21002 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21003 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21004 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21005 long arg5
= (long) 0 ;
21006 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21007 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21008 wxChoicebook
*result
= 0 ;
21017 bool temp6
= false ;
21018 PyObject
* obj0
= 0 ;
21019 PyObject
* obj1
= 0 ;
21020 PyObject
* obj2
= 0 ;
21021 PyObject
* obj3
= 0 ;
21022 PyObject
* obj4
= 0 ;
21023 PyObject
* obj5
= 0 ;
21024 char * kwnames
[] = {
21025 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21030 if (!SWIG_IsOK(res1
)) {
21031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21033 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21034 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21035 if (!SWIG_IsOK(ecode2
)) {
21036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21038 arg2
= static_cast< int >(val2
);
21042 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21048 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21052 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21053 if (!SWIG_IsOK(ecode5
)) {
21054 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21056 arg5
= static_cast< long >(val5
);
21060 arg6
= wxString_in_helper(obj5
);
21061 if (arg6
== NULL
) SWIG_fail
;
21066 if (!wxPyCheckForApp()) SWIG_fail
;
21067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21068 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21069 wxPyEndAllowThreads(__tstate
);
21070 if (PyErr_Occurred()) SWIG_fail
;
21072 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21087 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21088 PyObject
*resultobj
= 0;
21089 wxChoicebook
*result
= 0 ;
21091 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21093 if (!wxPyCheckForApp()) SWIG_fail
;
21094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21095 result
= (wxChoicebook
*)new wxChoicebook();
21096 wxPyEndAllowThreads(__tstate
);
21097 if (PyErr_Occurred()) SWIG_fail
;
21099 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21106 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21107 PyObject
*resultobj
= 0;
21108 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21109 wxWindow
*arg2
= (wxWindow
*) 0 ;
21111 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21112 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21113 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21114 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21115 long arg6
= (long) 0 ;
21116 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21117 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21129 bool temp7
= false ;
21130 PyObject
* obj0
= 0 ;
21131 PyObject
* obj1
= 0 ;
21132 PyObject
* obj2
= 0 ;
21133 PyObject
* obj3
= 0 ;
21134 PyObject
* obj4
= 0 ;
21135 PyObject
* obj5
= 0 ;
21136 PyObject
* obj6
= 0 ;
21137 char * kwnames
[] = {
21138 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21143 if (!SWIG_IsOK(res1
)) {
21144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21146 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21147 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21148 if (!SWIG_IsOK(res2
)) {
21149 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21151 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21152 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21153 if (!SWIG_IsOK(ecode3
)) {
21154 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21156 arg3
= static_cast< int >(val3
);
21160 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21166 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21170 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21171 if (!SWIG_IsOK(ecode6
)) {
21172 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21174 arg6
= static_cast< long >(val6
);
21178 arg7
= wxString_in_helper(obj6
);
21179 if (arg7
== NULL
) SWIG_fail
;
21184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21185 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21186 wxPyEndAllowThreads(__tstate
);
21187 if (PyErr_Occurred()) SWIG_fail
;
21190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21206 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21207 PyObject
*resultobj
= 0;
21208 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21209 wxChoice
*result
= 0 ;
21212 PyObject
*swig_obj
[1] ;
21214 if (!args
) SWIG_fail
;
21215 swig_obj
[0] = args
;
21216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21217 if (!SWIG_IsOK(res1
)) {
21218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21220 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21223 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21224 wxPyEndAllowThreads(__tstate
);
21225 if (PyErr_Occurred()) SWIG_fail
;
21227 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21234 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21236 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21237 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21238 return SWIG_Py_Void();
21241 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21242 return SWIG_Python_InitShadowInstance(args
);
21245 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21246 PyObject
*resultobj
= 0;
21247 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21248 int arg2
= (int) 0 ;
21249 int arg3
= (int) -1 ;
21250 int arg4
= (int) -1 ;
21251 wxChoicebookEvent
*result
= 0 ;
21260 PyObject
* obj0
= 0 ;
21261 PyObject
* obj1
= 0 ;
21262 PyObject
* obj2
= 0 ;
21263 PyObject
* obj3
= 0 ;
21264 char * kwnames
[] = {
21265 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21270 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21271 if (!SWIG_IsOK(ecode1
)) {
21272 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21274 arg1
= static_cast< wxEventType
>(val1
);
21277 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21278 if (!SWIG_IsOK(ecode2
)) {
21279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21281 arg2
= static_cast< int >(val2
);
21284 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21285 if (!SWIG_IsOK(ecode3
)) {
21286 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21288 arg3
= static_cast< int >(val3
);
21291 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21292 if (!SWIG_IsOK(ecode4
)) {
21293 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21295 arg4
= static_cast< int >(val4
);
21298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21299 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21300 wxPyEndAllowThreads(__tstate
);
21301 if (PyErr_Occurred()) SWIG_fail
;
21303 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21310 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21312 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21313 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21314 return SWIG_Py_Void();
21317 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21318 return SWIG_Python_InitShadowInstance(args
);
21321 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21322 PyObject
*resultobj
= 0;
21323 wxWindow
*arg1
= (wxWindow
*) 0 ;
21325 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21326 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21327 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21328 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21329 long arg5
= (long) wxBK_DEFAULT
;
21330 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21331 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21332 wxTreebook
*result
= 0 ;
21341 bool temp6
= false ;
21342 PyObject
* obj0
= 0 ;
21343 PyObject
* obj1
= 0 ;
21344 PyObject
* obj2
= 0 ;
21345 PyObject
* obj3
= 0 ;
21346 PyObject
* obj4
= 0 ;
21347 PyObject
* obj5
= 0 ;
21348 char * kwnames
[] = {
21349 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21354 if (!SWIG_IsOK(res1
)) {
21355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21357 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21358 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21359 if (!SWIG_IsOK(ecode2
)) {
21360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21362 arg2
= static_cast< int >(val2
);
21366 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21372 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21376 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21377 if (!SWIG_IsOK(ecode5
)) {
21378 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21380 arg5
= static_cast< long >(val5
);
21384 arg6
= wxString_in_helper(obj5
);
21385 if (arg6
== NULL
) SWIG_fail
;
21390 if (!wxPyCheckForApp()) SWIG_fail
;
21391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21392 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21393 wxPyEndAllowThreads(__tstate
);
21394 if (PyErr_Occurred()) SWIG_fail
;
21396 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21411 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21412 PyObject
*resultobj
= 0;
21413 wxTreebook
*result
= 0 ;
21415 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21417 if (!wxPyCheckForApp()) SWIG_fail
;
21418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21419 result
= (wxTreebook
*)new wxTreebook();
21420 wxPyEndAllowThreads(__tstate
);
21421 if (PyErr_Occurred()) SWIG_fail
;
21423 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21430 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21431 PyObject
*resultobj
= 0;
21432 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21433 wxWindow
*arg2
= (wxWindow
*) 0 ;
21435 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21436 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21437 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21438 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21439 long arg6
= (long) wxBK_DEFAULT
;
21440 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21441 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21453 bool temp7
= false ;
21454 PyObject
* obj0
= 0 ;
21455 PyObject
* obj1
= 0 ;
21456 PyObject
* obj2
= 0 ;
21457 PyObject
* obj3
= 0 ;
21458 PyObject
* obj4
= 0 ;
21459 PyObject
* obj5
= 0 ;
21460 PyObject
* obj6
= 0 ;
21461 char * kwnames
[] = {
21462 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21467 if (!SWIG_IsOK(res1
)) {
21468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21470 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21471 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21472 if (!SWIG_IsOK(res2
)) {
21473 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21475 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21476 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21477 if (!SWIG_IsOK(ecode3
)) {
21478 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21480 arg3
= static_cast< int >(val3
);
21484 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21490 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21494 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21495 if (!SWIG_IsOK(ecode6
)) {
21496 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21498 arg6
= static_cast< long >(val6
);
21502 arg7
= wxString_in_helper(obj6
);
21503 if (arg7
== NULL
) SWIG_fail
;
21508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21509 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21510 wxPyEndAllowThreads(__tstate
);
21511 if (PyErr_Occurred()) SWIG_fail
;
21514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21530 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21531 PyObject
*resultobj
= 0;
21532 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21534 wxWindow
*arg3
= (wxWindow
*) 0 ;
21535 wxString
*arg4
= 0 ;
21536 bool arg5
= (bool) false ;
21537 int arg6
= (int) wxNOT_FOUND
;
21545 bool temp4
= false ;
21550 PyObject
* obj0
= 0 ;
21551 PyObject
* obj1
= 0 ;
21552 PyObject
* obj2
= 0 ;
21553 PyObject
* obj3
= 0 ;
21554 PyObject
* obj4
= 0 ;
21555 PyObject
* obj5
= 0 ;
21556 char * kwnames
[] = {
21557 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21562 if (!SWIG_IsOK(res1
)) {
21563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21565 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21566 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21567 if (!SWIG_IsOK(ecode2
)) {
21568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
21570 arg2
= static_cast< size_t >(val2
);
21571 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21572 if (!SWIG_IsOK(res3
)) {
21573 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
21575 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
21577 arg4
= wxString_in_helper(obj3
);
21578 if (arg4
== NULL
) SWIG_fail
;
21582 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
21583 if (!SWIG_IsOK(ecode5
)) {
21584 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
21586 arg5
= static_cast< bool >(val5
);
21589 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21590 if (!SWIG_IsOK(ecode6
)) {
21591 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
21593 arg6
= static_cast< int >(val6
);
21596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21597 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
21598 wxPyEndAllowThreads(__tstate
);
21599 if (PyErr_Occurred()) SWIG_fail
;
21602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21618 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21619 PyObject
*resultobj
= 0;
21620 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21621 wxWindow
*arg2
= (wxWindow
*) 0 ;
21622 wxString
*arg3
= 0 ;
21623 bool arg4
= (bool) false ;
21624 int arg5
= (int) wxNOT_FOUND
;
21630 bool temp3
= false ;
21635 PyObject
* obj0
= 0 ;
21636 PyObject
* obj1
= 0 ;
21637 PyObject
* obj2
= 0 ;
21638 PyObject
* obj3
= 0 ;
21639 PyObject
* obj4
= 0 ;
21640 char * kwnames
[] = {
21641 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21646 if (!SWIG_IsOK(res1
)) {
21647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21649 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21650 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21651 if (!SWIG_IsOK(res2
)) {
21652 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
21654 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21656 arg3
= wxString_in_helper(obj2
);
21657 if (arg3
== NULL
) SWIG_fail
;
21661 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
21662 if (!SWIG_IsOK(ecode4
)) {
21663 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
21665 arg4
= static_cast< bool >(val4
);
21668 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21669 if (!SWIG_IsOK(ecode5
)) {
21670 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
21672 arg5
= static_cast< int >(val5
);
21675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21676 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
21677 wxPyEndAllowThreads(__tstate
);
21678 if (PyErr_Occurred()) SWIG_fail
;
21681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21697 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21698 PyObject
*resultobj
= 0;
21699 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21706 PyObject
* obj0
= 0 ;
21707 PyObject
* obj1
= 0 ;
21708 char * kwnames
[] = {
21709 (char *) "self",(char *) "pos", NULL
21712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21714 if (!SWIG_IsOK(res1
)) {
21715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21717 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21718 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21719 if (!SWIG_IsOK(ecode2
)) {
21720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
21722 arg2
= static_cast< size_t >(val2
);
21724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21725 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
21726 wxPyEndAllowThreads(__tstate
);
21727 if (PyErr_Occurred()) SWIG_fail
;
21730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21738 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21739 PyObject
*resultobj
= 0;
21740 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21742 bool arg3
= (bool) true ;
21750 PyObject
* obj0
= 0 ;
21751 PyObject
* obj1
= 0 ;
21752 PyObject
* obj2
= 0 ;
21753 char * kwnames
[] = {
21754 (char *) "self",(char *) "pos",(char *) "expand", NULL
21757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21759 if (!SWIG_IsOK(res1
)) {
21760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21762 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21763 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21764 if (!SWIG_IsOK(ecode2
)) {
21765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
21767 arg2
= static_cast< size_t >(val2
);
21769 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21770 if (!SWIG_IsOK(ecode3
)) {
21771 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
21773 arg3
= static_cast< bool >(val3
);
21776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21777 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
21778 wxPyEndAllowThreads(__tstate
);
21779 if (PyErr_Occurred()) SWIG_fail
;
21782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21790 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21791 PyObject
*resultobj
= 0;
21792 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21799 PyObject
* obj0
= 0 ;
21800 PyObject
* obj1
= 0 ;
21801 char * kwnames
[] = {
21802 (char *) "self",(char *) "pos", NULL
21805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21807 if (!SWIG_IsOK(res1
)) {
21808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21810 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21811 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21812 if (!SWIG_IsOK(ecode2
)) {
21813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
21815 arg2
= static_cast< size_t >(val2
);
21817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21818 result
= (bool)(arg1
)->CollapseNode(arg2
);
21819 wxPyEndAllowThreads(__tstate
);
21820 if (PyErr_Occurred()) SWIG_fail
;
21823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21831 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21832 PyObject
*resultobj
= 0;
21833 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21840 PyObject
* obj0
= 0 ;
21841 PyObject
* obj1
= 0 ;
21842 char * kwnames
[] = {
21843 (char *) "self",(char *) "pos", NULL
21846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21848 if (!SWIG_IsOK(res1
)) {
21849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21851 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21852 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21853 if (!SWIG_IsOK(ecode2
)) {
21854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
21856 arg2
= static_cast< size_t >(val2
);
21858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21859 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
21860 wxPyEndAllowThreads(__tstate
);
21861 if (PyErr_Occurred()) SWIG_fail
;
21863 resultobj
= SWIG_From_int(static_cast< int >(result
));
21870 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21871 PyObject
*resultobj
= 0;
21872 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21873 wxTreeCtrl
*result
= 0 ;
21876 PyObject
*swig_obj
[1] ;
21878 if (!args
) SWIG_fail
;
21879 swig_obj
[0] = args
;
21880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21881 if (!SWIG_IsOK(res1
)) {
21882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21884 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21887 result
= (wxTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
21888 wxPyEndAllowThreads(__tstate
);
21889 if (PyErr_Occurred()) SWIG_fail
;
21891 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeCtrl
, 0 | 0 );
21898 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21900 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21901 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
21902 return SWIG_Py_Void();
21905 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21906 return SWIG_Python_InitShadowInstance(args
);
21909 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21910 PyObject
*resultobj
= 0;
21911 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21912 int arg2
= (int) 0 ;
21913 int arg3
= (int) wxNOT_FOUND
;
21914 int arg4
= (int) wxNOT_FOUND
;
21915 wxTreebookEvent
*result
= 0 ;
21924 PyObject
* obj0
= 0 ;
21925 PyObject
* obj1
= 0 ;
21926 PyObject
* obj2
= 0 ;
21927 PyObject
* obj3
= 0 ;
21928 char * kwnames
[] = {
21929 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21934 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21935 if (!SWIG_IsOK(ecode1
)) {
21936 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21938 arg1
= static_cast< wxEventType
>(val1
);
21941 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21942 if (!SWIG_IsOK(ecode2
)) {
21943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
21945 arg2
= static_cast< int >(val2
);
21948 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21949 if (!SWIG_IsOK(ecode3
)) {
21950 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
21952 arg3
= static_cast< int >(val3
);
21955 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21956 if (!SWIG_IsOK(ecode4
)) {
21957 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
21959 arg4
= static_cast< int >(val4
);
21962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21963 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
21964 wxPyEndAllowThreads(__tstate
);
21965 if (PyErr_Occurred()) SWIG_fail
;
21967 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
21974 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21976 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21977 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
21978 return SWIG_Py_Void();
21981 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21982 return SWIG_Python_InitShadowInstance(args
);
21985 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21986 PyObject
*resultobj
= 0;
21987 wxWindow
*arg1
= (wxWindow
*) 0 ;
21989 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21990 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21991 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21992 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21993 long arg5
= (long) wxBK_DEFAULT
;
21994 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21995 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21996 wxToolbook
*result
= 0 ;
22005 bool temp6
= false ;
22006 PyObject
* obj0
= 0 ;
22007 PyObject
* obj1
= 0 ;
22008 PyObject
* obj2
= 0 ;
22009 PyObject
* obj3
= 0 ;
22010 PyObject
* obj4
= 0 ;
22011 PyObject
* obj5
= 0 ;
22012 char * kwnames
[] = {
22013 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22018 if (!SWIG_IsOK(res1
)) {
22019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22021 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22023 if (!SWIG_IsOK(ecode2
)) {
22024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22026 arg2
= static_cast< int >(val2
);
22030 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22036 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22040 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22041 if (!SWIG_IsOK(ecode5
)) {
22042 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22044 arg5
= static_cast< long >(val5
);
22048 arg6
= wxString_in_helper(obj5
);
22049 if (arg6
== NULL
) SWIG_fail
;
22054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22055 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22056 wxPyEndAllowThreads(__tstate
);
22057 if (PyErr_Occurred()) SWIG_fail
;
22059 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22074 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22075 PyObject
*resultobj
= 0;
22076 wxToolbook
*result
= 0 ;
22078 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22081 result
= (wxToolbook
*)new wxToolbook();
22082 wxPyEndAllowThreads(__tstate
);
22083 if (PyErr_Occurred()) SWIG_fail
;
22085 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22092 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22093 PyObject
*resultobj
= 0;
22094 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22095 wxWindow
*arg2
= (wxWindow
*) 0 ;
22097 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22098 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22099 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22100 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22101 long arg6
= (long) 0 ;
22102 wxString
const &arg7_defvalue
= wxEmptyString
;
22103 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22115 bool temp7
= false ;
22116 PyObject
* obj0
= 0 ;
22117 PyObject
* obj1
= 0 ;
22118 PyObject
* obj2
= 0 ;
22119 PyObject
* obj3
= 0 ;
22120 PyObject
* obj4
= 0 ;
22121 PyObject
* obj5
= 0 ;
22122 PyObject
* obj6
= 0 ;
22123 char * kwnames
[] = {
22124 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22129 if (!SWIG_IsOK(res1
)) {
22130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22132 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22133 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22134 if (!SWIG_IsOK(res2
)) {
22135 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22137 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22138 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22139 if (!SWIG_IsOK(ecode3
)) {
22140 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22142 arg3
= static_cast< int >(val3
);
22146 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22152 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22156 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22157 if (!SWIG_IsOK(ecode6
)) {
22158 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22160 arg6
= static_cast< long >(val6
);
22164 arg7
= wxString_in_helper(obj6
);
22165 if (arg7
== NULL
) SWIG_fail
;
22170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22171 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22172 wxPyEndAllowThreads(__tstate
);
22173 if (PyErr_Occurred()) SWIG_fail
;
22176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22192 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22193 PyObject
*resultobj
= 0;
22194 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22195 wxToolBarBase
*result
= 0 ;
22198 PyObject
*swig_obj
[1] ;
22200 if (!args
) SWIG_fail
;
22201 swig_obj
[0] = args
;
22202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22203 if (!SWIG_IsOK(res1
)) {
22204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22206 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22209 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22210 wxPyEndAllowThreads(__tstate
);
22211 if (PyErr_Occurred()) SWIG_fail
;
22214 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22222 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22223 PyObject
*resultobj
= 0;
22224 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22227 PyObject
*swig_obj
[1] ;
22229 if (!args
) SWIG_fail
;
22230 swig_obj
[0] = args
;
22231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22232 if (!SWIG_IsOK(res1
)) {
22233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22235 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22239 wxPyEndAllowThreads(__tstate
);
22240 if (PyErr_Occurred()) SWIG_fail
;
22242 resultobj
= SWIG_Py_Void();
22249 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22251 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22252 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22253 return SWIG_Py_Void();
22256 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22257 return SWIG_Python_InitShadowInstance(args
);
22260 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22261 PyObject
*resultobj
= 0;
22262 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22263 int arg2
= (int) 0 ;
22264 int arg3
= (int) wxNOT_FOUND
;
22265 int arg4
= (int) wxNOT_FOUND
;
22266 wxToolbookEvent
*result
= 0 ;
22275 PyObject
* obj0
= 0 ;
22276 PyObject
* obj1
= 0 ;
22277 PyObject
* obj2
= 0 ;
22278 PyObject
* obj3
= 0 ;
22279 char * kwnames
[] = {
22280 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22285 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22286 if (!SWIG_IsOK(ecode1
)) {
22287 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22289 arg1
= static_cast< wxEventType
>(val1
);
22292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22293 if (!SWIG_IsOK(ecode2
)) {
22294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22296 arg2
= static_cast< int >(val2
);
22299 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22300 if (!SWIG_IsOK(ecode3
)) {
22301 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22303 arg3
= static_cast< int >(val3
);
22306 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22307 if (!SWIG_IsOK(ecode4
)) {
22308 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22310 arg4
= static_cast< int >(val4
);
22313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22314 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22315 wxPyEndAllowThreads(__tstate
);
22316 if (PyErr_Occurred()) SWIG_fail
;
22318 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22325 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22327 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22328 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22329 return SWIG_Py_Void();
22332 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22333 return SWIG_Python_InitShadowInstance(args
);
22336 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22337 PyObject
*resultobj
= 0;
22338 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22342 PyObject
*swig_obj
[1] ;
22344 if (!args
) SWIG_fail
;
22345 swig_obj
[0] = args
;
22346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22347 if (!SWIG_IsOK(res1
)) {
22348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22350 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22353 result
= (int)(arg1
)->GetId();
22354 wxPyEndAllowThreads(__tstate
);
22355 if (PyErr_Occurred()) SWIG_fail
;
22357 resultobj
= SWIG_From_int(static_cast< int >(result
));
22364 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22365 PyObject
*resultobj
= 0;
22366 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22367 wxControl
*result
= 0 ;
22370 PyObject
*swig_obj
[1] ;
22372 if (!args
) SWIG_fail
;
22373 swig_obj
[0] = args
;
22374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22375 if (!SWIG_IsOK(res1
)) {
22376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22378 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22381 result
= (wxControl
*)(arg1
)->GetControl();
22382 wxPyEndAllowThreads(__tstate
);
22383 if (PyErr_Occurred()) SWIG_fail
;
22386 resultobj
= wxPyMake_wxObject(result
, 0);
22394 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22395 PyObject
*resultobj
= 0;
22396 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22397 wxToolBarBase
*result
= 0 ;
22400 PyObject
*swig_obj
[1] ;
22402 if (!args
) SWIG_fail
;
22403 swig_obj
[0] = args
;
22404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22405 if (!SWIG_IsOK(res1
)) {
22406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22408 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22411 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22412 wxPyEndAllowThreads(__tstate
);
22413 if (PyErr_Occurred()) SWIG_fail
;
22416 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22424 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22425 PyObject
*resultobj
= 0;
22426 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22430 PyObject
*swig_obj
[1] ;
22432 if (!args
) SWIG_fail
;
22433 swig_obj
[0] = args
;
22434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22435 if (!SWIG_IsOK(res1
)) {
22436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22438 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22441 result
= (int)(arg1
)->IsButton();
22442 wxPyEndAllowThreads(__tstate
);
22443 if (PyErr_Occurred()) SWIG_fail
;
22445 resultobj
= SWIG_From_int(static_cast< int >(result
));
22452 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22453 PyObject
*resultobj
= 0;
22454 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22458 PyObject
*swig_obj
[1] ;
22460 if (!args
) SWIG_fail
;
22461 swig_obj
[0] = args
;
22462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22463 if (!SWIG_IsOK(res1
)) {
22464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22466 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22469 result
= (int)(arg1
)->IsControl();
22470 wxPyEndAllowThreads(__tstate
);
22471 if (PyErr_Occurred()) SWIG_fail
;
22473 resultobj
= SWIG_From_int(static_cast< int >(result
));
22480 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22481 PyObject
*resultobj
= 0;
22482 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22486 PyObject
*swig_obj
[1] ;
22488 if (!args
) SWIG_fail
;
22489 swig_obj
[0] = args
;
22490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22491 if (!SWIG_IsOK(res1
)) {
22492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22494 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22497 result
= (int)(arg1
)->IsSeparator();
22498 wxPyEndAllowThreads(__tstate
);
22499 if (PyErr_Occurred()) SWIG_fail
;
22501 resultobj
= SWIG_From_int(static_cast< int >(result
));
22508 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22509 PyObject
*resultobj
= 0;
22510 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22514 PyObject
*swig_obj
[1] ;
22516 if (!args
) SWIG_fail
;
22517 swig_obj
[0] = args
;
22518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22519 if (!SWIG_IsOK(res1
)) {
22520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22522 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22525 result
= (int)(arg1
)->GetStyle();
22526 wxPyEndAllowThreads(__tstate
);
22527 if (PyErr_Occurred()) SWIG_fail
;
22529 resultobj
= SWIG_From_int(static_cast< int >(result
));
22536 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22537 PyObject
*resultobj
= 0;
22538 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22542 PyObject
*swig_obj
[1] ;
22544 if (!args
) SWIG_fail
;
22545 swig_obj
[0] = args
;
22546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22547 if (!SWIG_IsOK(res1
)) {
22548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22550 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22553 result
= (wxItemKind
)(arg1
)->GetKind();
22554 wxPyEndAllowThreads(__tstate
);
22555 if (PyErr_Occurred()) SWIG_fail
;
22557 resultobj
= SWIG_From_int(static_cast< int >(result
));
22564 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22565 PyObject
*resultobj
= 0;
22566 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22570 PyObject
*swig_obj
[1] ;
22572 if (!args
) SWIG_fail
;
22573 swig_obj
[0] = args
;
22574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22575 if (!SWIG_IsOK(res1
)) {
22576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22578 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22581 result
= (bool)(arg1
)->IsEnabled();
22582 wxPyEndAllowThreads(__tstate
);
22583 if (PyErr_Occurred()) SWIG_fail
;
22586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22594 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22595 PyObject
*resultobj
= 0;
22596 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22600 PyObject
*swig_obj
[1] ;
22602 if (!args
) SWIG_fail
;
22603 swig_obj
[0] = args
;
22604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22605 if (!SWIG_IsOK(res1
)) {
22606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22608 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22611 result
= (bool)(arg1
)->IsToggled();
22612 wxPyEndAllowThreads(__tstate
);
22613 if (PyErr_Occurred()) SWIG_fail
;
22616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22624 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22625 PyObject
*resultobj
= 0;
22626 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22630 PyObject
*swig_obj
[1] ;
22632 if (!args
) SWIG_fail
;
22633 swig_obj
[0] = args
;
22634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22635 if (!SWIG_IsOK(res1
)) {
22636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22638 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22641 result
= (bool)(arg1
)->CanBeToggled();
22642 wxPyEndAllowThreads(__tstate
);
22643 if (PyErr_Occurred()) SWIG_fail
;
22646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22654 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22655 PyObject
*resultobj
= 0;
22656 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22657 wxBitmap
*result
= 0 ;
22660 PyObject
*swig_obj
[1] ;
22662 if (!args
) SWIG_fail
;
22663 swig_obj
[0] = args
;
22664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22665 if (!SWIG_IsOK(res1
)) {
22666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22668 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22672 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
22673 result
= (wxBitmap
*) &_result_ref
;
22675 wxPyEndAllowThreads(__tstate
);
22676 if (PyErr_Occurred()) SWIG_fail
;
22679 wxBitmap
* resultptr
= new wxBitmap(*result
);
22680 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22688 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22689 PyObject
*resultobj
= 0;
22690 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22691 wxBitmap
*result
= 0 ;
22694 PyObject
*swig_obj
[1] ;
22696 if (!args
) SWIG_fail
;
22697 swig_obj
[0] = args
;
22698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22699 if (!SWIG_IsOK(res1
)) {
22700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22702 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22706 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
22707 result
= (wxBitmap
*) &_result_ref
;
22709 wxPyEndAllowThreads(__tstate
);
22710 if (PyErr_Occurred()) SWIG_fail
;
22713 wxBitmap
* resultptr
= new wxBitmap(*result
);
22714 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22722 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22723 PyObject
*resultobj
= 0;
22724 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22728 PyObject
*swig_obj
[1] ;
22730 if (!args
) SWIG_fail
;
22731 swig_obj
[0] = args
;
22732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22733 if (!SWIG_IsOK(res1
)) {
22734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22736 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22739 result
= (arg1
)->GetBitmap();
22740 wxPyEndAllowThreads(__tstate
);
22741 if (PyErr_Occurred()) SWIG_fail
;
22743 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
22750 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22751 PyObject
*resultobj
= 0;
22752 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22756 PyObject
*swig_obj
[1] ;
22758 if (!args
) SWIG_fail
;
22759 swig_obj
[0] = args
;
22760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22761 if (!SWIG_IsOK(res1
)) {
22762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22764 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22767 result
= (arg1
)->GetLabel();
22768 wxPyEndAllowThreads(__tstate
);
22769 if (PyErr_Occurred()) SWIG_fail
;
22773 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22775 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22784 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22785 PyObject
*resultobj
= 0;
22786 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22790 PyObject
*swig_obj
[1] ;
22792 if (!args
) SWIG_fail
;
22793 swig_obj
[0] = args
;
22794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22795 if (!SWIG_IsOK(res1
)) {
22796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22798 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22801 result
= (arg1
)->GetShortHelp();
22802 wxPyEndAllowThreads(__tstate
);
22803 if (PyErr_Occurred()) SWIG_fail
;
22807 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22809 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22818 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22819 PyObject
*resultobj
= 0;
22820 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22824 PyObject
*swig_obj
[1] ;
22826 if (!args
) SWIG_fail
;
22827 swig_obj
[0] = args
;
22828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22829 if (!SWIG_IsOK(res1
)) {
22830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22832 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22835 result
= (arg1
)->GetLongHelp();
22836 wxPyEndAllowThreads(__tstate
);
22837 if (PyErr_Occurred()) SWIG_fail
;
22841 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22843 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22852 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22853 PyObject
*resultobj
= 0;
22854 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22861 PyObject
* obj0
= 0 ;
22862 PyObject
* obj1
= 0 ;
22863 char * kwnames
[] = {
22864 (char *) "self",(char *) "enable", NULL
22867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22869 if (!SWIG_IsOK(res1
)) {
22870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22872 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22873 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22874 if (!SWIG_IsOK(ecode2
)) {
22875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
22877 arg2
= static_cast< bool >(val2
);
22879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22880 result
= (bool)(arg1
)->Enable(arg2
);
22881 wxPyEndAllowThreads(__tstate
);
22882 if (PyErr_Occurred()) SWIG_fail
;
22885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22893 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22894 PyObject
*resultobj
= 0;
22895 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22898 PyObject
*swig_obj
[1] ;
22900 if (!args
) SWIG_fail
;
22901 swig_obj
[0] = args
;
22902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22903 if (!SWIG_IsOK(res1
)) {
22904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22906 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22910 wxPyEndAllowThreads(__tstate
);
22911 if (PyErr_Occurred()) SWIG_fail
;
22913 resultobj
= SWIG_Py_Void();
22920 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22921 PyObject
*resultobj
= 0;
22922 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22929 PyObject
* obj0
= 0 ;
22930 PyObject
* obj1
= 0 ;
22931 char * kwnames
[] = {
22932 (char *) "self",(char *) "toggle", NULL
22935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22937 if (!SWIG_IsOK(res1
)) {
22938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22940 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22941 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22942 if (!SWIG_IsOK(ecode2
)) {
22943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
22945 arg2
= static_cast< bool >(val2
);
22947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22948 result
= (bool)(arg1
)->SetToggle(arg2
);
22949 wxPyEndAllowThreads(__tstate
);
22950 if (PyErr_Occurred()) SWIG_fail
;
22953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22961 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22962 PyObject
*resultobj
= 0;
22963 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22964 wxString
*arg2
= 0 ;
22968 bool temp2
= false ;
22969 PyObject
* obj0
= 0 ;
22970 PyObject
* obj1
= 0 ;
22971 char * kwnames
[] = {
22972 (char *) "self",(char *) "help", NULL
22975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22977 if (!SWIG_IsOK(res1
)) {
22978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22980 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22982 arg2
= wxString_in_helper(obj1
);
22983 if (arg2
== NULL
) SWIG_fail
;
22987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22988 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
22989 wxPyEndAllowThreads(__tstate
);
22990 if (PyErr_Occurred()) SWIG_fail
;
22993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23009 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23010 PyObject
*resultobj
= 0;
23011 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23012 wxString
*arg2
= 0 ;
23016 bool temp2
= false ;
23017 PyObject
* obj0
= 0 ;
23018 PyObject
* obj1
= 0 ;
23019 char * kwnames
[] = {
23020 (char *) "self",(char *) "help", NULL
23023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23025 if (!SWIG_IsOK(res1
)) {
23026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23028 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23030 arg2
= wxString_in_helper(obj1
);
23031 if (arg2
== NULL
) SWIG_fail
;
23035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23036 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23037 wxPyEndAllowThreads(__tstate
);
23038 if (PyErr_Occurred()) SWIG_fail
;
23041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23057 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23058 PyObject
*resultobj
= 0;
23059 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23060 wxBitmap
*arg2
= 0 ;
23065 PyObject
* obj0
= 0 ;
23066 PyObject
* obj1
= 0 ;
23067 char * kwnames
[] = {
23068 (char *) "self",(char *) "bmp", NULL
23071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23073 if (!SWIG_IsOK(res1
)) {
23074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23076 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23077 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23078 if (!SWIG_IsOK(res2
)) {
23079 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23082 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23084 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23087 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23088 wxPyEndAllowThreads(__tstate
);
23089 if (PyErr_Occurred()) SWIG_fail
;
23091 resultobj
= SWIG_Py_Void();
23098 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23099 PyObject
*resultobj
= 0;
23100 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23101 wxBitmap
*arg2
= 0 ;
23106 PyObject
* obj0
= 0 ;
23107 PyObject
* obj1
= 0 ;
23108 char * kwnames
[] = {
23109 (char *) "self",(char *) "bmp", NULL
23112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23114 if (!SWIG_IsOK(res1
)) {
23115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23117 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23118 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23119 if (!SWIG_IsOK(res2
)) {
23120 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23123 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23125 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23128 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23129 wxPyEndAllowThreads(__tstate
);
23130 if (PyErr_Occurred()) SWIG_fail
;
23132 resultobj
= SWIG_Py_Void();
23139 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23140 PyObject
*resultobj
= 0;
23141 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23142 wxString
*arg2
= 0 ;
23145 bool temp2
= false ;
23146 PyObject
* obj0
= 0 ;
23147 PyObject
* obj1
= 0 ;
23148 char * kwnames
[] = {
23149 (char *) "self",(char *) "label", NULL
23152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23154 if (!SWIG_IsOK(res1
)) {
23155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23157 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23159 arg2
= wxString_in_helper(obj1
);
23160 if (arg2
== NULL
) SWIG_fail
;
23164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23165 (arg1
)->SetLabel((wxString
const &)*arg2
);
23166 wxPyEndAllowThreads(__tstate
);
23167 if (PyErr_Occurred()) SWIG_fail
;
23169 resultobj
= SWIG_Py_Void();
23184 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23185 PyObject
*resultobj
= 0;
23186 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23189 PyObject
*swig_obj
[1] ;
23191 if (!args
) SWIG_fail
;
23192 swig_obj
[0] = args
;
23193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23194 if (!SWIG_IsOK(res1
)) {
23195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23197 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23201 wxPyEndAllowThreads(__tstate
);
23202 if (PyErr_Occurred()) SWIG_fail
;
23204 resultobj
= SWIG_Py_Void();
23211 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23212 PyObject
*resultobj
= 0;
23213 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23214 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23219 PyObject
* obj0
= 0 ;
23220 PyObject
* obj1
= 0 ;
23221 char * kwnames
[] = {
23222 (char *) "self",(char *) "tbar", NULL
23225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23227 if (!SWIG_IsOK(res1
)) {
23228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23230 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23231 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23232 if (!SWIG_IsOK(res2
)) {
23233 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23235 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23238 (arg1
)->Attach(arg2
);
23239 wxPyEndAllowThreads(__tstate
);
23240 if (PyErr_Occurred()) SWIG_fail
;
23242 resultobj
= SWIG_Py_Void();
23249 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23250 PyObject
*resultobj
= 0;
23251 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23252 PyObject
*result
= 0 ;
23255 PyObject
*swig_obj
[1] ;
23257 if (!args
) SWIG_fail
;
23258 swig_obj
[0] = args
;
23259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23260 if (!SWIG_IsOK(res1
)) {
23261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23263 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23266 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23267 wxPyEndAllowThreads(__tstate
);
23268 if (PyErr_Occurred()) SWIG_fail
;
23270 resultobj
= result
;
23277 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23278 PyObject
*resultobj
= 0;
23279 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23280 PyObject
*arg2
= (PyObject
*) 0 ;
23283 PyObject
* obj0
= 0 ;
23284 PyObject
* obj1
= 0 ;
23285 char * kwnames
[] = {
23286 (char *) "self",(char *) "clientData", NULL
23289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23291 if (!SWIG_IsOK(res1
)) {
23292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23294 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23298 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23299 wxPyEndAllowThreads(__tstate
);
23300 if (PyErr_Occurred()) SWIG_fail
;
23302 resultobj
= SWIG_Py_Void();
23309 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23311 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23312 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23313 return SWIG_Py_Void();
23316 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23317 PyObject
*resultobj
= 0;
23318 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23320 wxString
*arg3
= 0 ;
23321 wxBitmap
*arg4
= 0 ;
23322 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23323 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23324 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23325 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23326 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23327 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23328 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23329 PyObject
*arg9
= (PyObject
*) NULL
;
23330 wxToolBarToolBase
*result
= 0 ;
23335 bool temp3
= false ;
23342 bool temp7
= false ;
23343 bool temp8
= false ;
23344 PyObject
* obj0
= 0 ;
23345 PyObject
* obj1
= 0 ;
23346 PyObject
* obj2
= 0 ;
23347 PyObject
* obj3
= 0 ;
23348 PyObject
* obj4
= 0 ;
23349 PyObject
* obj5
= 0 ;
23350 PyObject
* obj6
= 0 ;
23351 PyObject
* obj7
= 0 ;
23352 PyObject
* obj8
= 0 ;
23353 char * kwnames
[] = {
23354 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23359 if (!SWIG_IsOK(res1
)) {
23360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23362 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23363 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23364 if (!SWIG_IsOK(ecode2
)) {
23365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23367 arg2
= static_cast< int >(val2
);
23369 arg3
= wxString_in_helper(obj2
);
23370 if (arg3
== NULL
) SWIG_fail
;
23373 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23374 if (!SWIG_IsOK(res4
)) {
23375 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23378 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23380 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23382 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23383 if (!SWIG_IsOK(res5
)) {
23384 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23387 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23389 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23392 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23393 if (!SWIG_IsOK(ecode6
)) {
23394 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23396 arg6
= static_cast< wxItemKind
>(val6
);
23400 arg7
= wxString_in_helper(obj6
);
23401 if (arg7
== NULL
) SWIG_fail
;
23407 arg8
= wxString_in_helper(obj7
);
23408 if (arg8
== NULL
) SWIG_fail
;
23416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23417 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23418 wxPyEndAllowThreads(__tstate
);
23419 if (PyErr_Occurred()) SWIG_fail
;
23422 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23454 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23455 PyObject
*resultobj
= 0;
23456 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23459 wxString
*arg4
= 0 ;
23460 wxBitmap
*arg5
= 0 ;
23461 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23462 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23463 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23464 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23465 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23466 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23467 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23468 PyObject
*arg10
= (PyObject
*) NULL
;
23469 wxToolBarToolBase
*result
= 0 ;
23476 bool temp4
= false ;
23483 bool temp8
= false ;
23484 bool temp9
= false ;
23485 PyObject
* obj0
= 0 ;
23486 PyObject
* obj1
= 0 ;
23487 PyObject
* obj2
= 0 ;
23488 PyObject
* obj3
= 0 ;
23489 PyObject
* obj4
= 0 ;
23490 PyObject
* obj5
= 0 ;
23491 PyObject
* obj6
= 0 ;
23492 PyObject
* obj7
= 0 ;
23493 PyObject
* obj8
= 0 ;
23494 PyObject
* obj9
= 0 ;
23495 char * kwnames
[] = {
23496 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23501 if (!SWIG_IsOK(res1
)) {
23502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23504 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23505 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23506 if (!SWIG_IsOK(ecode2
)) {
23507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23509 arg2
= static_cast< size_t >(val2
);
23510 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23511 if (!SWIG_IsOK(ecode3
)) {
23512 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23514 arg3
= static_cast< int >(val3
);
23516 arg4
= wxString_in_helper(obj3
);
23517 if (arg4
== NULL
) SWIG_fail
;
23520 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23521 if (!SWIG_IsOK(res5
)) {
23522 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23525 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23527 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23529 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23530 if (!SWIG_IsOK(res6
)) {
23531 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23534 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23536 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
23539 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23540 if (!SWIG_IsOK(ecode7
)) {
23541 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23543 arg7
= static_cast< wxItemKind
>(val7
);
23547 arg8
= wxString_in_helper(obj7
);
23548 if (arg8
== NULL
) SWIG_fail
;
23554 arg9
= wxString_in_helper(obj8
);
23555 if (arg9
== NULL
) SWIG_fail
;
23563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23564 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
23565 wxPyEndAllowThreads(__tstate
);
23566 if (PyErr_Occurred()) SWIG_fail
;
23569 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23601 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23602 PyObject
*resultobj
= 0;
23603 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23604 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
23605 wxToolBarToolBase
*result
= 0 ;
23610 PyObject
* obj0
= 0 ;
23611 PyObject
* obj1
= 0 ;
23612 char * kwnames
[] = {
23613 (char *) "self",(char *) "tool", NULL
23616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23618 if (!SWIG_IsOK(res1
)) {
23619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23621 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23622 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23623 if (!SWIG_IsOK(res2
)) {
23624 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
23626 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
23628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23629 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
23630 wxPyEndAllowThreads(__tstate
);
23631 if (PyErr_Occurred()) SWIG_fail
;
23634 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23642 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23643 PyObject
*resultobj
= 0;
23644 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23646 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
23647 wxToolBarToolBase
*result
= 0 ;
23654 PyObject
* obj0
= 0 ;
23655 PyObject
* obj1
= 0 ;
23656 PyObject
* obj2
= 0 ;
23657 char * kwnames
[] = {
23658 (char *) "self",(char *) "pos",(char *) "tool", NULL
23661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23663 if (!SWIG_IsOK(res1
)) {
23664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23666 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23667 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23668 if (!SWIG_IsOK(ecode2
)) {
23669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
23671 arg2
= static_cast< size_t >(val2
);
23672 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23673 if (!SWIG_IsOK(res3
)) {
23674 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
23676 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
23678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23679 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
23680 wxPyEndAllowThreads(__tstate
);
23681 if (PyErr_Occurred()) SWIG_fail
;
23684 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23692 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23693 PyObject
*resultobj
= 0;
23694 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23695 wxControl
*arg2
= (wxControl
*) 0 ;
23696 wxToolBarToolBase
*result
= 0 ;
23701 PyObject
* obj0
= 0 ;
23702 PyObject
* obj1
= 0 ;
23703 char * kwnames
[] = {
23704 (char *) "self",(char *) "control", NULL
23707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23709 if (!SWIG_IsOK(res1
)) {
23710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23712 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23713 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
23714 if (!SWIG_IsOK(res2
)) {
23715 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
23717 arg2
= reinterpret_cast< wxControl
* >(argp2
);
23719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23720 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
23721 wxPyEndAllowThreads(__tstate
);
23722 if (PyErr_Occurred()) SWIG_fail
;
23725 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23733 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23734 PyObject
*resultobj
= 0;
23735 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23737 wxControl
*arg3
= (wxControl
*) 0 ;
23738 wxToolBarToolBase
*result
= 0 ;
23745 PyObject
* obj0
= 0 ;
23746 PyObject
* obj1
= 0 ;
23747 PyObject
* obj2
= 0 ;
23748 char * kwnames
[] = {
23749 (char *) "self",(char *) "pos",(char *) "control", NULL
23752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23754 if (!SWIG_IsOK(res1
)) {
23755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23757 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23758 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23759 if (!SWIG_IsOK(ecode2
)) {
23760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
23762 arg2
= static_cast< size_t >(val2
);
23763 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
23764 if (!SWIG_IsOK(res3
)) {
23765 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
23767 arg3
= reinterpret_cast< wxControl
* >(argp3
);
23769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23770 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
23771 wxPyEndAllowThreads(__tstate
);
23772 if (PyErr_Occurred()) SWIG_fail
;
23775 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23783 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23784 PyObject
*resultobj
= 0;
23785 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23787 wxControl
*result
= 0 ;
23792 PyObject
* obj0
= 0 ;
23793 PyObject
* obj1
= 0 ;
23794 char * kwnames
[] = {
23795 (char *) "self",(char *) "id", NULL
23798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23800 if (!SWIG_IsOK(res1
)) {
23801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23803 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23804 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23805 if (!SWIG_IsOK(ecode2
)) {
23806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
23808 arg2
= static_cast< int >(val2
);
23810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23811 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
23812 wxPyEndAllowThreads(__tstate
);
23813 if (PyErr_Occurred()) SWIG_fail
;
23816 resultobj
= wxPyMake_wxObject(result
, 0);
23824 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23825 PyObject
*resultobj
= 0;
23826 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23827 wxToolBarToolBase
*result
= 0 ;
23830 PyObject
*swig_obj
[1] ;
23832 if (!args
) SWIG_fail
;
23833 swig_obj
[0] = args
;
23834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23835 if (!SWIG_IsOK(res1
)) {
23836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23838 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23841 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
23842 wxPyEndAllowThreads(__tstate
);
23843 if (PyErr_Occurred()) SWIG_fail
;
23846 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23854 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23855 PyObject
*resultobj
= 0;
23856 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23858 wxToolBarToolBase
*result
= 0 ;
23863 PyObject
* obj0
= 0 ;
23864 PyObject
* obj1
= 0 ;
23865 char * kwnames
[] = {
23866 (char *) "self",(char *) "pos", NULL
23869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23871 if (!SWIG_IsOK(res1
)) {
23872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23874 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23875 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23876 if (!SWIG_IsOK(ecode2
)) {
23877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
23879 arg2
= static_cast< size_t >(val2
);
23881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23882 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
23883 wxPyEndAllowThreads(__tstate
);
23884 if (PyErr_Occurred()) SWIG_fail
;
23887 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23895 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23896 PyObject
*resultobj
= 0;
23897 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23899 wxToolBarToolBase
*result
= 0 ;
23904 PyObject
* obj0
= 0 ;
23905 PyObject
* obj1
= 0 ;
23906 char * kwnames
[] = {
23907 (char *) "self",(char *) "id", NULL
23910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23912 if (!SWIG_IsOK(res1
)) {
23913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23915 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23916 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23917 if (!SWIG_IsOK(ecode2
)) {
23918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
23920 arg2
= static_cast< int >(val2
);
23922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23923 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
23924 wxPyEndAllowThreads(__tstate
);
23925 if (PyErr_Occurred()) SWIG_fail
;
23928 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23936 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23937 PyObject
*resultobj
= 0;
23938 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23945 PyObject
* obj0
= 0 ;
23946 PyObject
* obj1
= 0 ;
23947 char * kwnames
[] = {
23948 (char *) "self",(char *) "pos", NULL
23951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23953 if (!SWIG_IsOK(res1
)) {
23954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23956 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23957 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23958 if (!SWIG_IsOK(ecode2
)) {
23959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
23961 arg2
= static_cast< size_t >(val2
);
23963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23964 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
23965 wxPyEndAllowThreads(__tstate
);
23966 if (PyErr_Occurred()) SWIG_fail
;
23969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23977 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23978 PyObject
*resultobj
= 0;
23979 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23986 PyObject
* obj0
= 0 ;
23987 PyObject
* obj1
= 0 ;
23988 char * kwnames
[] = {
23989 (char *) "self",(char *) "id", NULL
23992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23994 if (!SWIG_IsOK(res1
)) {
23995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23997 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23998 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23999 if (!SWIG_IsOK(ecode2
)) {
24000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24002 arg2
= static_cast< int >(val2
);
24004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24005 result
= (bool)(arg1
)->DeleteTool(arg2
);
24006 wxPyEndAllowThreads(__tstate
);
24007 if (PyErr_Occurred()) SWIG_fail
;
24010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24018 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24019 PyObject
*resultobj
= 0;
24020 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24023 PyObject
*swig_obj
[1] ;
24025 if (!args
) SWIG_fail
;
24026 swig_obj
[0] = args
;
24027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24028 if (!SWIG_IsOK(res1
)) {
24029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24031 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24034 (arg1
)->ClearTools();
24035 wxPyEndAllowThreads(__tstate
);
24036 if (PyErr_Occurred()) SWIG_fail
;
24038 resultobj
= SWIG_Py_Void();
24045 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24046 PyObject
*resultobj
= 0;
24047 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24051 PyObject
*swig_obj
[1] ;
24053 if (!args
) SWIG_fail
;
24054 swig_obj
[0] = args
;
24055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24056 if (!SWIG_IsOK(res1
)) {
24057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24059 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24062 result
= (bool)(arg1
)->Realize();
24063 wxPyEndAllowThreads(__tstate
);
24064 if (PyErr_Occurred()) SWIG_fail
;
24067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24075 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24076 PyObject
*resultobj
= 0;
24077 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24086 PyObject
* obj0
= 0 ;
24087 PyObject
* obj1
= 0 ;
24088 PyObject
* obj2
= 0 ;
24089 char * kwnames
[] = {
24090 (char *) "self",(char *) "id",(char *) "enable", NULL
24093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24095 if (!SWIG_IsOK(res1
)) {
24096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24098 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24099 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24100 if (!SWIG_IsOK(ecode2
)) {
24101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24103 arg2
= static_cast< int >(val2
);
24104 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24105 if (!SWIG_IsOK(ecode3
)) {
24106 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24108 arg3
= static_cast< bool >(val3
);
24110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24111 (arg1
)->EnableTool(arg2
,arg3
);
24112 wxPyEndAllowThreads(__tstate
);
24113 if (PyErr_Occurred()) SWIG_fail
;
24115 resultobj
= SWIG_Py_Void();
24122 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24123 PyObject
*resultobj
= 0;
24124 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24133 PyObject
* obj0
= 0 ;
24134 PyObject
* obj1
= 0 ;
24135 PyObject
* obj2
= 0 ;
24136 char * kwnames
[] = {
24137 (char *) "self",(char *) "id",(char *) "toggle", NULL
24140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24142 if (!SWIG_IsOK(res1
)) {
24143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24145 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24146 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24147 if (!SWIG_IsOK(ecode2
)) {
24148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24150 arg2
= static_cast< int >(val2
);
24151 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24152 if (!SWIG_IsOK(ecode3
)) {
24153 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24155 arg3
= static_cast< bool >(val3
);
24157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24158 (arg1
)->ToggleTool(arg2
,arg3
);
24159 wxPyEndAllowThreads(__tstate
);
24160 if (PyErr_Occurred()) SWIG_fail
;
24162 resultobj
= SWIG_Py_Void();
24169 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24170 PyObject
*resultobj
= 0;
24171 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24180 PyObject
* obj0
= 0 ;
24181 PyObject
* obj1
= 0 ;
24182 PyObject
* obj2
= 0 ;
24183 char * kwnames
[] = {
24184 (char *) "self",(char *) "id",(char *) "toggle", NULL
24187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24189 if (!SWIG_IsOK(res1
)) {
24190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24192 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24193 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24194 if (!SWIG_IsOK(ecode2
)) {
24195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24197 arg2
= static_cast< int >(val2
);
24198 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24199 if (!SWIG_IsOK(ecode3
)) {
24200 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24202 arg3
= static_cast< bool >(val3
);
24204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24205 (arg1
)->SetToggle(arg2
,arg3
);
24206 wxPyEndAllowThreads(__tstate
);
24207 if (PyErr_Occurred()) SWIG_fail
;
24209 resultobj
= SWIG_Py_Void();
24216 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24217 PyObject
*resultobj
= 0;
24218 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24220 PyObject
*result
= 0 ;
24225 PyObject
* obj0
= 0 ;
24226 PyObject
* obj1
= 0 ;
24227 char * kwnames
[] = {
24228 (char *) "self",(char *) "id", NULL
24231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24233 if (!SWIG_IsOK(res1
)) {
24234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24236 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24237 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24238 if (!SWIG_IsOK(ecode2
)) {
24239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24241 arg2
= static_cast< int >(val2
);
24243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24244 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24245 wxPyEndAllowThreads(__tstate
);
24246 if (PyErr_Occurred()) SWIG_fail
;
24248 resultobj
= result
;
24255 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24256 PyObject
*resultobj
= 0;
24257 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24259 PyObject
*arg3
= (PyObject
*) 0 ;
24264 PyObject
* obj0
= 0 ;
24265 PyObject
* obj1
= 0 ;
24266 PyObject
* obj2
= 0 ;
24267 char * kwnames
[] = {
24268 (char *) "self",(char *) "id",(char *) "clientData", NULL
24271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24273 if (!SWIG_IsOK(res1
)) {
24274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24276 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24277 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24278 if (!SWIG_IsOK(ecode2
)) {
24279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24281 arg2
= static_cast< int >(val2
);
24284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24285 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24286 wxPyEndAllowThreads(__tstate
);
24287 if (PyErr_Occurred()) SWIG_fail
;
24289 resultobj
= SWIG_Py_Void();
24296 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24297 PyObject
*resultobj
= 0;
24298 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24305 PyObject
* obj0
= 0 ;
24306 PyObject
* obj1
= 0 ;
24307 char * kwnames
[] = {
24308 (char *) "self",(char *) "id", NULL
24311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24313 if (!SWIG_IsOK(res1
)) {
24314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24316 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24317 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24318 if (!SWIG_IsOK(ecode2
)) {
24319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24321 arg2
= static_cast< int >(val2
);
24323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24324 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24325 wxPyEndAllowThreads(__tstate
);
24326 if (PyErr_Occurred()) SWIG_fail
;
24328 resultobj
= SWIG_From_int(static_cast< int >(result
));
24335 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24336 PyObject
*resultobj
= 0;
24337 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24344 PyObject
* obj0
= 0 ;
24345 PyObject
* obj1
= 0 ;
24346 char * kwnames
[] = {
24347 (char *) "self",(char *) "id", NULL
24350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24352 if (!SWIG_IsOK(res1
)) {
24353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24355 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24357 if (!SWIG_IsOK(ecode2
)) {
24358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24360 arg2
= static_cast< int >(val2
);
24362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24363 result
= (bool)(arg1
)->GetToolState(arg2
);
24364 wxPyEndAllowThreads(__tstate
);
24365 if (PyErr_Occurred()) SWIG_fail
;
24368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24376 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24377 PyObject
*resultobj
= 0;
24378 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24385 PyObject
* obj0
= 0 ;
24386 PyObject
* obj1
= 0 ;
24387 char * kwnames
[] = {
24388 (char *) "self",(char *) "id", NULL
24391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24393 if (!SWIG_IsOK(res1
)) {
24394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24396 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24398 if (!SWIG_IsOK(ecode2
)) {
24399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24401 arg2
= static_cast< int >(val2
);
24403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24404 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24405 wxPyEndAllowThreads(__tstate
);
24406 if (PyErr_Occurred()) SWIG_fail
;
24409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24417 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24418 PyObject
*resultobj
= 0;
24419 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24421 wxString
*arg3
= 0 ;
24426 bool temp3
= false ;
24427 PyObject
* obj0
= 0 ;
24428 PyObject
* obj1
= 0 ;
24429 PyObject
* obj2
= 0 ;
24430 char * kwnames
[] = {
24431 (char *) "self",(char *) "id",(char *) "helpString", NULL
24434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24436 if (!SWIG_IsOK(res1
)) {
24437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24439 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24441 if (!SWIG_IsOK(ecode2
)) {
24442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24444 arg2
= static_cast< int >(val2
);
24446 arg3
= wxString_in_helper(obj2
);
24447 if (arg3
== NULL
) SWIG_fail
;
24451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24452 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24453 wxPyEndAllowThreads(__tstate
);
24454 if (PyErr_Occurred()) SWIG_fail
;
24456 resultobj
= SWIG_Py_Void();
24471 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24472 PyObject
*resultobj
= 0;
24473 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24480 PyObject
* obj0
= 0 ;
24481 PyObject
* obj1
= 0 ;
24482 char * kwnames
[] = {
24483 (char *) "self",(char *) "id", NULL
24486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24488 if (!SWIG_IsOK(res1
)) {
24489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24491 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24492 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24493 if (!SWIG_IsOK(ecode2
)) {
24494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24496 arg2
= static_cast< int >(val2
);
24498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24499 result
= (arg1
)->GetToolShortHelp(arg2
);
24500 wxPyEndAllowThreads(__tstate
);
24501 if (PyErr_Occurred()) SWIG_fail
;
24505 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24507 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24516 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24517 PyObject
*resultobj
= 0;
24518 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24520 wxString
*arg3
= 0 ;
24525 bool temp3
= false ;
24526 PyObject
* obj0
= 0 ;
24527 PyObject
* obj1
= 0 ;
24528 PyObject
* obj2
= 0 ;
24529 char * kwnames
[] = {
24530 (char *) "self",(char *) "id",(char *) "helpString", NULL
24533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24535 if (!SWIG_IsOK(res1
)) {
24536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24538 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24539 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24540 if (!SWIG_IsOK(ecode2
)) {
24541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24543 arg2
= static_cast< int >(val2
);
24545 arg3
= wxString_in_helper(obj2
);
24546 if (arg3
== NULL
) SWIG_fail
;
24550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24551 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
24552 wxPyEndAllowThreads(__tstate
);
24553 if (PyErr_Occurred()) SWIG_fail
;
24555 resultobj
= SWIG_Py_Void();
24570 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24571 PyObject
*resultobj
= 0;
24572 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24579 PyObject
* obj0
= 0 ;
24580 PyObject
* obj1
= 0 ;
24581 char * kwnames
[] = {
24582 (char *) "self",(char *) "id", NULL
24585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24587 if (!SWIG_IsOK(res1
)) {
24588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24590 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24591 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24592 if (!SWIG_IsOK(ecode2
)) {
24593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24595 arg2
= static_cast< int >(val2
);
24597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24598 result
= (arg1
)->GetToolLongHelp(arg2
);
24599 wxPyEndAllowThreads(__tstate
);
24600 if (PyErr_Occurred()) SWIG_fail
;
24604 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24606 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24615 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24616 PyObject
*resultobj
= 0;
24617 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24626 PyObject
* obj0
= 0 ;
24627 PyObject
* obj1
= 0 ;
24628 PyObject
* obj2
= 0 ;
24629 char * kwnames
[] = {
24630 (char *) "self",(char *) "x",(char *) "y", NULL
24633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24635 if (!SWIG_IsOK(res1
)) {
24636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24638 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24639 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24640 if (!SWIG_IsOK(ecode2
)) {
24641 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
24643 arg2
= static_cast< int >(val2
);
24644 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24645 if (!SWIG_IsOK(ecode3
)) {
24646 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
24648 arg3
= static_cast< int >(val3
);
24650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24651 (arg1
)->SetMargins(arg2
,arg3
);
24652 wxPyEndAllowThreads(__tstate
);
24653 if (PyErr_Occurred()) SWIG_fail
;
24655 resultobj
= SWIG_Py_Void();
24662 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24663 PyObject
*resultobj
= 0;
24664 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24669 PyObject
* obj0
= 0 ;
24670 PyObject
* obj1
= 0 ;
24671 char * kwnames
[] = {
24672 (char *) "self",(char *) "size", NULL
24675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24677 if (!SWIG_IsOK(res1
)) {
24678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24680 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24683 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24687 (arg1
)->SetMargins((wxSize
const &)*arg2
);
24688 wxPyEndAllowThreads(__tstate
);
24689 if (PyErr_Occurred()) SWIG_fail
;
24691 resultobj
= SWIG_Py_Void();
24698 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24699 PyObject
*resultobj
= 0;
24700 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24706 PyObject
* obj0
= 0 ;
24707 PyObject
* obj1
= 0 ;
24708 char * kwnames
[] = {
24709 (char *) "self",(char *) "packing", NULL
24712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24714 if (!SWIG_IsOK(res1
)) {
24715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24717 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24718 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24719 if (!SWIG_IsOK(ecode2
)) {
24720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
24722 arg2
= static_cast< int >(val2
);
24724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24725 (arg1
)->SetToolPacking(arg2
);
24726 wxPyEndAllowThreads(__tstate
);
24727 if (PyErr_Occurred()) SWIG_fail
;
24729 resultobj
= SWIG_Py_Void();
24736 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24737 PyObject
*resultobj
= 0;
24738 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24744 PyObject
* obj0
= 0 ;
24745 PyObject
* obj1
= 0 ;
24746 char * kwnames
[] = {
24747 (char *) "self",(char *) "separation", NULL
24750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24752 if (!SWIG_IsOK(res1
)) {
24753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24755 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24756 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24757 if (!SWIG_IsOK(ecode2
)) {
24758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
24760 arg2
= static_cast< int >(val2
);
24762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24763 (arg1
)->SetToolSeparation(arg2
);
24764 wxPyEndAllowThreads(__tstate
);
24765 if (PyErr_Occurred()) SWIG_fail
;
24767 resultobj
= SWIG_Py_Void();
24774 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24775 PyObject
*resultobj
= 0;
24776 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24780 PyObject
*swig_obj
[1] ;
24782 if (!args
) SWIG_fail
;
24783 swig_obj
[0] = args
;
24784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24785 if (!SWIG_IsOK(res1
)) {
24786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24788 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24791 result
= (arg1
)->GetToolMargins();
24792 wxPyEndAllowThreads(__tstate
);
24793 if (PyErr_Occurred()) SWIG_fail
;
24795 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24802 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24803 PyObject
*resultobj
= 0;
24804 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24808 PyObject
*swig_obj
[1] ;
24810 if (!args
) SWIG_fail
;
24811 swig_obj
[0] = args
;
24812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24813 if (!SWIG_IsOK(res1
)) {
24814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24816 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24819 result
= (arg1
)->GetMargins();
24820 wxPyEndAllowThreads(__tstate
);
24821 if (PyErr_Occurred()) SWIG_fail
;
24823 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24830 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24831 PyObject
*resultobj
= 0;
24832 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24836 PyObject
*swig_obj
[1] ;
24838 if (!args
) SWIG_fail
;
24839 swig_obj
[0] = args
;
24840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24841 if (!SWIG_IsOK(res1
)) {
24842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24844 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24847 result
= (int)(arg1
)->GetToolPacking();
24848 wxPyEndAllowThreads(__tstate
);
24849 if (PyErr_Occurred()) SWIG_fail
;
24851 resultobj
= SWIG_From_int(static_cast< int >(result
));
24858 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24859 PyObject
*resultobj
= 0;
24860 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24864 PyObject
*swig_obj
[1] ;
24866 if (!args
) SWIG_fail
;
24867 swig_obj
[0] = args
;
24868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24869 if (!SWIG_IsOK(res1
)) {
24870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24872 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24875 result
= (int)(arg1
)->GetToolSeparation();
24876 wxPyEndAllowThreads(__tstate
);
24877 if (PyErr_Occurred()) SWIG_fail
;
24879 resultobj
= SWIG_From_int(static_cast< int >(result
));
24886 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24887 PyObject
*resultobj
= 0;
24888 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24894 PyObject
* obj0
= 0 ;
24895 PyObject
* obj1
= 0 ;
24896 char * kwnames
[] = {
24897 (char *) "self",(char *) "nRows", NULL
24900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24902 if (!SWIG_IsOK(res1
)) {
24903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24905 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24907 if (!SWIG_IsOK(ecode2
)) {
24908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
24910 arg2
= static_cast< int >(val2
);
24912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24913 (arg1
)->SetRows(arg2
);
24914 wxPyEndAllowThreads(__tstate
);
24915 if (PyErr_Occurred()) SWIG_fail
;
24917 resultobj
= SWIG_Py_Void();
24924 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24925 PyObject
*resultobj
= 0;
24926 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24935 PyObject
* obj0
= 0 ;
24936 PyObject
* obj1
= 0 ;
24937 PyObject
* obj2
= 0 ;
24938 char * kwnames
[] = {
24939 (char *) "self",(char *) "rows",(char *) "cols", NULL
24942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24944 if (!SWIG_IsOK(res1
)) {
24945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24947 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24948 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24949 if (!SWIG_IsOK(ecode2
)) {
24950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
24952 arg2
= static_cast< int >(val2
);
24953 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24954 if (!SWIG_IsOK(ecode3
)) {
24955 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
24957 arg3
= static_cast< int >(val3
);
24959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24960 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
24961 wxPyEndAllowThreads(__tstate
);
24962 if (PyErr_Occurred()) SWIG_fail
;
24964 resultobj
= SWIG_Py_Void();
24971 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24972 PyObject
*resultobj
= 0;
24973 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24977 PyObject
*swig_obj
[1] ;
24979 if (!args
) SWIG_fail
;
24980 swig_obj
[0] = args
;
24981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24982 if (!SWIG_IsOK(res1
)) {
24983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24985 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24988 result
= (int)(arg1
)->GetMaxRows();
24989 wxPyEndAllowThreads(__tstate
);
24990 if (PyErr_Occurred()) SWIG_fail
;
24992 resultobj
= SWIG_From_int(static_cast< int >(result
));
24999 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25000 PyObject
*resultobj
= 0;
25001 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25005 PyObject
*swig_obj
[1] ;
25007 if (!args
) SWIG_fail
;
25008 swig_obj
[0] = args
;
25009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25010 if (!SWIG_IsOK(res1
)) {
25011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25013 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25016 result
= (int)(arg1
)->GetMaxCols();
25017 wxPyEndAllowThreads(__tstate
);
25018 if (PyErr_Occurred()) SWIG_fail
;
25020 resultobj
= SWIG_From_int(static_cast< int >(result
));
25027 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25028 PyObject
*resultobj
= 0;
25029 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25034 PyObject
* obj0
= 0 ;
25035 PyObject
* obj1
= 0 ;
25036 char * kwnames
[] = {
25037 (char *) "self",(char *) "size", NULL
25040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25042 if (!SWIG_IsOK(res1
)) {
25043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25045 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25048 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25052 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25053 wxPyEndAllowThreads(__tstate
);
25054 if (PyErr_Occurred()) SWIG_fail
;
25056 resultobj
= SWIG_Py_Void();
25063 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25064 PyObject
*resultobj
= 0;
25065 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25069 PyObject
*swig_obj
[1] ;
25071 if (!args
) SWIG_fail
;
25072 swig_obj
[0] = args
;
25073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25074 if (!SWIG_IsOK(res1
)) {
25075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25077 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25080 result
= (arg1
)->GetToolBitmapSize();
25081 wxPyEndAllowThreads(__tstate
);
25082 if (PyErr_Occurred()) SWIG_fail
;
25084 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25091 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25092 PyObject
*resultobj
= 0;
25093 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25097 PyObject
*swig_obj
[1] ;
25099 if (!args
) SWIG_fail
;
25100 swig_obj
[0] = args
;
25101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25102 if (!SWIG_IsOK(res1
)) {
25103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25105 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25108 result
= (arg1
)->GetToolSize();
25109 wxPyEndAllowThreads(__tstate
);
25110 if (PyErr_Occurred()) SWIG_fail
;
25112 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25119 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25120 PyObject
*resultobj
= 0;
25121 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25124 wxToolBarToolBase
*result
= 0 ;
25131 PyObject
* obj0
= 0 ;
25132 PyObject
* obj1
= 0 ;
25133 PyObject
* obj2
= 0 ;
25134 char * kwnames
[] = {
25135 (char *) "self",(char *) "x",(char *) "y", NULL
25138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25140 if (!SWIG_IsOK(res1
)) {
25141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25143 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25144 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25145 if (!SWIG_IsOK(ecode2
)) {
25146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25148 arg2
= static_cast< int >(val2
);
25149 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25150 if (!SWIG_IsOK(ecode3
)) {
25151 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25153 arg3
= static_cast< int >(val3
);
25155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25156 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25157 wxPyEndAllowThreads(__tstate
);
25158 if (PyErr_Occurred()) SWIG_fail
;
25161 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25169 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25170 PyObject
*resultobj
= 0;
25171 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25173 wxToolBarToolBase
*result
= 0 ;
25178 PyObject
* obj0
= 0 ;
25179 PyObject
* obj1
= 0 ;
25180 char * kwnames
[] = {
25181 (char *) "self",(char *) "toolid", NULL
25184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25186 if (!SWIG_IsOK(res1
)) {
25187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25189 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25190 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25191 if (!SWIG_IsOK(ecode2
)) {
25192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25194 arg2
= static_cast< int >(val2
);
25196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25197 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25198 wxPyEndAllowThreads(__tstate
);
25199 if (PyErr_Occurred()) SWIG_fail
;
25202 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25210 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25211 PyObject
*resultobj
= 0;
25212 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25216 PyObject
*swig_obj
[1] ;
25218 if (!args
) SWIG_fail
;
25219 swig_obj
[0] = args
;
25220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25221 if (!SWIG_IsOK(res1
)) {
25222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25224 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25227 result
= (bool)(arg1
)->IsVertical();
25228 wxPyEndAllowThreads(__tstate
);
25229 if (PyErr_Occurred()) SWIG_fail
;
25232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25240 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25241 PyObject
*resultobj
= 0;
25242 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25246 PyObject
*swig_obj
[1] ;
25248 if (!args
) SWIG_fail
;
25249 swig_obj
[0] = args
;
25250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25251 if (!SWIG_IsOK(res1
)) {
25252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25254 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25257 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25258 wxPyEndAllowThreads(__tstate
);
25259 if (PyErr_Occurred()) SWIG_fail
;
25261 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25268 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25270 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25271 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25272 return SWIG_Py_Void();
25275 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25276 PyObject
*resultobj
= 0;
25277 wxWindow
*arg1
= (wxWindow
*) 0 ;
25278 int arg2
= (int) -1 ;
25279 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25280 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25281 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25282 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25283 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25284 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25285 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25286 wxToolBar
*result
= 0 ;
25295 bool temp6
= false ;
25296 PyObject
* obj0
= 0 ;
25297 PyObject
* obj1
= 0 ;
25298 PyObject
* obj2
= 0 ;
25299 PyObject
* obj3
= 0 ;
25300 PyObject
* obj4
= 0 ;
25301 PyObject
* obj5
= 0 ;
25302 char * kwnames
[] = {
25303 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25308 if (!SWIG_IsOK(res1
)) {
25309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25311 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25313 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25314 if (!SWIG_IsOK(ecode2
)) {
25315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25317 arg2
= static_cast< int >(val2
);
25322 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25328 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25332 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25333 if (!SWIG_IsOK(ecode5
)) {
25334 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25336 arg5
= static_cast< long >(val5
);
25340 arg6
= wxString_in_helper(obj5
);
25341 if (arg6
== NULL
) SWIG_fail
;
25346 if (!wxPyCheckForApp()) SWIG_fail
;
25347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25348 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25349 wxPyEndAllowThreads(__tstate
);
25350 if (PyErr_Occurred()) SWIG_fail
;
25352 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25367 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25368 PyObject
*resultobj
= 0;
25369 wxToolBar
*result
= 0 ;
25371 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25373 if (!wxPyCheckForApp()) SWIG_fail
;
25374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25375 result
= (wxToolBar
*)new wxToolBar();
25376 wxPyEndAllowThreads(__tstate
);
25377 if (PyErr_Occurred()) SWIG_fail
;
25379 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25386 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25387 PyObject
*resultobj
= 0;
25388 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25389 wxWindow
*arg2
= (wxWindow
*) 0 ;
25390 int arg3
= (int) -1 ;
25391 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25392 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25393 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25394 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25395 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25396 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25397 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25409 bool temp7
= false ;
25410 PyObject
* obj0
= 0 ;
25411 PyObject
* obj1
= 0 ;
25412 PyObject
* obj2
= 0 ;
25413 PyObject
* obj3
= 0 ;
25414 PyObject
* obj4
= 0 ;
25415 PyObject
* obj5
= 0 ;
25416 PyObject
* obj6
= 0 ;
25417 char * kwnames
[] = {
25418 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25423 if (!SWIG_IsOK(res1
)) {
25424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25426 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25427 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25428 if (!SWIG_IsOK(res2
)) {
25429 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25431 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25433 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25434 if (!SWIG_IsOK(ecode3
)) {
25435 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25437 arg3
= static_cast< int >(val3
);
25442 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25448 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25452 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25453 if (!SWIG_IsOK(ecode6
)) {
25454 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25456 arg6
= static_cast< long >(val6
);
25460 arg7
= wxString_in_helper(obj6
);
25461 if (arg7
== NULL
) SWIG_fail
;
25466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25467 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25468 wxPyEndAllowThreads(__tstate
);
25469 if (PyErr_Occurred()) SWIG_fail
;
25472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25488 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25489 PyObject
*resultobj
= 0;
25490 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25491 SwigValueWrapper
<wxVisualAttributes
> result
;
25494 PyObject
* obj0
= 0 ;
25495 char * kwnames
[] = {
25496 (char *) "variant", NULL
25499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25501 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25502 if (!SWIG_IsOK(ecode1
)) {
25503 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25505 arg1
= static_cast< wxWindowVariant
>(val1
);
25508 if (!wxPyCheckForApp()) SWIG_fail
;
25509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25510 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
25511 wxPyEndAllowThreads(__tstate
);
25512 if (PyErr_Occurred()) SWIG_fail
;
25514 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25521 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25523 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25524 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
25525 return SWIG_Py_Void();
25528 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25529 return SWIG_Python_InitShadowInstance(args
);
25532 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
25533 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
25538 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
25539 PyObject
*pyobj
= 0;
25543 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25545 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25552 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25553 PyObject
*resultobj
= 0;
25554 wxColour
const &arg1_defvalue
= wxNullColour
;
25555 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
25556 wxColour
const &arg2_defvalue
= wxNullColour
;
25557 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
25558 wxFont
const &arg3_defvalue
= wxNullFont
;
25559 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
25560 wxListItemAttr
*result
= 0 ;
25565 PyObject
* obj0
= 0 ;
25566 PyObject
* obj1
= 0 ;
25567 PyObject
* obj2
= 0 ;
25568 char * kwnames
[] = {
25569 (char *) "colText",(char *) "colBack",(char *) "font", NULL
25572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25576 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
25582 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25586 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
25587 if (!SWIG_IsOK(res3
)) {
25588 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25591 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25593 arg3
= reinterpret_cast< wxFont
* >(argp3
);
25596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25597 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
25598 wxPyEndAllowThreads(__tstate
);
25599 if (PyErr_Occurred()) SWIG_fail
;
25601 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
25608 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25609 PyObject
*resultobj
= 0;
25610 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25613 PyObject
*swig_obj
[1] ;
25615 if (!args
) SWIG_fail
;
25616 swig_obj
[0] = args
;
25617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
25618 if (!SWIG_IsOK(res1
)) {
25619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25621 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25626 wxPyEndAllowThreads(__tstate
);
25627 if (PyErr_Occurred()) SWIG_fail
;
25629 resultobj
= SWIG_Py_Void();
25636 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25637 PyObject
*resultobj
= 0;
25638 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25639 wxColour
*arg2
= 0 ;
25643 PyObject
* obj0
= 0 ;
25644 PyObject
* obj1
= 0 ;
25645 char * kwnames
[] = {
25646 (char *) "self",(char *) "colText", NULL
25649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25651 if (!SWIG_IsOK(res1
)) {
25652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25654 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25657 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25661 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25662 wxPyEndAllowThreads(__tstate
);
25663 if (PyErr_Occurred()) SWIG_fail
;
25665 resultobj
= SWIG_Py_Void();
25672 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25673 PyObject
*resultobj
= 0;
25674 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25675 wxColour
*arg2
= 0 ;
25679 PyObject
* obj0
= 0 ;
25680 PyObject
* obj1
= 0 ;
25681 char * kwnames
[] = {
25682 (char *) "self",(char *) "colBack", NULL
25685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25687 if (!SWIG_IsOK(res1
)) {
25688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25690 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25693 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25697 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25698 wxPyEndAllowThreads(__tstate
);
25699 if (PyErr_Occurred()) SWIG_fail
;
25701 resultobj
= SWIG_Py_Void();
25708 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25709 PyObject
*resultobj
= 0;
25710 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25716 PyObject
* obj0
= 0 ;
25717 PyObject
* obj1
= 0 ;
25718 char * kwnames
[] = {
25719 (char *) "self",(char *) "font", NULL
25722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25724 if (!SWIG_IsOK(res1
)) {
25725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25727 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25728 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
25729 if (!SWIG_IsOK(res2
)) {
25730 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25733 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25735 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25738 (arg1
)->SetFont((wxFont
const &)*arg2
);
25739 wxPyEndAllowThreads(__tstate
);
25740 if (PyErr_Occurred()) SWIG_fail
;
25742 resultobj
= SWIG_Py_Void();
25749 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25750 PyObject
*resultobj
= 0;
25751 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25755 PyObject
*swig_obj
[1] ;
25757 if (!args
) SWIG_fail
;
25758 swig_obj
[0] = args
;
25759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25760 if (!SWIG_IsOK(res1
)) {
25761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25763 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25766 result
= (bool)(arg1
)->HasTextColour();
25767 wxPyEndAllowThreads(__tstate
);
25768 if (PyErr_Occurred()) SWIG_fail
;
25771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25779 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25780 PyObject
*resultobj
= 0;
25781 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25785 PyObject
*swig_obj
[1] ;
25787 if (!args
) SWIG_fail
;
25788 swig_obj
[0] = args
;
25789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25790 if (!SWIG_IsOK(res1
)) {
25791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25793 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25796 result
= (bool)(arg1
)->HasBackgroundColour();
25797 wxPyEndAllowThreads(__tstate
);
25798 if (PyErr_Occurred()) SWIG_fail
;
25801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25809 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25810 PyObject
*resultobj
= 0;
25811 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25815 PyObject
*swig_obj
[1] ;
25817 if (!args
) SWIG_fail
;
25818 swig_obj
[0] = args
;
25819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25820 if (!SWIG_IsOK(res1
)) {
25821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25823 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25826 result
= (bool)(arg1
)->HasFont();
25827 wxPyEndAllowThreads(__tstate
);
25828 if (PyErr_Occurred()) SWIG_fail
;
25831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25839 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25840 PyObject
*resultobj
= 0;
25841 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25845 PyObject
*swig_obj
[1] ;
25847 if (!args
) SWIG_fail
;
25848 swig_obj
[0] = args
;
25849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25850 if (!SWIG_IsOK(res1
)) {
25851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25853 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25856 result
= (arg1
)->GetTextColour();
25857 wxPyEndAllowThreads(__tstate
);
25858 if (PyErr_Occurred()) SWIG_fail
;
25860 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25867 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25868 PyObject
*resultobj
= 0;
25869 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25873 PyObject
*swig_obj
[1] ;
25875 if (!args
) SWIG_fail
;
25876 swig_obj
[0] = args
;
25877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25878 if (!SWIG_IsOK(res1
)) {
25879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25881 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25884 result
= (arg1
)->GetBackgroundColour();
25885 wxPyEndAllowThreads(__tstate
);
25886 if (PyErr_Occurred()) SWIG_fail
;
25888 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25895 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25896 PyObject
*resultobj
= 0;
25897 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25901 PyObject
*swig_obj
[1] ;
25903 if (!args
) SWIG_fail
;
25904 swig_obj
[0] = args
;
25905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25906 if (!SWIG_IsOK(res1
)) {
25907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25909 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25912 result
= (arg1
)->GetFont();
25913 wxPyEndAllowThreads(__tstate
);
25914 if (PyErr_Occurred()) SWIG_fail
;
25916 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
25923 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25924 PyObject
*resultobj
= 0;
25925 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25926 wxListItemAttr
*arg2
= 0 ;
25931 PyObject
* obj0
= 0 ;
25932 PyObject
* obj1
= 0 ;
25933 char * kwnames
[] = {
25934 (char *) "self",(char *) "source", NULL
25937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25939 if (!SWIG_IsOK(res1
)) {
25940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25942 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25943 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
25944 if (!SWIG_IsOK(res2
)) {
25945 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
25948 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
25950 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
25952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25953 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
25954 wxPyEndAllowThreads(__tstate
);
25955 if (PyErr_Occurred()) SWIG_fail
;
25957 resultobj
= SWIG_Py_Void();
25964 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25965 PyObject
*resultobj
= 0;
25966 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25969 PyObject
*swig_obj
[1] ;
25971 if (!args
) SWIG_fail
;
25972 swig_obj
[0] = args
;
25973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25974 if (!SWIG_IsOK(res1
)) {
25975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25977 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25980 wxListItemAttr_Destroy(arg1
);
25981 wxPyEndAllowThreads(__tstate
);
25982 if (PyErr_Occurred()) SWIG_fail
;
25984 resultobj
= SWIG_Py_Void();
25991 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25993 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25994 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
25995 return SWIG_Py_Void();
25998 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25999 return SWIG_Python_InitShadowInstance(args
);
26002 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26003 PyObject
*resultobj
= 0;
26004 wxListItem
*result
= 0 ;
26006 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26009 result
= (wxListItem
*)new wxListItem();
26010 wxPyEndAllowThreads(__tstate
);
26011 if (PyErr_Occurred()) SWIG_fail
;
26014 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
26022 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26023 PyObject
*resultobj
= 0;
26024 wxListItem
*arg1
= (wxListItem
*) 0 ;
26027 PyObject
*swig_obj
[1] ;
26029 if (!args
) SWIG_fail
;
26030 swig_obj
[0] = args
;
26031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26032 if (!SWIG_IsOK(res1
)) {
26033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26035 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26040 wxPyEndAllowThreads(__tstate
);
26041 if (PyErr_Occurred()) SWIG_fail
;
26043 resultobj
= SWIG_Py_Void();
26050 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26051 PyObject
*resultobj
= 0;
26052 wxListItem
*arg1
= (wxListItem
*) 0 ;
26055 PyObject
*swig_obj
[1] ;
26057 if (!args
) SWIG_fail
;
26058 swig_obj
[0] = args
;
26059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26060 if (!SWIG_IsOK(res1
)) {
26061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26063 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26067 wxPyEndAllowThreads(__tstate
);
26068 if (PyErr_Occurred()) SWIG_fail
;
26070 resultobj
= SWIG_Py_Void();
26077 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26078 PyObject
*resultobj
= 0;
26079 wxListItem
*arg1
= (wxListItem
*) 0 ;
26082 PyObject
*swig_obj
[1] ;
26084 if (!args
) SWIG_fail
;
26085 swig_obj
[0] = args
;
26086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26087 if (!SWIG_IsOK(res1
)) {
26088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26090 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26093 (arg1
)->ClearAttributes();
26094 wxPyEndAllowThreads(__tstate
);
26095 if (PyErr_Occurred()) SWIG_fail
;
26097 resultobj
= SWIG_Py_Void();
26104 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26105 PyObject
*resultobj
= 0;
26106 wxListItem
*arg1
= (wxListItem
*) 0 ;
26112 PyObject
* obj0
= 0 ;
26113 PyObject
* obj1
= 0 ;
26114 char * kwnames
[] = {
26115 (char *) "self",(char *) "mask", NULL
26118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26120 if (!SWIG_IsOK(res1
)) {
26121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26123 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26124 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26125 if (!SWIG_IsOK(ecode2
)) {
26126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26128 arg2
= static_cast< long >(val2
);
26130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26131 (arg1
)->SetMask(arg2
);
26132 wxPyEndAllowThreads(__tstate
);
26133 if (PyErr_Occurred()) SWIG_fail
;
26135 resultobj
= SWIG_Py_Void();
26142 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26143 PyObject
*resultobj
= 0;
26144 wxListItem
*arg1
= (wxListItem
*) 0 ;
26150 PyObject
* obj0
= 0 ;
26151 PyObject
* obj1
= 0 ;
26152 char * kwnames
[] = {
26153 (char *) "self",(char *) "id", NULL
26156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26158 if (!SWIG_IsOK(res1
)) {
26159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26161 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26162 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26163 if (!SWIG_IsOK(ecode2
)) {
26164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26166 arg2
= static_cast< long >(val2
);
26168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26169 (arg1
)->SetId(arg2
);
26170 wxPyEndAllowThreads(__tstate
);
26171 if (PyErr_Occurred()) SWIG_fail
;
26173 resultobj
= SWIG_Py_Void();
26180 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26181 PyObject
*resultobj
= 0;
26182 wxListItem
*arg1
= (wxListItem
*) 0 ;
26188 PyObject
* obj0
= 0 ;
26189 PyObject
* obj1
= 0 ;
26190 char * kwnames
[] = {
26191 (char *) "self",(char *) "col", NULL
26194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26196 if (!SWIG_IsOK(res1
)) {
26197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26199 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26200 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26201 if (!SWIG_IsOK(ecode2
)) {
26202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26204 arg2
= static_cast< int >(val2
);
26206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26207 (arg1
)->SetColumn(arg2
);
26208 wxPyEndAllowThreads(__tstate
);
26209 if (PyErr_Occurred()) SWIG_fail
;
26211 resultobj
= SWIG_Py_Void();
26218 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26219 PyObject
*resultobj
= 0;
26220 wxListItem
*arg1
= (wxListItem
*) 0 ;
26226 PyObject
* obj0
= 0 ;
26227 PyObject
* obj1
= 0 ;
26228 char * kwnames
[] = {
26229 (char *) "self",(char *) "state", NULL
26232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26234 if (!SWIG_IsOK(res1
)) {
26235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26237 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26238 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26239 if (!SWIG_IsOK(ecode2
)) {
26240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26242 arg2
= static_cast< long >(val2
);
26244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26245 (arg1
)->SetState(arg2
);
26246 wxPyEndAllowThreads(__tstate
);
26247 if (PyErr_Occurred()) SWIG_fail
;
26249 resultobj
= SWIG_Py_Void();
26256 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26257 PyObject
*resultobj
= 0;
26258 wxListItem
*arg1
= (wxListItem
*) 0 ;
26264 PyObject
* obj0
= 0 ;
26265 PyObject
* obj1
= 0 ;
26266 char * kwnames
[] = {
26267 (char *) "self",(char *) "stateMask", NULL
26270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26272 if (!SWIG_IsOK(res1
)) {
26273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26275 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26276 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26277 if (!SWIG_IsOK(ecode2
)) {
26278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26280 arg2
= static_cast< long >(val2
);
26282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26283 (arg1
)->SetStateMask(arg2
);
26284 wxPyEndAllowThreads(__tstate
);
26285 if (PyErr_Occurred()) SWIG_fail
;
26287 resultobj
= SWIG_Py_Void();
26294 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26295 PyObject
*resultobj
= 0;
26296 wxListItem
*arg1
= (wxListItem
*) 0 ;
26297 wxString
*arg2
= 0 ;
26300 bool temp2
= false ;
26301 PyObject
* obj0
= 0 ;
26302 PyObject
* obj1
= 0 ;
26303 char * kwnames
[] = {
26304 (char *) "self",(char *) "text", NULL
26307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26309 if (!SWIG_IsOK(res1
)) {
26310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26312 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26314 arg2
= wxString_in_helper(obj1
);
26315 if (arg2
== NULL
) SWIG_fail
;
26319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26320 (arg1
)->SetText((wxString
const &)*arg2
);
26321 wxPyEndAllowThreads(__tstate
);
26322 if (PyErr_Occurred()) SWIG_fail
;
26324 resultobj
= SWIG_Py_Void();
26339 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26340 PyObject
*resultobj
= 0;
26341 wxListItem
*arg1
= (wxListItem
*) 0 ;
26347 PyObject
* obj0
= 0 ;
26348 PyObject
* obj1
= 0 ;
26349 char * kwnames
[] = {
26350 (char *) "self",(char *) "image", NULL
26353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26355 if (!SWIG_IsOK(res1
)) {
26356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26358 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26360 if (!SWIG_IsOK(ecode2
)) {
26361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26363 arg2
= static_cast< int >(val2
);
26365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26366 (arg1
)->SetImage(arg2
);
26367 wxPyEndAllowThreads(__tstate
);
26368 if (PyErr_Occurred()) SWIG_fail
;
26370 resultobj
= SWIG_Py_Void();
26377 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26378 PyObject
*resultobj
= 0;
26379 wxListItem
*arg1
= (wxListItem
*) 0 ;
26385 PyObject
* obj0
= 0 ;
26386 PyObject
* obj1
= 0 ;
26387 char * kwnames
[] = {
26388 (char *) "self",(char *) "data", NULL
26391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26393 if (!SWIG_IsOK(res1
)) {
26394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26396 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26397 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26398 if (!SWIG_IsOK(ecode2
)) {
26399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26401 arg2
= static_cast< long >(val2
);
26403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26404 (arg1
)->SetData(arg2
);
26405 wxPyEndAllowThreads(__tstate
);
26406 if (PyErr_Occurred()) SWIG_fail
;
26408 resultobj
= SWIG_Py_Void();
26415 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26416 PyObject
*resultobj
= 0;
26417 wxListItem
*arg1
= (wxListItem
*) 0 ;
26423 PyObject
* obj0
= 0 ;
26424 PyObject
* obj1
= 0 ;
26425 char * kwnames
[] = {
26426 (char *) "self",(char *) "width", NULL
26429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26431 if (!SWIG_IsOK(res1
)) {
26432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26434 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26435 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26436 if (!SWIG_IsOK(ecode2
)) {
26437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26439 arg2
= static_cast< int >(val2
);
26441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26442 (arg1
)->SetWidth(arg2
);
26443 wxPyEndAllowThreads(__tstate
);
26444 if (PyErr_Occurred()) SWIG_fail
;
26446 resultobj
= SWIG_Py_Void();
26453 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26454 PyObject
*resultobj
= 0;
26455 wxListItem
*arg1
= (wxListItem
*) 0 ;
26456 wxListColumnFormat arg2
;
26461 PyObject
* obj0
= 0 ;
26462 PyObject
* obj1
= 0 ;
26463 char * kwnames
[] = {
26464 (char *) "self",(char *) "align", NULL
26467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26469 if (!SWIG_IsOK(res1
)) {
26470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26472 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26473 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26474 if (!SWIG_IsOK(ecode2
)) {
26475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26477 arg2
= static_cast< wxListColumnFormat
>(val2
);
26479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26480 (arg1
)->SetAlign(arg2
);
26481 wxPyEndAllowThreads(__tstate
);
26482 if (PyErr_Occurred()) SWIG_fail
;
26484 resultobj
= SWIG_Py_Void();
26491 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26492 PyObject
*resultobj
= 0;
26493 wxListItem
*arg1
= (wxListItem
*) 0 ;
26494 wxColour
*arg2
= 0 ;
26498 PyObject
* obj0
= 0 ;
26499 PyObject
* obj1
= 0 ;
26500 char * kwnames
[] = {
26501 (char *) "self",(char *) "colText", NULL
26504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26506 if (!SWIG_IsOK(res1
)) {
26507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26509 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26512 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26516 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26517 wxPyEndAllowThreads(__tstate
);
26518 if (PyErr_Occurred()) SWIG_fail
;
26520 resultobj
= SWIG_Py_Void();
26527 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26528 PyObject
*resultobj
= 0;
26529 wxListItem
*arg1
= (wxListItem
*) 0 ;
26530 wxColour
*arg2
= 0 ;
26534 PyObject
* obj0
= 0 ;
26535 PyObject
* obj1
= 0 ;
26536 char * kwnames
[] = {
26537 (char *) "self",(char *) "colBack", NULL
26540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26542 if (!SWIG_IsOK(res1
)) {
26543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26545 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26548 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26552 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26553 wxPyEndAllowThreads(__tstate
);
26554 if (PyErr_Occurred()) SWIG_fail
;
26556 resultobj
= SWIG_Py_Void();
26563 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26564 PyObject
*resultobj
= 0;
26565 wxListItem
*arg1
= (wxListItem
*) 0 ;
26571 PyObject
* obj0
= 0 ;
26572 PyObject
* obj1
= 0 ;
26573 char * kwnames
[] = {
26574 (char *) "self",(char *) "font", NULL
26577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26579 if (!SWIG_IsOK(res1
)) {
26580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
26582 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26583 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26584 if (!SWIG_IsOK(res2
)) {
26585 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26588 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26590 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26593 (arg1
)->SetFont((wxFont
const &)*arg2
);
26594 wxPyEndAllowThreads(__tstate
);
26595 if (PyErr_Occurred()) SWIG_fail
;
26597 resultobj
= SWIG_Py_Void();
26604 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26605 PyObject
*resultobj
= 0;
26606 wxListItem
*arg1
= (wxListItem
*) 0 ;
26610 PyObject
*swig_obj
[1] ;
26612 if (!args
) SWIG_fail
;
26613 swig_obj
[0] = args
;
26614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26615 if (!SWIG_IsOK(res1
)) {
26616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26618 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26621 result
= (long)(arg1
)->GetMask();
26622 wxPyEndAllowThreads(__tstate
);
26623 if (PyErr_Occurred()) SWIG_fail
;
26625 resultobj
= SWIG_From_long(static_cast< long >(result
));
26632 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26633 PyObject
*resultobj
= 0;
26634 wxListItem
*arg1
= (wxListItem
*) 0 ;
26638 PyObject
*swig_obj
[1] ;
26640 if (!args
) SWIG_fail
;
26641 swig_obj
[0] = args
;
26642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26643 if (!SWIG_IsOK(res1
)) {
26644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26646 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26649 result
= (long)(arg1
)->GetId();
26650 wxPyEndAllowThreads(__tstate
);
26651 if (PyErr_Occurred()) SWIG_fail
;
26653 resultobj
= SWIG_From_long(static_cast< long >(result
));
26660 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26661 PyObject
*resultobj
= 0;
26662 wxListItem
*arg1
= (wxListItem
*) 0 ;
26666 PyObject
*swig_obj
[1] ;
26668 if (!args
) SWIG_fail
;
26669 swig_obj
[0] = args
;
26670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26671 if (!SWIG_IsOK(res1
)) {
26672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26674 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26677 result
= (int)(arg1
)->GetColumn();
26678 wxPyEndAllowThreads(__tstate
);
26679 if (PyErr_Occurred()) SWIG_fail
;
26681 resultobj
= SWIG_From_int(static_cast< int >(result
));
26688 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26689 PyObject
*resultobj
= 0;
26690 wxListItem
*arg1
= (wxListItem
*) 0 ;
26694 PyObject
*swig_obj
[1] ;
26696 if (!args
) SWIG_fail
;
26697 swig_obj
[0] = args
;
26698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26699 if (!SWIG_IsOK(res1
)) {
26700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26702 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26705 result
= (long)(arg1
)->GetState();
26706 wxPyEndAllowThreads(__tstate
);
26707 if (PyErr_Occurred()) SWIG_fail
;
26709 resultobj
= SWIG_From_long(static_cast< long >(result
));
26716 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26717 PyObject
*resultobj
= 0;
26718 wxListItem
*arg1
= (wxListItem
*) 0 ;
26719 wxString
*result
= 0 ;
26722 PyObject
*swig_obj
[1] ;
26724 if (!args
) SWIG_fail
;
26725 swig_obj
[0] = args
;
26726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26727 if (!SWIG_IsOK(res1
)) {
26728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26730 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26734 wxString
const &_result_ref
= (arg1
)->GetText();
26735 result
= (wxString
*) &_result_ref
;
26737 wxPyEndAllowThreads(__tstate
);
26738 if (PyErr_Occurred()) SWIG_fail
;
26742 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
26744 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
26753 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26754 PyObject
*resultobj
= 0;
26755 wxListItem
*arg1
= (wxListItem
*) 0 ;
26759 PyObject
*swig_obj
[1] ;
26761 if (!args
) SWIG_fail
;
26762 swig_obj
[0] = args
;
26763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26764 if (!SWIG_IsOK(res1
)) {
26765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26767 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26770 result
= (int)(arg1
)->GetImage();
26771 wxPyEndAllowThreads(__tstate
);
26772 if (PyErr_Occurred()) SWIG_fail
;
26774 resultobj
= SWIG_From_int(static_cast< int >(result
));
26781 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26782 PyObject
*resultobj
= 0;
26783 wxListItem
*arg1
= (wxListItem
*) 0 ;
26787 PyObject
*swig_obj
[1] ;
26789 if (!args
) SWIG_fail
;
26790 swig_obj
[0] = args
;
26791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26792 if (!SWIG_IsOK(res1
)) {
26793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26795 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26798 result
= (long)(arg1
)->GetData();
26799 wxPyEndAllowThreads(__tstate
);
26800 if (PyErr_Occurred()) SWIG_fail
;
26802 resultobj
= SWIG_From_long(static_cast< long >(result
));
26809 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26810 PyObject
*resultobj
= 0;
26811 wxListItem
*arg1
= (wxListItem
*) 0 ;
26815 PyObject
*swig_obj
[1] ;
26817 if (!args
) SWIG_fail
;
26818 swig_obj
[0] = args
;
26819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26820 if (!SWIG_IsOK(res1
)) {
26821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26823 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26826 result
= (int)(arg1
)->GetWidth();
26827 wxPyEndAllowThreads(__tstate
);
26828 if (PyErr_Occurred()) SWIG_fail
;
26830 resultobj
= SWIG_From_int(static_cast< int >(result
));
26837 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26838 PyObject
*resultobj
= 0;
26839 wxListItem
*arg1
= (wxListItem
*) 0 ;
26840 wxListColumnFormat result
;
26843 PyObject
*swig_obj
[1] ;
26845 if (!args
) SWIG_fail
;
26846 swig_obj
[0] = args
;
26847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26848 if (!SWIG_IsOK(res1
)) {
26849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26851 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26854 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
26855 wxPyEndAllowThreads(__tstate
);
26856 if (PyErr_Occurred()) SWIG_fail
;
26858 resultobj
= SWIG_From_int(static_cast< int >(result
));
26865 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26866 PyObject
*resultobj
= 0;
26867 wxListItem
*arg1
= (wxListItem
*) 0 ;
26868 wxListItemAttr
*result
= 0 ;
26871 PyObject
*swig_obj
[1] ;
26873 if (!args
) SWIG_fail
;
26874 swig_obj
[0] = args
;
26875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26876 if (!SWIG_IsOK(res1
)) {
26877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26879 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26882 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
26883 wxPyEndAllowThreads(__tstate
);
26884 if (PyErr_Occurred()) SWIG_fail
;
26886 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26893 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26894 PyObject
*resultobj
= 0;
26895 wxListItem
*arg1
= (wxListItem
*) 0 ;
26899 PyObject
*swig_obj
[1] ;
26901 if (!args
) SWIG_fail
;
26902 swig_obj
[0] = args
;
26903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26904 if (!SWIG_IsOK(res1
)) {
26905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26907 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26910 result
= (bool)(arg1
)->HasAttributes();
26911 wxPyEndAllowThreads(__tstate
);
26912 if (PyErr_Occurred()) SWIG_fail
;
26915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26923 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26924 PyObject
*resultobj
= 0;
26925 wxListItem
*arg1
= (wxListItem
*) 0 ;
26929 PyObject
*swig_obj
[1] ;
26931 if (!args
) SWIG_fail
;
26932 swig_obj
[0] = args
;
26933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26934 if (!SWIG_IsOK(res1
)) {
26935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
26937 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26940 result
= ((wxListItem
const *)arg1
)->GetTextColour();
26941 wxPyEndAllowThreads(__tstate
);
26942 if (PyErr_Occurred()) SWIG_fail
;
26944 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26951 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26952 PyObject
*resultobj
= 0;
26953 wxListItem
*arg1
= (wxListItem
*) 0 ;
26957 PyObject
*swig_obj
[1] ;
26959 if (!args
) SWIG_fail
;
26960 swig_obj
[0] = args
;
26961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26962 if (!SWIG_IsOK(res1
)) {
26963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
26965 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26968 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
26969 wxPyEndAllowThreads(__tstate
);
26970 if (PyErr_Occurred()) SWIG_fail
;
26972 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26979 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26980 PyObject
*resultobj
= 0;
26981 wxListItem
*arg1
= (wxListItem
*) 0 ;
26985 PyObject
*swig_obj
[1] ;
26987 if (!args
) SWIG_fail
;
26988 swig_obj
[0] = args
;
26989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26990 if (!SWIG_IsOK(res1
)) {
26991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
26993 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26996 result
= ((wxListItem
const *)arg1
)->GetFont();
26997 wxPyEndAllowThreads(__tstate
);
26998 if (PyErr_Occurred()) SWIG_fail
;
27000 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27007 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27008 PyObject
*resultobj
= 0;
27009 wxListItem
*arg1
= (wxListItem
*) 0 ;
27015 PyObject
*swig_obj
[2] ;
27017 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27019 if (!SWIG_IsOK(res1
)) {
27020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27022 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27023 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27024 if (!SWIG_IsOK(ecode2
)) {
27025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27027 arg2
= static_cast< long >(val2
);
27028 if (arg1
) (arg1
)->m_mask
= arg2
;
27030 resultobj
= SWIG_Py_Void();
27037 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27038 PyObject
*resultobj
= 0;
27039 wxListItem
*arg1
= (wxListItem
*) 0 ;
27043 PyObject
*swig_obj
[1] ;
27045 if (!args
) SWIG_fail
;
27046 swig_obj
[0] = args
;
27047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27048 if (!SWIG_IsOK(res1
)) {
27049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27051 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27052 result
= (long) ((arg1
)->m_mask
);
27053 resultobj
= SWIG_From_long(static_cast< long >(result
));
27060 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27061 PyObject
*resultobj
= 0;
27062 wxListItem
*arg1
= (wxListItem
*) 0 ;
27068 PyObject
*swig_obj
[2] ;
27070 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27072 if (!SWIG_IsOK(res1
)) {
27073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27075 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27076 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27077 if (!SWIG_IsOK(ecode2
)) {
27078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27080 arg2
= static_cast< long >(val2
);
27081 if (arg1
) (arg1
)->m_itemId
= arg2
;
27083 resultobj
= SWIG_Py_Void();
27090 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27091 PyObject
*resultobj
= 0;
27092 wxListItem
*arg1
= (wxListItem
*) 0 ;
27096 PyObject
*swig_obj
[1] ;
27098 if (!args
) SWIG_fail
;
27099 swig_obj
[0] = args
;
27100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27101 if (!SWIG_IsOK(res1
)) {
27102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27104 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27105 result
= (long) ((arg1
)->m_itemId
);
27106 resultobj
= SWIG_From_long(static_cast< long >(result
));
27113 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27114 PyObject
*resultobj
= 0;
27115 wxListItem
*arg1
= (wxListItem
*) 0 ;
27121 PyObject
*swig_obj
[2] ;
27123 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27125 if (!SWIG_IsOK(res1
)) {
27126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27128 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27129 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27130 if (!SWIG_IsOK(ecode2
)) {
27131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27133 arg2
= static_cast< int >(val2
);
27134 if (arg1
) (arg1
)->m_col
= arg2
;
27136 resultobj
= SWIG_Py_Void();
27143 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27144 PyObject
*resultobj
= 0;
27145 wxListItem
*arg1
= (wxListItem
*) 0 ;
27149 PyObject
*swig_obj
[1] ;
27151 if (!args
) SWIG_fail
;
27152 swig_obj
[0] = args
;
27153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27154 if (!SWIG_IsOK(res1
)) {
27155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27157 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27158 result
= (int) ((arg1
)->m_col
);
27159 resultobj
= SWIG_From_int(static_cast< int >(result
));
27166 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27167 PyObject
*resultobj
= 0;
27168 wxListItem
*arg1
= (wxListItem
*) 0 ;
27174 PyObject
*swig_obj
[2] ;
27176 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27178 if (!SWIG_IsOK(res1
)) {
27179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27181 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27182 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27183 if (!SWIG_IsOK(ecode2
)) {
27184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27186 arg2
= static_cast< long >(val2
);
27187 if (arg1
) (arg1
)->m_state
= arg2
;
27189 resultobj
= SWIG_Py_Void();
27196 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27197 PyObject
*resultobj
= 0;
27198 wxListItem
*arg1
= (wxListItem
*) 0 ;
27202 PyObject
*swig_obj
[1] ;
27204 if (!args
) SWIG_fail
;
27205 swig_obj
[0] = args
;
27206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27207 if (!SWIG_IsOK(res1
)) {
27208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27210 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27211 result
= (long) ((arg1
)->m_state
);
27212 resultobj
= SWIG_From_long(static_cast< long >(result
));
27219 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27220 PyObject
*resultobj
= 0;
27221 wxListItem
*arg1
= (wxListItem
*) 0 ;
27227 PyObject
*swig_obj
[2] ;
27229 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27231 if (!SWIG_IsOK(res1
)) {
27232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27234 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27235 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27236 if (!SWIG_IsOK(ecode2
)) {
27237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27239 arg2
= static_cast< long >(val2
);
27240 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27242 resultobj
= SWIG_Py_Void();
27249 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27250 PyObject
*resultobj
= 0;
27251 wxListItem
*arg1
= (wxListItem
*) 0 ;
27255 PyObject
*swig_obj
[1] ;
27257 if (!args
) SWIG_fail
;
27258 swig_obj
[0] = args
;
27259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27260 if (!SWIG_IsOK(res1
)) {
27261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27263 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27264 result
= (long) ((arg1
)->m_stateMask
);
27265 resultobj
= SWIG_From_long(static_cast< long >(result
));
27272 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27273 PyObject
*resultobj
= 0;
27274 wxListItem
*arg1
= (wxListItem
*) 0 ;
27275 wxString
*arg2
= (wxString
*) 0 ;
27278 bool temp2
= false ;
27279 PyObject
*swig_obj
[2] ;
27281 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27283 if (!SWIG_IsOK(res1
)) {
27284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27286 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27288 arg2
= wxString_in_helper(swig_obj
[1]);
27289 if (arg2
== NULL
) SWIG_fail
;
27292 if (arg1
) (arg1
)->m_text
= *arg2
;
27294 resultobj
= SWIG_Py_Void();
27309 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27310 PyObject
*resultobj
= 0;
27311 wxListItem
*arg1
= (wxListItem
*) 0 ;
27312 wxString
*result
= 0 ;
27315 PyObject
*swig_obj
[1] ;
27317 if (!args
) SWIG_fail
;
27318 swig_obj
[0] = args
;
27319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27320 if (!SWIG_IsOK(res1
)) {
27321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27323 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27324 result
= (wxString
*)& ((arg1
)->m_text
);
27327 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27329 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27338 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27339 PyObject
*resultobj
= 0;
27340 wxListItem
*arg1
= (wxListItem
*) 0 ;
27346 PyObject
*swig_obj
[2] ;
27348 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27350 if (!SWIG_IsOK(res1
)) {
27351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27353 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27354 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27355 if (!SWIG_IsOK(ecode2
)) {
27356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27358 arg2
= static_cast< int >(val2
);
27359 if (arg1
) (arg1
)->m_image
= arg2
;
27361 resultobj
= SWIG_Py_Void();
27368 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27369 PyObject
*resultobj
= 0;
27370 wxListItem
*arg1
= (wxListItem
*) 0 ;
27374 PyObject
*swig_obj
[1] ;
27376 if (!args
) SWIG_fail
;
27377 swig_obj
[0] = args
;
27378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27379 if (!SWIG_IsOK(res1
)) {
27380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27382 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27383 result
= (int) ((arg1
)->m_image
);
27384 resultobj
= SWIG_From_int(static_cast< int >(result
));
27391 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27392 PyObject
*resultobj
= 0;
27393 wxListItem
*arg1
= (wxListItem
*) 0 ;
27399 PyObject
*swig_obj
[2] ;
27401 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27403 if (!SWIG_IsOK(res1
)) {
27404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27406 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27407 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27408 if (!SWIG_IsOK(ecode2
)) {
27409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27411 arg2
= static_cast< long >(val2
);
27412 if (arg1
) (arg1
)->m_data
= arg2
;
27414 resultobj
= SWIG_Py_Void();
27421 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27422 PyObject
*resultobj
= 0;
27423 wxListItem
*arg1
= (wxListItem
*) 0 ;
27427 PyObject
*swig_obj
[1] ;
27429 if (!args
) SWIG_fail
;
27430 swig_obj
[0] = args
;
27431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27432 if (!SWIG_IsOK(res1
)) {
27433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27435 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27436 result
= (long) ((arg1
)->m_data
);
27437 resultobj
= SWIG_From_long(static_cast< long >(result
));
27444 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27445 PyObject
*resultobj
= 0;
27446 wxListItem
*arg1
= (wxListItem
*) 0 ;
27452 PyObject
*swig_obj
[2] ;
27454 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27456 if (!SWIG_IsOK(res1
)) {
27457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27459 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27460 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27461 if (!SWIG_IsOK(ecode2
)) {
27462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27464 arg2
= static_cast< int >(val2
);
27465 if (arg1
) (arg1
)->m_format
= arg2
;
27467 resultobj
= SWIG_Py_Void();
27474 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27475 PyObject
*resultobj
= 0;
27476 wxListItem
*arg1
= (wxListItem
*) 0 ;
27480 PyObject
*swig_obj
[1] ;
27482 if (!args
) SWIG_fail
;
27483 swig_obj
[0] = args
;
27484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27485 if (!SWIG_IsOK(res1
)) {
27486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27488 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27489 result
= (int) ((arg1
)->m_format
);
27490 resultobj
= SWIG_From_int(static_cast< int >(result
));
27497 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27498 PyObject
*resultobj
= 0;
27499 wxListItem
*arg1
= (wxListItem
*) 0 ;
27505 PyObject
*swig_obj
[2] ;
27507 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
27508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27509 if (!SWIG_IsOK(res1
)) {
27510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27512 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27513 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27514 if (!SWIG_IsOK(ecode2
)) {
27515 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27517 arg2
= static_cast< int >(val2
);
27518 if (arg1
) (arg1
)->m_width
= arg2
;
27520 resultobj
= SWIG_Py_Void();
27527 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27528 PyObject
*resultobj
= 0;
27529 wxListItem
*arg1
= (wxListItem
*) 0 ;
27533 PyObject
*swig_obj
[1] ;
27535 if (!args
) SWIG_fail
;
27536 swig_obj
[0] = args
;
27537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27538 if (!SWIG_IsOK(res1
)) {
27539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27541 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27542 result
= (int) ((arg1
)->m_width
);
27543 resultobj
= SWIG_From_int(static_cast< int >(result
));
27550 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27552 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27553 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
27554 return SWIG_Py_Void();
27557 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27558 return SWIG_Python_InitShadowInstance(args
);
27561 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27562 PyObject
*resultobj
= 0;
27563 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27564 int arg2
= (int) 0 ;
27565 wxListEvent
*result
= 0 ;
27570 PyObject
* obj0
= 0 ;
27571 PyObject
* obj1
= 0 ;
27572 char * kwnames
[] = {
27573 (char *) "commandType",(char *) "id", NULL
27576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27578 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27579 if (!SWIG_IsOK(ecode1
)) {
27580 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27582 arg1
= static_cast< wxEventType
>(val1
);
27585 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27586 if (!SWIG_IsOK(ecode2
)) {
27587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
27589 arg2
= static_cast< int >(val2
);
27592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27593 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
27594 wxPyEndAllowThreads(__tstate
);
27595 if (PyErr_Occurred()) SWIG_fail
;
27597 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
27604 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27605 PyObject
*resultobj
= 0;
27606 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27612 PyObject
*swig_obj
[2] ;
27614 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
27615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27616 if (!SWIG_IsOK(res1
)) {
27617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27619 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27620 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27621 if (!SWIG_IsOK(ecode2
)) {
27622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
27624 arg2
= static_cast< int >(val2
);
27625 if (arg1
) (arg1
)->m_code
= arg2
;
27627 resultobj
= SWIG_Py_Void();
27634 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27635 PyObject
*resultobj
= 0;
27636 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27640 PyObject
*swig_obj
[1] ;
27642 if (!args
) SWIG_fail
;
27643 swig_obj
[0] = args
;
27644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27645 if (!SWIG_IsOK(res1
)) {
27646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27648 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27649 result
= (int) ((arg1
)->m_code
);
27650 resultobj
= SWIG_From_int(static_cast< int >(result
));
27657 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27658 PyObject
*resultobj
= 0;
27659 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27665 PyObject
*swig_obj
[2] ;
27667 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27669 if (!SWIG_IsOK(res1
)) {
27670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27672 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27673 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27674 if (!SWIG_IsOK(ecode2
)) {
27675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
27677 arg2
= static_cast< long >(val2
);
27678 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
27680 resultobj
= SWIG_Py_Void();
27687 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27688 PyObject
*resultobj
= 0;
27689 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27693 PyObject
*swig_obj
[1] ;
27695 if (!args
) SWIG_fail
;
27696 swig_obj
[0] = args
;
27697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27698 if (!SWIG_IsOK(res1
)) {
27699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27701 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27702 result
= (long) ((arg1
)->m_oldItemIndex
);
27703 resultobj
= SWIG_From_long(static_cast< long >(result
));
27710 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27711 PyObject
*resultobj
= 0;
27712 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27718 PyObject
*swig_obj
[2] ;
27720 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27722 if (!SWIG_IsOK(res1
)) {
27723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27725 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27726 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27727 if (!SWIG_IsOK(ecode2
)) {
27728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
27730 arg2
= static_cast< long >(val2
);
27731 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
27733 resultobj
= SWIG_Py_Void();
27740 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27741 PyObject
*resultobj
= 0;
27742 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27746 PyObject
*swig_obj
[1] ;
27748 if (!args
) SWIG_fail
;
27749 swig_obj
[0] = args
;
27750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27751 if (!SWIG_IsOK(res1
)) {
27752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27754 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27755 result
= (long) ((arg1
)->m_itemIndex
);
27756 resultobj
= SWIG_From_long(static_cast< long >(result
));
27763 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27764 PyObject
*resultobj
= 0;
27765 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27771 PyObject
*swig_obj
[2] ;
27773 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27775 if (!SWIG_IsOK(res1
)) {
27776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27778 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27779 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27780 if (!SWIG_IsOK(ecode2
)) {
27781 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
27783 arg2
= static_cast< int >(val2
);
27784 if (arg1
) (arg1
)->m_col
= arg2
;
27786 resultobj
= SWIG_Py_Void();
27793 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27794 PyObject
*resultobj
= 0;
27795 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27799 PyObject
*swig_obj
[1] ;
27801 if (!args
) SWIG_fail
;
27802 swig_obj
[0] = args
;
27803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27804 if (!SWIG_IsOK(res1
)) {
27805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27807 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27808 result
= (int) ((arg1
)->m_col
);
27809 resultobj
= SWIG_From_int(static_cast< int >(result
));
27816 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27817 PyObject
*resultobj
= 0;
27818 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27819 wxPoint
*arg2
= (wxPoint
*) 0 ;
27824 PyObject
*swig_obj
[2] ;
27826 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
27827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27828 if (!SWIG_IsOK(res1
)) {
27829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27831 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27832 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
27833 if (!SWIG_IsOK(res2
)) {
27834 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
27836 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
27837 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
27839 resultobj
= SWIG_Py_Void();
27846 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27847 PyObject
*resultobj
= 0;
27848 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27849 wxPoint
*result
= 0 ;
27852 PyObject
*swig_obj
[1] ;
27854 if (!args
) SWIG_fail
;
27855 swig_obj
[0] = args
;
27856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27857 if (!SWIG_IsOK(res1
)) {
27858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27860 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27861 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
27862 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
27869 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27870 PyObject
*resultobj
= 0;
27871 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27872 wxListItem
*result
= 0 ;
27875 PyObject
*swig_obj
[1] ;
27877 if (!args
) SWIG_fail
;
27878 swig_obj
[0] = args
;
27879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27880 if (!SWIG_IsOK(res1
)) {
27881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27883 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27884 result
= (wxListItem
*)& ((arg1
)->m_item
);
27886 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27894 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27895 PyObject
*resultobj
= 0;
27896 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27900 PyObject
*swig_obj
[1] ;
27902 if (!args
) SWIG_fail
;
27903 swig_obj
[0] = args
;
27904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27905 if (!SWIG_IsOK(res1
)) {
27906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
27908 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27911 result
= (int)(arg1
)->GetKeyCode();
27912 wxPyEndAllowThreads(__tstate
);
27913 if (PyErr_Occurred()) SWIG_fail
;
27915 resultobj
= SWIG_From_int(static_cast< int >(result
));
27922 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27923 PyObject
*resultobj
= 0;
27924 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27928 PyObject
*swig_obj
[1] ;
27930 if (!args
) SWIG_fail
;
27931 swig_obj
[0] = args
;
27932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27933 if (!SWIG_IsOK(res1
)) {
27934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
27936 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27939 result
= (long)(arg1
)->GetIndex();
27940 wxPyEndAllowThreads(__tstate
);
27941 if (PyErr_Occurred()) SWIG_fail
;
27943 resultobj
= SWIG_From_long(static_cast< long >(result
));
27950 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27951 PyObject
*resultobj
= 0;
27952 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27956 PyObject
*swig_obj
[1] ;
27958 if (!args
) SWIG_fail
;
27959 swig_obj
[0] = args
;
27960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27961 if (!SWIG_IsOK(res1
)) {
27962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
27964 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27967 result
= (int)(arg1
)->GetColumn();
27968 wxPyEndAllowThreads(__tstate
);
27969 if (PyErr_Occurred()) SWIG_fail
;
27971 resultobj
= SWIG_From_int(static_cast< int >(result
));
27978 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27979 PyObject
*resultobj
= 0;
27980 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27984 PyObject
*swig_obj
[1] ;
27986 if (!args
) SWIG_fail
;
27987 swig_obj
[0] = args
;
27988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27989 if (!SWIG_IsOK(res1
)) {
27990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
27992 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27995 result
= (arg1
)->GetPoint();
27996 wxPyEndAllowThreads(__tstate
);
27997 if (PyErr_Occurred()) SWIG_fail
;
27999 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28006 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28007 PyObject
*resultobj
= 0;
28008 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28009 wxString
*result
= 0 ;
28012 PyObject
*swig_obj
[1] ;
28014 if (!args
) SWIG_fail
;
28015 swig_obj
[0] = args
;
28016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28017 if (!SWIG_IsOK(res1
)) {
28018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28020 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28024 wxString
const &_result_ref
= (arg1
)->GetLabel();
28025 result
= (wxString
*) &_result_ref
;
28027 wxPyEndAllowThreads(__tstate
);
28028 if (PyErr_Occurred()) SWIG_fail
;
28032 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28034 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28043 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28044 PyObject
*resultobj
= 0;
28045 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28046 wxString
*result
= 0 ;
28049 PyObject
*swig_obj
[1] ;
28051 if (!args
) SWIG_fail
;
28052 swig_obj
[0] = args
;
28053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28054 if (!SWIG_IsOK(res1
)) {
28055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28057 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28061 wxString
const &_result_ref
= (arg1
)->GetText();
28062 result
= (wxString
*) &_result_ref
;
28064 wxPyEndAllowThreads(__tstate
);
28065 if (PyErr_Occurred()) SWIG_fail
;
28069 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28071 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28080 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28081 PyObject
*resultobj
= 0;
28082 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28086 PyObject
*swig_obj
[1] ;
28088 if (!args
) SWIG_fail
;
28089 swig_obj
[0] = args
;
28090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28091 if (!SWIG_IsOK(res1
)) {
28092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28094 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28097 result
= (int)(arg1
)->GetImage();
28098 wxPyEndAllowThreads(__tstate
);
28099 if (PyErr_Occurred()) SWIG_fail
;
28101 resultobj
= SWIG_From_int(static_cast< int >(result
));
28108 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28109 PyObject
*resultobj
= 0;
28110 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28114 PyObject
*swig_obj
[1] ;
28116 if (!args
) SWIG_fail
;
28117 swig_obj
[0] = args
;
28118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28119 if (!SWIG_IsOK(res1
)) {
28120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28122 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28125 result
= (long)(arg1
)->GetData();
28126 wxPyEndAllowThreads(__tstate
);
28127 if (PyErr_Occurred()) SWIG_fail
;
28129 resultobj
= SWIG_From_long(static_cast< long >(result
));
28136 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28137 PyObject
*resultobj
= 0;
28138 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28142 PyObject
*swig_obj
[1] ;
28144 if (!args
) SWIG_fail
;
28145 swig_obj
[0] = args
;
28146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28147 if (!SWIG_IsOK(res1
)) {
28148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28150 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28153 result
= (long)(arg1
)->GetMask();
28154 wxPyEndAllowThreads(__tstate
);
28155 if (PyErr_Occurred()) SWIG_fail
;
28157 resultobj
= SWIG_From_long(static_cast< long >(result
));
28164 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28165 PyObject
*resultobj
= 0;
28166 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28167 wxListItem
*result
= 0 ;
28170 PyObject
*swig_obj
[1] ;
28172 if (!args
) SWIG_fail
;
28173 swig_obj
[0] = args
;
28174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28175 if (!SWIG_IsOK(res1
)) {
28176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28178 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28182 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28183 result
= (wxListItem
*) &_result_ref
;
28185 wxPyEndAllowThreads(__tstate
);
28186 if (PyErr_Occurred()) SWIG_fail
;
28188 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28195 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28196 PyObject
*resultobj
= 0;
28197 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28201 PyObject
*swig_obj
[1] ;
28203 if (!args
) SWIG_fail
;
28204 swig_obj
[0] = args
;
28205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28206 if (!SWIG_IsOK(res1
)) {
28207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28209 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28212 result
= (long)(arg1
)->GetCacheFrom();
28213 wxPyEndAllowThreads(__tstate
);
28214 if (PyErr_Occurred()) SWIG_fail
;
28216 resultobj
= SWIG_From_long(static_cast< long >(result
));
28223 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28224 PyObject
*resultobj
= 0;
28225 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28229 PyObject
*swig_obj
[1] ;
28231 if (!args
) SWIG_fail
;
28232 swig_obj
[0] = args
;
28233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28234 if (!SWIG_IsOK(res1
)) {
28235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28237 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28240 result
= (long)(arg1
)->GetCacheTo();
28241 wxPyEndAllowThreads(__tstate
);
28242 if (PyErr_Occurred()) SWIG_fail
;
28244 resultobj
= SWIG_From_long(static_cast< long >(result
));
28251 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28252 PyObject
*resultobj
= 0;
28253 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28257 PyObject
*swig_obj
[1] ;
28259 if (!args
) SWIG_fail
;
28260 swig_obj
[0] = args
;
28261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28262 if (!SWIG_IsOK(res1
)) {
28263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28265 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28268 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28269 wxPyEndAllowThreads(__tstate
);
28270 if (PyErr_Occurred()) SWIG_fail
;
28273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28281 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28282 PyObject
*resultobj
= 0;
28283 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28289 PyObject
* obj0
= 0 ;
28290 PyObject
* obj1
= 0 ;
28291 char * kwnames
[] = {
28292 (char *) "self",(char *) "editCancelled", NULL
28295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28297 if (!SWIG_IsOK(res1
)) {
28298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28300 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28301 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28302 if (!SWIG_IsOK(ecode2
)) {
28303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28305 arg2
= static_cast< bool >(val2
);
28307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28308 (arg1
)->SetEditCanceled(arg2
);
28309 wxPyEndAllowThreads(__tstate
);
28310 if (PyErr_Occurred()) SWIG_fail
;
28312 resultobj
= SWIG_Py_Void();
28319 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28321 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28322 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28323 return SWIG_Py_Void();
28326 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28327 return SWIG_Python_InitShadowInstance(args
);
28330 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28331 PyObject
*resultobj
= 0;
28332 wxWindow
*arg1
= (wxWindow
*) 0 ;
28333 int arg2
= (int) -1 ;
28334 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28335 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28336 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28337 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28338 long arg5
= (long) wxLC_ICON
;
28339 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28340 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28341 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28342 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28343 wxPyListCtrl
*result
= 0 ;
28354 bool temp7
= false ;
28355 PyObject
* obj0
= 0 ;
28356 PyObject
* obj1
= 0 ;
28357 PyObject
* obj2
= 0 ;
28358 PyObject
* obj3
= 0 ;
28359 PyObject
* obj4
= 0 ;
28360 PyObject
* obj5
= 0 ;
28361 PyObject
* obj6
= 0 ;
28362 char * kwnames
[] = {
28363 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28368 if (!SWIG_IsOK(res1
)) {
28369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28371 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28373 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28374 if (!SWIG_IsOK(ecode2
)) {
28375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28377 arg2
= static_cast< int >(val2
);
28382 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28388 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28392 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28393 if (!SWIG_IsOK(ecode5
)) {
28394 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28396 arg5
= static_cast< long >(val5
);
28399 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28400 if (!SWIG_IsOK(res6
)) {
28401 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28404 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28406 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28410 arg7
= wxString_in_helper(obj6
);
28411 if (arg7
== NULL
) SWIG_fail
;
28416 if (!wxPyCheckForApp()) SWIG_fail
;
28417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28418 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28419 wxPyEndAllowThreads(__tstate
);
28420 if (PyErr_Occurred()) SWIG_fail
;
28422 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28437 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28438 PyObject
*resultobj
= 0;
28439 wxPyListCtrl
*result
= 0 ;
28441 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28443 if (!wxPyCheckForApp()) SWIG_fail
;
28444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28445 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28446 wxPyEndAllowThreads(__tstate
);
28447 if (PyErr_Occurred()) SWIG_fail
;
28449 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28456 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28457 PyObject
*resultobj
= 0;
28458 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28459 wxWindow
*arg2
= (wxWindow
*) 0 ;
28460 int arg3
= (int) -1 ;
28461 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28462 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28463 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28464 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28465 long arg6
= (long) wxLC_ICON
;
28466 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28467 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28468 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28469 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28483 bool temp8
= false ;
28484 PyObject
* obj0
= 0 ;
28485 PyObject
* obj1
= 0 ;
28486 PyObject
* obj2
= 0 ;
28487 PyObject
* obj3
= 0 ;
28488 PyObject
* obj4
= 0 ;
28489 PyObject
* obj5
= 0 ;
28490 PyObject
* obj6
= 0 ;
28491 PyObject
* obj7
= 0 ;
28492 char * kwnames
[] = {
28493 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28498 if (!SWIG_IsOK(res1
)) {
28499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28501 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28502 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28503 if (!SWIG_IsOK(res2
)) {
28504 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28506 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28508 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28509 if (!SWIG_IsOK(ecode3
)) {
28510 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28512 arg3
= static_cast< int >(val3
);
28517 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28523 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28527 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28528 if (!SWIG_IsOK(ecode6
)) {
28529 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28531 arg6
= static_cast< long >(val6
);
28534 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
28535 if (!SWIG_IsOK(res7
)) {
28536 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28539 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28541 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
28545 arg8
= wxString_in_helper(obj7
);
28546 if (arg8
== NULL
) SWIG_fail
;
28551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28552 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28553 wxPyEndAllowThreads(__tstate
);
28554 if (PyErr_Occurred()) SWIG_fail
;
28557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28573 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28574 PyObject
*resultobj
= 0;
28575 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28576 PyObject
*arg2
= (PyObject
*) 0 ;
28577 PyObject
*arg3
= (PyObject
*) 0 ;
28580 PyObject
* obj0
= 0 ;
28581 PyObject
* obj1
= 0 ;
28582 PyObject
* obj2
= 0 ;
28583 char * kwnames
[] = {
28584 (char *) "self",(char *) "self",(char *) "_class", NULL
28587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28589 if (!SWIG_IsOK(res1
)) {
28590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28592 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28597 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28598 wxPyEndAllowThreads(__tstate
);
28599 if (PyErr_Occurred()) SWIG_fail
;
28601 resultobj
= SWIG_Py_Void();
28608 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28609 PyObject
*resultobj
= 0;
28610 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28612 wxListItem
*result
= 0 ;
28617 PyObject
* obj0
= 0 ;
28618 PyObject
* obj1
= 0 ;
28619 char * kwnames
[] = {
28620 (char *) "self",(char *) "col", NULL
28623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28625 if (!SWIG_IsOK(res1
)) {
28626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28628 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28629 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28630 if (!SWIG_IsOK(ecode2
)) {
28631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
28633 arg2
= static_cast< int >(val2
);
28635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28636 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
28637 wxPyEndAllowThreads(__tstate
);
28638 if (PyErr_Occurred()) SWIG_fail
;
28641 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28649 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28650 PyObject
*resultobj
= 0;
28651 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28653 wxListItem
*arg3
= 0 ;
28661 PyObject
* obj0
= 0 ;
28662 PyObject
* obj1
= 0 ;
28663 PyObject
* obj2
= 0 ;
28664 char * kwnames
[] = {
28665 (char *) "self",(char *) "col",(char *) "item", NULL
28668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28670 if (!SWIG_IsOK(res1
)) {
28671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28673 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28674 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28675 if (!SWIG_IsOK(ecode2
)) {
28676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
28678 arg2
= static_cast< int >(val2
);
28679 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
28680 if (!SWIG_IsOK(res3
)) {
28681 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28684 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28686 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
28688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28689 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
28690 wxPyEndAllowThreads(__tstate
);
28691 if (PyErr_Occurred()) SWIG_fail
;
28694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28702 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28703 PyObject
*resultobj
= 0;
28704 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28711 PyObject
* obj0
= 0 ;
28712 PyObject
* obj1
= 0 ;
28713 char * kwnames
[] = {
28714 (char *) "self",(char *) "col", NULL
28717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28719 if (!SWIG_IsOK(res1
)) {
28720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28722 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28723 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28724 if (!SWIG_IsOK(ecode2
)) {
28725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28727 arg2
= static_cast< int >(val2
);
28729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28730 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
28731 wxPyEndAllowThreads(__tstate
);
28732 if (PyErr_Occurred()) SWIG_fail
;
28734 resultobj
= SWIG_From_int(static_cast< int >(result
));
28741 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28742 PyObject
*resultobj
= 0;
28743 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28753 PyObject
* obj0
= 0 ;
28754 PyObject
* obj1
= 0 ;
28755 PyObject
* obj2
= 0 ;
28756 char * kwnames
[] = {
28757 (char *) "self",(char *) "col",(char *) "width", NULL
28760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28762 if (!SWIG_IsOK(res1
)) {
28763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28765 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28766 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28767 if (!SWIG_IsOK(ecode2
)) {
28768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28770 arg2
= static_cast< int >(val2
);
28771 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28772 if (!SWIG_IsOK(ecode3
)) {
28773 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
28775 arg3
= static_cast< int >(val3
);
28777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28778 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
28779 wxPyEndAllowThreads(__tstate
);
28780 if (PyErr_Occurred()) SWIG_fail
;
28783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28791 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28792 PyObject
*resultobj
= 0;
28793 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28797 PyObject
*swig_obj
[1] ;
28799 if (!args
) SWIG_fail
;
28800 swig_obj
[0] = args
;
28801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28802 if (!SWIG_IsOK(res1
)) {
28803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28805 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28808 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
28809 wxPyEndAllowThreads(__tstate
);
28810 if (PyErr_Occurred()) SWIG_fail
;
28812 resultobj
= SWIG_From_int(static_cast< int >(result
));
28819 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28820 PyObject
*resultobj
= 0;
28821 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28825 PyObject
*swig_obj
[1] ;
28827 if (!args
) SWIG_fail
;
28828 swig_obj
[0] = args
;
28829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28830 if (!SWIG_IsOK(res1
)) {
28831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28833 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28836 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
28837 wxPyEndAllowThreads(__tstate
);
28838 if (PyErr_Occurred()) SWIG_fail
;
28840 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28847 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28848 PyObject
*resultobj
= 0;
28849 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28850 wxTextCtrl
*result
= 0 ;
28853 PyObject
*swig_obj
[1] ;
28855 if (!args
) SWIG_fail
;
28856 swig_obj
[0] = args
;
28857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28858 if (!SWIG_IsOK(res1
)) {
28859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28861 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28864 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
28865 wxPyEndAllowThreads(__tstate
);
28866 if (PyErr_Occurred()) SWIG_fail
;
28869 resultobj
= wxPyMake_wxObject(result
, 0);
28877 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28878 PyObject
*resultobj
= 0;
28879 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28881 int arg3
= (int) 0 ;
28882 wxListItem
*result
= 0 ;
28889 PyObject
* obj0
= 0 ;
28890 PyObject
* obj1
= 0 ;
28891 PyObject
* obj2
= 0 ;
28892 char * kwnames
[] = {
28893 (char *) "self",(char *) "itemId",(char *) "col", NULL
28896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28898 if (!SWIG_IsOK(res1
)) {
28899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28901 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28902 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28903 if (!SWIG_IsOK(ecode2
)) {
28904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
28906 arg2
= static_cast< long >(val2
);
28908 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28909 if (!SWIG_IsOK(ecode3
)) {
28910 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
28912 arg3
= static_cast< int >(val3
);
28915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28916 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
28917 wxPyEndAllowThreads(__tstate
);
28918 if (PyErr_Occurred()) SWIG_fail
;
28921 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28929 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28930 PyObject
*resultobj
= 0;
28931 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28932 wxListItem
*arg2
= 0 ;
28938 PyObject
* obj0
= 0 ;
28939 PyObject
* obj1
= 0 ;
28940 char * kwnames
[] = {
28941 (char *) "self",(char *) "info", NULL
28944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28946 if (!SWIG_IsOK(res1
)) {
28947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28949 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28950 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
28951 if (!SWIG_IsOK(res2
)) {
28952 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
28955 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
28957 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
28959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28960 result
= (bool)(arg1
)->SetItem(*arg2
);
28961 wxPyEndAllowThreads(__tstate
);
28962 if (PyErr_Occurred()) SWIG_fail
;
28965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28973 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28974 PyObject
*resultobj
= 0;
28975 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28978 wxString
*arg4
= 0 ;
28979 int arg5
= (int) -1 ;
28987 bool temp4
= false ;
28990 PyObject
* obj0
= 0 ;
28991 PyObject
* obj1
= 0 ;
28992 PyObject
* obj2
= 0 ;
28993 PyObject
* obj3
= 0 ;
28994 PyObject
* obj4
= 0 ;
28995 char * kwnames
[] = {
28996 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
28999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29001 if (!SWIG_IsOK(res1
)) {
29002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29004 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29005 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29006 if (!SWIG_IsOK(ecode2
)) {
29007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29009 arg2
= static_cast< long >(val2
);
29010 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29011 if (!SWIG_IsOK(ecode3
)) {
29012 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29014 arg3
= static_cast< int >(val3
);
29016 arg4
= wxString_in_helper(obj3
);
29017 if (arg4
== NULL
) SWIG_fail
;
29021 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29022 if (!SWIG_IsOK(ecode5
)) {
29023 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29025 arg5
= static_cast< int >(val5
);
29028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29029 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29030 wxPyEndAllowThreads(__tstate
);
29031 if (PyErr_Occurred()) SWIG_fail
;
29033 resultobj
= SWIG_From_long(static_cast< long >(result
));
29048 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29049 PyObject
*resultobj
= 0;
29050 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29060 PyObject
* obj0
= 0 ;
29061 PyObject
* obj1
= 0 ;
29062 PyObject
* obj2
= 0 ;
29063 char * kwnames
[] = {
29064 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29069 if (!SWIG_IsOK(res1
)) {
29070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29072 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29073 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29074 if (!SWIG_IsOK(ecode2
)) {
29075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29077 arg2
= static_cast< long >(val2
);
29078 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29079 if (!SWIG_IsOK(ecode3
)) {
29080 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29082 arg3
= static_cast< long >(val3
);
29084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29085 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29086 wxPyEndAllowThreads(__tstate
);
29087 if (PyErr_Occurred()) SWIG_fail
;
29089 resultobj
= SWIG_From_int(static_cast< int >(result
));
29096 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29097 PyObject
*resultobj
= 0;
29098 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29111 PyObject
* obj0
= 0 ;
29112 PyObject
* obj1
= 0 ;
29113 PyObject
* obj2
= 0 ;
29114 PyObject
* obj3
= 0 ;
29115 char * kwnames
[] = {
29116 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29121 if (!SWIG_IsOK(res1
)) {
29122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29124 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29125 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29126 if (!SWIG_IsOK(ecode2
)) {
29127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29129 arg2
= static_cast< long >(val2
);
29130 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29131 if (!SWIG_IsOK(ecode3
)) {
29132 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29134 arg3
= static_cast< long >(val3
);
29135 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29136 if (!SWIG_IsOK(ecode4
)) {
29137 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29139 arg4
= static_cast< long >(val4
);
29141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29142 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29143 wxPyEndAllowThreads(__tstate
);
29144 if (PyErr_Occurred()) SWIG_fail
;
29147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29155 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29156 PyObject
*resultobj
= 0;
29157 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29160 int arg4
= (int) -1 ;
29170 PyObject
* obj0
= 0 ;
29171 PyObject
* obj1
= 0 ;
29172 PyObject
* obj2
= 0 ;
29173 PyObject
* obj3
= 0 ;
29174 char * kwnames
[] = {
29175 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29180 if (!SWIG_IsOK(res1
)) {
29181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29183 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29184 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29185 if (!SWIG_IsOK(ecode2
)) {
29186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29188 arg2
= static_cast< long >(val2
);
29189 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29190 if (!SWIG_IsOK(ecode3
)) {
29191 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29193 arg3
= static_cast< int >(val3
);
29195 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29196 if (!SWIG_IsOK(ecode4
)) {
29197 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29199 arg4
= static_cast< int >(val4
);
29202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29203 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29204 wxPyEndAllowThreads(__tstate
);
29205 if (PyErr_Occurred()) SWIG_fail
;
29208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29216 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29217 PyObject
*resultobj
= 0;
29218 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29231 PyObject
* obj0
= 0 ;
29232 PyObject
* obj1
= 0 ;
29233 PyObject
* obj2
= 0 ;
29234 PyObject
* obj3
= 0 ;
29235 char * kwnames
[] = {
29236 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29241 if (!SWIG_IsOK(res1
)) {
29242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29244 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29245 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29246 if (!SWIG_IsOK(ecode2
)) {
29247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29249 arg2
= static_cast< long >(val2
);
29250 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29251 if (!SWIG_IsOK(ecode3
)) {
29252 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29254 arg3
= static_cast< long >(val3
);
29255 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29256 if (!SWIG_IsOK(ecode4
)) {
29257 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29259 arg4
= static_cast< int >(val4
);
29261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29262 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29263 wxPyEndAllowThreads(__tstate
);
29264 if (PyErr_Occurred()) SWIG_fail
;
29267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29275 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29276 PyObject
*resultobj
= 0;
29277 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29284 PyObject
* obj0
= 0 ;
29285 PyObject
* obj1
= 0 ;
29286 char * kwnames
[] = {
29287 (char *) "self",(char *) "item", NULL
29290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29292 if (!SWIG_IsOK(res1
)) {
29293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29295 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29296 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29297 if (!SWIG_IsOK(ecode2
)) {
29298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29300 arg2
= static_cast< long >(val2
);
29302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29303 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29304 wxPyEndAllowThreads(__tstate
);
29305 if (PyErr_Occurred()) SWIG_fail
;
29309 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29311 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29320 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29321 PyObject
*resultobj
= 0;
29322 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29324 wxString
*arg3
= 0 ;
29329 bool temp3
= false ;
29330 PyObject
* obj0
= 0 ;
29331 PyObject
* obj1
= 0 ;
29332 PyObject
* obj2
= 0 ;
29333 char * kwnames
[] = {
29334 (char *) "self",(char *) "item",(char *) "str", NULL
29337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29339 if (!SWIG_IsOK(res1
)) {
29340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29342 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29343 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29344 if (!SWIG_IsOK(ecode2
)) {
29345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29347 arg2
= static_cast< long >(val2
);
29349 arg3
= wxString_in_helper(obj2
);
29350 if (arg3
== NULL
) SWIG_fail
;
29354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29355 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29356 wxPyEndAllowThreads(__tstate
);
29357 if (PyErr_Occurred()) SWIG_fail
;
29359 resultobj
= SWIG_Py_Void();
29374 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29375 PyObject
*resultobj
= 0;
29376 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29383 PyObject
* obj0
= 0 ;
29384 PyObject
* obj1
= 0 ;
29385 char * kwnames
[] = {
29386 (char *) "self",(char *) "item", NULL
29389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29391 if (!SWIG_IsOK(res1
)) {
29392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29394 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29395 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29396 if (!SWIG_IsOK(ecode2
)) {
29397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29399 arg2
= static_cast< long >(val2
);
29401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29402 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29403 wxPyEndAllowThreads(__tstate
);
29404 if (PyErr_Occurred()) SWIG_fail
;
29406 resultobj
= SWIG_From_long(static_cast< long >(result
));
29413 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29414 PyObject
*resultobj
= 0;
29415 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29425 PyObject
* obj0
= 0 ;
29426 PyObject
* obj1
= 0 ;
29427 PyObject
* obj2
= 0 ;
29428 char * kwnames
[] = {
29429 (char *) "self",(char *) "item",(char *) "data", NULL
29432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29434 if (!SWIG_IsOK(res1
)) {
29435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29437 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29438 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29439 if (!SWIG_IsOK(ecode2
)) {
29440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29442 arg2
= static_cast< long >(val2
);
29443 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29444 if (!SWIG_IsOK(ecode3
)) {
29445 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29447 arg3
= static_cast< long >(val3
);
29449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29450 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29451 wxPyEndAllowThreads(__tstate
);
29452 if (PyErr_Occurred()) SWIG_fail
;
29455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29463 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29464 PyObject
*resultobj
= 0;
29465 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29472 PyObject
* obj0
= 0 ;
29473 PyObject
* obj1
= 0 ;
29474 char * kwnames
[] = {
29475 (char *) "self",(char *) "item", NULL
29478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29480 if (!SWIG_IsOK(res1
)) {
29481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29483 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29484 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29485 if (!SWIG_IsOK(ecode2
)) {
29486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29488 arg2
= static_cast< long >(val2
);
29490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29491 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29492 wxPyEndAllowThreads(__tstate
);
29493 if (PyErr_Occurred()) SWIG_fail
;
29495 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29502 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29503 PyObject
*resultobj
= 0;
29504 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29506 int arg3
= (int) wxLIST_RECT_BOUNDS
;
29514 PyObject
* obj0
= 0 ;
29515 PyObject
* obj1
= 0 ;
29516 PyObject
* obj2
= 0 ;
29517 char * kwnames
[] = {
29518 (char *) "self",(char *) "item",(char *) "code", NULL
29521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29523 if (!SWIG_IsOK(res1
)) {
29524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29526 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29527 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29528 if (!SWIG_IsOK(ecode2
)) {
29529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29531 arg2
= static_cast< long >(val2
);
29533 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29534 if (!SWIG_IsOK(ecode3
)) {
29535 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29537 arg3
= static_cast< int >(val3
);
29540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29541 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
29542 wxPyEndAllowThreads(__tstate
);
29543 if (PyErr_Occurred()) SWIG_fail
;
29545 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29552 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29553 PyObject
*resultobj
= 0;
29554 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29556 wxPoint
*arg3
= 0 ;
29563 PyObject
* obj0
= 0 ;
29564 PyObject
* obj1
= 0 ;
29565 PyObject
* obj2
= 0 ;
29566 char * kwnames
[] = {
29567 (char *) "self",(char *) "item",(char *) "pos", NULL
29570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29572 if (!SWIG_IsOK(res1
)) {
29573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29575 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29576 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29577 if (!SWIG_IsOK(ecode2
)) {
29578 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
29580 arg2
= static_cast< long >(val2
);
29583 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29587 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
29588 wxPyEndAllowThreads(__tstate
);
29589 if (PyErr_Occurred()) SWIG_fail
;
29592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29600 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29601 PyObject
*resultobj
= 0;
29602 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29606 PyObject
*swig_obj
[1] ;
29608 if (!args
) SWIG_fail
;
29609 swig_obj
[0] = args
;
29610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29611 if (!SWIG_IsOK(res1
)) {
29612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29614 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29617 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
29618 wxPyEndAllowThreads(__tstate
);
29619 if (PyErr_Occurred()) SWIG_fail
;
29621 resultobj
= SWIG_From_int(static_cast< int >(result
));
29628 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29629 PyObject
*resultobj
= 0;
29630 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29634 PyObject
*swig_obj
[1] ;
29636 if (!args
) SWIG_fail
;
29637 swig_obj
[0] = args
;
29638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29639 if (!SWIG_IsOK(res1
)) {
29640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29642 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29645 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
29646 wxPyEndAllowThreads(__tstate
);
29647 if (PyErr_Occurred()) SWIG_fail
;
29649 resultobj
= SWIG_From_int(static_cast< int >(result
));
29656 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29657 PyObject
*resultobj
= 0;
29658 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29662 PyObject
*swig_obj
[1] ;
29664 if (!args
) SWIG_fail
;
29665 swig_obj
[0] = args
;
29666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29667 if (!SWIG_IsOK(res1
)) {
29668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29670 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29673 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
29674 wxPyEndAllowThreads(__tstate
);
29675 if (PyErr_Occurred()) SWIG_fail
;
29677 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
29684 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29685 PyObject
*resultobj
= 0;
29686 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29688 bool arg3
= (bool) false ;
29695 PyObject
* obj0
= 0 ;
29696 PyObject
* obj1
= 0 ;
29697 PyObject
* obj2
= 0 ;
29698 char * kwnames
[] = {
29699 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
29702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29704 if (!SWIG_IsOK(res1
)) {
29705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29707 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29708 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29709 if (!SWIG_IsOK(ecode2
)) {
29710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
29712 arg2
= static_cast< int >(val2
);
29714 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29715 if (!SWIG_IsOK(ecode3
)) {
29716 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
29718 arg3
= static_cast< bool >(val3
);
29721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29722 (arg1
)->SetItemSpacing(arg2
,arg3
);
29723 wxPyEndAllowThreads(__tstate
);
29724 if (PyErr_Occurred()) SWIG_fail
;
29726 resultobj
= SWIG_Py_Void();
29733 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29734 PyObject
*resultobj
= 0;
29735 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29739 PyObject
*swig_obj
[1] ;
29741 if (!args
) SWIG_fail
;
29742 swig_obj
[0] = args
;
29743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29744 if (!SWIG_IsOK(res1
)) {
29745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29747 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29750 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
29751 wxPyEndAllowThreads(__tstate
);
29752 if (PyErr_Occurred()) SWIG_fail
;
29754 resultobj
= SWIG_From_int(static_cast< int >(result
));
29761 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29762 PyObject
*resultobj
= 0;
29763 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29767 PyObject
*swig_obj
[1] ;
29769 if (!args
) SWIG_fail
;
29770 swig_obj
[0] = args
;
29771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29772 if (!SWIG_IsOK(res1
)) {
29773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29775 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29778 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
29779 wxPyEndAllowThreads(__tstate
);
29780 if (PyErr_Occurred()) SWIG_fail
;
29782 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29789 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29790 PyObject
*resultobj
= 0;
29791 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29792 wxColour
*arg2
= 0 ;
29796 PyObject
* obj0
= 0 ;
29797 PyObject
* obj1
= 0 ;
29798 char * kwnames
[] = {
29799 (char *) "self",(char *) "col", NULL
29802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29804 if (!SWIG_IsOK(res1
)) {
29805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29807 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29810 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29814 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
29815 wxPyEndAllowThreads(__tstate
);
29816 if (PyErr_Occurred()) SWIG_fail
;
29818 resultobj
= SWIG_Py_Void();
29825 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29826 PyObject
*resultobj
= 0;
29827 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29831 PyObject
*swig_obj
[1] ;
29833 if (!args
) SWIG_fail
;
29834 swig_obj
[0] = args
;
29835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29836 if (!SWIG_IsOK(res1
)) {
29837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29839 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29842 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
29843 wxPyEndAllowThreads(__tstate
);
29844 if (PyErr_Occurred()) SWIG_fail
;
29846 resultobj
= SWIG_From_long(static_cast< long >(result
));
29853 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29854 PyObject
*resultobj
= 0;
29855 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29857 bool arg3
= (bool) true ;
29864 PyObject
* obj0
= 0 ;
29865 PyObject
* obj1
= 0 ;
29866 PyObject
* obj2
= 0 ;
29867 char * kwnames
[] = {
29868 (char *) "self",(char *) "style",(char *) "add", NULL
29871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29873 if (!SWIG_IsOK(res1
)) {
29874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29876 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29877 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29878 if (!SWIG_IsOK(ecode2
)) {
29879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
29881 arg2
= static_cast< long >(val2
);
29883 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29884 if (!SWIG_IsOK(ecode3
)) {
29885 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
29887 arg3
= static_cast< bool >(val3
);
29890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29891 (arg1
)->SetSingleStyle(arg2
,arg3
);
29892 wxPyEndAllowThreads(__tstate
);
29893 if (PyErr_Occurred()) SWIG_fail
;
29895 resultobj
= SWIG_Py_Void();
29902 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29903 PyObject
*resultobj
= 0;
29904 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29906 int arg3
= (int) wxLIST_NEXT_ALL
;
29907 int arg4
= (int) wxLIST_STATE_DONTCARE
;
29917 PyObject
* obj0
= 0 ;
29918 PyObject
* obj1
= 0 ;
29919 PyObject
* obj2
= 0 ;
29920 PyObject
* obj3
= 0 ;
29921 char * kwnames
[] = {
29922 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
29925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29927 if (!SWIG_IsOK(res1
)) {
29928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29930 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29931 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29932 if (!SWIG_IsOK(ecode2
)) {
29933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
29935 arg2
= static_cast< long >(val2
);
29937 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29938 if (!SWIG_IsOK(ecode3
)) {
29939 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
29941 arg3
= static_cast< int >(val3
);
29944 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29945 if (!SWIG_IsOK(ecode4
)) {
29946 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
29948 arg4
= static_cast< int >(val4
);
29951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29952 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
29953 wxPyEndAllowThreads(__tstate
);
29954 if (PyErr_Occurred()) SWIG_fail
;
29956 resultobj
= SWIG_From_long(static_cast< long >(result
));
29963 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29964 PyObject
*resultobj
= 0;
29965 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29967 wxImageList
*result
= 0 ;
29972 PyObject
* obj0
= 0 ;
29973 PyObject
* obj1
= 0 ;
29974 char * kwnames
[] = {
29975 (char *) "self",(char *) "which", NULL
29978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29980 if (!SWIG_IsOK(res1
)) {
29981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29983 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29984 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29985 if (!SWIG_IsOK(ecode2
)) {
29986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
29988 arg2
= static_cast< int >(val2
);
29990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29991 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
29992 wxPyEndAllowThreads(__tstate
);
29993 if (PyErr_Occurred()) SWIG_fail
;
29996 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30004 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30005 PyObject
*resultobj
= 0;
30006 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30007 wxImageList
*arg2
= (wxImageList
*) 0 ;
30015 PyObject
* obj0
= 0 ;
30016 PyObject
* obj1
= 0 ;
30017 PyObject
* obj2
= 0 ;
30018 char * kwnames
[] = {
30019 (char *) "self",(char *) "imageList",(char *) "which", NULL
30022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30024 if (!SWIG_IsOK(res1
)) {
30025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30027 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30028 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30029 if (!SWIG_IsOK(res2
)) {
30030 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30032 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30033 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30034 if (!SWIG_IsOK(ecode3
)) {
30035 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30037 arg3
= static_cast< int >(val3
);
30039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30040 (arg1
)->SetImageList(arg2
,arg3
);
30041 wxPyEndAllowThreads(__tstate
);
30042 if (PyErr_Occurred()) SWIG_fail
;
30044 resultobj
= SWIG_Py_Void();
30051 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30052 PyObject
*resultobj
= 0;
30053 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30054 wxImageList
*arg2
= (wxImageList
*) 0 ;
30061 PyObject
* obj0
= 0 ;
30062 PyObject
* obj1
= 0 ;
30063 PyObject
* obj2
= 0 ;
30064 char * kwnames
[] = {
30065 (char *) "self",(char *) "imageList",(char *) "which", NULL
30068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30070 if (!SWIG_IsOK(res1
)) {
30071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30073 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30074 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30075 if (!SWIG_IsOK(res2
)) {
30076 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30078 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30079 if (!SWIG_IsOK(ecode3
)) {
30080 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30082 arg3
= static_cast< int >(val3
);
30084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30085 (arg1
)->AssignImageList(arg2
,arg3
);
30086 wxPyEndAllowThreads(__tstate
);
30087 if (PyErr_Occurred()) SWIG_fail
;
30089 resultobj
= SWIG_Py_Void();
30096 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30097 PyObject
*resultobj
= 0;
30098 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30102 PyObject
*swig_obj
[1] ;
30104 if (!args
) SWIG_fail
;
30105 swig_obj
[0] = args
;
30106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30107 if (!SWIG_IsOK(res1
)) {
30108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30110 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30113 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30114 wxPyEndAllowThreads(__tstate
);
30115 if (PyErr_Occurred()) SWIG_fail
;
30118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30126 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30127 PyObject
*resultobj
= 0;
30128 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30132 PyObject
*swig_obj
[1] ;
30134 if (!args
) SWIG_fail
;
30135 swig_obj
[0] = args
;
30136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30137 if (!SWIG_IsOK(res1
)) {
30138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30140 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30143 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30144 wxPyEndAllowThreads(__tstate
);
30145 if (PyErr_Occurred()) SWIG_fail
;
30148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30156 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30157 PyObject
*resultobj
= 0;
30158 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30164 PyObject
* obj0
= 0 ;
30165 PyObject
* obj1
= 0 ;
30166 char * kwnames
[] = {
30167 (char *) "self",(char *) "item", NULL
30170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30172 if (!SWIG_IsOK(res1
)) {
30173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30175 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30176 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30177 if (!SWIG_IsOK(ecode2
)) {
30178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30180 arg2
= static_cast< long >(val2
);
30182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30183 (arg1
)->RefreshItem(arg2
);
30184 wxPyEndAllowThreads(__tstate
);
30185 if (PyErr_Occurred()) SWIG_fail
;
30187 resultobj
= SWIG_Py_Void();
30194 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30195 PyObject
*resultobj
= 0;
30196 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30205 PyObject
* obj0
= 0 ;
30206 PyObject
* obj1
= 0 ;
30207 PyObject
* obj2
= 0 ;
30208 char * kwnames
[] = {
30209 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30214 if (!SWIG_IsOK(res1
)) {
30215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30217 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30218 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30219 if (!SWIG_IsOK(ecode2
)) {
30220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30222 arg2
= static_cast< long >(val2
);
30223 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30224 if (!SWIG_IsOK(ecode3
)) {
30225 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30227 arg3
= static_cast< long >(val3
);
30229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30230 (arg1
)->RefreshItems(arg2
,arg3
);
30231 wxPyEndAllowThreads(__tstate
);
30232 if (PyErr_Occurred()) SWIG_fail
;
30234 resultobj
= SWIG_Py_Void();
30241 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30242 PyObject
*resultobj
= 0;
30243 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30244 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30250 PyObject
* obj0
= 0 ;
30251 PyObject
* obj1
= 0 ;
30252 char * kwnames
[] = {
30253 (char *) "self",(char *) "flag", NULL
30256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30258 if (!SWIG_IsOK(res1
)) {
30259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30261 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30263 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30264 if (!SWIG_IsOK(ecode2
)) {
30265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30267 arg2
= static_cast< int >(val2
);
30270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30271 result
= (bool)(arg1
)->Arrange(arg2
);
30272 wxPyEndAllowThreads(__tstate
);
30273 if (PyErr_Occurred()) SWIG_fail
;
30276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30284 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30285 PyObject
*resultobj
= 0;
30286 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30293 PyObject
* obj0
= 0 ;
30294 PyObject
* obj1
= 0 ;
30295 char * kwnames
[] = {
30296 (char *) "self",(char *) "item", NULL
30299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30301 if (!SWIG_IsOK(res1
)) {
30302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30304 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30305 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30306 if (!SWIG_IsOK(ecode2
)) {
30307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30309 arg2
= static_cast< long >(val2
);
30311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30312 result
= (bool)(arg1
)->DeleteItem(arg2
);
30313 wxPyEndAllowThreads(__tstate
);
30314 if (PyErr_Occurred()) SWIG_fail
;
30317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30325 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30326 PyObject
*resultobj
= 0;
30327 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30331 PyObject
*swig_obj
[1] ;
30333 if (!args
) SWIG_fail
;
30334 swig_obj
[0] = args
;
30335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30336 if (!SWIG_IsOK(res1
)) {
30337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30339 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30342 result
= (bool)(arg1
)->DeleteAllItems();
30343 wxPyEndAllowThreads(__tstate
);
30344 if (PyErr_Occurred()) SWIG_fail
;
30347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30355 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30356 PyObject
*resultobj
= 0;
30357 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30364 PyObject
* obj0
= 0 ;
30365 PyObject
* obj1
= 0 ;
30366 char * kwnames
[] = {
30367 (char *) "self",(char *) "col", NULL
30370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30372 if (!SWIG_IsOK(res1
)) {
30373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30375 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30376 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30377 if (!SWIG_IsOK(ecode2
)) {
30378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30380 arg2
= static_cast< int >(val2
);
30382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30383 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30384 wxPyEndAllowThreads(__tstate
);
30385 if (PyErr_Occurred()) SWIG_fail
;
30388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30396 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30397 PyObject
*resultobj
= 0;
30398 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30402 PyObject
*swig_obj
[1] ;
30404 if (!args
) SWIG_fail
;
30405 swig_obj
[0] = args
;
30406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30407 if (!SWIG_IsOK(res1
)) {
30408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30410 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30413 result
= (bool)(arg1
)->DeleteAllColumns();
30414 wxPyEndAllowThreads(__tstate
);
30415 if (PyErr_Occurred()) SWIG_fail
;
30418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30426 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30427 PyObject
*resultobj
= 0;
30428 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30431 PyObject
*swig_obj
[1] ;
30433 if (!args
) SWIG_fail
;
30434 swig_obj
[0] = args
;
30435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30436 if (!SWIG_IsOK(res1
)) {
30437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30439 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30442 (arg1
)->ClearAll();
30443 wxPyEndAllowThreads(__tstate
);
30444 if (PyErr_Occurred()) SWIG_fail
;
30446 resultobj
= SWIG_Py_Void();
30453 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30454 PyObject
*resultobj
= 0;
30455 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30461 PyObject
* obj0
= 0 ;
30462 PyObject
* obj1
= 0 ;
30463 char * kwnames
[] = {
30464 (char *) "self",(char *) "item", NULL
30467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30469 if (!SWIG_IsOK(res1
)) {
30470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30472 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30473 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30474 if (!SWIG_IsOK(ecode2
)) {
30475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30477 arg2
= static_cast< long >(val2
);
30479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30480 (arg1
)->EditLabel(arg2
);
30481 wxPyEndAllowThreads(__tstate
);
30482 if (PyErr_Occurred()) SWIG_fail
;
30484 resultobj
= SWIG_Py_Void();
30491 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30492 PyObject
*resultobj
= 0;
30493 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30500 PyObject
* obj0
= 0 ;
30501 PyObject
* obj1
= 0 ;
30502 char * kwnames
[] = {
30503 (char *) "self",(char *) "item", NULL
30506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30508 if (!SWIG_IsOK(res1
)) {
30509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30511 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30512 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30513 if (!SWIG_IsOK(ecode2
)) {
30514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30516 arg2
= static_cast< long >(val2
);
30518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30519 result
= (bool)(arg1
)->EnsureVisible(arg2
);
30520 wxPyEndAllowThreads(__tstate
);
30521 if (PyErr_Occurred()) SWIG_fail
;
30524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30532 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30533 PyObject
*resultobj
= 0;
30534 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30536 wxString
*arg3
= 0 ;
30537 bool arg4
= (bool) false ;
30543 bool temp3
= false ;
30546 PyObject
* obj0
= 0 ;
30547 PyObject
* obj1
= 0 ;
30548 PyObject
* obj2
= 0 ;
30549 PyObject
* obj3
= 0 ;
30550 char * kwnames
[] = {
30551 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30556 if (!SWIG_IsOK(res1
)) {
30557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30559 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30560 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30561 if (!SWIG_IsOK(ecode2
)) {
30562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
30564 arg2
= static_cast< long >(val2
);
30566 arg3
= wxString_in_helper(obj2
);
30567 if (arg3
== NULL
) SWIG_fail
;
30571 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30572 if (!SWIG_IsOK(ecode4
)) {
30573 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
30575 arg4
= static_cast< bool >(val4
);
30578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30579 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
30580 wxPyEndAllowThreads(__tstate
);
30581 if (PyErr_Occurred()) SWIG_fail
;
30583 resultobj
= SWIG_From_long(static_cast< long >(result
));
30598 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30599 PyObject
*resultobj
= 0;
30600 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30610 PyObject
* obj0
= 0 ;
30611 PyObject
* obj1
= 0 ;
30612 PyObject
* obj2
= 0 ;
30613 char * kwnames
[] = {
30614 (char *) "self",(char *) "start",(char *) "data", NULL
30617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30619 if (!SWIG_IsOK(res1
)) {
30620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30622 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30623 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30624 if (!SWIG_IsOK(ecode2
)) {
30625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
30627 arg2
= static_cast< long >(val2
);
30628 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30629 if (!SWIG_IsOK(ecode3
)) {
30630 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
30632 arg3
= static_cast< long >(val3
);
30634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30635 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
30636 wxPyEndAllowThreads(__tstate
);
30637 if (PyErr_Occurred()) SWIG_fail
;
30639 resultobj
= SWIG_From_long(static_cast< long >(result
));
30646 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30647 PyObject
*resultobj
= 0;
30648 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30650 wxPoint
*arg3
= 0 ;
30660 PyObject
* obj0
= 0 ;
30661 PyObject
* obj1
= 0 ;
30662 PyObject
* obj2
= 0 ;
30663 PyObject
* obj3
= 0 ;
30664 char * kwnames
[] = {
30665 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
30668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30670 if (!SWIG_IsOK(res1
)) {
30671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30673 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30674 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30675 if (!SWIG_IsOK(ecode2
)) {
30676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
30678 arg2
= static_cast< long >(val2
);
30681 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30683 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30684 if (!SWIG_IsOK(ecode4
)) {
30685 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
30687 arg4
= static_cast< int >(val4
);
30689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30690 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
30691 wxPyEndAllowThreads(__tstate
);
30692 if (PyErr_Occurred()) SWIG_fail
;
30694 resultobj
= SWIG_From_long(static_cast< long >(result
));
30701 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30702 PyObject
*resultobj
= 0;
30703 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30704 wxPoint
*arg2
= 0 ;
30711 int res3
= SWIG_TMPOBJ
;
30712 PyObject
* obj0
= 0 ;
30713 PyObject
* obj1
= 0 ;
30714 char * kwnames
[] = {
30715 (char *) "self",(char *) "point", NULL
30719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30721 if (!SWIG_IsOK(res1
)) {
30722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30724 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30727 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30731 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30732 wxPyEndAllowThreads(__tstate
);
30733 if (PyErr_Occurred()) SWIG_fail
;
30735 resultobj
= SWIG_From_long(static_cast< long >(result
));
30736 if (SWIG_IsTmpObj(res3
)) {
30737 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30739 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30740 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30748 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30749 PyObject
*resultobj
= 0;
30750 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30751 wxPoint
*arg2
= 0 ;
30753 long *arg4
= (long *) 0 ;
30759 int res3
= SWIG_TMPOBJ
;
30761 int res4
= SWIG_TMPOBJ
;
30762 PyObject
* obj0
= 0 ;
30763 PyObject
* obj1
= 0 ;
30764 char * kwnames
[] = {
30765 (char *) "self",(char *) "point", NULL
30770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30772 if (!SWIG_IsOK(res1
)) {
30773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30775 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30778 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30782 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
30783 wxPyEndAllowThreads(__tstate
);
30784 if (PyErr_Occurred()) SWIG_fail
;
30786 resultobj
= SWIG_From_long(static_cast< long >(result
));
30787 if (SWIG_IsTmpObj(res3
)) {
30788 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30790 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30791 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30793 if (SWIG_IsTmpObj(res4
)) {
30794 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
30796 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30797 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
30805 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30806 PyObject
*resultobj
= 0;
30807 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30808 wxListItem
*arg2
= 0 ;
30814 PyObject
* obj0
= 0 ;
30815 PyObject
* obj1
= 0 ;
30816 char * kwnames
[] = {
30817 (char *) "self",(char *) "info", NULL
30820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30822 if (!SWIG_IsOK(res1
)) {
30823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30825 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30826 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
30827 if (!SWIG_IsOK(res2
)) {
30828 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30831 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30833 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
30835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30836 result
= (long)(arg1
)->InsertItem(*arg2
);
30837 wxPyEndAllowThreads(__tstate
);
30838 if (PyErr_Occurred()) SWIG_fail
;
30840 resultobj
= SWIG_From_long(static_cast< long >(result
));
30847 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30848 PyObject
*resultobj
= 0;
30849 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30851 wxString
*arg3
= 0 ;
30852 int arg4
= (int) -1 ;
30858 bool temp3
= false ;
30861 PyObject
* obj0
= 0 ;
30862 PyObject
* obj1
= 0 ;
30863 PyObject
* obj2
= 0 ;
30864 PyObject
* obj3
= 0 ;
30865 char * kwnames
[] = {
30866 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
30869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30871 if (!SWIG_IsOK(res1
)) {
30872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30874 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30875 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30876 if (!SWIG_IsOK(ecode2
)) {
30877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
30879 arg2
= static_cast< long >(val2
);
30881 arg3
= wxString_in_helper(obj2
);
30882 if (arg3
== NULL
) SWIG_fail
;
30886 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30887 if (!SWIG_IsOK(ecode4
)) {
30888 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
30890 arg4
= static_cast< int >(val4
);
30893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30894 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
30895 wxPyEndAllowThreads(__tstate
);
30896 if (PyErr_Occurred()) SWIG_fail
;
30898 resultobj
= SWIG_From_long(static_cast< long >(result
));
30913 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30914 PyObject
*resultobj
= 0;
30915 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30925 PyObject
* obj0
= 0 ;
30926 PyObject
* obj1
= 0 ;
30927 PyObject
* obj2
= 0 ;
30928 char * kwnames
[] = {
30929 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
30932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30934 if (!SWIG_IsOK(res1
)) {
30935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30937 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30938 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30939 if (!SWIG_IsOK(ecode2
)) {
30940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
30942 arg2
= static_cast< long >(val2
);
30943 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30944 if (!SWIG_IsOK(ecode3
)) {
30945 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
30947 arg3
= static_cast< int >(val3
);
30949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30950 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
30951 wxPyEndAllowThreads(__tstate
);
30952 if (PyErr_Occurred()) SWIG_fail
;
30954 resultobj
= SWIG_From_long(static_cast< long >(result
));
30961 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30962 PyObject
*resultobj
= 0;
30963 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30965 wxString
*arg3
= 0 ;
30972 bool temp3
= false ;
30975 PyObject
* obj0
= 0 ;
30976 PyObject
* obj1
= 0 ;
30977 PyObject
* obj2
= 0 ;
30978 PyObject
* obj3
= 0 ;
30979 char * kwnames
[] = {
30980 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
30983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30985 if (!SWIG_IsOK(res1
)) {
30986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30988 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30989 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30990 if (!SWIG_IsOK(ecode2
)) {
30991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
30993 arg2
= static_cast< long >(val2
);
30995 arg3
= wxString_in_helper(obj2
);
30996 if (arg3
== NULL
) SWIG_fail
;
30999 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31000 if (!SWIG_IsOK(ecode4
)) {
31001 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31003 arg4
= static_cast< int >(val4
);
31005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31006 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31007 wxPyEndAllowThreads(__tstate
);
31008 if (PyErr_Occurred()) SWIG_fail
;
31010 resultobj
= SWIG_From_long(static_cast< long >(result
));
31025 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31026 PyObject
*resultobj
= 0;
31027 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31029 wxListItem
*arg3
= 0 ;
31037 PyObject
* obj0
= 0 ;
31038 PyObject
* obj1
= 0 ;
31039 PyObject
* obj2
= 0 ;
31040 char * kwnames
[] = {
31041 (char *) "self",(char *) "col",(char *) "info", NULL
31044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31046 if (!SWIG_IsOK(res1
)) {
31047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31049 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31050 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31051 if (!SWIG_IsOK(ecode2
)) {
31052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31054 arg2
= static_cast< long >(val2
);
31055 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31056 if (!SWIG_IsOK(res3
)) {
31057 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31060 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31062 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31065 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31066 wxPyEndAllowThreads(__tstate
);
31067 if (PyErr_Occurred()) SWIG_fail
;
31069 resultobj
= SWIG_From_long(static_cast< long >(result
));
31076 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31077 PyObject
*resultobj
= 0;
31078 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31080 wxString
*arg3
= 0 ;
31081 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31082 int arg5
= (int) -1 ;
31088 bool temp3
= false ;
31093 PyObject
* obj0
= 0 ;
31094 PyObject
* obj1
= 0 ;
31095 PyObject
* obj2
= 0 ;
31096 PyObject
* obj3
= 0 ;
31097 PyObject
* obj4
= 0 ;
31098 char * kwnames
[] = {
31099 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31104 if (!SWIG_IsOK(res1
)) {
31105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31107 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31108 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31109 if (!SWIG_IsOK(ecode2
)) {
31110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31112 arg2
= static_cast< long >(val2
);
31114 arg3
= wxString_in_helper(obj2
);
31115 if (arg3
== NULL
) SWIG_fail
;
31119 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31120 if (!SWIG_IsOK(ecode4
)) {
31121 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31123 arg4
= static_cast< int >(val4
);
31126 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31127 if (!SWIG_IsOK(ecode5
)) {
31128 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31130 arg5
= static_cast< int >(val5
);
31133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31134 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31135 wxPyEndAllowThreads(__tstate
);
31136 if (PyErr_Occurred()) SWIG_fail
;
31138 resultobj
= SWIG_From_long(static_cast< long >(result
));
31153 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31154 PyObject
*resultobj
= 0;
31155 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31161 PyObject
* obj0
= 0 ;
31162 PyObject
* obj1
= 0 ;
31163 char * kwnames
[] = {
31164 (char *) "self",(char *) "count", NULL
31167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31169 if (!SWIG_IsOK(res1
)) {
31170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31172 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31173 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31174 if (!SWIG_IsOK(ecode2
)) {
31175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31177 arg2
= static_cast< long >(val2
);
31179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31180 (arg1
)->SetItemCount(arg2
);
31181 wxPyEndAllowThreads(__tstate
);
31182 if (PyErr_Occurred()) SWIG_fail
;
31184 resultobj
= SWIG_Py_Void();
31191 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31192 PyObject
*resultobj
= 0;
31193 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31203 PyObject
* obj0
= 0 ;
31204 PyObject
* obj1
= 0 ;
31205 PyObject
* obj2
= 0 ;
31206 char * kwnames
[] = {
31207 (char *) "self",(char *) "dx",(char *) "dy", NULL
31210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31212 if (!SWIG_IsOK(res1
)) {
31213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31215 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31216 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31217 if (!SWIG_IsOK(ecode2
)) {
31218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31220 arg2
= static_cast< int >(val2
);
31221 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31222 if (!SWIG_IsOK(ecode3
)) {
31223 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31225 arg3
= static_cast< int >(val3
);
31227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31228 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31229 wxPyEndAllowThreads(__tstate
);
31230 if (PyErr_Occurred()) SWIG_fail
;
31233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31241 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31242 PyObject
*resultobj
= 0;
31243 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31245 wxColour
*arg3
= 0 ;
31251 PyObject
* obj0
= 0 ;
31252 PyObject
* obj1
= 0 ;
31253 PyObject
* obj2
= 0 ;
31254 char * kwnames
[] = {
31255 (char *) "self",(char *) "item",(char *) "col", NULL
31258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31260 if (!SWIG_IsOK(res1
)) {
31261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31263 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31264 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31265 if (!SWIG_IsOK(ecode2
)) {
31266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31268 arg2
= static_cast< long >(val2
);
31271 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31275 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31276 wxPyEndAllowThreads(__tstate
);
31277 if (PyErr_Occurred()) SWIG_fail
;
31279 resultobj
= SWIG_Py_Void();
31286 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31287 PyObject
*resultobj
= 0;
31288 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31295 PyObject
* obj0
= 0 ;
31296 PyObject
* obj1
= 0 ;
31297 char * kwnames
[] = {
31298 (char *) "self",(char *) "item", NULL
31301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31303 if (!SWIG_IsOK(res1
)) {
31304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31306 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31307 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31308 if (!SWIG_IsOK(ecode2
)) {
31309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31311 arg2
= static_cast< long >(val2
);
31313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31314 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31315 wxPyEndAllowThreads(__tstate
);
31316 if (PyErr_Occurred()) SWIG_fail
;
31318 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31325 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31326 PyObject
*resultobj
= 0;
31327 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31329 wxColour
*arg3
= 0 ;
31335 PyObject
* obj0
= 0 ;
31336 PyObject
* obj1
= 0 ;
31337 PyObject
* obj2
= 0 ;
31338 char * kwnames
[] = {
31339 (char *) "self",(char *) "item",(char *) "col", NULL
31342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31344 if (!SWIG_IsOK(res1
)) {
31345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31347 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31348 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31349 if (!SWIG_IsOK(ecode2
)) {
31350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31352 arg2
= static_cast< long >(val2
);
31355 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31359 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31360 wxPyEndAllowThreads(__tstate
);
31361 if (PyErr_Occurred()) SWIG_fail
;
31363 resultobj
= SWIG_Py_Void();
31370 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31371 PyObject
*resultobj
= 0;
31372 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31379 PyObject
* obj0
= 0 ;
31380 PyObject
* obj1
= 0 ;
31381 char * kwnames
[] = {
31382 (char *) "self",(char *) "item", NULL
31385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31387 if (!SWIG_IsOK(res1
)) {
31388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31390 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31391 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31392 if (!SWIG_IsOK(ecode2
)) {
31393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31395 arg2
= static_cast< long >(val2
);
31397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31398 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31399 wxPyEndAllowThreads(__tstate
);
31400 if (PyErr_Occurred()) SWIG_fail
;
31402 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31409 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31410 PyObject
*resultobj
= 0;
31411 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31420 PyObject
* obj0
= 0 ;
31421 PyObject
* obj1
= 0 ;
31422 PyObject
* obj2
= 0 ;
31423 char * kwnames
[] = {
31424 (char *) "self",(char *) "item",(char *) "f", NULL
31427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31429 if (!SWIG_IsOK(res1
)) {
31430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31432 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31433 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31434 if (!SWIG_IsOK(ecode2
)) {
31435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31437 arg2
= static_cast< long >(val2
);
31438 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31439 if (!SWIG_IsOK(res3
)) {
31440 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31443 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31445 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31448 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31449 wxPyEndAllowThreads(__tstate
);
31450 if (PyErr_Occurred()) SWIG_fail
;
31452 resultobj
= SWIG_Py_Void();
31459 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31460 PyObject
*resultobj
= 0;
31461 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31468 PyObject
* obj0
= 0 ;
31469 PyObject
* obj1
= 0 ;
31470 char * kwnames
[] = {
31471 (char *) "self",(char *) "item", NULL
31474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31476 if (!SWIG_IsOK(res1
)) {
31477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31479 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31480 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31481 if (!SWIG_IsOK(ecode2
)) {
31482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31484 arg2
= static_cast< long >(val2
);
31486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31487 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31488 wxPyEndAllowThreads(__tstate
);
31489 if (PyErr_Occurred()) SWIG_fail
;
31491 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31498 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31499 PyObject
*resultobj
= 0;
31500 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31501 PyObject
*arg2
= (PyObject
*) 0 ;
31505 PyObject
* obj0
= 0 ;
31506 PyObject
* obj1
= 0 ;
31507 char * kwnames
[] = {
31508 (char *) "self",(char *) "func", NULL
31511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31513 if (!SWIG_IsOK(res1
)) {
31514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31516 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31520 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
31521 wxPyEndAllowThreads(__tstate
);
31522 if (PyErr_Occurred()) SWIG_fail
;
31525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31533 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31534 PyObject
*resultobj
= 0;
31535 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31536 wxWindow
*result
= 0 ;
31539 PyObject
*swig_obj
[1] ;
31541 if (!args
) SWIG_fail
;
31542 swig_obj
[0] = args
;
31543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31544 if (!SWIG_IsOK(res1
)) {
31545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31547 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31550 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
31551 wxPyEndAllowThreads(__tstate
);
31552 if (PyErr_Occurred()) SWIG_fail
;
31555 resultobj
= wxPyMake_wxObject(result
, 0);
31563 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31564 PyObject
*resultobj
= 0;
31565 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31566 SwigValueWrapper
<wxVisualAttributes
> result
;
31569 PyObject
* obj0
= 0 ;
31570 char * kwnames
[] = {
31571 (char *) "variant", NULL
31574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
31576 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31577 if (!SWIG_IsOK(ecode1
)) {
31578 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
31580 arg1
= static_cast< wxWindowVariant
>(val1
);
31583 if (!wxPyCheckForApp()) SWIG_fail
;
31584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31585 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
31586 wxPyEndAllowThreads(__tstate
);
31587 if (PyErr_Occurred()) SWIG_fail
;
31589 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
31596 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31598 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31599 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
31600 return SWIG_Py_Void();
31603 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31604 return SWIG_Python_InitShadowInstance(args
);
31607 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31608 PyObject
*resultobj
= 0;
31609 wxWindow
*arg1
= (wxWindow
*) 0 ;
31610 int arg2
= (int) -1 ;
31611 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31612 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31613 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31614 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31615 long arg5
= (long) wxLC_REPORT
;
31616 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31617 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31618 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
31619 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31620 wxListView
*result
= 0 ;
31631 bool temp7
= 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 char * kwnames
[] = {
31640 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31645 if (!SWIG_IsOK(res1
)) {
31646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
31648 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31650 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31651 if (!SWIG_IsOK(ecode2
)) {
31652 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
31654 arg2
= static_cast< int >(val2
);
31659 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31665 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31669 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
31670 if (!SWIG_IsOK(ecode5
)) {
31671 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
31673 arg5
= static_cast< long >(val5
);
31676 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
31677 if (!SWIG_IsOK(res6
)) {
31678 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31681 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31683 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
31687 arg7
= wxString_in_helper(obj6
);
31688 if (arg7
== NULL
) SWIG_fail
;
31693 if (!wxPyCheckForApp()) SWIG_fail
;
31694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31695 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
31696 wxPyEndAllowThreads(__tstate
);
31697 if (PyErr_Occurred()) SWIG_fail
;
31699 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
31714 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31715 PyObject
*resultobj
= 0;
31716 wxListView
*result
= 0 ;
31718 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
31720 if (!wxPyCheckForApp()) SWIG_fail
;
31721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31722 result
= (wxListView
*)new wxListView();
31723 wxPyEndAllowThreads(__tstate
);
31724 if (PyErr_Occurred()) SWIG_fail
;
31726 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
31733 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31734 PyObject
*resultobj
= 0;
31735 wxListView
*arg1
= (wxListView
*) 0 ;
31736 wxWindow
*arg2
= (wxWindow
*) 0 ;
31737 int arg3
= (int) -1 ;
31738 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31739 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31740 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31741 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31742 long arg6
= (long) wxLC_REPORT
;
31743 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
31744 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
31745 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
31746 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31760 bool temp8
= false ;
31761 PyObject
* obj0
= 0 ;
31762 PyObject
* obj1
= 0 ;
31763 PyObject
* obj2
= 0 ;
31764 PyObject
* obj3
= 0 ;
31765 PyObject
* obj4
= 0 ;
31766 PyObject
* obj5
= 0 ;
31767 PyObject
* obj6
= 0 ;
31768 PyObject
* obj7
= 0 ;
31769 char * kwnames
[] = {
31770 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31775 if (!SWIG_IsOK(res1
)) {
31776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
31778 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31779 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31780 if (!SWIG_IsOK(res2
)) {
31781 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
31783 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31785 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31786 if (!SWIG_IsOK(ecode3
)) {
31787 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
31789 arg3
= static_cast< int >(val3
);
31794 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31800 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31804 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31805 if (!SWIG_IsOK(ecode6
)) {
31806 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
31808 arg6
= static_cast< long >(val6
);
31811 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
31812 if (!SWIG_IsOK(res7
)) {
31813 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31816 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31818 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
31822 arg8
= wxString_in_helper(obj7
);
31823 if (arg8
== NULL
) SWIG_fail
;
31828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31829 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
31830 wxPyEndAllowThreads(__tstate
);
31831 if (PyErr_Occurred()) SWIG_fail
;
31834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31850 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31851 PyObject
*resultobj
= 0;
31852 wxListView
*arg1
= (wxListView
*) 0 ;
31854 bool arg3
= (bool) true ;
31861 PyObject
* obj0
= 0 ;
31862 PyObject
* obj1
= 0 ;
31863 PyObject
* obj2
= 0 ;
31864 char * kwnames
[] = {
31865 (char *) "self",(char *) "n",(char *) "on", NULL
31868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31870 if (!SWIG_IsOK(res1
)) {
31871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
31873 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31874 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31875 if (!SWIG_IsOK(ecode2
)) {
31876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
31878 arg2
= static_cast< long >(val2
);
31880 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31881 if (!SWIG_IsOK(ecode3
)) {
31882 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
31884 arg3
= static_cast< bool >(val3
);
31887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31888 (arg1
)->Select(arg2
,arg3
);
31889 wxPyEndAllowThreads(__tstate
);
31890 if (PyErr_Occurred()) SWIG_fail
;
31892 resultobj
= SWIG_Py_Void();
31899 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31900 PyObject
*resultobj
= 0;
31901 wxListView
*arg1
= (wxListView
*) 0 ;
31907 PyObject
* obj0
= 0 ;
31908 PyObject
* obj1
= 0 ;
31909 char * kwnames
[] = {
31910 (char *) "self",(char *) "index", NULL
31913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31915 if (!SWIG_IsOK(res1
)) {
31916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
31918 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31919 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31920 if (!SWIG_IsOK(ecode2
)) {
31921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
31923 arg2
= static_cast< long >(val2
);
31925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31926 (arg1
)->Focus(arg2
);
31927 wxPyEndAllowThreads(__tstate
);
31928 if (PyErr_Occurred()) SWIG_fail
;
31930 resultobj
= SWIG_Py_Void();
31937 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31938 PyObject
*resultobj
= 0;
31939 wxListView
*arg1
= (wxListView
*) 0 ;
31943 PyObject
*swig_obj
[1] ;
31945 if (!args
) SWIG_fail
;
31946 swig_obj
[0] = args
;
31947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31948 if (!SWIG_IsOK(res1
)) {
31949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
31951 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31954 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
31955 wxPyEndAllowThreads(__tstate
);
31956 if (PyErr_Occurred()) SWIG_fail
;
31958 resultobj
= SWIG_From_long(static_cast< long >(result
));
31965 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31966 PyObject
*resultobj
= 0;
31967 wxListView
*arg1
= (wxListView
*) 0 ;
31974 PyObject
* obj0
= 0 ;
31975 PyObject
* obj1
= 0 ;
31976 char * kwnames
[] = {
31977 (char *) "self",(char *) "item", NULL
31980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31982 if (!SWIG_IsOK(res1
)) {
31983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
31985 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31986 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31987 if (!SWIG_IsOK(ecode2
)) {
31988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
31990 arg2
= static_cast< long >(val2
);
31992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31993 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
31994 wxPyEndAllowThreads(__tstate
);
31995 if (PyErr_Occurred()) SWIG_fail
;
31997 resultobj
= SWIG_From_long(static_cast< long >(result
));
32004 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32005 PyObject
*resultobj
= 0;
32006 wxListView
*arg1
= (wxListView
*) 0 ;
32010 PyObject
*swig_obj
[1] ;
32012 if (!args
) SWIG_fail
;
32013 swig_obj
[0] = args
;
32014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32015 if (!SWIG_IsOK(res1
)) {
32016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32018 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32021 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32022 wxPyEndAllowThreads(__tstate
);
32023 if (PyErr_Occurred()) SWIG_fail
;
32025 resultobj
= SWIG_From_long(static_cast< long >(result
));
32032 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32033 PyObject
*resultobj
= 0;
32034 wxListView
*arg1
= (wxListView
*) 0 ;
32041 PyObject
* obj0
= 0 ;
32042 PyObject
* obj1
= 0 ;
32043 char * kwnames
[] = {
32044 (char *) "self",(char *) "index", NULL
32047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32049 if (!SWIG_IsOK(res1
)) {
32050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32052 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32053 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32054 if (!SWIG_IsOK(ecode2
)) {
32055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32057 arg2
= static_cast< long >(val2
);
32059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32060 result
= (bool)(arg1
)->IsSelected(arg2
);
32061 wxPyEndAllowThreads(__tstate
);
32062 if (PyErr_Occurred()) SWIG_fail
;
32065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32073 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32074 PyObject
*resultobj
= 0;
32075 wxListView
*arg1
= (wxListView
*) 0 ;
32084 PyObject
* obj0
= 0 ;
32085 PyObject
* obj1
= 0 ;
32086 PyObject
* obj2
= 0 ;
32087 char * kwnames
[] = {
32088 (char *) "self",(char *) "col",(char *) "image", NULL
32091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32093 if (!SWIG_IsOK(res1
)) {
32094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32096 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32097 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32098 if (!SWIG_IsOK(ecode2
)) {
32099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32101 arg2
= static_cast< int >(val2
);
32102 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32103 if (!SWIG_IsOK(ecode3
)) {
32104 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32106 arg3
= static_cast< int >(val3
);
32108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32109 (arg1
)->SetColumnImage(arg2
,arg3
);
32110 wxPyEndAllowThreads(__tstate
);
32111 if (PyErr_Occurred()) SWIG_fail
;
32113 resultobj
= SWIG_Py_Void();
32120 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32121 PyObject
*resultobj
= 0;
32122 wxListView
*arg1
= (wxListView
*) 0 ;
32128 PyObject
* obj0
= 0 ;
32129 PyObject
* obj1
= 0 ;
32130 char * kwnames
[] = {
32131 (char *) "self",(char *) "col", NULL
32134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32136 if (!SWIG_IsOK(res1
)) {
32137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32139 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32140 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32141 if (!SWIG_IsOK(ecode2
)) {
32142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32144 arg2
= static_cast< int >(val2
);
32146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32147 (arg1
)->ClearColumnImage(arg2
);
32148 wxPyEndAllowThreads(__tstate
);
32149 if (PyErr_Occurred()) SWIG_fail
;
32151 resultobj
= SWIG_Py_Void();
32158 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32160 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32161 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32162 return SWIG_Py_Void();
32165 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32166 return SWIG_Python_InitShadowInstance(args
);
32169 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32170 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32175 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32176 PyObject
*pyobj
= 0;
32180 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32182 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32189 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32190 PyObject
*resultobj
= 0;
32191 wxTreeItemId
*result
= 0 ;
32193 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32196 result
= (wxTreeItemId
*)new wxTreeItemId();
32197 wxPyEndAllowThreads(__tstate
);
32198 if (PyErr_Occurred()) SWIG_fail
;
32200 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32207 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32208 PyObject
*resultobj
= 0;
32209 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32212 PyObject
*swig_obj
[1] ;
32214 if (!args
) SWIG_fail
;
32215 swig_obj
[0] = args
;
32216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32217 if (!SWIG_IsOK(res1
)) {
32218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32220 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32225 wxPyEndAllowThreads(__tstate
);
32226 if (PyErr_Occurred()) SWIG_fail
;
32228 resultobj
= SWIG_Py_Void();
32235 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32236 PyObject
*resultobj
= 0;
32237 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32241 PyObject
*swig_obj
[1] ;
32243 if (!args
) SWIG_fail
;
32244 swig_obj
[0] = args
;
32245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32246 if (!SWIG_IsOK(res1
)) {
32247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32249 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32252 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32253 wxPyEndAllowThreads(__tstate
);
32254 if (PyErr_Occurred()) SWIG_fail
;
32257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32265 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32266 PyObject
*resultobj
= 0;
32267 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32268 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32274 PyObject
* obj0
= 0 ;
32275 PyObject
* obj1
= 0 ;
32276 char * kwnames
[] = {
32277 (char *) "self",(char *) "other", NULL
32280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32282 if (!SWIG_IsOK(res1
)) {
32283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32285 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32286 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32287 if (!SWIG_IsOK(res2
)) {
32288 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32290 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32293 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32294 wxPyEndAllowThreads(__tstate
);
32295 if (PyErr_Occurred()) SWIG_fail
;
32298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32306 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32307 PyObject
*resultobj
= 0;
32308 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32309 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32315 PyObject
* obj0
= 0 ;
32316 PyObject
* obj1
= 0 ;
32317 char * kwnames
[] = {
32318 (char *) "self",(char *) "other", NULL
32321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32323 if (!SWIG_IsOK(res1
)) {
32324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32326 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32327 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32328 if (!SWIG_IsOK(res2
)) {
32329 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32331 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32334 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32335 wxPyEndAllowThreads(__tstate
);
32336 if (PyErr_Occurred()) SWIG_fail
;
32339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32347 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32348 PyObject
*resultobj
= 0;
32349 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32350 void *arg2
= (void *) 0 ;
32354 PyObject
*swig_obj
[2] ;
32356 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32358 if (!SWIG_IsOK(res1
)) {
32359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32361 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32362 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32363 if (!SWIG_IsOK(res2
)) {
32364 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32366 if (arg1
) (arg1
)->m_pItem
= arg2
;
32368 resultobj
= SWIG_Py_Void();
32375 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32376 PyObject
*resultobj
= 0;
32377 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32381 PyObject
*swig_obj
[1] ;
32383 if (!args
) SWIG_fail
;
32384 swig_obj
[0] = args
;
32385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32386 if (!SWIG_IsOK(res1
)) {
32387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32389 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32390 result
= (void *) ((arg1
)->m_pItem
);
32391 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32398 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32400 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32401 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32402 return SWIG_Py_Void();
32405 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32406 return SWIG_Python_InitShadowInstance(args
);
32409 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32410 PyObject
*resultobj
= 0;
32411 PyObject
*arg1
= (PyObject
*) NULL
;
32412 wxPyTreeItemData
*result
= 0 ;
32413 PyObject
* obj0
= 0 ;
32414 char * kwnames
[] = {
32415 (char *) "obj", NULL
32418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32424 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32425 wxPyEndAllowThreads(__tstate
);
32426 if (PyErr_Occurred()) SWIG_fail
;
32428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32435 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32436 PyObject
*resultobj
= 0;
32437 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32440 PyObject
*swig_obj
[1] ;
32442 if (!args
) SWIG_fail
;
32443 swig_obj
[0] = args
;
32444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32445 if (!SWIG_IsOK(res1
)) {
32446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32448 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32453 wxPyEndAllowThreads(__tstate
);
32454 if (PyErr_Occurred()) SWIG_fail
;
32456 resultobj
= SWIG_Py_Void();
32463 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32464 PyObject
*resultobj
= 0;
32465 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32466 PyObject
*result
= 0 ;
32469 PyObject
*swig_obj
[1] ;
32471 if (!args
) SWIG_fail
;
32472 swig_obj
[0] = args
;
32473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32474 if (!SWIG_IsOK(res1
)) {
32475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32477 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32480 result
= (PyObject
*)(arg1
)->GetData();
32481 wxPyEndAllowThreads(__tstate
);
32482 if (PyErr_Occurred()) SWIG_fail
;
32484 resultobj
= result
;
32491 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32492 PyObject
*resultobj
= 0;
32493 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32494 PyObject
*arg2
= (PyObject
*) 0 ;
32497 PyObject
* obj0
= 0 ;
32498 PyObject
* obj1
= 0 ;
32499 char * kwnames
[] = {
32500 (char *) "self",(char *) "obj", NULL
32503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32505 if (!SWIG_IsOK(res1
)) {
32506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32508 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32512 (arg1
)->SetData(arg2
);
32513 wxPyEndAllowThreads(__tstate
);
32514 if (PyErr_Occurred()) SWIG_fail
;
32516 resultobj
= SWIG_Py_Void();
32523 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32524 PyObject
*resultobj
= 0;
32525 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32526 wxTreeItemId
*result
= 0 ;
32529 PyObject
*swig_obj
[1] ;
32531 if (!args
) SWIG_fail
;
32532 swig_obj
[0] = args
;
32533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32534 if (!SWIG_IsOK(res1
)) {
32535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32537 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32541 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
32542 result
= (wxTreeItemId
*) &_result_ref
;
32544 wxPyEndAllowThreads(__tstate
);
32545 if (PyErr_Occurred()) SWIG_fail
;
32547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32554 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32555 PyObject
*resultobj
= 0;
32556 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32557 wxTreeItemId
*arg2
= 0 ;
32562 PyObject
* obj0
= 0 ;
32563 PyObject
* obj1
= 0 ;
32564 char * kwnames
[] = {
32565 (char *) "self",(char *) "id", NULL
32568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32570 if (!SWIG_IsOK(res1
)) {
32571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32573 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32574 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32575 if (!SWIG_IsOK(res2
)) {
32576 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32579 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32581 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32584 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
32585 wxPyEndAllowThreads(__tstate
);
32586 if (PyErr_Occurred()) SWIG_fail
;
32588 resultobj
= SWIG_Py_Void();
32595 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32596 PyObject
*resultobj
= 0;
32597 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32600 PyObject
*swig_obj
[1] ;
32602 if (!args
) SWIG_fail
;
32603 swig_obj
[0] = args
;
32604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32605 if (!SWIG_IsOK(res1
)) {
32606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32608 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32611 wxPyTreeItemData_Destroy(arg1
);
32612 wxPyEndAllowThreads(__tstate
);
32613 if (PyErr_Occurred()) SWIG_fail
;
32615 resultobj
= SWIG_Py_Void();
32622 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32624 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32625 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
32626 return SWIG_Py_Void();
32629 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32630 return SWIG_Python_InitShadowInstance(args
);
32633 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32634 PyObject
*resultobj
= 0;
32635 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32636 int arg2
= (int) 0 ;
32637 wxTreeEvent
*result
= 0 ;
32642 PyObject
* obj0
= 0 ;
32643 PyObject
* obj1
= 0 ;
32644 char * kwnames
[] = {
32645 (char *) "commandType",(char *) "id", NULL
32648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32650 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32651 if (!SWIG_IsOK(ecode1
)) {
32652 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32654 arg1
= static_cast< wxEventType
>(val1
);
32657 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32658 if (!SWIG_IsOK(ecode2
)) {
32659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
32661 arg2
= static_cast< int >(val2
);
32664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32665 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
32666 wxPyEndAllowThreads(__tstate
);
32667 if (PyErr_Occurred()) SWIG_fail
;
32669 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
32676 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32677 PyObject
*resultobj
= 0;
32678 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32679 wxTreeItemId result
;
32682 PyObject
*swig_obj
[1] ;
32684 if (!args
) SWIG_fail
;
32685 swig_obj
[0] = args
;
32686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32687 if (!SWIG_IsOK(res1
)) {
32688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32690 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32693 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
32694 wxPyEndAllowThreads(__tstate
);
32695 if (PyErr_Occurred()) SWIG_fail
;
32697 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32704 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32705 PyObject
*resultobj
= 0;
32706 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32707 wxTreeItemId
*arg2
= 0 ;
32712 PyObject
* obj0
= 0 ;
32713 PyObject
* obj1
= 0 ;
32714 char * kwnames
[] = {
32715 (char *) "self",(char *) "item", NULL
32718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32720 if (!SWIG_IsOK(res1
)) {
32721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32723 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32724 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32725 if (!SWIG_IsOK(res2
)) {
32726 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32729 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32731 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32734 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
32735 wxPyEndAllowThreads(__tstate
);
32736 if (PyErr_Occurred()) SWIG_fail
;
32738 resultobj
= SWIG_Py_Void();
32745 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32746 PyObject
*resultobj
= 0;
32747 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32748 wxTreeItemId result
;
32751 PyObject
*swig_obj
[1] ;
32753 if (!args
) SWIG_fail
;
32754 swig_obj
[0] = args
;
32755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32756 if (!SWIG_IsOK(res1
)) {
32757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32759 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32762 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
32763 wxPyEndAllowThreads(__tstate
);
32764 if (PyErr_Occurred()) SWIG_fail
;
32766 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32773 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32774 PyObject
*resultobj
= 0;
32775 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32776 wxTreeItemId
*arg2
= 0 ;
32781 PyObject
* obj0
= 0 ;
32782 PyObject
* obj1
= 0 ;
32783 char * kwnames
[] = {
32784 (char *) "self",(char *) "item", NULL
32787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32789 if (!SWIG_IsOK(res1
)) {
32790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32792 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32793 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32794 if (!SWIG_IsOK(res2
)) {
32795 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32798 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32800 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32803 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
32804 wxPyEndAllowThreads(__tstate
);
32805 if (PyErr_Occurred()) SWIG_fail
;
32807 resultobj
= SWIG_Py_Void();
32814 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32815 PyObject
*resultobj
= 0;
32816 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32820 PyObject
*swig_obj
[1] ;
32822 if (!args
) SWIG_fail
;
32823 swig_obj
[0] = args
;
32824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32825 if (!SWIG_IsOK(res1
)) {
32826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32828 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32831 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
32832 wxPyEndAllowThreads(__tstate
);
32833 if (PyErr_Occurred()) SWIG_fail
;
32835 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
32842 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32843 PyObject
*resultobj
= 0;
32844 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32845 wxPoint
*arg2
= 0 ;
32849 PyObject
* obj0
= 0 ;
32850 PyObject
* obj1
= 0 ;
32851 char * kwnames
[] = {
32852 (char *) "self",(char *) "pt", NULL
32855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32857 if (!SWIG_IsOK(res1
)) {
32858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32860 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32863 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32867 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
32868 wxPyEndAllowThreads(__tstate
);
32869 if (PyErr_Occurred()) SWIG_fail
;
32871 resultobj
= SWIG_Py_Void();
32878 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32879 PyObject
*resultobj
= 0;
32880 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32881 wxKeyEvent
*result
= 0 ;
32884 PyObject
*swig_obj
[1] ;
32886 if (!args
) SWIG_fail
;
32887 swig_obj
[0] = args
;
32888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32889 if (!SWIG_IsOK(res1
)) {
32890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32892 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32896 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
32897 result
= (wxKeyEvent
*) &_result_ref
;
32899 wxPyEndAllowThreads(__tstate
);
32900 if (PyErr_Occurred()) SWIG_fail
;
32902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
32909 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32910 PyObject
*resultobj
= 0;
32911 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32915 PyObject
*swig_obj
[1] ;
32917 if (!args
) SWIG_fail
;
32918 swig_obj
[0] = args
;
32919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32920 if (!SWIG_IsOK(res1
)) {
32921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32923 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32926 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
32927 wxPyEndAllowThreads(__tstate
);
32928 if (PyErr_Occurred()) SWIG_fail
;
32930 resultobj
= SWIG_From_int(static_cast< int >(result
));
32937 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32938 PyObject
*resultobj
= 0;
32939 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32940 wxKeyEvent
*arg2
= 0 ;
32945 PyObject
* obj0
= 0 ;
32946 PyObject
* obj1
= 0 ;
32947 char * kwnames
[] = {
32948 (char *) "self",(char *) "evt", NULL
32951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32953 if (!SWIG_IsOK(res1
)) {
32954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32956 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32957 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
32958 if (!SWIG_IsOK(res2
)) {
32959 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
32962 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
32964 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
32966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32967 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
32968 wxPyEndAllowThreads(__tstate
);
32969 if (PyErr_Occurred()) SWIG_fail
;
32971 resultobj
= SWIG_Py_Void();
32978 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32979 PyObject
*resultobj
= 0;
32980 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32981 wxString
*result
= 0 ;
32984 PyObject
*swig_obj
[1] ;
32986 if (!args
) SWIG_fail
;
32987 swig_obj
[0] = args
;
32988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32989 if (!SWIG_IsOK(res1
)) {
32990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32992 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32996 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
32997 result
= (wxString
*) &_result_ref
;
32999 wxPyEndAllowThreads(__tstate
);
33000 if (PyErr_Occurred()) SWIG_fail
;
33004 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33006 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33015 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33016 PyObject
*resultobj
= 0;
33017 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33018 wxString
*arg2
= 0 ;
33021 bool temp2
= false ;
33022 PyObject
* obj0
= 0 ;
33023 PyObject
* obj1
= 0 ;
33024 char * kwnames
[] = {
33025 (char *) "self",(char *) "label", NULL
33028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33030 if (!SWIG_IsOK(res1
)) {
33031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33033 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33035 arg2
= wxString_in_helper(obj1
);
33036 if (arg2
== NULL
) SWIG_fail
;
33040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33041 (arg1
)->SetLabel((wxString
const &)*arg2
);
33042 wxPyEndAllowThreads(__tstate
);
33043 if (PyErr_Occurred()) SWIG_fail
;
33045 resultobj
= SWIG_Py_Void();
33060 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33061 PyObject
*resultobj
= 0;
33062 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33066 PyObject
*swig_obj
[1] ;
33068 if (!args
) SWIG_fail
;
33069 swig_obj
[0] = args
;
33070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33071 if (!SWIG_IsOK(res1
)) {
33072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33074 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33077 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33078 wxPyEndAllowThreads(__tstate
);
33079 if (PyErr_Occurred()) SWIG_fail
;
33082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33090 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33091 PyObject
*resultobj
= 0;
33092 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33098 PyObject
* obj0
= 0 ;
33099 PyObject
* obj1
= 0 ;
33100 char * kwnames
[] = {
33101 (char *) "self",(char *) "editCancelled", NULL
33104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33106 if (!SWIG_IsOK(res1
)) {
33107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33109 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33110 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33111 if (!SWIG_IsOK(ecode2
)) {
33112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33114 arg2
= static_cast< bool >(val2
);
33116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33117 (arg1
)->SetEditCanceled(arg2
);
33118 wxPyEndAllowThreads(__tstate
);
33119 if (PyErr_Occurred()) SWIG_fail
;
33121 resultobj
= SWIG_Py_Void();
33128 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33129 PyObject
*resultobj
= 0;
33130 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33131 wxString
*arg2
= 0 ;
33134 bool temp2
= false ;
33135 PyObject
* obj0
= 0 ;
33136 PyObject
* obj1
= 0 ;
33137 char * kwnames
[] = {
33138 (char *) "self",(char *) "toolTip", NULL
33141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33143 if (!SWIG_IsOK(res1
)) {
33144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33146 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33148 arg2
= wxString_in_helper(obj1
);
33149 if (arg2
== NULL
) SWIG_fail
;
33153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33154 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33155 wxPyEndAllowThreads(__tstate
);
33156 if (PyErr_Occurred()) SWIG_fail
;
33158 resultobj
= SWIG_Py_Void();
33173 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33174 PyObject
*resultobj
= 0;
33175 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33179 PyObject
*swig_obj
[1] ;
33181 if (!args
) SWIG_fail
;
33182 swig_obj
[0] = args
;
33183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33184 if (!SWIG_IsOK(res1
)) {
33185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33187 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33190 result
= (arg1
)->GetToolTip();
33191 wxPyEndAllowThreads(__tstate
);
33192 if (PyErr_Occurred()) SWIG_fail
;
33196 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33198 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33207 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33209 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33210 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33211 return SWIG_Py_Void();
33214 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33215 return SWIG_Python_InitShadowInstance(args
);
33218 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33219 PyObject
*resultobj
= 0;
33220 wxWindow
*arg1
= (wxWindow
*) 0 ;
33221 int arg2
= (int) -1 ;
33222 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33223 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33224 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33225 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33226 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33227 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33228 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33229 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33230 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33231 wxPyTreeCtrl
*result
= 0 ;
33242 bool temp7
= 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 char * kwnames
[] = {
33251 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33256 if (!SWIG_IsOK(res1
)) {
33257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33259 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33261 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33262 if (!SWIG_IsOK(ecode2
)) {
33263 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33265 arg2
= static_cast< int >(val2
);
33270 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33276 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33280 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33281 if (!SWIG_IsOK(ecode5
)) {
33282 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33284 arg5
= static_cast< long >(val5
);
33287 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33288 if (!SWIG_IsOK(res6
)) {
33289 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33292 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33294 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33298 arg7
= wxString_in_helper(obj6
);
33299 if (arg7
== NULL
) SWIG_fail
;
33304 if (!wxPyCheckForApp()) SWIG_fail
;
33305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33306 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33307 wxPyEndAllowThreads(__tstate
);
33308 if (PyErr_Occurred()) SWIG_fail
;
33310 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33325 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33326 PyObject
*resultobj
= 0;
33327 wxPyTreeCtrl
*result
= 0 ;
33329 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33331 if (!wxPyCheckForApp()) SWIG_fail
;
33332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33333 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33334 wxPyEndAllowThreads(__tstate
);
33335 if (PyErr_Occurred()) SWIG_fail
;
33337 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33344 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33345 PyObject
*resultobj
= 0;
33346 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33347 wxWindow
*arg2
= (wxWindow
*) 0 ;
33348 int arg3
= (int) -1 ;
33349 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33350 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33351 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33352 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33353 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33354 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33355 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33356 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33357 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33371 bool temp8
= false ;
33372 PyObject
* obj0
= 0 ;
33373 PyObject
* obj1
= 0 ;
33374 PyObject
* obj2
= 0 ;
33375 PyObject
* obj3
= 0 ;
33376 PyObject
* obj4
= 0 ;
33377 PyObject
* obj5
= 0 ;
33378 PyObject
* obj6
= 0 ;
33379 PyObject
* obj7
= 0 ;
33380 char * kwnames
[] = {
33381 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33386 if (!SWIG_IsOK(res1
)) {
33387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33389 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33390 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33391 if (!SWIG_IsOK(res2
)) {
33392 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33394 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33396 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33397 if (!SWIG_IsOK(ecode3
)) {
33398 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33400 arg3
= static_cast< int >(val3
);
33405 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33411 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33415 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33416 if (!SWIG_IsOK(ecode6
)) {
33417 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33419 arg6
= static_cast< long >(val6
);
33422 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
33423 if (!SWIG_IsOK(res7
)) {
33424 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33427 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33429 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
33433 arg8
= wxString_in_helper(obj7
);
33434 if (arg8
== NULL
) SWIG_fail
;
33439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33440 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33441 wxPyEndAllowThreads(__tstate
);
33442 if (PyErr_Occurred()) SWIG_fail
;
33445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33461 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33462 PyObject
*resultobj
= 0;
33463 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33464 PyObject
*arg2
= (PyObject
*) 0 ;
33465 PyObject
*arg3
= (PyObject
*) 0 ;
33468 PyObject
* obj0
= 0 ;
33469 PyObject
* obj1
= 0 ;
33470 PyObject
* obj2
= 0 ;
33471 char * kwnames
[] = {
33472 (char *) "self",(char *) "self",(char *) "_class", NULL
33475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33477 if (!SWIG_IsOK(res1
)) {
33478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33480 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33485 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33486 wxPyEndAllowThreads(__tstate
);
33487 if (PyErr_Occurred()) SWIG_fail
;
33489 resultobj
= SWIG_Py_Void();
33496 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33497 PyObject
*resultobj
= 0;
33498 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33499 unsigned int result
;
33502 PyObject
*swig_obj
[1] ;
33504 if (!args
) SWIG_fail
;
33505 swig_obj
[0] = args
;
33506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33507 if (!SWIG_IsOK(res1
)) {
33508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33510 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33513 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
33514 wxPyEndAllowThreads(__tstate
);
33515 if (PyErr_Occurred()) SWIG_fail
;
33517 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33524 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33525 PyObject
*resultobj
= 0;
33526 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33527 unsigned int result
;
33530 PyObject
*swig_obj
[1] ;
33532 if (!args
) SWIG_fail
;
33533 swig_obj
[0] = args
;
33534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33535 if (!SWIG_IsOK(res1
)) {
33536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33538 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33541 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
33542 wxPyEndAllowThreads(__tstate
);
33543 if (PyErr_Occurred()) SWIG_fail
;
33545 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33552 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33553 PyObject
*resultobj
= 0;
33554 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33555 unsigned int arg2
;
33558 unsigned int val2
;
33560 PyObject
* obj0
= 0 ;
33561 PyObject
* obj1
= 0 ;
33562 char * kwnames
[] = {
33563 (char *) "self",(char *) "indent", NULL
33566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33568 if (!SWIG_IsOK(res1
)) {
33569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33571 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33572 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33573 if (!SWIG_IsOK(ecode2
)) {
33574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
33576 arg2
= static_cast< unsigned int >(val2
);
33578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33579 (arg1
)->SetIndent(arg2
);
33580 wxPyEndAllowThreads(__tstate
);
33581 if (PyErr_Occurred()) SWIG_fail
;
33583 resultobj
= SWIG_Py_Void();
33590 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33591 PyObject
*resultobj
= 0;
33592 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33593 unsigned int result
;
33596 PyObject
*swig_obj
[1] ;
33598 if (!args
) SWIG_fail
;
33599 swig_obj
[0] = args
;
33600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33601 if (!SWIG_IsOK(res1
)) {
33602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33604 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33607 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
33608 wxPyEndAllowThreads(__tstate
);
33609 if (PyErr_Occurred()) SWIG_fail
;
33611 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33618 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33619 PyObject
*resultobj
= 0;
33620 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33621 unsigned int arg2
;
33624 unsigned int val2
;
33626 PyObject
* obj0
= 0 ;
33627 PyObject
* obj1
= 0 ;
33628 char * kwnames
[] = {
33629 (char *) "self",(char *) "spacing", NULL
33632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33634 if (!SWIG_IsOK(res1
)) {
33635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33637 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33638 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33639 if (!SWIG_IsOK(ecode2
)) {
33640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
33642 arg2
= static_cast< unsigned int >(val2
);
33644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33645 (arg1
)->SetSpacing(arg2
);
33646 wxPyEndAllowThreads(__tstate
);
33647 if (PyErr_Occurred()) SWIG_fail
;
33649 resultobj
= SWIG_Py_Void();
33656 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33657 PyObject
*resultobj
= 0;
33658 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33659 wxImageList
*result
= 0 ;
33662 PyObject
*swig_obj
[1] ;
33664 if (!args
) SWIG_fail
;
33665 swig_obj
[0] = args
;
33666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33667 if (!SWIG_IsOK(res1
)) {
33668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33670 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33673 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
33674 wxPyEndAllowThreads(__tstate
);
33675 if (PyErr_Occurred()) SWIG_fail
;
33678 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33686 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33687 PyObject
*resultobj
= 0;
33688 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33689 wxImageList
*result
= 0 ;
33692 PyObject
*swig_obj
[1] ;
33694 if (!args
) SWIG_fail
;
33695 swig_obj
[0] = args
;
33696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33697 if (!SWIG_IsOK(res1
)) {
33698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33700 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33703 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
33704 wxPyEndAllowThreads(__tstate
);
33705 if (PyErr_Occurred()) SWIG_fail
;
33708 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33716 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33717 PyObject
*resultobj
= 0;
33718 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33719 wxImageList
*arg2
= (wxImageList
*) 0 ;
33724 PyObject
* obj0
= 0 ;
33725 PyObject
* obj1
= 0 ;
33726 char * kwnames
[] = {
33727 (char *) "self",(char *) "imageList", NULL
33730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33732 if (!SWIG_IsOK(res1
)) {
33733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33735 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33736 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33737 if (!SWIG_IsOK(res2
)) {
33738 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33740 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
33742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33743 (arg1
)->SetImageList(arg2
);
33744 wxPyEndAllowThreads(__tstate
);
33745 if (PyErr_Occurred()) SWIG_fail
;
33747 resultobj
= SWIG_Py_Void();
33754 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33755 PyObject
*resultobj
= 0;
33756 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33757 wxImageList
*arg2
= (wxImageList
*) 0 ;
33762 PyObject
* obj0
= 0 ;
33763 PyObject
* obj1
= 0 ;
33764 char * kwnames
[] = {
33765 (char *) "self",(char *) "imageList", NULL
33768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33770 if (!SWIG_IsOK(res1
)) {
33771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33773 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33774 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33775 if (!SWIG_IsOK(res2
)) {
33776 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33778 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
33780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33781 (arg1
)->SetStateImageList(arg2
);
33782 wxPyEndAllowThreads(__tstate
);
33783 if (PyErr_Occurred()) SWIG_fail
;
33785 resultobj
= SWIG_Py_Void();
33792 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33793 PyObject
*resultobj
= 0;
33794 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33795 wxImageList
*arg2
= (wxImageList
*) 0 ;
33799 PyObject
* obj0
= 0 ;
33800 PyObject
* obj1
= 0 ;
33801 char * kwnames
[] = {
33802 (char *) "self",(char *) "imageList", NULL
33805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33807 if (!SWIG_IsOK(res1
)) {
33808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33810 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33811 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
33812 if (!SWIG_IsOK(res2
)) {
33813 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33817 (arg1
)->AssignImageList(arg2
);
33818 wxPyEndAllowThreads(__tstate
);
33819 if (PyErr_Occurred()) SWIG_fail
;
33821 resultobj
= SWIG_Py_Void();
33828 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33829 PyObject
*resultobj
= 0;
33830 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33831 wxImageList
*arg2
= (wxImageList
*) 0 ;
33835 PyObject
* obj0
= 0 ;
33836 PyObject
* obj1
= 0 ;
33837 char * kwnames
[] = {
33838 (char *) "self",(char *) "imageList", NULL
33841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33843 if (!SWIG_IsOK(res1
)) {
33844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33846 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33847 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
33848 if (!SWIG_IsOK(res2
)) {
33849 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33853 (arg1
)->AssignStateImageList(arg2
);
33854 wxPyEndAllowThreads(__tstate
);
33855 if (PyErr_Occurred()) SWIG_fail
;
33857 resultobj
= SWIG_Py_Void();
33864 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33865 PyObject
*resultobj
= 0;
33866 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33867 wxTreeItemId
*arg2
= 0 ;
33873 PyObject
* obj0
= 0 ;
33874 PyObject
* obj1
= 0 ;
33875 char * kwnames
[] = {
33876 (char *) "self",(char *) "item", NULL
33879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33881 if (!SWIG_IsOK(res1
)) {
33882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33884 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33885 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33886 if (!SWIG_IsOK(res2
)) {
33887 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33890 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33892 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33895 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
33896 wxPyEndAllowThreads(__tstate
);
33897 if (PyErr_Occurred()) SWIG_fail
;
33901 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33903 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33912 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33913 PyObject
*resultobj
= 0;
33914 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33915 wxTreeItemId
*arg2
= 0 ;
33916 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
33924 PyObject
* obj0
= 0 ;
33925 PyObject
* obj1
= 0 ;
33926 PyObject
* obj2
= 0 ;
33927 char * kwnames
[] = {
33928 (char *) "self",(char *) "item",(char *) "which", NULL
33931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33933 if (!SWIG_IsOK(res1
)) {
33934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33936 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33937 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33938 if (!SWIG_IsOK(res2
)) {
33939 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33942 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33944 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33946 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33947 if (!SWIG_IsOK(ecode3
)) {
33948 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
33950 arg3
= static_cast< wxTreeItemIcon
>(val3
);
33953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33954 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
33955 wxPyEndAllowThreads(__tstate
);
33956 if (PyErr_Occurred()) SWIG_fail
;
33958 resultobj
= SWIG_From_int(static_cast< int >(result
));
33965 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33966 PyObject
*resultobj
= 0;
33967 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33968 wxTreeItemId
*arg2
= 0 ;
33969 wxPyTreeItemData
*result
= 0 ;
33974 PyObject
* obj0
= 0 ;
33975 PyObject
* obj1
= 0 ;
33976 char * kwnames
[] = {
33977 (char *) "self",(char *) "item", NULL
33980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33982 if (!SWIG_IsOK(res1
)) {
33983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33985 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33986 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33987 if (!SWIG_IsOK(res2
)) {
33988 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33991 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33993 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33996 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
33997 wxPyEndAllowThreads(__tstate
);
33998 if (PyErr_Occurred()) SWIG_fail
;
34000 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34007 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34008 PyObject
*resultobj
= 0;
34009 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34010 wxTreeItemId
*arg2
= 0 ;
34011 PyObject
*result
= 0 ;
34016 PyObject
* obj0
= 0 ;
34017 PyObject
* obj1
= 0 ;
34018 char * kwnames
[] = {
34019 (char *) "self",(char *) "item", NULL
34022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34024 if (!SWIG_IsOK(res1
)) {
34025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34027 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34028 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34029 if (!SWIG_IsOK(res2
)) {
34030 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34033 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34035 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34038 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34039 wxPyEndAllowThreads(__tstate
);
34040 if (PyErr_Occurred()) SWIG_fail
;
34042 resultobj
= result
;
34049 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34050 PyObject
*resultobj
= 0;
34051 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34052 wxTreeItemId
*arg2
= 0 ;
34058 PyObject
* obj0
= 0 ;
34059 PyObject
* obj1
= 0 ;
34060 char * kwnames
[] = {
34061 (char *) "self",(char *) "item", NULL
34064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34066 if (!SWIG_IsOK(res1
)) {
34067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34069 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34070 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34071 if (!SWIG_IsOK(res2
)) {
34072 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34075 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34077 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34080 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34081 wxPyEndAllowThreads(__tstate
);
34082 if (PyErr_Occurred()) SWIG_fail
;
34084 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34091 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34092 PyObject
*resultobj
= 0;
34093 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34094 wxTreeItemId
*arg2
= 0 ;
34100 PyObject
* obj0
= 0 ;
34101 PyObject
* obj1
= 0 ;
34102 char * kwnames
[] = {
34103 (char *) "self",(char *) "item", NULL
34106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34108 if (!SWIG_IsOK(res1
)) {
34109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34111 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34112 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34113 if (!SWIG_IsOK(res2
)) {
34114 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34117 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34119 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34122 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34123 wxPyEndAllowThreads(__tstate
);
34124 if (PyErr_Occurred()) SWIG_fail
;
34126 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34133 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34134 PyObject
*resultobj
= 0;
34135 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34136 wxTreeItemId
*arg2
= 0 ;
34142 PyObject
* obj0
= 0 ;
34143 PyObject
* obj1
= 0 ;
34144 char * kwnames
[] = {
34145 (char *) "self",(char *) "item", NULL
34148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34150 if (!SWIG_IsOK(res1
)) {
34151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34153 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34154 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34155 if (!SWIG_IsOK(res2
)) {
34156 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34159 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34161 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34164 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34165 wxPyEndAllowThreads(__tstate
);
34166 if (PyErr_Occurred()) SWIG_fail
;
34168 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34175 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34176 PyObject
*resultobj
= 0;
34177 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34178 wxTreeItemId
*arg2
= 0 ;
34179 wxString
*arg3
= 0 ;
34184 bool temp3
= false ;
34185 PyObject
* obj0
= 0 ;
34186 PyObject
* obj1
= 0 ;
34187 PyObject
* obj2
= 0 ;
34188 char * kwnames
[] = {
34189 (char *) "self",(char *) "item",(char *) "text", NULL
34192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34194 if (!SWIG_IsOK(res1
)) {
34195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34197 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34198 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34199 if (!SWIG_IsOK(res2
)) {
34200 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34203 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34205 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34207 arg3
= wxString_in_helper(obj2
);
34208 if (arg3
== NULL
) SWIG_fail
;
34212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34213 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34214 wxPyEndAllowThreads(__tstate
);
34215 if (PyErr_Occurred()) SWIG_fail
;
34217 resultobj
= SWIG_Py_Void();
34232 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34233 PyObject
*resultobj
= 0;
34234 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34235 wxTreeItemId
*arg2
= 0 ;
34237 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34246 PyObject
* obj0
= 0 ;
34247 PyObject
* obj1
= 0 ;
34248 PyObject
* obj2
= 0 ;
34249 PyObject
* obj3
= 0 ;
34250 char * kwnames
[] = {
34251 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34256 if (!SWIG_IsOK(res1
)) {
34257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34259 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34260 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34261 if (!SWIG_IsOK(res2
)) {
34262 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34265 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34267 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34268 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34269 if (!SWIG_IsOK(ecode3
)) {
34270 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34272 arg3
= static_cast< int >(val3
);
34274 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34275 if (!SWIG_IsOK(ecode4
)) {
34276 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34278 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34282 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34283 wxPyEndAllowThreads(__tstate
);
34284 if (PyErr_Occurred()) SWIG_fail
;
34286 resultobj
= SWIG_Py_Void();
34293 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34294 PyObject
*resultobj
= 0;
34295 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34296 wxTreeItemId
*arg2
= 0 ;
34297 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34303 PyObject
* obj0
= 0 ;
34304 PyObject
* obj1
= 0 ;
34305 PyObject
* obj2
= 0 ;
34306 char * kwnames
[] = {
34307 (char *) "self",(char *) "item",(char *) "data", NULL
34310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34312 if (!SWIG_IsOK(res1
)) {
34313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34315 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34316 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34317 if (!SWIG_IsOK(res2
)) {
34318 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34321 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34323 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34324 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34325 if (!SWIG_IsOK(res3
)) {
34326 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34330 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34331 wxPyEndAllowThreads(__tstate
);
34332 if (PyErr_Occurred()) SWIG_fail
;
34334 resultobj
= SWIG_Py_Void();
34341 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34342 PyObject
*resultobj
= 0;
34343 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34344 wxTreeItemId
*arg2
= 0 ;
34345 PyObject
*arg3
= (PyObject
*) 0 ;
34350 PyObject
* obj0
= 0 ;
34351 PyObject
* obj1
= 0 ;
34352 PyObject
* obj2
= 0 ;
34353 char * kwnames
[] = {
34354 (char *) "self",(char *) "item",(char *) "obj", NULL
34357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34359 if (!SWIG_IsOK(res1
)) {
34360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34362 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34363 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34364 if (!SWIG_IsOK(res2
)) {
34365 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34368 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34370 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34374 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34375 wxPyEndAllowThreads(__tstate
);
34376 if (PyErr_Occurred()) SWIG_fail
;
34378 resultobj
= SWIG_Py_Void();
34385 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34386 PyObject
*resultobj
= 0;
34387 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34388 wxTreeItemId
*arg2
= 0 ;
34389 bool arg3
= (bool) true ;
34396 PyObject
* obj0
= 0 ;
34397 PyObject
* obj1
= 0 ;
34398 PyObject
* obj2
= 0 ;
34399 char * kwnames
[] = {
34400 (char *) "self",(char *) "item",(char *) "has", NULL
34403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34405 if (!SWIG_IsOK(res1
)) {
34406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34408 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34409 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34410 if (!SWIG_IsOK(res2
)) {
34411 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34414 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34416 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34418 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34419 if (!SWIG_IsOK(ecode3
)) {
34420 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34422 arg3
= static_cast< bool >(val3
);
34425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34426 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
34427 wxPyEndAllowThreads(__tstate
);
34428 if (PyErr_Occurred()) SWIG_fail
;
34430 resultobj
= SWIG_Py_Void();
34437 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34438 PyObject
*resultobj
= 0;
34439 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34440 wxTreeItemId
*arg2
= 0 ;
34441 bool arg3
= (bool) true ;
34448 PyObject
* obj0
= 0 ;
34449 PyObject
* obj1
= 0 ;
34450 PyObject
* obj2
= 0 ;
34451 char * kwnames
[] = {
34452 (char *) "self",(char *) "item",(char *) "bold", NULL
34455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34457 if (!SWIG_IsOK(res1
)) {
34458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34460 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34461 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34462 if (!SWIG_IsOK(res2
)) {
34463 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34466 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34468 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34470 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34471 if (!SWIG_IsOK(ecode3
)) {
34472 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
34474 arg3
= static_cast< bool >(val3
);
34477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34478 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
34479 wxPyEndAllowThreads(__tstate
);
34480 if (PyErr_Occurred()) SWIG_fail
;
34482 resultobj
= SWIG_Py_Void();
34489 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34490 PyObject
*resultobj
= 0;
34491 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34492 wxTreeItemId
*arg2
= 0 ;
34493 bool arg3
= (bool) true ;
34500 PyObject
* obj0
= 0 ;
34501 PyObject
* obj1
= 0 ;
34502 PyObject
* obj2
= 0 ;
34503 char * kwnames
[] = {
34504 (char *) "self",(char *) "item",(char *) "highlight", NULL
34507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34509 if (!SWIG_IsOK(res1
)) {
34510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34512 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34513 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34514 if (!SWIG_IsOK(res2
)) {
34515 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34518 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34520 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34522 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34523 if (!SWIG_IsOK(ecode3
)) {
34524 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
34526 arg3
= static_cast< bool >(val3
);
34529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34530 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
34531 wxPyEndAllowThreads(__tstate
);
34532 if (PyErr_Occurred()) SWIG_fail
;
34534 resultobj
= SWIG_Py_Void();
34541 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34542 PyObject
*resultobj
= 0;
34543 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34544 wxTreeItemId
*arg2
= 0 ;
34545 wxColour
*arg3
= 0 ;
34551 PyObject
* obj0
= 0 ;
34552 PyObject
* obj1
= 0 ;
34553 PyObject
* obj2
= 0 ;
34554 char * kwnames
[] = {
34555 (char *) "self",(char *) "item",(char *) "col", NULL
34558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34560 if (!SWIG_IsOK(res1
)) {
34561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34563 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34564 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34565 if (!SWIG_IsOK(res2
)) {
34566 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34569 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34571 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34574 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34578 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34579 wxPyEndAllowThreads(__tstate
);
34580 if (PyErr_Occurred()) SWIG_fail
;
34582 resultobj
= SWIG_Py_Void();
34589 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34590 PyObject
*resultobj
= 0;
34591 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34592 wxTreeItemId
*arg2
= 0 ;
34593 wxColour
*arg3
= 0 ;
34599 PyObject
* obj0
= 0 ;
34600 PyObject
* obj1
= 0 ;
34601 PyObject
* obj2
= 0 ;
34602 char * kwnames
[] = {
34603 (char *) "self",(char *) "item",(char *) "col", NULL
34606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34608 if (!SWIG_IsOK(res1
)) {
34609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34611 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34612 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34613 if (!SWIG_IsOK(res2
)) {
34614 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34617 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34619 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34622 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34626 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34627 wxPyEndAllowThreads(__tstate
);
34628 if (PyErr_Occurred()) SWIG_fail
;
34630 resultobj
= SWIG_Py_Void();
34637 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34638 PyObject
*resultobj
= 0;
34639 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34640 wxTreeItemId
*arg2
= 0 ;
34648 PyObject
* obj0
= 0 ;
34649 PyObject
* obj1
= 0 ;
34650 PyObject
* obj2
= 0 ;
34651 char * kwnames
[] = {
34652 (char *) "self",(char *) "item",(char *) "font", NULL
34655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34657 if (!SWIG_IsOK(res1
)) {
34658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34660 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34661 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34662 if (!SWIG_IsOK(res2
)) {
34663 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34666 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34668 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34669 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
34670 if (!SWIG_IsOK(res3
)) {
34671 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34674 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34676 arg3
= reinterpret_cast< wxFont
* >(argp3
);
34678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34679 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
34680 wxPyEndAllowThreads(__tstate
);
34681 if (PyErr_Occurred()) SWIG_fail
;
34683 resultobj
= SWIG_Py_Void();
34690 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34691 PyObject
*resultobj
= 0;
34692 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34693 wxTreeItemId
*arg2
= 0 ;
34699 PyObject
* obj0
= 0 ;
34700 PyObject
* obj1
= 0 ;
34701 char * kwnames
[] = {
34702 (char *) "self",(char *) "item", NULL
34705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34707 if (!SWIG_IsOK(res1
)) {
34708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34710 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34711 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34712 if (!SWIG_IsOK(res2
)) {
34713 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34716 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34718 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34721 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
34722 wxPyEndAllowThreads(__tstate
);
34723 if (PyErr_Occurred()) SWIG_fail
;
34726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34734 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34735 PyObject
*resultobj
= 0;
34736 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34737 wxTreeItemId
*arg2
= 0 ;
34743 PyObject
* obj0
= 0 ;
34744 PyObject
* obj1
= 0 ;
34745 char * kwnames
[] = {
34746 (char *) "self",(char *) "item", NULL
34749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34751 if (!SWIG_IsOK(res1
)) {
34752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34754 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34755 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34756 if (!SWIG_IsOK(res2
)) {
34757 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34760 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34762 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34765 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
34766 wxPyEndAllowThreads(__tstate
);
34767 if (PyErr_Occurred()) SWIG_fail
;
34770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34778 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34779 PyObject
*resultobj
= 0;
34780 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34781 wxTreeItemId
*arg2
= 0 ;
34787 PyObject
* obj0
= 0 ;
34788 PyObject
* obj1
= 0 ;
34789 char * kwnames
[] = {
34790 (char *) "self",(char *) "item", NULL
34793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34795 if (!SWIG_IsOK(res1
)) {
34796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34798 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34799 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34800 if (!SWIG_IsOK(res2
)) {
34801 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34804 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34806 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34809 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
34810 wxPyEndAllowThreads(__tstate
);
34811 if (PyErr_Occurred()) SWIG_fail
;
34814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34822 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34823 PyObject
*resultobj
= 0;
34824 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34825 wxTreeItemId
*arg2
= 0 ;
34831 PyObject
* obj0
= 0 ;
34832 PyObject
* obj1
= 0 ;
34833 char * kwnames
[] = {
34834 (char *) "self",(char *) "item", NULL
34837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34839 if (!SWIG_IsOK(res1
)) {
34840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34842 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34843 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34844 if (!SWIG_IsOK(res2
)) {
34845 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34848 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34850 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34853 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
34854 wxPyEndAllowThreads(__tstate
);
34855 if (PyErr_Occurred()) SWIG_fail
;
34858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34866 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34867 PyObject
*resultobj
= 0;
34868 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34869 wxTreeItemId
*arg2
= 0 ;
34875 PyObject
* obj0
= 0 ;
34876 PyObject
* obj1
= 0 ;
34877 char * kwnames
[] = {
34878 (char *) "self",(char *) "item", NULL
34881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34883 if (!SWIG_IsOK(res1
)) {
34884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34886 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34887 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34888 if (!SWIG_IsOK(res2
)) {
34889 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34892 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34894 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34897 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
34898 wxPyEndAllowThreads(__tstate
);
34899 if (PyErr_Occurred()) SWIG_fail
;
34902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34910 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34911 PyObject
*resultobj
= 0;
34912 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34913 wxTreeItemId
*arg2
= 0 ;
34914 bool arg3
= (bool) true ;
34922 PyObject
* obj0
= 0 ;
34923 PyObject
* obj1
= 0 ;
34924 PyObject
* obj2
= 0 ;
34925 char * kwnames
[] = {
34926 (char *) "self",(char *) "item",(char *) "recursively", NULL
34929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34931 if (!SWIG_IsOK(res1
)) {
34932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34934 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34935 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34936 if (!SWIG_IsOK(res2
)) {
34937 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34940 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34942 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34944 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34945 if (!SWIG_IsOK(ecode3
)) {
34946 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
34948 arg3
= static_cast< bool >(val3
);
34951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34952 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
34953 wxPyEndAllowThreads(__tstate
);
34954 if (PyErr_Occurred()) SWIG_fail
;
34956 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
34963 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34964 PyObject
*resultobj
= 0;
34965 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34966 wxTreeItemId result
;
34969 PyObject
*swig_obj
[1] ;
34971 if (!args
) SWIG_fail
;
34972 swig_obj
[0] = args
;
34973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34974 if (!SWIG_IsOK(res1
)) {
34975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34977 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34980 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
34981 wxPyEndAllowThreads(__tstate
);
34982 if (PyErr_Occurred()) SWIG_fail
;
34984 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
34991 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34992 PyObject
*resultobj
= 0;
34993 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34994 wxTreeItemId result
;
34997 PyObject
*swig_obj
[1] ;
34999 if (!args
) SWIG_fail
;
35000 swig_obj
[0] = args
;
35001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35002 if (!SWIG_IsOK(res1
)) {
35003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35005 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35008 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35009 wxPyEndAllowThreads(__tstate
);
35010 if (PyErr_Occurred()) SWIG_fail
;
35012 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35019 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35020 PyObject
*resultobj
= 0;
35021 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35022 PyObject
*result
= 0 ;
35025 PyObject
*swig_obj
[1] ;
35027 if (!args
) SWIG_fail
;
35028 swig_obj
[0] = args
;
35029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35030 if (!SWIG_IsOK(res1
)) {
35031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35033 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35036 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35037 wxPyEndAllowThreads(__tstate
);
35038 if (PyErr_Occurred()) SWIG_fail
;
35040 resultobj
= result
;
35047 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35048 PyObject
*resultobj
= 0;
35049 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35050 wxTreeItemId
*arg2
= 0 ;
35051 wxTreeItemId result
;
35056 PyObject
* obj0
= 0 ;
35057 PyObject
* obj1
= 0 ;
35058 char * kwnames
[] = {
35059 (char *) "self",(char *) "item", NULL
35062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35064 if (!SWIG_IsOK(res1
)) {
35065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35067 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35068 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35069 if (!SWIG_IsOK(res2
)) {
35070 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35073 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35075 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35078 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35079 wxPyEndAllowThreads(__tstate
);
35080 if (PyErr_Occurred()) SWIG_fail
;
35082 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35089 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35090 PyObject
*resultobj
= 0;
35091 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35092 wxTreeItemId
*arg2
= 0 ;
35093 PyObject
*result
= 0 ;
35098 PyObject
* obj0
= 0 ;
35099 PyObject
* obj1
= 0 ;
35100 char * kwnames
[] = {
35101 (char *) "self",(char *) "item", NULL
35104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35106 if (!SWIG_IsOK(res1
)) {
35107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35109 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35110 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35111 if (!SWIG_IsOK(res2
)) {
35112 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35115 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35117 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35120 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35121 wxPyEndAllowThreads(__tstate
);
35122 if (PyErr_Occurred()) SWIG_fail
;
35124 resultobj
= result
;
35131 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35132 PyObject
*resultobj
= 0;
35133 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35134 wxTreeItemId
*arg2
= 0 ;
35135 void *arg3
= (void *) 0 ;
35136 PyObject
*result
= 0 ;
35142 PyObject
* obj0
= 0 ;
35143 PyObject
* obj1
= 0 ;
35144 PyObject
* obj2
= 0 ;
35145 char * kwnames
[] = {
35146 (char *) "self",(char *) "item",(char *) "cookie", NULL
35149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35151 if (!SWIG_IsOK(res1
)) {
35152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35154 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35155 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35156 if (!SWIG_IsOK(res2
)) {
35157 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35160 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35162 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35163 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35164 if (!SWIG_IsOK(res3
)) {
35165 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35169 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35170 wxPyEndAllowThreads(__tstate
);
35171 if (PyErr_Occurred()) SWIG_fail
;
35173 resultobj
= result
;
35180 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35181 PyObject
*resultobj
= 0;
35182 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35183 wxTreeItemId
*arg2
= 0 ;
35184 wxTreeItemId result
;
35189 PyObject
* obj0
= 0 ;
35190 PyObject
* obj1
= 0 ;
35191 char * kwnames
[] = {
35192 (char *) "self",(char *) "item", NULL
35195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35197 if (!SWIG_IsOK(res1
)) {
35198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35200 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35201 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35202 if (!SWIG_IsOK(res2
)) {
35203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35206 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35208 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35211 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35212 wxPyEndAllowThreads(__tstate
);
35213 if (PyErr_Occurred()) SWIG_fail
;
35215 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35222 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35223 PyObject
*resultobj
= 0;
35224 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35225 wxTreeItemId
*arg2
= 0 ;
35226 wxTreeItemId result
;
35231 PyObject
* obj0
= 0 ;
35232 PyObject
* obj1
= 0 ;
35233 char * kwnames
[] = {
35234 (char *) "self",(char *) "item", NULL
35237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35239 if (!SWIG_IsOK(res1
)) {
35240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35242 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35243 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35244 if (!SWIG_IsOK(res2
)) {
35245 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35248 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35250 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35253 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35254 wxPyEndAllowThreads(__tstate
);
35255 if (PyErr_Occurred()) SWIG_fail
;
35257 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35264 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35265 PyObject
*resultobj
= 0;
35266 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35267 wxTreeItemId
*arg2
= 0 ;
35268 wxTreeItemId result
;
35273 PyObject
* obj0
= 0 ;
35274 PyObject
* obj1
= 0 ;
35275 char * kwnames
[] = {
35276 (char *) "self",(char *) "item", NULL
35279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35281 if (!SWIG_IsOK(res1
)) {
35282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35284 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35285 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35286 if (!SWIG_IsOK(res2
)) {
35287 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35290 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35292 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35295 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35296 wxPyEndAllowThreads(__tstate
);
35297 if (PyErr_Occurred()) SWIG_fail
;
35299 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35306 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35307 PyObject
*resultobj
= 0;
35308 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35309 wxTreeItemId result
;
35312 PyObject
*swig_obj
[1] ;
35314 if (!args
) SWIG_fail
;
35315 swig_obj
[0] = args
;
35316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35317 if (!SWIG_IsOK(res1
)) {
35318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35320 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35323 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35324 wxPyEndAllowThreads(__tstate
);
35325 if (PyErr_Occurred()) SWIG_fail
;
35327 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35334 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35335 PyObject
*resultobj
= 0;
35336 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35337 wxTreeItemId
*arg2
= 0 ;
35338 wxTreeItemId result
;
35343 PyObject
* obj0
= 0 ;
35344 PyObject
* obj1
= 0 ;
35345 char * kwnames
[] = {
35346 (char *) "self",(char *) "item", NULL
35349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35351 if (!SWIG_IsOK(res1
)) {
35352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35354 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35355 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35356 if (!SWIG_IsOK(res2
)) {
35357 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35360 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35362 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35365 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35366 wxPyEndAllowThreads(__tstate
);
35367 if (PyErr_Occurred()) SWIG_fail
;
35369 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35376 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35377 PyObject
*resultobj
= 0;
35378 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35379 wxTreeItemId
*arg2
= 0 ;
35380 wxTreeItemId result
;
35385 PyObject
* obj0
= 0 ;
35386 PyObject
* obj1
= 0 ;
35387 char * kwnames
[] = {
35388 (char *) "self",(char *) "item", NULL
35391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35393 if (!SWIG_IsOK(res1
)) {
35394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35396 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35397 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35398 if (!SWIG_IsOK(res2
)) {
35399 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35402 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35404 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35407 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
35408 wxPyEndAllowThreads(__tstate
);
35409 if (PyErr_Occurred()) SWIG_fail
;
35411 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35418 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35419 PyObject
*resultobj
= 0;
35420 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35421 wxString
*arg2
= 0 ;
35422 int arg3
= (int) -1 ;
35423 int arg4
= (int) -1 ;
35424 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
35425 wxTreeItemId result
;
35428 bool temp2
= false ;
35434 PyObject
* obj0
= 0 ;
35435 PyObject
* obj1
= 0 ;
35436 PyObject
* obj2
= 0 ;
35437 PyObject
* obj3
= 0 ;
35438 PyObject
* obj4
= 0 ;
35439 char * kwnames
[] = {
35440 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35445 if (!SWIG_IsOK(res1
)) {
35446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35448 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35450 arg2
= wxString_in_helper(obj1
);
35451 if (arg2
== NULL
) SWIG_fail
;
35455 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35456 if (!SWIG_IsOK(ecode3
)) {
35457 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
35459 arg3
= static_cast< int >(val3
);
35462 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35463 if (!SWIG_IsOK(ecode4
)) {
35464 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
35466 arg4
= static_cast< int >(val4
);
35469 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35470 if (!SWIG_IsOK(res5
)) {
35471 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
35475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35476 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
35477 wxPyEndAllowThreads(__tstate
);
35478 if (PyErr_Occurred()) SWIG_fail
;
35480 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35495 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35496 PyObject
*resultobj
= 0;
35497 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35498 wxTreeItemId
*arg2
= 0 ;
35499 wxString
*arg3
= 0 ;
35500 int arg4
= (int) -1 ;
35501 int arg5
= (int) -1 ;
35502 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35503 wxTreeItemId result
;
35508 bool temp3
= false ;
35514 PyObject
* obj0
= 0 ;
35515 PyObject
* obj1
= 0 ;
35516 PyObject
* obj2
= 0 ;
35517 PyObject
* obj3
= 0 ;
35518 PyObject
* obj4
= 0 ;
35519 PyObject
* obj5
= 0 ;
35520 char * kwnames
[] = {
35521 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35526 if (!SWIG_IsOK(res1
)) {
35527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35529 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35530 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35531 if (!SWIG_IsOK(res2
)) {
35532 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35535 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35537 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35539 arg3
= wxString_in_helper(obj2
);
35540 if (arg3
== NULL
) SWIG_fail
;
35544 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35545 if (!SWIG_IsOK(ecode4
)) {
35546 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
35548 arg4
= static_cast< int >(val4
);
35551 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35552 if (!SWIG_IsOK(ecode5
)) {
35553 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
35555 arg5
= static_cast< int >(val5
);
35558 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35559 if (!SWIG_IsOK(res6
)) {
35560 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35565 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35566 wxPyEndAllowThreads(__tstate
);
35567 if (PyErr_Occurred()) SWIG_fail
;
35569 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35584 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35585 PyObject
*resultobj
= 0;
35586 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35587 wxTreeItemId
*arg2
= 0 ;
35588 wxTreeItemId
*arg3
= 0 ;
35589 wxString
*arg4
= 0 ;
35590 int arg5
= (int) -1 ;
35591 int arg6
= (int) -1 ;
35592 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35593 wxTreeItemId result
;
35600 bool temp4
= false ;
35606 PyObject
* obj0
= 0 ;
35607 PyObject
* obj1
= 0 ;
35608 PyObject
* obj2
= 0 ;
35609 PyObject
* obj3
= 0 ;
35610 PyObject
* obj4
= 0 ;
35611 PyObject
* obj5
= 0 ;
35612 PyObject
* obj6
= 0 ;
35613 char * kwnames
[] = {
35614 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35619 if (!SWIG_IsOK(res1
)) {
35620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35622 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35623 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35624 if (!SWIG_IsOK(res2
)) {
35625 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35628 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35630 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35631 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35632 if (!SWIG_IsOK(res3
)) {
35633 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35636 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35638 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
35640 arg4
= wxString_in_helper(obj3
);
35641 if (arg4
== NULL
) SWIG_fail
;
35645 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35646 if (!SWIG_IsOK(ecode5
)) {
35647 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
35649 arg5
= static_cast< int >(val5
);
35652 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35653 if (!SWIG_IsOK(ecode6
)) {
35654 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
35656 arg6
= static_cast< int >(val6
);
35659 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35660 if (!SWIG_IsOK(res7
)) {
35661 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35666 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35667 wxPyEndAllowThreads(__tstate
);
35668 if (PyErr_Occurred()) SWIG_fail
;
35670 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35685 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35686 PyObject
*resultobj
= 0;
35687 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35688 wxTreeItemId
*arg2
= 0 ;
35690 wxString
*arg4
= 0 ;
35691 int arg5
= (int) -1 ;
35692 int arg6
= (int) -1 ;
35693 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35694 wxTreeItemId result
;
35701 bool temp4
= false ;
35707 PyObject
* obj0
= 0 ;
35708 PyObject
* obj1
= 0 ;
35709 PyObject
* obj2
= 0 ;
35710 PyObject
* obj3
= 0 ;
35711 PyObject
* obj4
= 0 ;
35712 PyObject
* obj5
= 0 ;
35713 PyObject
* obj6
= 0 ;
35714 char * kwnames
[] = {
35715 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35720 if (!SWIG_IsOK(res1
)) {
35721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35723 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35724 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35725 if (!SWIG_IsOK(res2
)) {
35726 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35729 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35731 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35732 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
35733 if (!SWIG_IsOK(ecode3
)) {
35734 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
35736 arg3
= static_cast< size_t >(val3
);
35738 arg4
= wxString_in_helper(obj3
);
35739 if (arg4
== NULL
) SWIG_fail
;
35743 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35744 if (!SWIG_IsOK(ecode5
)) {
35745 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
35747 arg5
= static_cast< int >(val5
);
35750 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35751 if (!SWIG_IsOK(ecode6
)) {
35752 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
35754 arg6
= static_cast< int >(val6
);
35757 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35758 if (!SWIG_IsOK(res7
)) {
35759 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35764 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35765 wxPyEndAllowThreads(__tstate
);
35766 if (PyErr_Occurred()) SWIG_fail
;
35768 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35783 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35784 PyObject
*resultobj
= 0;
35785 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35786 wxTreeItemId
*arg2
= 0 ;
35787 wxString
*arg3
= 0 ;
35788 int arg4
= (int) -1 ;
35789 int arg5
= (int) -1 ;
35790 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35791 wxTreeItemId result
;
35796 bool temp3
= false ;
35802 PyObject
* obj0
= 0 ;
35803 PyObject
* obj1
= 0 ;
35804 PyObject
* obj2
= 0 ;
35805 PyObject
* obj3
= 0 ;
35806 PyObject
* obj4
= 0 ;
35807 PyObject
* obj5
= 0 ;
35808 char * kwnames
[] = {
35809 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35814 if (!SWIG_IsOK(res1
)) {
35815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35817 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35818 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35819 if (!SWIG_IsOK(res2
)) {
35820 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35823 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35825 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35827 arg3
= wxString_in_helper(obj2
);
35828 if (arg3
== NULL
) SWIG_fail
;
35832 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35833 if (!SWIG_IsOK(ecode4
)) {
35834 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
35836 arg4
= static_cast< int >(val4
);
35839 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35840 if (!SWIG_IsOK(ecode5
)) {
35841 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
35843 arg5
= static_cast< int >(val5
);
35846 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35847 if (!SWIG_IsOK(res6
)) {
35848 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35853 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35854 wxPyEndAllowThreads(__tstate
);
35855 if (PyErr_Occurred()) SWIG_fail
;
35857 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35872 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35873 PyObject
*resultobj
= 0;
35874 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35875 wxTreeItemId
*arg2
= 0 ;
35880 PyObject
* obj0
= 0 ;
35881 PyObject
* obj1
= 0 ;
35882 char * kwnames
[] = {
35883 (char *) "self",(char *) "item", NULL
35886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35888 if (!SWIG_IsOK(res1
)) {
35889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35891 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35892 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35893 if (!SWIG_IsOK(res2
)) {
35894 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35897 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35899 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35902 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
35903 wxPyEndAllowThreads(__tstate
);
35904 if (PyErr_Occurred()) SWIG_fail
;
35906 resultobj
= SWIG_Py_Void();
35913 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35914 PyObject
*resultobj
= 0;
35915 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35916 wxTreeItemId
*arg2
= 0 ;
35921 PyObject
* obj0
= 0 ;
35922 PyObject
* obj1
= 0 ;
35923 char * kwnames
[] = {
35924 (char *) "self",(char *) "item", NULL
35927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35929 if (!SWIG_IsOK(res1
)) {
35930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35932 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35933 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35934 if (!SWIG_IsOK(res2
)) {
35935 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35938 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35940 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35943 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
35944 wxPyEndAllowThreads(__tstate
);
35945 if (PyErr_Occurred()) SWIG_fail
;
35947 resultobj
= SWIG_Py_Void();
35954 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35955 PyObject
*resultobj
= 0;
35956 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35959 PyObject
*swig_obj
[1] ;
35961 if (!args
) SWIG_fail
;
35962 swig_obj
[0] = args
;
35963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35964 if (!SWIG_IsOK(res1
)) {
35965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35967 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35970 (arg1
)->DeleteAllItems();
35971 wxPyEndAllowThreads(__tstate
);
35972 if (PyErr_Occurred()) SWIG_fail
;
35974 resultobj
= SWIG_Py_Void();
35981 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35982 PyObject
*resultobj
= 0;
35983 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35984 wxTreeItemId
*arg2
= 0 ;
35989 PyObject
* obj0
= 0 ;
35990 PyObject
* obj1
= 0 ;
35991 char * kwnames
[] = {
35992 (char *) "self",(char *) "item", NULL
35995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35997 if (!SWIG_IsOK(res1
)) {
35998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36000 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36001 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36002 if (!SWIG_IsOK(res2
)) {
36003 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36006 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36008 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36011 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36012 wxPyEndAllowThreads(__tstate
);
36013 if (PyErr_Occurred()) SWIG_fail
;
36015 resultobj
= SWIG_Py_Void();
36022 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36023 PyObject
*resultobj
= 0;
36024 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36025 wxTreeItemId
*arg2
= 0 ;
36030 PyObject
* obj0
= 0 ;
36031 PyObject
* obj1
= 0 ;
36032 char * kwnames
[] = {
36033 (char *) "self",(char *) "item", NULL
36036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36038 if (!SWIG_IsOK(res1
)) {
36039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36041 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36042 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36043 if (!SWIG_IsOK(res2
)) {
36044 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36047 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36049 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36052 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36053 wxPyEndAllowThreads(__tstate
);
36054 if (PyErr_Occurred()) SWIG_fail
;
36056 resultobj
= SWIG_Py_Void();
36063 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36064 PyObject
*resultobj
= 0;
36065 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36066 wxTreeItemId
*arg2
= 0 ;
36071 PyObject
* obj0
= 0 ;
36072 PyObject
* obj1
= 0 ;
36073 char * kwnames
[] = {
36074 (char *) "self",(char *) "item", NULL
36077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36079 if (!SWIG_IsOK(res1
)) {
36080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36082 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36083 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36084 if (!SWIG_IsOK(res2
)) {
36085 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36088 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36090 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36093 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36094 wxPyEndAllowThreads(__tstate
);
36095 if (PyErr_Occurred()) SWIG_fail
;
36097 resultobj
= SWIG_Py_Void();
36104 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36105 PyObject
*resultobj
= 0;
36106 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36107 wxTreeItemId
*arg2
= 0 ;
36112 PyObject
* obj0
= 0 ;
36113 PyObject
* obj1
= 0 ;
36114 char * kwnames
[] = {
36115 (char *) "self",(char *) "item", NULL
36118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36120 if (!SWIG_IsOK(res1
)) {
36121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36123 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36124 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36125 if (!SWIG_IsOK(res2
)) {
36126 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36129 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36131 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36134 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36135 wxPyEndAllowThreads(__tstate
);
36136 if (PyErr_Occurred()) SWIG_fail
;
36138 resultobj
= SWIG_Py_Void();
36145 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36146 PyObject
*resultobj
= 0;
36147 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36150 PyObject
*swig_obj
[1] ;
36152 if (!args
) SWIG_fail
;
36153 swig_obj
[0] = args
;
36154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36155 if (!SWIG_IsOK(res1
)) {
36156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36158 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36161 (arg1
)->Unselect();
36162 wxPyEndAllowThreads(__tstate
);
36163 if (PyErr_Occurred()) SWIG_fail
;
36165 resultobj
= SWIG_Py_Void();
36172 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36173 PyObject
*resultobj
= 0;
36174 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36175 wxTreeItemId
*arg2
= 0 ;
36180 PyObject
* obj0
= 0 ;
36181 PyObject
* obj1
= 0 ;
36182 char * kwnames
[] = {
36183 (char *) "self",(char *) "item", NULL
36186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36188 if (!SWIG_IsOK(res1
)) {
36189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36191 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36192 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36193 if (!SWIG_IsOK(res2
)) {
36194 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36197 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36199 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36202 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36203 wxPyEndAllowThreads(__tstate
);
36204 if (PyErr_Occurred()) SWIG_fail
;
36206 resultobj
= SWIG_Py_Void();
36213 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36214 PyObject
*resultobj
= 0;
36215 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36218 PyObject
*swig_obj
[1] ;
36220 if (!args
) SWIG_fail
;
36221 swig_obj
[0] = args
;
36222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36223 if (!SWIG_IsOK(res1
)) {
36224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36226 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36229 (arg1
)->UnselectAll();
36230 wxPyEndAllowThreads(__tstate
);
36231 if (PyErr_Occurred()) SWIG_fail
;
36233 resultobj
= SWIG_Py_Void();
36240 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36241 PyObject
*resultobj
= 0;
36242 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36243 wxTreeItemId
*arg2
= 0 ;
36244 bool arg3
= (bool) true ;
36251 PyObject
* obj0
= 0 ;
36252 PyObject
* obj1
= 0 ;
36253 PyObject
* obj2
= 0 ;
36254 char * kwnames
[] = {
36255 (char *) "self",(char *) "item",(char *) "select", NULL
36258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36260 if (!SWIG_IsOK(res1
)) {
36261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36263 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36264 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36265 if (!SWIG_IsOK(res2
)) {
36266 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36269 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36271 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36273 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36274 if (!SWIG_IsOK(ecode3
)) {
36275 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36277 arg3
= static_cast< bool >(val3
);
36280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36281 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36282 wxPyEndAllowThreads(__tstate
);
36283 if (PyErr_Occurred()) SWIG_fail
;
36285 resultobj
= SWIG_Py_Void();
36292 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36293 PyObject
*resultobj
= 0;
36294 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36295 wxTreeItemId
*arg2
= 0 ;
36300 PyObject
* obj0
= 0 ;
36301 PyObject
* obj1
= 0 ;
36302 char * kwnames
[] = {
36303 (char *) "self",(char *) "item", NULL
36306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36308 if (!SWIG_IsOK(res1
)) {
36309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36311 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36312 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36313 if (!SWIG_IsOK(res2
)) {
36314 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36317 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36319 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36322 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
36323 wxPyEndAllowThreads(__tstate
);
36324 if (PyErr_Occurred()) SWIG_fail
;
36326 resultobj
= SWIG_Py_Void();
36333 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36334 PyObject
*resultobj
= 0;
36335 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36336 wxTreeItemId
*arg2
= 0 ;
36341 PyObject
* obj0
= 0 ;
36342 PyObject
* obj1
= 0 ;
36343 char * kwnames
[] = {
36344 (char *) "self",(char *) "item", NULL
36347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36349 if (!SWIG_IsOK(res1
)) {
36350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36352 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36353 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36354 if (!SWIG_IsOK(res2
)) {
36355 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36358 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36360 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36363 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
36364 wxPyEndAllowThreads(__tstate
);
36365 if (PyErr_Occurred()) SWIG_fail
;
36367 resultobj
= SWIG_Py_Void();
36374 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36375 PyObject
*resultobj
= 0;
36376 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36377 wxTreeItemId
*arg2
= 0 ;
36382 PyObject
* obj0
= 0 ;
36383 PyObject
* obj1
= 0 ;
36384 char * kwnames
[] = {
36385 (char *) "self",(char *) "item", NULL
36388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36390 if (!SWIG_IsOK(res1
)) {
36391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36393 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36394 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36395 if (!SWIG_IsOK(res2
)) {
36396 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36399 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36401 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36404 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
36405 wxPyEndAllowThreads(__tstate
);
36406 if (PyErr_Occurred()) SWIG_fail
;
36408 resultobj
= SWIG_Py_Void();
36415 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36416 PyObject
*resultobj
= 0;
36417 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36418 wxTreeItemId
*arg2
= 0 ;
36423 PyObject
* obj0
= 0 ;
36424 PyObject
* obj1
= 0 ;
36425 char * kwnames
[] = {
36426 (char *) "self",(char *) "item", NULL
36429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36431 if (!SWIG_IsOK(res1
)) {
36432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36434 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36435 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36436 if (!SWIG_IsOK(res2
)) {
36437 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36440 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36442 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36445 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
36446 wxPyEndAllowThreads(__tstate
);
36447 if (PyErr_Occurred()) SWIG_fail
;
36449 resultobj
= SWIG_Py_Void();
36456 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36457 PyObject
*resultobj
= 0;
36458 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36459 wxTextCtrl
*result
= 0 ;
36462 PyObject
*swig_obj
[1] ;
36464 if (!args
) SWIG_fail
;
36465 swig_obj
[0] = args
;
36466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36467 if (!SWIG_IsOK(res1
)) {
36468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36470 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36473 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
36474 wxPyEndAllowThreads(__tstate
);
36475 if (PyErr_Occurred()) SWIG_fail
;
36478 resultobj
= wxPyMake_wxObject(result
, 0);
36486 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36487 PyObject
*resultobj
= 0;
36488 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36489 wxTreeItemId
*arg2
= 0 ;
36494 PyObject
* obj0
= 0 ;
36495 PyObject
* obj1
= 0 ;
36496 char * kwnames
[] = {
36497 (char *) "self",(char *) "item", NULL
36500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36502 if (!SWIG_IsOK(res1
)) {
36503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36505 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36506 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36507 if (!SWIG_IsOK(res2
)) {
36508 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36511 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36513 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36516 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
36517 wxPyEndAllowThreads(__tstate
);
36518 if (PyErr_Occurred()) SWIG_fail
;
36520 resultobj
= SWIG_Py_Void();
36527 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36528 PyObject
*resultobj
= 0;
36529 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36530 wxPoint
*arg2
= 0 ;
36532 wxTreeItemId result
;
36537 int res3
= SWIG_TMPOBJ
;
36538 PyObject
* obj0
= 0 ;
36539 PyObject
* obj1
= 0 ;
36540 char * kwnames
[] = {
36541 (char *) "self",(char *) "point", NULL
36545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36547 if (!SWIG_IsOK(res1
)) {
36548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36550 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36553 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36557 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
36558 wxPyEndAllowThreads(__tstate
);
36559 if (PyErr_Occurred()) SWIG_fail
;
36561 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36562 if (SWIG_IsTmpObj(res3
)) {
36563 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
36565 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36566 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
36574 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36575 PyObject
*resultobj
= 0;
36576 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36577 wxTreeItemId
*arg2
= 0 ;
36578 bool arg3
= (bool) false ;
36579 PyObject
*result
= 0 ;
36586 PyObject
* obj0
= 0 ;
36587 PyObject
* obj1
= 0 ;
36588 PyObject
* obj2
= 0 ;
36589 char * kwnames
[] = {
36590 (char *) "self",(char *) "item",(char *) "textOnly", NULL
36593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36595 if (!SWIG_IsOK(res1
)) {
36596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36598 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36599 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36600 if (!SWIG_IsOK(res2
)) {
36601 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36604 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36606 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36608 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36609 if (!SWIG_IsOK(ecode3
)) {
36610 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
36612 arg3
= static_cast< bool >(val3
);
36615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36616 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
36617 wxPyEndAllowThreads(__tstate
);
36618 if (PyErr_Occurred()) SWIG_fail
;
36620 resultobj
= result
;
36627 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36628 PyObject
*resultobj
= 0;
36629 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
36630 SwigValueWrapper
<wxVisualAttributes
> result
;
36633 PyObject
* obj0
= 0 ;
36634 char * kwnames
[] = {
36635 (char *) "variant", NULL
36638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
36640 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
36641 if (!SWIG_IsOK(ecode1
)) {
36642 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
36644 arg1
= static_cast< wxWindowVariant
>(val1
);
36647 if (!wxPyCheckForApp()) SWIG_fail
;
36648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36649 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
36650 wxPyEndAllowThreads(__tstate
);
36651 if (PyErr_Occurred()) SWIG_fail
;
36653 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
36660 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36661 PyObject
*resultobj
= 0;
36662 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36668 PyObject
* obj0
= 0 ;
36669 PyObject
* obj1
= 0 ;
36670 char * kwnames
[] = {
36671 (char *) "self",(char *) "q", NULL
36674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36676 if (!SWIG_IsOK(res1
)) {
36677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36679 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36680 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
36681 if (!SWIG_IsOK(ecode2
)) {
36682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
36684 arg2
= static_cast< bool >(val2
);
36686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36687 (arg1
)->SetQuickBestSize(arg2
);
36688 wxPyEndAllowThreads(__tstate
);
36689 if (PyErr_Occurred()) SWIG_fail
;
36691 resultobj
= SWIG_Py_Void();
36698 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36699 PyObject
*resultobj
= 0;
36700 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36704 PyObject
*swig_obj
[1] ;
36706 if (!args
) SWIG_fail
;
36707 swig_obj
[0] = args
;
36708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36709 if (!SWIG_IsOK(res1
)) {
36710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36712 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36715 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
36716 wxPyEndAllowThreads(__tstate
);
36717 if (PyErr_Occurred()) SWIG_fail
;
36720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36728 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36730 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36731 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
36732 return SWIG_Py_Void();
36735 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36736 return SWIG_Python_InitShadowInstance(args
);
36739 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
36740 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
36745 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
36746 PyObject
*pyobj
= 0;
36750 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
36752 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
36759 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36760 PyObject
*resultobj
= 0;
36761 wxWindow
*arg1
= (wxWindow
*) 0 ;
36762 int arg2
= (int) (int)-1 ;
36763 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
36764 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
36765 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
36766 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
36767 wxSize
const &arg5_defvalue
= wxDefaultSize
;
36768 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
36769 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
36770 wxString
const &arg7_defvalue
= wxPyEmptyString
;
36771 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
36772 int arg8
= (int) 0 ;
36773 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
36774 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
36775 wxGenericDirCtrl
*result
= 0 ;
36780 bool temp3
= false ;
36785 bool temp7
= false ;
36788 bool temp9
= false ;
36789 PyObject
* obj0
= 0 ;
36790 PyObject
* obj1
= 0 ;
36791 PyObject
* obj2
= 0 ;
36792 PyObject
* obj3
= 0 ;
36793 PyObject
* obj4
= 0 ;
36794 PyObject
* obj5
= 0 ;
36795 PyObject
* obj6
= 0 ;
36796 PyObject
* obj7
= 0 ;
36797 PyObject
* obj8
= 0 ;
36798 char * kwnames
[] = {
36799 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
36802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
36803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36804 if (!SWIG_IsOK(res1
)) {
36805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
36807 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36809 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36810 if (!SWIG_IsOK(ecode2
)) {
36811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
36813 arg2
= static_cast< int >(val2
);
36817 arg3
= wxString_in_helper(obj2
);
36818 if (arg3
== NULL
) SWIG_fail
;
36825 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36831 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
36835 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
36836 if (!SWIG_IsOK(ecode6
)) {
36837 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
36839 arg6
= static_cast< long >(val6
);
36843 arg7
= wxString_in_helper(obj6
);
36844 if (arg7
== NULL
) SWIG_fail
;
36849 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
36850 if (!SWIG_IsOK(ecode8
)) {
36851 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
36853 arg8
= static_cast< int >(val8
);
36857 arg9
= wxString_in_helper(obj8
);
36858 if (arg9
== NULL
) SWIG_fail
;
36863 if (!wxPyCheckForApp()) SWIG_fail
;
36864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36865 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
36866 wxPyEndAllowThreads(__tstate
);
36867 if (PyErr_Occurred()) SWIG_fail
;
36869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
36900 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36901 PyObject
*resultobj
= 0;
36902 wxGenericDirCtrl
*result
= 0 ;
36904 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
36906 if (!wxPyCheckForApp()) SWIG_fail
;
36907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36908 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
36909 wxPyEndAllowThreads(__tstate
);
36910 if (PyErr_Occurred()) SWIG_fail
;
36912 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
36919 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36920 PyObject
*resultobj
= 0;
36921 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36922 wxWindow
*arg2
= (wxWindow
*) 0 ;
36923 int arg3
= (int) (int)-1 ;
36924 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
36925 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
36926 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
36927 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
36928 wxSize
const &arg6_defvalue
= wxDefaultSize
;
36929 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
36930 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
36931 wxString
const &arg8_defvalue
= wxPyEmptyString
;
36932 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
36933 int arg9
= (int) 0 ;
36934 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
36935 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
36943 bool temp4
= false ;
36948 bool temp8
= false ;
36951 bool temp10
= false ;
36952 PyObject
* obj0
= 0 ;
36953 PyObject
* obj1
= 0 ;
36954 PyObject
* obj2
= 0 ;
36955 PyObject
* obj3
= 0 ;
36956 PyObject
* obj4
= 0 ;
36957 PyObject
* obj5
= 0 ;
36958 PyObject
* obj6
= 0 ;
36959 PyObject
* obj7
= 0 ;
36960 PyObject
* obj8
= 0 ;
36961 PyObject
* obj9
= 0 ;
36962 char * kwnames
[] = {
36963 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
36966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
36967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36968 if (!SWIG_IsOK(res1
)) {
36969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
36971 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36972 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36973 if (!SWIG_IsOK(res2
)) {
36974 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
36976 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
36978 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36979 if (!SWIG_IsOK(ecode3
)) {
36980 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
36982 arg3
= static_cast< int >(val3
);
36986 arg4
= wxString_in_helper(obj3
);
36987 if (arg4
== NULL
) SWIG_fail
;
36994 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37000 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37004 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37005 if (!SWIG_IsOK(ecode7
)) {
37006 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37008 arg7
= static_cast< long >(val7
);
37012 arg8
= wxString_in_helper(obj7
);
37013 if (arg8
== NULL
) SWIG_fail
;
37018 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37019 if (!SWIG_IsOK(ecode9
)) {
37020 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37022 arg9
= static_cast< int >(val9
);
37026 arg10
= wxString_in_helper(obj9
);
37027 if (arg10
== NULL
) SWIG_fail
;
37032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37033 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37034 wxPyEndAllowThreads(__tstate
);
37035 if (PyErr_Occurred()) SWIG_fail
;
37038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37070 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37071 PyObject
*resultobj
= 0;
37072 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37073 wxString
*arg2
= 0 ;
37077 bool temp2
= false ;
37078 PyObject
* obj0
= 0 ;
37079 PyObject
* obj1
= 0 ;
37080 char * kwnames
[] = {
37081 (char *) "self",(char *) "path", NULL
37084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37086 if (!SWIG_IsOK(res1
)) {
37087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37089 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37091 arg2
= wxString_in_helper(obj1
);
37092 if (arg2
== NULL
) SWIG_fail
;
37096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37097 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37098 wxPyEndAllowThreads(__tstate
);
37099 if (PyErr_Occurred()) SWIG_fail
;
37102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37118 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37119 PyObject
*resultobj
= 0;
37120 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37121 wxString
*arg2
= 0 ;
37125 bool temp2
= false ;
37126 PyObject
* obj0
= 0 ;
37127 PyObject
* obj1
= 0 ;
37128 char * kwnames
[] = {
37129 (char *) "self",(char *) "path", NULL
37132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37134 if (!SWIG_IsOK(res1
)) {
37135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37137 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37139 arg2
= wxString_in_helper(obj1
);
37140 if (arg2
== NULL
) SWIG_fail
;
37144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37145 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
37146 wxPyEndAllowThreads(__tstate
);
37147 if (PyErr_Occurred()) SWIG_fail
;
37150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37166 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37167 PyObject
*resultobj
= 0;
37168 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37172 PyObject
*swig_obj
[1] ;
37174 if (!args
) SWIG_fail
;
37175 swig_obj
[0] = args
;
37176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37177 if (!SWIG_IsOK(res1
)) {
37178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37180 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37183 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37184 wxPyEndAllowThreads(__tstate
);
37185 if (PyErr_Occurred()) SWIG_fail
;
37189 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37191 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37200 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37201 PyObject
*resultobj
= 0;
37202 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37203 wxString
*arg2
= 0 ;
37206 bool temp2
= false ;
37207 PyObject
* obj0
= 0 ;
37208 PyObject
* obj1
= 0 ;
37209 char * kwnames
[] = {
37210 (char *) "self",(char *) "path", NULL
37213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37215 if (!SWIG_IsOK(res1
)) {
37216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37218 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37220 arg2
= wxString_in_helper(obj1
);
37221 if (arg2
== NULL
) SWIG_fail
;
37225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37226 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37227 wxPyEndAllowThreads(__tstate
);
37228 if (PyErr_Occurred()) SWIG_fail
;
37230 resultobj
= SWIG_Py_Void();
37245 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37246 PyObject
*resultobj
= 0;
37247 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37251 PyObject
*swig_obj
[1] ;
37253 if (!args
) SWIG_fail
;
37254 swig_obj
[0] = args
;
37255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37256 if (!SWIG_IsOK(res1
)) {
37257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37259 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37262 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37263 wxPyEndAllowThreads(__tstate
);
37264 if (PyErr_Occurred()) SWIG_fail
;
37268 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37270 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37279 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37280 PyObject
*resultobj
= 0;
37281 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37285 PyObject
*swig_obj
[1] ;
37287 if (!args
) SWIG_fail
;
37288 swig_obj
[0] = args
;
37289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37290 if (!SWIG_IsOK(res1
)) {
37291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37293 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37296 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37297 wxPyEndAllowThreads(__tstate
);
37298 if (PyErr_Occurred()) SWIG_fail
;
37302 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37304 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37313 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37314 PyObject
*resultobj
= 0;
37315 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37316 wxString
*arg2
= 0 ;
37319 bool temp2
= false ;
37320 PyObject
* obj0
= 0 ;
37321 PyObject
* obj1
= 0 ;
37322 char * kwnames
[] = {
37323 (char *) "self",(char *) "path", NULL
37326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37328 if (!SWIG_IsOK(res1
)) {
37329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37331 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37333 arg2
= wxString_in_helper(obj1
);
37334 if (arg2
== NULL
) SWIG_fail
;
37338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37339 (arg1
)->SetPath((wxString
const &)*arg2
);
37340 wxPyEndAllowThreads(__tstate
);
37341 if (PyErr_Occurred()) SWIG_fail
;
37343 resultobj
= SWIG_Py_Void();
37358 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37359 PyObject
*resultobj
= 0;
37360 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37366 PyObject
* obj0
= 0 ;
37367 PyObject
* obj1
= 0 ;
37368 char * kwnames
[] = {
37369 (char *) "self",(char *) "show", NULL
37372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37374 if (!SWIG_IsOK(res1
)) {
37375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37377 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37378 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37379 if (!SWIG_IsOK(ecode2
)) {
37380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
37382 arg2
= static_cast< bool >(val2
);
37384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37385 (arg1
)->ShowHidden(arg2
);
37386 wxPyEndAllowThreads(__tstate
);
37387 if (PyErr_Occurred()) SWIG_fail
;
37389 resultobj
= SWIG_Py_Void();
37396 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37397 PyObject
*resultobj
= 0;
37398 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37402 PyObject
*swig_obj
[1] ;
37404 if (!args
) SWIG_fail
;
37405 swig_obj
[0] = args
;
37406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37407 if (!SWIG_IsOK(res1
)) {
37408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37410 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37413 result
= (bool)(arg1
)->GetShowHidden();
37414 wxPyEndAllowThreads(__tstate
);
37415 if (PyErr_Occurred()) SWIG_fail
;
37418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37426 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37427 PyObject
*resultobj
= 0;
37428 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37432 PyObject
*swig_obj
[1] ;
37434 if (!args
) SWIG_fail
;
37435 swig_obj
[0] = args
;
37436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37437 if (!SWIG_IsOK(res1
)) {
37438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37440 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37443 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
37444 wxPyEndAllowThreads(__tstate
);
37445 if (PyErr_Occurred()) SWIG_fail
;
37449 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37451 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37460 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37461 PyObject
*resultobj
= 0;
37462 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37463 wxString
*arg2
= 0 ;
37466 bool temp2
= false ;
37467 PyObject
* obj0
= 0 ;
37468 PyObject
* obj1
= 0 ;
37469 char * kwnames
[] = {
37470 (char *) "self",(char *) "filter", NULL
37473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37475 if (!SWIG_IsOK(res1
)) {
37476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37478 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37480 arg2
= wxString_in_helper(obj1
);
37481 if (arg2
== NULL
) SWIG_fail
;
37485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37486 (arg1
)->SetFilter((wxString
const &)*arg2
);
37487 wxPyEndAllowThreads(__tstate
);
37488 if (PyErr_Occurred()) SWIG_fail
;
37490 resultobj
= SWIG_Py_Void();
37505 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37506 PyObject
*resultobj
= 0;
37507 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37511 PyObject
*swig_obj
[1] ;
37513 if (!args
) SWIG_fail
;
37514 swig_obj
[0] = args
;
37515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37516 if (!SWIG_IsOK(res1
)) {
37517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37519 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37522 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
37523 wxPyEndAllowThreads(__tstate
);
37524 if (PyErr_Occurred()) SWIG_fail
;
37526 resultobj
= SWIG_From_int(static_cast< int >(result
));
37533 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37534 PyObject
*resultobj
= 0;
37535 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37541 PyObject
* obj0
= 0 ;
37542 PyObject
* obj1
= 0 ;
37543 char * kwnames
[] = {
37544 (char *) "self",(char *) "n", NULL
37547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37549 if (!SWIG_IsOK(res1
)) {
37550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37552 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37553 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37554 if (!SWIG_IsOK(ecode2
)) {
37555 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
37557 arg2
= static_cast< int >(val2
);
37559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37560 (arg1
)->SetFilterIndex(arg2
);
37561 wxPyEndAllowThreads(__tstate
);
37562 if (PyErr_Occurred()) SWIG_fail
;
37564 resultobj
= SWIG_Py_Void();
37571 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37572 PyObject
*resultobj
= 0;
37573 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37574 wxTreeItemId result
;
37577 PyObject
*swig_obj
[1] ;
37579 if (!args
) SWIG_fail
;
37580 swig_obj
[0] = args
;
37581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37582 if (!SWIG_IsOK(res1
)) {
37583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37585 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37588 result
= (arg1
)->GetRootId();
37589 wxPyEndAllowThreads(__tstate
);
37590 if (PyErr_Occurred()) SWIG_fail
;
37592 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37599 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37600 PyObject
*resultobj
= 0;
37601 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37602 wxPyTreeCtrl
*result
= 0 ;
37605 PyObject
*swig_obj
[1] ;
37607 if (!args
) SWIG_fail
;
37608 swig_obj
[0] = args
;
37609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37610 if (!SWIG_IsOK(res1
)) {
37611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37613 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37616 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
37617 wxPyEndAllowThreads(__tstate
);
37618 if (PyErr_Occurred()) SWIG_fail
;
37621 resultobj
= wxPyMake_wxObject(result
, 0);
37629 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37630 PyObject
*resultobj
= 0;
37631 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37632 wxDirFilterListCtrl
*result
= 0 ;
37635 PyObject
*swig_obj
[1] ;
37637 if (!args
) SWIG_fail
;
37638 swig_obj
[0] = args
;
37639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37640 if (!SWIG_IsOK(res1
)) {
37641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37643 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37646 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
37647 wxPyEndAllowThreads(__tstate
);
37648 if (PyErr_Occurred()) SWIG_fail
;
37650 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37657 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37658 PyObject
*resultobj
= 0;
37659 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37660 wxTreeItemId arg2
;
37661 wxString
*arg3
= 0 ;
37663 wxTreeItemId result
;
37668 bool temp3
= false ;
37670 int res4
= SWIG_TMPOBJ
;
37671 PyObject
* obj0
= 0 ;
37672 PyObject
* obj1
= 0 ;
37673 PyObject
* obj2
= 0 ;
37674 char * kwnames
[] = {
37675 (char *) "self",(char *) "parentId",(char *) "path", NULL
37679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37681 if (!SWIG_IsOK(res1
)) {
37682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37684 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37686 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37687 if (!SWIG_IsOK(res2
)) {
37688 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37691 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37693 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37695 if (SWIG_IsNewObj(res2
)) delete temp
;
37699 arg3
= wxString_in_helper(obj2
);
37700 if (arg3
== NULL
) SWIG_fail
;
37704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37705 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
37706 wxPyEndAllowThreads(__tstate
);
37707 if (PyErr_Occurred()) SWIG_fail
;
37709 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37710 if (SWIG_IsTmpObj(res4
)) {
37711 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
37713 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37714 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
37730 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37731 PyObject
*resultobj
= 0;
37732 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37735 PyObject
*swig_obj
[1] ;
37737 if (!args
) SWIG_fail
;
37738 swig_obj
[0] = args
;
37739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37740 if (!SWIG_IsOK(res1
)) {
37741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37743 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37746 (arg1
)->DoResize();
37747 wxPyEndAllowThreads(__tstate
);
37748 if (PyErr_Occurred()) SWIG_fail
;
37750 resultobj
= SWIG_Py_Void();
37757 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37758 PyObject
*resultobj
= 0;
37759 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37762 PyObject
*swig_obj
[1] ;
37764 if (!args
) SWIG_fail
;
37765 swig_obj
[0] = args
;
37766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37767 if (!SWIG_IsOK(res1
)) {
37768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37770 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37773 (arg1
)->ReCreateTree();
37774 wxPyEndAllowThreads(__tstate
);
37775 if (PyErr_Occurred()) SWIG_fail
;
37777 resultobj
= SWIG_Py_Void();
37784 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37786 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37787 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
37788 return SWIG_Py_Void();
37791 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37792 return SWIG_Python_InitShadowInstance(args
);
37795 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37796 PyObject
*resultobj
= 0;
37797 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37798 int arg2
= (int) (int)-1 ;
37799 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37800 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37801 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37802 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37803 long arg5
= (long) 0 ;
37804 wxDirFilterListCtrl
*result
= 0 ;
37813 PyObject
* obj0
= 0 ;
37814 PyObject
* obj1
= 0 ;
37815 PyObject
* obj2
= 0 ;
37816 PyObject
* obj3
= 0 ;
37817 PyObject
* obj4
= 0 ;
37818 char * kwnames
[] = {
37819 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
37822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37824 if (!SWIG_IsOK(res1
)) {
37825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37827 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37829 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37830 if (!SWIG_IsOK(ecode2
)) {
37831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
37833 arg2
= static_cast< int >(val2
);
37838 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37844 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37848 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
37849 if (!SWIG_IsOK(ecode5
)) {
37850 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
37852 arg5
= static_cast< long >(val5
);
37855 if (!wxPyCheckForApp()) SWIG_fail
;
37856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37857 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
37858 wxPyEndAllowThreads(__tstate
);
37859 if (PyErr_Occurred()) SWIG_fail
;
37861 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
37868 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37869 PyObject
*resultobj
= 0;
37870 wxDirFilterListCtrl
*result
= 0 ;
37872 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
37874 if (!wxPyCheckForApp()) SWIG_fail
;
37875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37876 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
37877 wxPyEndAllowThreads(__tstate
);
37878 if (PyErr_Occurred()) SWIG_fail
;
37880 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
37887 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37888 PyObject
*resultobj
= 0;
37889 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
37890 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
37891 int arg3
= (int) (int)-1 ;
37892 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37893 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37894 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37895 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37896 long arg6
= (long) 0 ;
37908 PyObject
* obj0
= 0 ;
37909 PyObject
* obj1
= 0 ;
37910 PyObject
* obj2
= 0 ;
37911 PyObject
* obj3
= 0 ;
37912 PyObject
* obj4
= 0 ;
37913 PyObject
* obj5
= 0 ;
37914 char * kwnames
[] = {
37915 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
37918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37920 if (!SWIG_IsOK(res1
)) {
37921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
37923 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
37924 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37925 if (!SWIG_IsOK(res2
)) {
37926 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
37928 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
37930 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37931 if (!SWIG_IsOK(ecode3
)) {
37932 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37934 arg3
= static_cast< int >(val3
);
37939 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37945 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37949 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37950 if (!SWIG_IsOK(ecode6
)) {
37951 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
37953 arg6
= static_cast< long >(val6
);
37956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37957 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
37958 wxPyEndAllowThreads(__tstate
);
37959 if (PyErr_Occurred()) SWIG_fail
;
37962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37970 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37971 PyObject
*resultobj
= 0;
37972 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
37973 wxString
*arg2
= 0 ;
37977 bool temp2
= false ;
37980 PyObject
* obj0
= 0 ;
37981 PyObject
* obj1
= 0 ;
37982 PyObject
* obj2
= 0 ;
37983 char * kwnames
[] = {
37984 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
37987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37989 if (!SWIG_IsOK(res1
)) {
37990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
37992 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
37994 arg2
= wxString_in_helper(obj1
);
37995 if (arg2
== NULL
) SWIG_fail
;
37998 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37999 if (!SWIG_IsOK(ecode3
)) {
38000 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38002 arg3
= static_cast< int >(val3
);
38004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38005 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38006 wxPyEndAllowThreads(__tstate
);
38007 if (PyErr_Occurred()) SWIG_fail
;
38009 resultobj
= SWIG_Py_Void();
38024 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38026 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38027 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38028 return SWIG_Py_Void();
38031 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38032 return SWIG_Python_InitShadowInstance(args
);
38035 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38036 PyObject
*resultobj
= 0;
38037 wxWindow
*arg1
= (wxWindow
*) 0 ;
38038 int arg2
= (int) (int)-1 ;
38039 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38040 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38041 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38042 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38043 long arg5
= (long) 0 ;
38044 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38045 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38046 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38047 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38048 wxPyControl
*result
= 0 ;
38059 bool temp7
= false ;
38060 PyObject
* obj0
= 0 ;
38061 PyObject
* obj1
= 0 ;
38062 PyObject
* obj2
= 0 ;
38063 PyObject
* obj3
= 0 ;
38064 PyObject
* obj4
= 0 ;
38065 PyObject
* obj5
= 0 ;
38066 PyObject
* obj6
= 0 ;
38067 char * kwnames
[] = {
38068 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38073 if (!SWIG_IsOK(res1
)) {
38074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38076 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38078 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38079 if (!SWIG_IsOK(ecode2
)) {
38080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38082 arg2
= static_cast< int >(val2
);
38087 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38093 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38097 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38098 if (!SWIG_IsOK(ecode5
)) {
38099 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38101 arg5
= static_cast< long >(val5
);
38104 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38105 if (!SWIG_IsOK(res6
)) {
38106 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38109 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38111 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38115 arg7
= wxString_in_helper(obj6
);
38116 if (arg7
== NULL
) SWIG_fail
;
38121 if (!wxPyCheckForApp()) SWIG_fail
;
38122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38123 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38124 wxPyEndAllowThreads(__tstate
);
38125 if (PyErr_Occurred()) SWIG_fail
;
38127 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38142 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38143 PyObject
*resultobj
= 0;
38144 wxPyControl
*result
= 0 ;
38146 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38148 if (!wxPyCheckForApp()) SWIG_fail
;
38149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38150 result
= (wxPyControl
*)new wxPyControl();
38151 wxPyEndAllowThreads(__tstate
);
38152 if (PyErr_Occurred()) SWIG_fail
;
38154 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38161 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38162 PyObject
*resultobj
= 0;
38163 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38164 PyObject
*arg2
= (PyObject
*) 0 ;
38165 PyObject
*arg3
= (PyObject
*) 0 ;
38168 PyObject
* obj0
= 0 ;
38169 PyObject
* obj1
= 0 ;
38170 PyObject
* obj2
= 0 ;
38171 char * kwnames
[] = {
38172 (char *) "self",(char *) "self",(char *) "_class", NULL
38175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38177 if (!SWIG_IsOK(res1
)) {
38178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38180 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38185 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38186 wxPyEndAllowThreads(__tstate
);
38187 if (PyErr_Occurred()) SWIG_fail
;
38189 resultobj
= SWIG_Py_Void();
38196 SWIGINTERN PyObject
*_wrap_PyControl_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38197 PyObject
*resultobj
= 0;
38198 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38203 PyObject
* obj0
= 0 ;
38204 PyObject
* obj1
= 0 ;
38205 char * kwnames
[] = {
38206 (char *) "self",(char *) "size", NULL
38209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38211 if (!SWIG_IsOK(res1
)) {
38212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38214 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38217 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38221 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
38222 wxPyEndAllowThreads(__tstate
);
38223 if (PyErr_Occurred()) SWIG_fail
;
38225 resultobj
= SWIG_Py_Void();
38232 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38233 PyObject
*resultobj
= 0;
38234 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38235 wxDC
*arg2
= (wxDC
*) 0 ;
38241 PyObject
* obj0
= 0 ;
38242 PyObject
* obj1
= 0 ;
38243 char * kwnames
[] = {
38244 (char *) "self",(char *) "dc", NULL
38247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38249 if (!SWIG_IsOK(res1
)) {
38250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38252 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38253 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38254 if (!SWIG_IsOK(res2
)) {
38255 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38257 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38260 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38261 wxPyEndAllowThreads(__tstate
);
38262 if (PyErr_Occurred()) SWIG_fail
;
38265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38273 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38274 PyObject
*resultobj
= 0;
38275 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38290 PyObject
* obj0
= 0 ;
38291 PyObject
* obj1
= 0 ;
38292 PyObject
* obj2
= 0 ;
38293 PyObject
* obj3
= 0 ;
38294 PyObject
* obj4
= 0 ;
38295 char * kwnames
[] = {
38296 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38301 if (!SWIG_IsOK(res1
)) {
38302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38304 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38305 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38306 if (!SWIG_IsOK(ecode2
)) {
38307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38309 arg2
= static_cast< int >(val2
);
38310 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38311 if (!SWIG_IsOK(ecode3
)) {
38312 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38314 arg3
= static_cast< int >(val3
);
38315 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38316 if (!SWIG_IsOK(ecode4
)) {
38317 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38319 arg4
= static_cast< int >(val4
);
38320 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38321 if (!SWIG_IsOK(ecode5
)) {
38322 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38324 arg5
= static_cast< int >(val5
);
38326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38327 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38328 wxPyEndAllowThreads(__tstate
);
38329 if (PyErr_Occurred()) SWIG_fail
;
38331 resultobj
= SWIG_Py_Void();
38338 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38339 PyObject
*resultobj
= 0;
38340 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38345 int arg6
= (int) wxSIZE_AUTO
;
38358 PyObject
* obj0
= 0 ;
38359 PyObject
* obj1
= 0 ;
38360 PyObject
* obj2
= 0 ;
38361 PyObject
* obj3
= 0 ;
38362 PyObject
* obj4
= 0 ;
38363 PyObject
* obj5
= 0 ;
38364 char * kwnames
[] = {
38365 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38370 if (!SWIG_IsOK(res1
)) {
38371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38373 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38374 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38375 if (!SWIG_IsOK(ecode2
)) {
38376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
38378 arg2
= static_cast< int >(val2
);
38379 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38380 if (!SWIG_IsOK(ecode3
)) {
38381 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
38383 arg3
= static_cast< int >(val3
);
38384 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38385 if (!SWIG_IsOK(ecode4
)) {
38386 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
38388 arg4
= static_cast< int >(val4
);
38389 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38390 if (!SWIG_IsOK(ecode5
)) {
38391 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
38393 arg5
= static_cast< int >(val5
);
38395 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38396 if (!SWIG_IsOK(ecode6
)) {
38397 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
38399 arg6
= static_cast< int >(val6
);
38402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38403 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
38404 wxPyEndAllowThreads(__tstate
);
38405 if (PyErr_Occurred()) SWIG_fail
;
38407 resultobj
= SWIG_Py_Void();
38414 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38415 PyObject
*resultobj
= 0;
38416 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38425 PyObject
* obj0
= 0 ;
38426 PyObject
* obj1
= 0 ;
38427 PyObject
* obj2
= 0 ;
38428 char * kwnames
[] = {
38429 (char *) "self",(char *) "width",(char *) "height", NULL
38432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38434 if (!SWIG_IsOK(res1
)) {
38435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38437 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38438 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38439 if (!SWIG_IsOK(ecode2
)) {
38440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
38442 arg2
= static_cast< int >(val2
);
38443 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38444 if (!SWIG_IsOK(ecode3
)) {
38445 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
38447 arg3
= static_cast< int >(val3
);
38449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38450 (arg1
)->DoSetClientSize(arg2
,arg3
);
38451 wxPyEndAllowThreads(__tstate
);
38452 if (PyErr_Occurred()) SWIG_fail
;
38454 resultobj
= SWIG_Py_Void();
38461 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38462 PyObject
*resultobj
= 0;
38463 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38472 PyObject
* obj0
= 0 ;
38473 PyObject
* obj1
= 0 ;
38474 PyObject
* obj2
= 0 ;
38475 char * kwnames
[] = {
38476 (char *) "self",(char *) "x",(char *) "y", NULL
38479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38481 if (!SWIG_IsOK(res1
)) {
38482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38484 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38485 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38486 if (!SWIG_IsOK(ecode2
)) {
38487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
38489 arg2
= static_cast< int >(val2
);
38490 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38491 if (!SWIG_IsOK(ecode3
)) {
38492 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
38494 arg3
= static_cast< int >(val3
);
38496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38497 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
38498 wxPyEndAllowThreads(__tstate
);
38499 if (PyErr_Occurred()) SWIG_fail
;
38501 resultobj
= SWIG_Py_Void();
38508 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38509 PyObject
*resultobj
= 0;
38510 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38511 int *arg2
= (int *) 0 ;
38512 int *arg3
= (int *) 0 ;
38516 int res2
= SWIG_TMPOBJ
;
38518 int res3
= SWIG_TMPOBJ
;
38519 PyObject
*swig_obj
[1] ;
38523 if (!args
) SWIG_fail
;
38524 swig_obj
[0] = args
;
38525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38526 if (!SWIG_IsOK(res1
)) {
38527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38529 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38532 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
38533 wxPyEndAllowThreads(__tstate
);
38534 if (PyErr_Occurred()) SWIG_fail
;
38536 resultobj
= SWIG_Py_Void();
38537 if (SWIG_IsTmpObj(res2
)) {
38538 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38540 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38541 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38543 if (SWIG_IsTmpObj(res3
)) {
38544 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38546 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38547 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38555 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38556 PyObject
*resultobj
= 0;
38557 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38558 int *arg2
= (int *) 0 ;
38559 int *arg3
= (int *) 0 ;
38563 int res2
= SWIG_TMPOBJ
;
38565 int res3
= SWIG_TMPOBJ
;
38566 PyObject
*swig_obj
[1] ;
38570 if (!args
) SWIG_fail
;
38571 swig_obj
[0] = args
;
38572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38573 if (!SWIG_IsOK(res1
)) {
38574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38576 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38579 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
38580 wxPyEndAllowThreads(__tstate
);
38581 if (PyErr_Occurred()) SWIG_fail
;
38583 resultobj
= SWIG_Py_Void();
38584 if (SWIG_IsTmpObj(res2
)) {
38585 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38587 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38588 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38590 if (SWIG_IsTmpObj(res3
)) {
38591 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38593 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38594 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38602 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38603 PyObject
*resultobj
= 0;
38604 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38605 int *arg2
= (int *) 0 ;
38606 int *arg3
= (int *) 0 ;
38610 int res2
= SWIG_TMPOBJ
;
38612 int res3
= SWIG_TMPOBJ
;
38613 PyObject
*swig_obj
[1] ;
38617 if (!args
) SWIG_fail
;
38618 swig_obj
[0] = args
;
38619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38620 if (!SWIG_IsOK(res1
)) {
38621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38623 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38626 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
38627 wxPyEndAllowThreads(__tstate
);
38628 if (PyErr_Occurred()) SWIG_fail
;
38630 resultobj
= SWIG_Py_Void();
38631 if (SWIG_IsTmpObj(res2
)) {
38632 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38634 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38635 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38637 if (SWIG_IsTmpObj(res3
)) {
38638 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38640 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38641 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38649 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38650 PyObject
*resultobj
= 0;
38651 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38655 PyObject
*swig_obj
[1] ;
38657 if (!args
) SWIG_fail
;
38658 swig_obj
[0] = args
;
38659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38660 if (!SWIG_IsOK(res1
)) {
38661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38663 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38666 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
38667 wxPyEndAllowThreads(__tstate
);
38668 if (PyErr_Occurred()) SWIG_fail
;
38670 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
38677 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38678 PyObject
*resultobj
= 0;
38679 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38683 PyObject
*swig_obj
[1] ;
38685 if (!args
) SWIG_fail
;
38686 swig_obj
[0] = args
;
38687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38688 if (!SWIG_IsOK(res1
)) {
38689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38691 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38694 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
38695 wxPyEndAllowThreads(__tstate
);
38696 if (PyErr_Occurred()) SWIG_fail
;
38698 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
38705 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38706 PyObject
*resultobj
= 0;
38707 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38708 SwigValueWrapper
<wxVisualAttributes
> result
;
38711 PyObject
*swig_obj
[1] ;
38713 if (!args
) SWIG_fail
;
38714 swig_obj
[0] = args
;
38715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38716 if (!SWIG_IsOK(res1
)) {
38717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
38719 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38722 result
= (arg1
)->GetDefaultAttributes();
38723 wxPyEndAllowThreads(__tstate
);
38724 if (PyErr_Occurred()) SWIG_fail
;
38726 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
38733 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38734 PyObject
*resultobj
= 0;
38735 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38738 PyObject
*swig_obj
[1] ;
38740 if (!args
) SWIG_fail
;
38741 swig_obj
[0] = args
;
38742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38743 if (!SWIG_IsOK(res1
)) {
38744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
38746 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38749 (arg1
)->OnInternalIdle();
38750 wxPyEndAllowThreads(__tstate
);
38751 if (PyErr_Occurred()) SWIG_fail
;
38753 resultobj
= SWIG_Py_Void();
38760 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38762 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38763 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
38764 return SWIG_Py_Void();
38767 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38768 return SWIG_Python_InitShadowInstance(args
);
38771 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38772 PyObject
*resultobj
= 0;
38773 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
38774 int arg2
= (int) 0 ;
38775 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38776 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38777 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
38778 wxHelpEvent
*result
= 0 ;
38786 PyObject
* obj0
= 0 ;
38787 PyObject
* obj1
= 0 ;
38788 PyObject
* obj2
= 0 ;
38789 PyObject
* obj3
= 0 ;
38790 char * kwnames
[] = {
38791 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
38794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38796 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
38797 if (!SWIG_IsOK(ecode1
)) {
38798 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
38800 arg1
= static_cast< wxEventType
>(val1
);
38803 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38804 if (!SWIG_IsOK(ecode2
)) {
38805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
38807 arg2
= static_cast< int >(val2
);
38812 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38816 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38817 if (!SWIG_IsOK(ecode4
)) {
38818 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
38820 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
38823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38824 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
38825 wxPyEndAllowThreads(__tstate
);
38826 if (PyErr_Occurred()) SWIG_fail
;
38828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
38835 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38836 PyObject
*resultobj
= 0;
38837 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38841 PyObject
*swig_obj
[1] ;
38843 if (!args
) SWIG_fail
;
38844 swig_obj
[0] = args
;
38845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38846 if (!SWIG_IsOK(res1
)) {
38847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38849 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38852 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
38853 wxPyEndAllowThreads(__tstate
);
38854 if (PyErr_Occurred()) SWIG_fail
;
38856 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
38863 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38864 PyObject
*resultobj
= 0;
38865 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38866 wxPoint
*arg2
= 0 ;
38870 PyObject
* obj0
= 0 ;
38871 PyObject
* obj1
= 0 ;
38872 char * kwnames
[] = {
38873 (char *) "self",(char *) "pos", NULL
38876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38878 if (!SWIG_IsOK(res1
)) {
38879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
38881 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38884 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38888 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
38889 wxPyEndAllowThreads(__tstate
);
38890 if (PyErr_Occurred()) SWIG_fail
;
38892 resultobj
= SWIG_Py_Void();
38899 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38900 PyObject
*resultobj
= 0;
38901 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38902 wxString
*result
= 0 ;
38905 PyObject
*swig_obj
[1] ;
38907 if (!args
) SWIG_fail
;
38908 swig_obj
[0] = args
;
38909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38910 if (!SWIG_IsOK(res1
)) {
38911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38913 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38917 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
38918 result
= (wxString
*) &_result_ref
;
38920 wxPyEndAllowThreads(__tstate
);
38921 if (PyErr_Occurred()) SWIG_fail
;
38925 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
38927 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
38936 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38937 PyObject
*resultobj
= 0;
38938 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38939 wxString
*arg2
= 0 ;
38942 bool temp2
= false ;
38943 PyObject
* obj0
= 0 ;
38944 PyObject
* obj1
= 0 ;
38945 char * kwnames
[] = {
38946 (char *) "self",(char *) "link", NULL
38949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38951 if (!SWIG_IsOK(res1
)) {
38952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
38954 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38956 arg2
= wxString_in_helper(obj1
);
38957 if (arg2
== NULL
) SWIG_fail
;
38961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38962 (arg1
)->SetLink((wxString
const &)*arg2
);
38963 wxPyEndAllowThreads(__tstate
);
38964 if (PyErr_Occurred()) SWIG_fail
;
38966 resultobj
= SWIG_Py_Void();
38981 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38982 PyObject
*resultobj
= 0;
38983 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38984 wxString
*result
= 0 ;
38987 PyObject
*swig_obj
[1] ;
38989 if (!args
) SWIG_fail
;
38990 swig_obj
[0] = args
;
38991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38992 if (!SWIG_IsOK(res1
)) {
38993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38995 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38999 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39000 result
= (wxString
*) &_result_ref
;
39002 wxPyEndAllowThreads(__tstate
);
39003 if (PyErr_Occurred()) SWIG_fail
;
39007 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39009 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39018 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39019 PyObject
*resultobj
= 0;
39020 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39021 wxString
*arg2
= 0 ;
39024 bool temp2
= false ;
39025 PyObject
* obj0
= 0 ;
39026 PyObject
* obj1
= 0 ;
39027 char * kwnames
[] = {
39028 (char *) "self",(char *) "target", NULL
39031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39033 if (!SWIG_IsOK(res1
)) {
39034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39036 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39038 arg2
= wxString_in_helper(obj1
);
39039 if (arg2
== NULL
) SWIG_fail
;
39043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39044 (arg1
)->SetTarget((wxString
const &)*arg2
);
39045 wxPyEndAllowThreads(__tstate
);
39046 if (PyErr_Occurred()) SWIG_fail
;
39048 resultobj
= SWIG_Py_Void();
39063 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39064 PyObject
*resultobj
= 0;
39065 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39066 wxHelpEvent::Origin result
;
39069 PyObject
*swig_obj
[1] ;
39071 if (!args
) SWIG_fail
;
39072 swig_obj
[0] = args
;
39073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39074 if (!SWIG_IsOK(res1
)) {
39075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39077 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39080 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39081 wxPyEndAllowThreads(__tstate
);
39082 if (PyErr_Occurred()) SWIG_fail
;
39084 resultobj
= SWIG_From_int(static_cast< int >(result
));
39091 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39092 PyObject
*resultobj
= 0;
39093 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39094 wxHelpEvent::Origin arg2
;
39099 PyObject
* obj0
= 0 ;
39100 PyObject
* obj1
= 0 ;
39101 char * kwnames
[] = {
39102 (char *) "self",(char *) "origin", NULL
39105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39107 if (!SWIG_IsOK(res1
)) {
39108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39110 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39111 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39112 if (!SWIG_IsOK(ecode2
)) {
39113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39115 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39118 (arg1
)->SetOrigin(arg2
);
39119 wxPyEndAllowThreads(__tstate
);
39120 if (PyErr_Occurred()) SWIG_fail
;
39122 resultobj
= SWIG_Py_Void();
39129 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39131 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39132 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39133 return SWIG_Py_Void();
39136 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39137 return SWIG_Python_InitShadowInstance(args
);
39140 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39141 PyObject
*resultobj
= 0;
39142 wxWindow
*arg1
= (wxWindow
*) NULL
;
39143 bool arg2
= (bool) true ;
39144 wxContextHelp
*result
= 0 ;
39149 PyObject
* obj0
= 0 ;
39150 PyObject
* obj1
= 0 ;
39151 char * kwnames
[] = {
39152 (char *) "window",(char *) "doNow", NULL
39155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39158 if (!SWIG_IsOK(res1
)) {
39159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39161 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39164 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39165 if (!SWIG_IsOK(ecode2
)) {
39166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39168 arg2
= static_cast< bool >(val2
);
39171 if (!wxPyCheckForApp()) SWIG_fail
;
39172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39173 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
39174 wxPyEndAllowThreads(__tstate
);
39175 if (PyErr_Occurred()) SWIG_fail
;
39177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39184 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39185 PyObject
*resultobj
= 0;
39186 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39189 PyObject
*swig_obj
[1] ;
39191 if (!args
) SWIG_fail
;
39192 swig_obj
[0] = args
;
39193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39194 if (!SWIG_IsOK(res1
)) {
39195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39197 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39202 wxPyEndAllowThreads(__tstate
);
39203 if (PyErr_Occurred()) SWIG_fail
;
39205 resultobj
= SWIG_Py_Void();
39212 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39213 PyObject
*resultobj
= 0;
39214 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39215 wxWindow
*arg2
= (wxWindow
*) NULL
;
39221 PyObject
* obj0
= 0 ;
39222 PyObject
* obj1
= 0 ;
39223 char * kwnames
[] = {
39224 (char *) "self",(char *) "window", NULL
39227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39229 if (!SWIG_IsOK(res1
)) {
39230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39232 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39234 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39235 if (!SWIG_IsOK(res2
)) {
39236 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39238 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39242 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39243 wxPyEndAllowThreads(__tstate
);
39244 if (PyErr_Occurred()) SWIG_fail
;
39247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39255 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39256 PyObject
*resultobj
= 0;
39257 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39261 PyObject
*swig_obj
[1] ;
39263 if (!args
) SWIG_fail
;
39264 swig_obj
[0] = args
;
39265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39266 if (!SWIG_IsOK(res1
)) {
39267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39269 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39272 result
= (bool)(arg1
)->EndContextHelp();
39273 wxPyEndAllowThreads(__tstate
);
39274 if (PyErr_Occurred()) SWIG_fail
;
39277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39285 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39287 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39288 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
39289 return SWIG_Py_Void();
39292 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39293 return SWIG_Python_InitShadowInstance(args
);
39296 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39297 PyObject
*resultobj
= 0;
39298 wxWindow
*arg1
= (wxWindow
*) 0 ;
39299 int arg2
= (int) wxID_CONTEXT_HELP
;
39300 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39301 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39302 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39303 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39304 long arg5
= (long) wxBU_AUTODRAW
;
39305 wxContextHelpButton
*result
= 0 ;
39314 PyObject
* obj0
= 0 ;
39315 PyObject
* obj1
= 0 ;
39316 PyObject
* obj2
= 0 ;
39317 PyObject
* obj3
= 0 ;
39318 PyObject
* obj4
= 0 ;
39319 char * kwnames
[] = {
39320 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39325 if (!SWIG_IsOK(res1
)) {
39326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39328 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39330 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39331 if (!SWIG_IsOK(ecode2
)) {
39332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39334 arg2
= static_cast< int >(val2
);
39339 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39345 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39349 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39350 if (!SWIG_IsOK(ecode5
)) {
39351 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39353 arg5
= static_cast< long >(val5
);
39356 if (!wxPyCheckForApp()) SWIG_fail
;
39357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39358 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
39359 wxPyEndAllowThreads(__tstate
);
39360 if (PyErr_Occurred()) SWIG_fail
;
39362 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
39369 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39371 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39372 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
39373 return SWIG_Py_Void();
39376 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39377 return SWIG_Python_InitShadowInstance(args
);
39380 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39381 PyObject
*resultobj
= 0;
39382 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39385 PyObject
*swig_obj
[1] ;
39387 if (!args
) SWIG_fail
;
39388 swig_obj
[0] = args
;
39389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39390 if (!SWIG_IsOK(res1
)) {
39391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39393 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39398 wxPyEndAllowThreads(__tstate
);
39399 if (PyErr_Occurred()) SWIG_fail
;
39401 resultobj
= SWIG_Py_Void();
39408 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39409 PyObject
*resultobj
= 0;
39410 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39411 wxHelpProvider
*result
= 0 ;
39413 PyObject
* obj0
= 0 ;
39414 char * kwnames
[] = {
39415 (char *) "helpProvider", NULL
39418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
39419 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39420 if (!SWIG_IsOK(res1
)) {
39421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39425 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
39426 wxPyEndAllowThreads(__tstate
);
39427 if (PyErr_Occurred()) SWIG_fail
;
39429 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
39436 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39437 PyObject
*resultobj
= 0;
39438 wxHelpProvider
*result
= 0 ;
39440 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
39442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39443 result
= (wxHelpProvider
*)wxHelpProvider::Get();
39444 wxPyEndAllowThreads(__tstate
);
39445 if (PyErr_Occurred()) SWIG_fail
;
39447 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39454 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39455 PyObject
*resultobj
= 0;
39456 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39457 wxWindow
*arg2
= (wxWindow
*) 0 ;
39463 PyObject
* obj0
= 0 ;
39464 PyObject
* obj1
= 0 ;
39465 char * kwnames
[] = {
39466 (char *) "self",(char *) "window", NULL
39469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39471 if (!SWIG_IsOK(res1
)) {
39472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39474 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39475 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39476 if (!SWIG_IsOK(res2
)) {
39477 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
39479 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39482 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
39483 wxPyEndAllowThreads(__tstate
);
39484 if (PyErr_Occurred()) SWIG_fail
;
39488 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
39490 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
39499 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39500 PyObject
*resultobj
= 0;
39501 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39502 wxWindow
*arg2
= (wxWindow
*) 0 ;
39508 PyObject
* obj0
= 0 ;
39509 PyObject
* obj1
= 0 ;
39510 char * kwnames
[] = {
39511 (char *) "self",(char *) "window", NULL
39514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39516 if (!SWIG_IsOK(res1
)) {
39517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39519 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39520 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39521 if (!SWIG_IsOK(res2
)) {
39522 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39524 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39527 result
= (bool)(arg1
)->ShowHelp(arg2
);
39528 wxPyEndAllowThreads(__tstate
);
39529 if (PyErr_Occurred()) SWIG_fail
;
39532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39540 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39541 PyObject
*resultobj
= 0;
39542 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39543 wxWindow
*arg2
= (wxWindow
*) 0 ;
39544 wxString
*arg3
= 0 ;
39549 bool temp3
= false ;
39550 PyObject
* obj0
= 0 ;
39551 PyObject
* obj1
= 0 ;
39552 PyObject
* obj2
= 0 ;
39553 char * kwnames
[] = {
39554 (char *) "self",(char *) "window",(char *) "text", NULL
39557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39559 if (!SWIG_IsOK(res1
)) {
39560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39562 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39563 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39564 if (!SWIG_IsOK(res2
)) {
39565 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39567 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39569 arg3
= wxString_in_helper(obj2
);
39570 if (arg3
== NULL
) SWIG_fail
;
39574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39575 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39576 wxPyEndAllowThreads(__tstate
);
39577 if (PyErr_Occurred()) SWIG_fail
;
39579 resultobj
= SWIG_Py_Void();
39594 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39595 PyObject
*resultobj
= 0;
39596 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39598 wxString
*arg3
= 0 ;
39603 bool temp3
= false ;
39604 PyObject
* obj0
= 0 ;
39605 PyObject
* obj1
= 0 ;
39606 PyObject
* obj2
= 0 ;
39607 char * kwnames
[] = {
39608 (char *) "self",(char *) "id",(char *) "text", NULL
39611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39613 if (!SWIG_IsOK(res1
)) {
39614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39616 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39617 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39618 if (!SWIG_IsOK(ecode2
)) {
39619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
39621 arg2
= static_cast< int >(val2
);
39623 arg3
= wxString_in_helper(obj2
);
39624 if (arg3
== NULL
) SWIG_fail
;
39628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39629 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39630 wxPyEndAllowThreads(__tstate
);
39631 if (PyErr_Occurred()) SWIG_fail
;
39633 resultobj
= SWIG_Py_Void();
39648 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39649 PyObject
*resultobj
= 0;
39650 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39651 wxWindow
*arg2
= (wxWindow
*) 0 ;
39656 PyObject
* obj0
= 0 ;
39657 PyObject
* obj1
= 0 ;
39658 char * kwnames
[] = {
39659 (char *) "self",(char *) "window", NULL
39662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39664 if (!SWIG_IsOK(res1
)) {
39665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39667 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39668 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39669 if (!SWIG_IsOK(res2
)) {
39670 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39672 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39675 (arg1
)->RemoveHelp(arg2
);
39676 wxPyEndAllowThreads(__tstate
);
39677 if (PyErr_Occurred()) SWIG_fail
;
39679 resultobj
= SWIG_Py_Void();
39686 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39687 PyObject
*resultobj
= 0;
39688 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39691 PyObject
*swig_obj
[1] ;
39693 if (!args
) SWIG_fail
;
39694 swig_obj
[0] = args
;
39695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39696 if (!SWIG_IsOK(res1
)) {
39697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39699 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39702 wxHelpProvider_Destroy(arg1
);
39703 wxPyEndAllowThreads(__tstate
);
39704 if (PyErr_Occurred()) SWIG_fail
;
39706 resultobj
= SWIG_Py_Void();
39713 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39715 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39716 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
39717 return SWIG_Py_Void();
39720 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39721 PyObject
*resultobj
= 0;
39722 wxSimpleHelpProvider
*result
= 0 ;
39724 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
39726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39727 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
39728 wxPyEndAllowThreads(__tstate
);
39729 if (PyErr_Occurred()) SWIG_fail
;
39731 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
39738 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39740 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39741 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
39742 return SWIG_Py_Void();
39745 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39746 return SWIG_Python_InitShadowInstance(args
);
39749 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39750 PyObject
*resultobj
= 0;
39751 wxBitmap
*arg1
= 0 ;
39752 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39753 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39754 wxGenericDragImage
*result
= 0 ;
39759 PyObject
* obj0
= 0 ;
39760 PyObject
* obj1
= 0 ;
39761 char * kwnames
[] = {
39762 (char *) "image",(char *) "cursor", NULL
39765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39766 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
39767 if (!SWIG_IsOK(res1
)) {
39768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
39771 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
39773 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
39775 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39776 if (!SWIG_IsOK(res2
)) {
39777 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
39780 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
39782 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39785 if (!wxPyCheckForApp()) SWIG_fail
;
39786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39787 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
39788 wxPyEndAllowThreads(__tstate
);
39789 if (PyErr_Occurred()) SWIG_fail
;
39791 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
39798 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39799 PyObject
*resultobj
= 0;
39801 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39802 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39803 wxGenericDragImage
*result
= 0 ;
39808 PyObject
* obj0
= 0 ;
39809 PyObject
* obj1
= 0 ;
39810 char * kwnames
[] = {
39811 (char *) "image",(char *) "cursor", NULL
39814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39815 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
39816 if (!SWIG_IsOK(res1
)) {
39817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
39820 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
39822 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
39824 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39825 if (!SWIG_IsOK(res2
)) {
39826 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
39829 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
39831 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39834 if (!wxPyCheckForApp()) SWIG_fail
;
39835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39836 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
39837 wxPyEndAllowThreads(__tstate
);
39838 if (PyErr_Occurred()) SWIG_fail
;
39840 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39847 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39848 PyObject
*resultobj
= 0;
39849 wxString
*arg1
= 0 ;
39850 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39851 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39852 wxGenericDragImage
*result
= 0 ;
39853 bool temp1
= false ;
39856 PyObject
* obj0
= 0 ;
39857 PyObject
* obj1
= 0 ;
39858 char * kwnames
[] = {
39859 (char *) "str",(char *) "cursor", NULL
39862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39864 arg1
= wxString_in_helper(obj0
);
39865 if (arg1
== NULL
) SWIG_fail
;
39869 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39870 if (!SWIG_IsOK(res2
)) {
39871 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
39874 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
39876 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39879 if (!wxPyCheckForApp()) SWIG_fail
;
39880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39881 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
39882 wxPyEndAllowThreads(__tstate
);
39883 if (PyErr_Occurred()) SWIG_fail
;
39885 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39900 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39901 PyObject
*resultobj
= 0;
39902 wxPyTreeCtrl
*arg1
= 0 ;
39903 wxTreeItemId
*arg2
= 0 ;
39904 wxGenericDragImage
*result
= 0 ;
39909 PyObject
* obj0
= 0 ;
39910 PyObject
* obj1
= 0 ;
39911 char * kwnames
[] = {
39912 (char *) "treeCtrl",(char *) "id", NULL
39915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39916 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
39917 if (!SWIG_IsOK(res1
)) {
39918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
39921 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
39923 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
39924 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
39925 if (!SWIG_IsOK(res2
)) {
39926 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
39929 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
39931 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
39933 if (!wxPyCheckForApp()) SWIG_fail
;
39934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39935 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
39936 wxPyEndAllowThreads(__tstate
);
39937 if (PyErr_Occurred()) SWIG_fail
;
39939 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39946 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39947 PyObject
*resultobj
= 0;
39948 wxPyListCtrl
*arg1
= 0 ;
39950 wxGenericDragImage
*result
= 0 ;
39955 PyObject
* obj0
= 0 ;
39956 PyObject
* obj1
= 0 ;
39957 char * kwnames
[] = {
39958 (char *) "listCtrl",(char *) "id", NULL
39961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39962 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
39963 if (!SWIG_IsOK(res1
)) {
39964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
39967 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
39969 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
39970 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
39971 if (!SWIG_IsOK(ecode2
)) {
39972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
39974 arg2
= static_cast< long >(val2
);
39976 if (!wxPyCheckForApp()) SWIG_fail
;
39977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39978 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
39979 wxPyEndAllowThreads(__tstate
);
39980 if (PyErr_Occurred()) SWIG_fail
;
39982 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39989 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39990 PyObject
*resultobj
= 0;
39991 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39994 PyObject
*swig_obj
[1] ;
39996 if (!args
) SWIG_fail
;
39997 swig_obj
[0] = args
;
39998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
39999 if (!SWIG_IsOK(res1
)) {
40000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40002 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40007 wxPyEndAllowThreads(__tstate
);
40008 if (PyErr_Occurred()) SWIG_fail
;
40010 resultobj
= SWIG_Py_Void();
40017 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40018 PyObject
*resultobj
= 0;
40019 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40020 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40025 PyObject
* obj0
= 0 ;
40026 PyObject
* obj1
= 0 ;
40027 char * kwnames
[] = {
40028 (char *) "self",(char *) "bitmap", NULL
40031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40033 if (!SWIG_IsOK(res1
)) {
40034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40036 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40037 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40038 if (!SWIG_IsOK(res2
)) {
40039 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40041 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40044 (arg1
)->SetBackingBitmap(arg2
);
40045 wxPyEndAllowThreads(__tstate
);
40046 if (PyErr_Occurred()) SWIG_fail
;
40048 resultobj
= SWIG_Py_Void();
40055 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40056 PyObject
*resultobj
= 0;
40057 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40058 wxPoint
*arg2
= 0 ;
40059 wxWindow
*arg3
= (wxWindow
*) 0 ;
40060 bool arg4
= (bool) false ;
40061 wxRect
*arg5
= (wxRect
*) NULL
;
40072 PyObject
* obj0
= 0 ;
40073 PyObject
* obj1
= 0 ;
40074 PyObject
* obj2
= 0 ;
40075 PyObject
* obj3
= 0 ;
40076 PyObject
* obj4
= 0 ;
40077 char * kwnames
[] = {
40078 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40083 if (!SWIG_IsOK(res1
)) {
40084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40086 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40089 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40091 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40092 if (!SWIG_IsOK(res3
)) {
40093 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40095 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40097 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40098 if (!SWIG_IsOK(ecode4
)) {
40099 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40101 arg4
= static_cast< bool >(val4
);
40104 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
40105 if (!SWIG_IsOK(res5
)) {
40106 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40108 arg5
= reinterpret_cast< wxRect
* >(argp5
);
40111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40112 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
40113 wxPyEndAllowThreads(__tstate
);
40114 if (PyErr_Occurred()) SWIG_fail
;
40117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40125 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40126 PyObject
*resultobj
= 0;
40127 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40128 wxPoint
*arg2
= 0 ;
40129 wxWindow
*arg3
= (wxWindow
*) 0 ;
40130 wxWindow
*arg4
= (wxWindow
*) 0 ;
40139 PyObject
* obj0
= 0 ;
40140 PyObject
* obj1
= 0 ;
40141 PyObject
* obj2
= 0 ;
40142 PyObject
* obj3
= 0 ;
40143 char * kwnames
[] = {
40144 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40149 if (!SWIG_IsOK(res1
)) {
40150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40152 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40155 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40157 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40158 if (!SWIG_IsOK(res3
)) {
40159 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40161 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40162 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40163 if (!SWIG_IsOK(res4
)) {
40164 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40166 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
40168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40169 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
40170 wxPyEndAllowThreads(__tstate
);
40171 if (PyErr_Occurred()) SWIG_fail
;
40174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40182 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40183 PyObject
*resultobj
= 0;
40184 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40188 PyObject
*swig_obj
[1] ;
40190 if (!args
) SWIG_fail
;
40191 swig_obj
[0] = args
;
40192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40193 if (!SWIG_IsOK(res1
)) {
40194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40196 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40199 result
= (bool)(arg1
)->EndDrag();
40200 wxPyEndAllowThreads(__tstate
);
40201 if (PyErr_Occurred()) SWIG_fail
;
40204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40212 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40213 PyObject
*resultobj
= 0;
40214 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40215 wxPoint
*arg2
= 0 ;
40220 PyObject
* obj0
= 0 ;
40221 PyObject
* obj1
= 0 ;
40222 char * kwnames
[] = {
40223 (char *) "self",(char *) "pt", NULL
40226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40228 if (!SWIG_IsOK(res1
)) {
40229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40231 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40234 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40238 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
40239 wxPyEndAllowThreads(__tstate
);
40240 if (PyErr_Occurred()) SWIG_fail
;
40243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40251 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40252 PyObject
*resultobj
= 0;
40253 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40257 PyObject
*swig_obj
[1] ;
40259 if (!args
) SWIG_fail
;
40260 swig_obj
[0] = args
;
40261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40262 if (!SWIG_IsOK(res1
)) {
40263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40265 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40268 result
= (bool)(arg1
)->Show();
40269 wxPyEndAllowThreads(__tstate
);
40270 if (PyErr_Occurred()) SWIG_fail
;
40273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40281 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40282 PyObject
*resultobj
= 0;
40283 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40287 PyObject
*swig_obj
[1] ;
40289 if (!args
) SWIG_fail
;
40290 swig_obj
[0] = args
;
40291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40292 if (!SWIG_IsOK(res1
)) {
40293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40295 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40298 result
= (bool)(arg1
)->Hide();
40299 wxPyEndAllowThreads(__tstate
);
40300 if (PyErr_Occurred()) SWIG_fail
;
40303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40311 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40312 PyObject
*resultobj
= 0;
40313 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40314 wxPoint
*arg2
= 0 ;
40319 PyObject
* obj0
= 0 ;
40320 PyObject
* obj1
= 0 ;
40321 char * kwnames
[] = {
40322 (char *) "self",(char *) "pos", NULL
40325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40327 if (!SWIG_IsOK(res1
)) {
40328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40330 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40333 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40337 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
40338 wxPyEndAllowThreads(__tstate
);
40339 if (PyErr_Occurred()) SWIG_fail
;
40341 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
40348 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40349 PyObject
*resultobj
= 0;
40350 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40352 wxPoint
*arg3
= 0 ;
40359 PyObject
* obj0
= 0 ;
40360 PyObject
* obj1
= 0 ;
40361 PyObject
* obj2
= 0 ;
40362 char * kwnames
[] = {
40363 (char *) "self",(char *) "dc",(char *) "pos", NULL
40366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40368 if (!SWIG_IsOK(res1
)) {
40369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40371 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40372 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40373 if (!SWIG_IsOK(res2
)) {
40374 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40377 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40379 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40382 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40386 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
40387 wxPyEndAllowThreads(__tstate
);
40388 if (PyErr_Occurred()) SWIG_fail
;
40391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40399 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40400 PyObject
*resultobj
= 0;
40401 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40403 wxMemoryDC
*arg3
= 0 ;
40415 PyObject
* obj0
= 0 ;
40416 PyObject
* obj1
= 0 ;
40417 PyObject
* obj2
= 0 ;
40418 PyObject
* obj3
= 0 ;
40419 PyObject
* obj4
= 0 ;
40420 char * kwnames
[] = {
40421 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
40424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40426 if (!SWIG_IsOK(res1
)) {
40427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40429 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40430 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40431 if (!SWIG_IsOK(res2
)) {
40432 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40435 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40437 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40438 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
40439 if (!SWIG_IsOK(res3
)) {
40440 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40443 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40445 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
40448 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
40452 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
40455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40456 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
40457 wxPyEndAllowThreads(__tstate
);
40458 if (PyErr_Occurred()) SWIG_fail
;
40461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40469 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40470 PyObject
*resultobj
= 0;
40471 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40472 wxPoint
*arg2
= 0 ;
40473 wxPoint
*arg3
= 0 ;
40485 PyObject
* obj0
= 0 ;
40486 PyObject
* obj1
= 0 ;
40487 PyObject
* obj2
= 0 ;
40488 PyObject
* obj3
= 0 ;
40489 PyObject
* obj4
= 0 ;
40490 char * kwnames
[] = {
40491 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
40494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40496 if (!SWIG_IsOK(res1
)) {
40497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40499 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40502 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40506 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40508 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40509 if (!SWIG_IsOK(ecode4
)) {
40510 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
40512 arg4
= static_cast< bool >(val4
);
40513 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
40514 if (!SWIG_IsOK(ecode5
)) {
40515 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
40517 arg5
= static_cast< bool >(val5
);
40519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40520 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
40521 wxPyEndAllowThreads(__tstate
);
40522 if (PyErr_Occurred()) SWIG_fail
;
40525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40533 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40535 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40536 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
40537 return SWIG_Py_Void();
40540 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40541 return SWIG_Python_InitShadowInstance(args
);
40544 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
40545 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
40550 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
40551 PyObject
*pyobj
= 0;
40555 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40557 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40564 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40565 PyObject
*resultobj
= 0;
40566 wxWindow
*arg1
= (wxWindow
*) 0 ;
40567 int arg2
= (int) -1 ;
40568 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
40569 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
40570 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
40571 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
40572 wxSize
const &arg5_defvalue
= wxDefaultSize
;
40573 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
40574 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
40575 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
40576 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
40577 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
40578 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
40579 wxDatePickerCtrl
*result
= 0 ;
40592 bool temp8
= false ;
40593 PyObject
* obj0
= 0 ;
40594 PyObject
* obj1
= 0 ;
40595 PyObject
* obj2
= 0 ;
40596 PyObject
* obj3
= 0 ;
40597 PyObject
* obj4
= 0 ;
40598 PyObject
* obj5
= 0 ;
40599 PyObject
* obj6
= 0 ;
40600 PyObject
* obj7
= 0 ;
40601 char * kwnames
[] = {
40602 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
40606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40607 if (!SWIG_IsOK(res1
)) {
40608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
40610 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40612 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40613 if (!SWIG_IsOK(ecode2
)) {
40614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
40616 arg2
= static_cast< int >(val2
);
40619 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40620 if (!SWIG_IsOK(res3
)) {
40621 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40624 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40626 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
40631 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
40637 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
40641 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
40642 if (!SWIG_IsOK(ecode6
)) {
40643 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
40645 arg6
= static_cast< long >(val6
);
40648 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
40649 if (!SWIG_IsOK(res7
)) {
40650 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
40653 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
40655 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
40659 arg8
= wxString_in_helper(obj7
);
40660 if (arg8
== NULL
) SWIG_fail
;
40665 if (!wxPyCheckForApp()) SWIG_fail
;
40666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40667 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
40668 wxPyEndAllowThreads(__tstate
);
40669 if (PyErr_Occurred()) SWIG_fail
;
40671 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
40686 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40687 PyObject
*resultobj
= 0;
40688 wxDatePickerCtrl
*result
= 0 ;
40690 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
40692 if (!wxPyCheckForApp()) SWIG_fail
;
40693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40694 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
40695 wxPyEndAllowThreads(__tstate
);
40696 if (PyErr_Occurred()) SWIG_fail
;
40698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
40705 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40706 PyObject
*resultobj
= 0;
40707 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40708 wxWindow
*arg2
= (wxWindow
*) 0 ;
40709 int arg3
= (int) -1 ;
40710 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
40711 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
40712 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
40713 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
40714 wxSize
const &arg6_defvalue
= wxDefaultSize
;
40715 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
40716 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
40717 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
40718 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
40719 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
40720 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
40736 bool temp9
= false ;
40737 PyObject
* obj0
= 0 ;
40738 PyObject
* obj1
= 0 ;
40739 PyObject
* obj2
= 0 ;
40740 PyObject
* obj3
= 0 ;
40741 PyObject
* obj4
= 0 ;
40742 PyObject
* obj5
= 0 ;
40743 PyObject
* obj6
= 0 ;
40744 PyObject
* obj7
= 0 ;
40745 PyObject
* obj8
= 0 ;
40746 char * kwnames
[] = {
40747 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
40751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40752 if (!SWIG_IsOK(res1
)) {
40753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40755 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40756 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40757 if (!SWIG_IsOK(res2
)) {
40758 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
40760 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40762 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
40763 if (!SWIG_IsOK(ecode3
)) {
40764 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
40766 arg3
= static_cast< int >(val3
);
40769 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40770 if (!SWIG_IsOK(res4
)) {
40771 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
40774 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
40776 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
40781 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
40787 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
40791 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
40792 if (!SWIG_IsOK(ecode7
)) {
40793 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
40795 arg7
= static_cast< long >(val7
);
40798 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
40799 if (!SWIG_IsOK(res8
)) {
40800 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
40803 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
40805 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
40809 arg9
= wxString_in_helper(obj8
);
40810 if (arg9
== NULL
) SWIG_fail
;
40815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40816 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
40817 wxPyEndAllowThreads(__tstate
);
40818 if (PyErr_Occurred()) SWIG_fail
;
40821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40837 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40838 PyObject
*resultobj
= 0;
40839 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40840 wxDateTime
*arg2
= 0 ;
40845 PyObject
* obj0
= 0 ;
40846 PyObject
* obj1
= 0 ;
40847 char * kwnames
[] = {
40848 (char *) "self",(char *) "dt", NULL
40851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40853 if (!SWIG_IsOK(res1
)) {
40854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40856 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40857 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40858 if (!SWIG_IsOK(res2
)) {
40859 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40862 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40864 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
40866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40867 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
40868 wxPyEndAllowThreads(__tstate
);
40869 if (PyErr_Occurred()) SWIG_fail
;
40871 resultobj
= SWIG_Py_Void();
40878 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40879 PyObject
*resultobj
= 0;
40880 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40884 PyObject
*swig_obj
[1] ;
40886 if (!args
) SWIG_fail
;
40887 swig_obj
[0] = args
;
40888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40889 if (!SWIG_IsOK(res1
)) {
40890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
40892 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40895 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
40896 wxPyEndAllowThreads(__tstate
);
40897 if (PyErr_Occurred()) SWIG_fail
;
40899 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
40906 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40907 PyObject
*resultobj
= 0;
40908 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40909 wxDateTime
*arg2
= 0 ;
40910 wxDateTime
*arg3
= 0 ;
40917 PyObject
* obj0
= 0 ;
40918 PyObject
* obj1
= 0 ;
40919 PyObject
* obj2
= 0 ;
40920 char * kwnames
[] = {
40921 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
40924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40926 if (!SWIG_IsOK(res1
)) {
40927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40929 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40930 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40931 if (!SWIG_IsOK(res2
)) {
40932 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40935 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40937 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
40938 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40939 if (!SWIG_IsOK(res3
)) {
40940 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40943 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40945 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
40947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40948 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
40949 wxPyEndAllowThreads(__tstate
);
40950 if (PyErr_Occurred()) SWIG_fail
;
40952 resultobj
= SWIG_Py_Void();
40959 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40960 PyObject
*resultobj
= 0;
40961 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40965 PyObject
*swig_obj
[1] ;
40967 if (!args
) SWIG_fail
;
40968 swig_obj
[0] = args
;
40969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40970 if (!SWIG_IsOK(res1
)) {
40971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40973 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40976 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
40977 wxPyEndAllowThreads(__tstate
);
40978 if (PyErr_Occurred()) SWIG_fail
;
40980 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
40987 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40988 PyObject
*resultobj
= 0;
40989 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40993 PyObject
*swig_obj
[1] ;
40995 if (!args
) SWIG_fail
;
40996 swig_obj
[0] = args
;
40997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40998 if (!SWIG_IsOK(res1
)) {
40999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41001 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41004 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41005 wxPyEndAllowThreads(__tstate
);
41006 if (PyErr_Occurred()) SWIG_fail
;
41008 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41015 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41017 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41018 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41019 return SWIG_Py_Void();
41022 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41023 return SWIG_Python_InitShadowInstance(args
);
41026 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41027 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41032 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41033 PyObject
*pyobj
= 0;
41037 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41039 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41046 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41047 PyObject
*resultobj
= 0;
41048 wxWindow
*arg1
= (wxWindow
*) 0 ;
41050 wxString
*arg3
= 0 ;
41051 wxString
*arg4
= 0 ;
41052 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41053 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41054 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41055 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41056 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41057 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41058 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41059 wxHyperlinkCtrl
*result
= 0 ;
41064 bool temp3
= false ;
41065 bool temp4
= false ;
41070 bool temp8
= false ;
41071 PyObject
* obj0
= 0 ;
41072 PyObject
* obj1
= 0 ;
41073 PyObject
* obj2
= 0 ;
41074 PyObject
* obj3
= 0 ;
41075 PyObject
* obj4
= 0 ;
41076 PyObject
* obj5
= 0 ;
41077 PyObject
* obj6
= 0 ;
41078 PyObject
* obj7
= 0 ;
41079 char * kwnames
[] = {
41080 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41085 if (!SWIG_IsOK(res1
)) {
41086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41088 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41089 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41090 if (!SWIG_IsOK(ecode2
)) {
41091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41093 arg2
= static_cast< int >(val2
);
41095 arg3
= wxString_in_helper(obj2
);
41096 if (arg3
== NULL
) SWIG_fail
;
41100 arg4
= wxString_in_helper(obj3
);
41101 if (arg4
== NULL
) SWIG_fail
;
41107 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41113 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41117 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41118 if (!SWIG_IsOK(ecode7
)) {
41119 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41121 arg7
= static_cast< long >(val7
);
41125 arg8
= wxString_in_helper(obj7
);
41126 if (arg8
== NULL
) SWIG_fail
;
41131 if (!wxPyCheckForApp()) SWIG_fail
;
41132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41133 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
41134 wxPyEndAllowThreads(__tstate
);
41135 if (PyErr_Occurred()) SWIG_fail
;
41137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
41168 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41169 PyObject
*resultobj
= 0;
41170 wxHyperlinkCtrl
*result
= 0 ;
41172 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
41174 if (!wxPyCheckForApp()) SWIG_fail
;
41175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41176 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
41177 wxPyEndAllowThreads(__tstate
);
41178 if (PyErr_Occurred()) SWIG_fail
;
41180 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
41187 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41188 PyObject
*resultobj
= 0;
41189 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41190 wxWindow
*arg2
= (wxWindow
*) 0 ;
41192 wxString
*arg4
= 0 ;
41193 wxString
*arg5
= 0 ;
41194 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
41195 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
41196 wxSize
const &arg7_defvalue
= wxDefaultSize
;
41197 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
41198 long arg8
= (long) wxHL_DEFAULT_STYLE
;
41199 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
41200 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41208 bool temp4
= false ;
41209 bool temp5
= false ;
41214 bool temp9
= false ;
41215 PyObject
* obj0
= 0 ;
41216 PyObject
* obj1
= 0 ;
41217 PyObject
* obj2
= 0 ;
41218 PyObject
* obj3
= 0 ;
41219 PyObject
* obj4
= 0 ;
41220 PyObject
* obj5
= 0 ;
41221 PyObject
* obj6
= 0 ;
41222 PyObject
* obj7
= 0 ;
41223 PyObject
* obj8
= 0 ;
41224 char * kwnames
[] = {
41225 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41230 if (!SWIG_IsOK(res1
)) {
41231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41233 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41234 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41235 if (!SWIG_IsOK(res2
)) {
41236 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41238 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41239 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41240 if (!SWIG_IsOK(ecode3
)) {
41241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41243 arg3
= static_cast< int >(val3
);
41245 arg4
= wxString_in_helper(obj3
);
41246 if (arg4
== NULL
) SWIG_fail
;
41250 arg5
= wxString_in_helper(obj4
);
41251 if (arg5
== NULL
) SWIG_fail
;
41257 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
41263 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
41267 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
41268 if (!SWIG_IsOK(ecode8
)) {
41269 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
41271 arg8
= static_cast< long >(val8
);
41275 arg9
= wxString_in_helper(obj8
);
41276 if (arg9
== NULL
) SWIG_fail
;
41281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41282 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
41283 wxPyEndAllowThreads(__tstate
);
41284 if (PyErr_Occurred()) SWIG_fail
;
41287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41319 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41320 PyObject
*resultobj
= 0;
41321 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41325 PyObject
*swig_obj
[1] ;
41327 if (!args
) SWIG_fail
;
41328 swig_obj
[0] = args
;
41329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41330 if (!SWIG_IsOK(res1
)) {
41331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41333 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41336 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
41337 wxPyEndAllowThreads(__tstate
);
41338 if (PyErr_Occurred()) SWIG_fail
;
41340 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41347 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41348 PyObject
*resultobj
= 0;
41349 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41350 wxColour
*arg2
= 0 ;
41354 PyObject
* obj0
= 0 ;
41355 PyObject
* obj1
= 0 ;
41356 char * kwnames
[] = {
41357 (char *) "self",(char *) "colour", NULL
41360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41362 if (!SWIG_IsOK(res1
)) {
41363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41365 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41368 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41372 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
41373 wxPyEndAllowThreads(__tstate
);
41374 if (PyErr_Occurred()) SWIG_fail
;
41376 resultobj
= SWIG_Py_Void();
41383 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41384 PyObject
*resultobj
= 0;
41385 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41389 PyObject
*swig_obj
[1] ;
41391 if (!args
) SWIG_fail
;
41392 swig_obj
[0] = args
;
41393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41394 if (!SWIG_IsOK(res1
)) {
41395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41397 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41400 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
41401 wxPyEndAllowThreads(__tstate
);
41402 if (PyErr_Occurred()) SWIG_fail
;
41404 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41411 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41412 PyObject
*resultobj
= 0;
41413 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41414 wxColour
*arg2
= 0 ;
41418 PyObject
* obj0
= 0 ;
41419 PyObject
* obj1
= 0 ;
41420 char * kwnames
[] = {
41421 (char *) "self",(char *) "colour", NULL
41424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41426 if (!SWIG_IsOK(res1
)) {
41427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41429 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41432 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41436 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
41437 wxPyEndAllowThreads(__tstate
);
41438 if (PyErr_Occurred()) SWIG_fail
;
41440 resultobj
= SWIG_Py_Void();
41447 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41448 PyObject
*resultobj
= 0;
41449 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41453 PyObject
*swig_obj
[1] ;
41455 if (!args
) SWIG_fail
;
41456 swig_obj
[0] = args
;
41457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41458 if (!SWIG_IsOK(res1
)) {
41459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41461 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41464 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
41465 wxPyEndAllowThreads(__tstate
);
41466 if (PyErr_Occurred()) SWIG_fail
;
41468 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41475 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41476 PyObject
*resultobj
= 0;
41477 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41478 wxColour
*arg2
= 0 ;
41482 PyObject
* obj0
= 0 ;
41483 PyObject
* obj1
= 0 ;
41484 char * kwnames
[] = {
41485 (char *) "self",(char *) "colour", NULL
41488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41490 if (!SWIG_IsOK(res1
)) {
41491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41493 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41496 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41500 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
41501 wxPyEndAllowThreads(__tstate
);
41502 if (PyErr_Occurred()) SWIG_fail
;
41504 resultobj
= SWIG_Py_Void();
41511 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41512 PyObject
*resultobj
= 0;
41513 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41517 PyObject
*swig_obj
[1] ;
41519 if (!args
) SWIG_fail
;
41520 swig_obj
[0] = args
;
41521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41522 if (!SWIG_IsOK(res1
)) {
41523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41525 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41528 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
41529 wxPyEndAllowThreads(__tstate
);
41530 if (PyErr_Occurred()) SWIG_fail
;
41534 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41536 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
41545 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41546 PyObject
*resultobj
= 0;
41547 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41548 wxString
*arg2
= 0 ;
41551 bool temp2
= false ;
41552 PyObject
* obj0
= 0 ;
41553 PyObject
* obj1
= 0 ;
41554 char * kwnames
[] = {
41555 (char *) "self",(char *) "url", NULL
41558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41560 if (!SWIG_IsOK(res1
)) {
41561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41563 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41565 arg2
= wxString_in_helper(obj1
);
41566 if (arg2
== NULL
) SWIG_fail
;
41570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41571 (arg1
)->SetURL((wxString
const &)*arg2
);
41572 wxPyEndAllowThreads(__tstate
);
41573 if (PyErr_Occurred()) SWIG_fail
;
41575 resultobj
= SWIG_Py_Void();
41590 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41591 PyObject
*resultobj
= 0;
41592 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41593 bool arg2
= (bool) true ;
41598 PyObject
* obj0
= 0 ;
41599 PyObject
* obj1
= 0 ;
41600 char * kwnames
[] = {
41601 (char *) "self",(char *) "visited", NULL
41604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41606 if (!SWIG_IsOK(res1
)) {
41607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41609 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41611 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
41612 if (!SWIG_IsOK(ecode2
)) {
41613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
41615 arg2
= static_cast< bool >(val2
);
41618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41619 (arg1
)->SetVisited(arg2
);
41620 wxPyEndAllowThreads(__tstate
);
41621 if (PyErr_Occurred()) SWIG_fail
;
41623 resultobj
= SWIG_Py_Void();
41630 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41631 PyObject
*resultobj
= 0;
41632 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41636 PyObject
*swig_obj
[1] ;
41638 if (!args
) SWIG_fail
;
41639 swig_obj
[0] = args
;
41640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41641 if (!SWIG_IsOK(res1
)) {
41642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41644 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41647 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
41648 wxPyEndAllowThreads(__tstate
);
41649 if (PyErr_Occurred()) SWIG_fail
;
41652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41660 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41662 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41663 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
41664 return SWIG_Py_Void();
41667 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41668 return SWIG_Python_InitShadowInstance(args
);
41671 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41672 PyObject
*resultobj
= 0;
41673 wxObject
*arg1
= (wxObject
*) 0 ;
41675 wxString
*arg3
= 0 ;
41676 wxHyperlinkEvent
*result
= 0 ;
41681 bool temp3
= false ;
41682 PyObject
* obj0
= 0 ;
41683 PyObject
* obj1
= 0 ;
41684 PyObject
* obj2
= 0 ;
41685 char * kwnames
[] = {
41686 (char *) "generator",(char *) "id",(char *) "url", NULL
41689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
41691 if (!SWIG_IsOK(res1
)) {
41692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
41694 arg1
= reinterpret_cast< wxObject
* >(argp1
);
41695 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41696 if (!SWIG_IsOK(ecode2
)) {
41697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
41699 arg2
= static_cast< int >(val2
);
41701 arg3
= wxString_in_helper(obj2
);
41702 if (arg3
== NULL
) SWIG_fail
;
41706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41707 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
41708 wxPyEndAllowThreads(__tstate
);
41709 if (PyErr_Occurred()) SWIG_fail
;
41711 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
41726 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41727 PyObject
*resultobj
= 0;
41728 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
41732 PyObject
*swig_obj
[1] ;
41734 if (!args
) SWIG_fail
;
41735 swig_obj
[0] = args
;
41736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
41737 if (!SWIG_IsOK(res1
)) {
41738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
41740 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
41742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41743 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
41744 wxPyEndAllowThreads(__tstate
);
41745 if (PyErr_Occurred()) SWIG_fail
;
41749 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41751 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
41760 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41761 PyObject
*resultobj
= 0;
41762 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
41763 wxString
*arg2
= 0 ;
41766 bool temp2
= false ;
41767 PyObject
* obj0
= 0 ;
41768 PyObject
* obj1
= 0 ;
41769 char * kwnames
[] = {
41770 (char *) "self",(char *) "url", NULL
41773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
41775 if (!SWIG_IsOK(res1
)) {
41776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
41778 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
41780 arg2
= wxString_in_helper(obj1
);
41781 if (arg2
== NULL
) SWIG_fail
;
41785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41786 (arg1
)->SetURL((wxString
const &)*arg2
);
41787 wxPyEndAllowThreads(__tstate
);
41788 if (PyErr_Occurred()) SWIG_fail
;
41790 resultobj
= SWIG_Py_Void();
41805 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41807 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41808 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
41809 return SWIG_Py_Void();
41812 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41813 return SWIG_Python_InitShadowInstance(args
);
41816 static PyMethodDef SwigMethods
[] = {
41817 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41818 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
41819 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41820 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
41821 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
41822 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41823 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
41824 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
41825 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41826 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
41827 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41828 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
41829 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
41830 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
41831 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
41832 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
41833 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41834 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41835 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41836 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41837 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41838 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41839 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
41840 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
41841 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
41842 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
41843 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41844 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
41845 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41846 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
41847 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
41848 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41849 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
41850 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41851 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
41852 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
41853 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41854 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
41855 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
41856 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41857 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
41858 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41859 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
41860 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41861 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
41862 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
41863 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41864 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
41865 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41866 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
41867 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41868 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
41869 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
41870 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
41871 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41872 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
41873 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
41874 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41875 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41876 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
41877 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41878 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41879 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41880 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
41881 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41882 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
41883 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
41884 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
41885 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
41886 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
41887 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
41888 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
41889 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
41890 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
41891 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41892 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
41893 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
41894 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41895 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
41896 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41897 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41898 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
41899 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41900 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
41901 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
41902 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41903 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
41904 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41905 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
41906 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41907 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
41908 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
41909 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41910 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
41911 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41912 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41913 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
41914 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
41915 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41916 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
41917 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41918 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
41919 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
41920 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41921 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
41922 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
41923 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41924 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
41925 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41926 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41927 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41928 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
41929 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
41930 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41931 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
41932 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41933 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
41934 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41935 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41936 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41937 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
41938 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
41939 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41940 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
41941 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41942 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41943 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41944 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41945 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41946 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41947 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41948 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41949 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41950 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41951 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
41952 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41953 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41954 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41955 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41956 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
41957 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41958 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41959 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41960 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41961 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41962 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
41963 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
41964 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41965 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
41966 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41967 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41968 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41969 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
41970 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
41971 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41972 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
41973 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
41974 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41975 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41976 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41977 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41978 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41979 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41980 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41981 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41982 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41983 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
41984 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
41985 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
41986 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
41987 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
41988 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
41989 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
41990 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41991 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
41992 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
41993 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
41994 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
41995 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
41996 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
41997 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
41998 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
41999 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
42000 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
42001 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42002 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
42003 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
42004 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42005 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
42006 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42007 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
42008 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42009 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42010 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42011 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42012 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
42013 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
42014 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
42015 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
42016 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
42017 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
42018 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
42019 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
42020 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42021 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42022 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42023 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42024 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
42025 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
42026 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42027 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42028 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42029 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42030 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42031 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42032 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42033 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
42034 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42035 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42036 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42037 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42038 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42039 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
42040 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
42041 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
42042 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
42043 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
42044 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
42045 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
42046 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
42047 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
42048 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
42049 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42050 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
42051 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
42052 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
42053 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42054 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
42055 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42056 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42057 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42058 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42059 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
42060 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
42061 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42062 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
42063 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
42064 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
42065 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
42066 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
42067 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42068 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
42069 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42070 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
42071 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
42072 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
42073 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
42074 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
42075 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42076 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42077 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
42078 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
42079 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42080 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
42081 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42082 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
42083 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
42084 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
42085 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42086 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42087 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42088 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42089 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
42090 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42091 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
42092 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
42093 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42094 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
42095 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42096 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
42097 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42098 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42099 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42100 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
42101 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
42102 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42103 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42104 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
42105 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
42106 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42107 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
42108 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42109 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
42110 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
42111 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42112 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
42113 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42114 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42115 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
42116 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
42117 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42118 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
42119 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42120 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42121 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42122 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42123 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42124 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42125 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42126 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
42127 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
42128 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42129 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42130 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42131 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42132 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
42133 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
42134 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42135 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
42136 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42137 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
42138 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42139 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42140 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
42141 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
42142 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42143 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
42144 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42145 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
42146 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42147 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42148 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
42149 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
42150 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42151 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42152 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42153 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42154 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
42155 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
42156 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42157 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
42158 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42159 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
42160 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
42161 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42162 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
42163 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
42164 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
42165 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42166 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42167 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
42168 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
42169 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42170 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
42171 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42172 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42173 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
42174 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42175 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
42176 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
42177 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
42178 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42179 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
42180 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
42181 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42182 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42183 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42184 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42185 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
42186 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42187 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42188 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42189 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42190 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
42191 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42192 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
42193 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42194 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
42195 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42196 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
42197 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
42198 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42199 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42200 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
42201 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42202 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42203 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42204 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42205 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42206 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42207 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
42208 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42209 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
42210 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42211 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
42212 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42213 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
42214 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
42215 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42216 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
42217 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42218 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
42219 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42220 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42221 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
42222 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42223 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
42224 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
42225 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42226 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
42227 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
42228 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42229 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
42230 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42231 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
42232 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
42233 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
42234 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42235 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
42236 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
42237 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42238 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
42239 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42240 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
42241 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
42242 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
42243 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42244 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
42245 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
42246 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42247 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
42248 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42249 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42250 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42251 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42252 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42253 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42254 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42255 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
42256 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
42257 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
42258 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42259 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
42260 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
42261 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42262 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
42263 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42264 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
42265 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
42266 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
42267 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
42268 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42269 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
42270 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
42271 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
42272 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
42273 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
42274 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
42275 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
42276 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
42277 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
42278 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
42279 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
42280 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
42281 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
42282 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
42283 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
42284 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
42285 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
42286 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
42287 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
42288 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42289 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
42290 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42291 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42292 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42293 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42294 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42295 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42296 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
42297 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42298 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
42299 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42300 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
42301 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42302 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42303 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42304 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42305 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42306 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42307 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42308 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
42309 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42310 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42311 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42312 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42313 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
42314 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
42315 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42316 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42317 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42318 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42319 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42320 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42321 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42322 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42323 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42324 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42325 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42326 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42327 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42328 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42329 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42330 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42331 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
42332 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
42333 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
42334 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
42335 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42336 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42337 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
42338 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
42339 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42340 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
42341 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
42342 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42343 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42344 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
42345 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
42346 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
42347 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42348 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
42349 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42350 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42351 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
42352 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
42353 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42354 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
42355 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42356 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42357 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42358 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
42359 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
42360 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
42361 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
42362 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
42363 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
42364 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42365 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
42366 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
42367 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
42368 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
42369 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
42370 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
42371 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
42372 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42373 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42374 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42375 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42376 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42377 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42378 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42379 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42380 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42381 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42382 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42383 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42384 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42385 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
42386 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
42387 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
42388 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
42389 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
42390 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
42391 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
42392 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
42393 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
42394 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
42395 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
42396 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
42397 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
42398 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
42399 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
42400 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
42401 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
42402 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
42403 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
42404 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
42405 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
42406 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
42407 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
42408 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
42409 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
42410 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
42411 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
42412 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
42413 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
42414 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
42415 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
42416 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
42417 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
42418 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
42419 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
42420 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
42421 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42422 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
42423 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
42424 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
42425 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
42426 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
42427 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
42428 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
42429 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
42430 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
42431 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
42432 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
42433 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
42434 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
42435 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
42436 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
42437 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
42438 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
42439 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
42440 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
42441 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
42442 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
42443 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
42444 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
42445 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
42446 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42447 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
42448 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
42449 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42450 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
42451 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42452 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42453 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42454 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42455 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42456 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42457 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
42458 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
42459 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
42460 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42461 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42462 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42463 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42464 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42465 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42466 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42467 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42468 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42469 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42470 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42471 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42472 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42473 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42474 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
42475 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
42476 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
42477 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42478 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
42479 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
42480 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42481 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
42482 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42483 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42484 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42485 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42486 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42487 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
42488 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
42489 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42490 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42491 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42492 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42493 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
42494 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42495 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
42496 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
42497 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42498 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42499 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42500 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42501 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42502 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42503 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42504 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42505 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42506 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42507 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42508 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42509 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42510 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42511 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42512 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42513 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42514 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42515 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42516 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42517 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42518 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42519 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
42520 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42521 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
42522 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
42523 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42524 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
42525 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42526 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42527 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42528 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
42529 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42530 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
42531 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42532 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42533 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42534 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
42535 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
42536 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
42537 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
42538 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
42539 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42540 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42541 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
42542 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
42543 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
42544 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
42545 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42546 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
42547 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
42548 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42549 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
42550 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42551 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
42552 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
42553 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
42554 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42555 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
42556 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42557 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
42558 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42559 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
42560 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42561 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
42562 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
42563 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42564 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
42565 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42566 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
42567 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42568 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42569 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
42570 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
42571 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
42572 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42573 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
42574 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42575 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42576 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
42577 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
42578 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42579 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
42580 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42581 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
42582 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
42583 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42584 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42585 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42586 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42587 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42588 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42589 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42590 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42591 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42592 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42593 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42594 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42595 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42596 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42597 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42598 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42599 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42600 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42601 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42602 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42603 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42604 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42605 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42606 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42607 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42608 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42609 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42610 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
42611 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
42612 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
42613 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42614 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42615 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42616 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42617 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42618 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42619 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
42620 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42621 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42622 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42623 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42624 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42625 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42626 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42627 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42628 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42629 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
42630 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42631 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42632 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42633 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42634 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
42635 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42636 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
42637 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42638 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42639 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42640 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42641 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42642 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
42643 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42644 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42645 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42646 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42647 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42648 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
42649 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
42650 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
42651 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42652 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
42653 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42654 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42655 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42656 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
42657 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42658 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
42659 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
42660 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42661 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42662 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
42663 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
42664 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42665 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
42666 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42667 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
42668 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
42669 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
42670 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42671 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
42672 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
42673 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
42674 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
42675 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42676 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
42677 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42678 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42679 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
42680 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
42681 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42682 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
42683 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42684 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42685 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42686 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42687 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42688 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42689 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42690 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
42691 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
42692 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
42693 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
42694 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
42695 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
42696 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
42697 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
42698 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
42699 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42700 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
42701 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42702 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
42703 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42704 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
42705 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42706 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
42707 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42708 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
42709 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
42710 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42711 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
42712 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42713 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
42714 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
42715 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
42716 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42717 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
42718 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
42719 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
42720 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42721 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
42722 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42723 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42724 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42725 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42726 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42727 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
42728 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
42729 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
42730 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
42731 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
42732 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42733 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42734 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42735 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42736 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42737 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
42738 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42739 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42740 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42741 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
42742 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42743 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
42744 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
42745 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42746 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42747 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42748 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42749 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
42750 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
42751 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42752 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
42753 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42754 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42755 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
42756 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42757 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
42758 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
42759 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
42760 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
42761 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42762 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
42763 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42764 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
42765 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42766 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
42767 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42768 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
42769 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42770 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
42771 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42772 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42773 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
42774 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
42775 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
42776 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42777 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
42778 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42779 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
42780 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
42781 { NULL
, NULL
, 0, NULL
}
42785 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
42787 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
42788 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42790 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
42791 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
42793 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
42794 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
42796 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
42797 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
42799 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
42800 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
42802 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
42803 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
42805 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
42806 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
42808 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
42809 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
42811 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
42812 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
42814 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
42815 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
42817 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
42818 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
42820 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
42821 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42823 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
42824 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
42826 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
42827 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
42829 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
42830 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42832 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
42833 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42835 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
42836 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42838 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
42839 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42841 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
42842 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42844 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
42845 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
42847 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
42848 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
42850 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
42851 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42853 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
42854 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42856 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
42857 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
42859 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
42860 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
42862 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
42863 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
42865 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
42866 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
42868 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
42869 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
42871 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
42872 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
42874 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
42875 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
42877 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
42878 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
42880 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
42881 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
42883 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
42884 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42886 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
42887 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42889 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
42890 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42892 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
42893 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42895 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
42896 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42898 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
42899 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
42901 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
42902 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
42904 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
42905 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
42907 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
42908 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42910 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
42911 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
42913 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
42914 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
42916 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
42917 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42919 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
42920 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42922 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
42923 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42925 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
42926 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
42928 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
42929 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
42931 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
42932 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
42934 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
42935 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
42937 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
42938 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42940 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
42941 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
42943 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
42944 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
42946 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
42947 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
42949 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
42950 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42952 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
42953 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
42955 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
42956 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
42958 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
42959 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
42961 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
42962 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
42964 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
42965 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
42967 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
42968 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
42970 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
42971 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
42973 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
42974 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42976 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
42977 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
42979 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
42980 return (void *)((wxControl
*) ((wxComboBox
*) x
));
42982 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
42983 return (void *)((wxControl
*) ((wxPyControl
*) x
));
42985 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
42986 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
42988 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
42989 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
42991 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
42992 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
42994 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
42995 return (void *)((wxControl
*) ((wxGauge
*) x
));
42997 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
42998 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
43000 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
43001 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
43003 static void *_p_wxListbookTo_p_wxControl(void *x
) {
43004 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
43006 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
43007 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
43009 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
43010 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
43012 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
43013 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
43015 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
43016 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
43018 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
43019 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
43021 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
43022 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
43024 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
43025 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
43027 static void *_p_wxListViewTo_p_wxControl(void *x
) {
43028 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
43030 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
43031 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
43033 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
43034 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
43036 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
43037 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
43039 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
43040 return (void *)((wxControl
*) ((wxStaticText
*) x
));
43042 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
43043 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
43045 static void *_p_wxSliderTo_p_wxControl(void *x
) {
43046 return (void *)((wxControl
*) ((wxSlider
*) x
));
43048 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
43049 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
43051 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
43052 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
43054 static void *_p_wxButtonTo_p_wxControl(void *x
) {
43055 return (void *)((wxControl
*) ((wxButton
*) x
));
43057 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
43058 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
43060 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
43061 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
43063 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
43064 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
43066 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
43067 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
43069 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
43070 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
43072 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
43073 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
43075 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
43076 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
43078 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
43079 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
43081 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
43082 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
43084 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
43085 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
43087 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
43088 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
43090 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
43091 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
43093 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
43094 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
43096 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
43097 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
43099 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
43100 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
43102 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
43103 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
43105 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
43106 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
43108 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
43109 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
43111 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
43112 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
43114 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
43115 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
43117 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
43118 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
43120 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
43121 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
43123 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
43124 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
43126 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
43127 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
43129 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
43130 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
43132 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
43133 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
43135 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
43136 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
43138 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
43139 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
43141 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
43142 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
43144 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
43145 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
43147 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
43148 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
43150 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
43151 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
43153 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
43154 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
43156 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
43157 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
43159 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
43160 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
43162 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
43163 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
43165 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
43166 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
43168 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
43169 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
43171 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
43172 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
43174 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
43175 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
43177 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
43178 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
43180 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
43181 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
43183 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
43184 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
43186 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
43187 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
43189 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
43190 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
43192 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
43193 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
43195 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
43196 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
43198 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
43199 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
43201 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
43202 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
43204 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
43205 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
43207 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
43208 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
43210 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
43211 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
43213 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
43214 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
43216 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
43217 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
43219 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
43220 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
43222 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
43223 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
43225 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
43226 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
43228 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
43229 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
43231 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
43232 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
43234 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
43235 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
43237 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
43238 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
43240 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
43241 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
43243 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
43244 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
43246 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
43247 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
43249 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
43250 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
43252 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
43253 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
43255 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
43256 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
43258 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
43259 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
43261 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
43262 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
43264 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
43265 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
43267 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
43268 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
43270 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
43271 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
43273 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
43274 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
43276 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
43277 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
43279 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
43280 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
43282 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
43283 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
43285 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
43286 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
43288 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
43289 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
43291 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
43292 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
43294 static void *_p_wxSizerTo_p_wxObject(void *x
) {
43295 return (void *)((wxObject
*) ((wxSizer
*) x
));
43297 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
43298 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
43300 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
43301 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
43303 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
43304 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
43306 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
43307 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
43309 static void *_p_wxEventTo_p_wxObject(void *x
) {
43310 return (void *)((wxObject
*) ((wxEvent
*) x
));
43312 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
43313 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
43315 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
43316 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
43318 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
43319 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
43321 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
43322 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
43324 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
43325 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
43327 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
43328 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
43330 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
43331 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
43333 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
43334 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
43336 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
43337 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
43339 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
43340 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
43342 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
43343 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
43345 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
43346 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
43348 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
43349 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
43351 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
43352 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
43354 static void *_p_wxControlTo_p_wxObject(void *x
) {
43355 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
43357 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
43358 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
43360 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
43361 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
43363 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
43364 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
43366 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
43367 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
43369 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
43370 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
43372 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
43373 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
43375 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
43376 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
43378 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
43379 return (void *)((wxObject
*) ((wxFSFile
*) x
));
43381 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
43382 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
43384 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
43385 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
43387 static void *_p_wxListViewTo_p_wxObject(void *x
) {
43388 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
43390 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
43391 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
43393 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
43394 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
43396 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
43397 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
43399 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
43400 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
43402 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
43403 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
43405 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
43406 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
43408 static void *_p_wxListbookTo_p_wxObject(void *x
) {
43409 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
43411 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
43412 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
43414 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
43415 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
43417 static void *_p_wxSliderTo_p_wxObject(void *x
) {
43418 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
43420 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
43421 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
43423 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
43424 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
43426 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
43427 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
43429 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
43430 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
43432 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
43433 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
43435 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
43436 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
43438 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
43439 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
43441 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
43442 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
43444 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
43445 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
43447 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
43448 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
43450 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
43451 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
43453 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
43454 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
43456 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
43457 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
43459 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
43460 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
43462 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
43463 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
43465 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
43466 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
43468 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
43469 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
43471 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
43472 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
43474 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
43475 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
43477 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
43478 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
43480 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
43481 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
43483 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
43484 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
43486 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
43487 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
43489 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
43490 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
43492 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
43493 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
43495 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
43496 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
43498 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
43499 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
43501 static void *_p_wxListEventTo_p_wxObject(void *x
) {
43502 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
43504 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
43505 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
43507 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
43508 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
43510 static void *_p_wxButtonTo_p_wxObject(void *x
) {
43511 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
43513 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
43514 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
43516 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
43517 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
43519 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
43520 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
43522 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
43523 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
43525 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
43526 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
43528 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
43529 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
43531 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
43532 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
43534 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
43535 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
43537 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
43538 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
43540 static void *_p_wxListItemTo_p_wxObject(void *x
) {
43541 return (void *)((wxObject
*) ((wxListItem
*) x
));
43543 static void *_p_wxImageTo_p_wxObject(void *x
) {
43544 return (void *)((wxObject
*) ((wxImage
*) x
));
43546 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
43547 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
43549 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
43550 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
43552 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
43553 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
43555 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
43556 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
43558 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
43559 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
43561 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
43562 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
43564 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
43565 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
43567 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
43568 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
43570 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
43571 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
43573 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
43574 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
43576 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
43577 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
43579 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
43580 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
43582 static void *_p_wxWindowTo_p_wxObject(void *x
) {
43583 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
43585 static void *_p_wxMenuTo_p_wxObject(void *x
) {
43586 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
43588 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
43589 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
43591 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
43592 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
43594 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
43595 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
43597 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
43598 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
43600 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
43601 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
43603 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
43604 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
43606 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
43607 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
43609 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
43610 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
43612 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
43613 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
43615 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
43616 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
43618 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
43619 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
43621 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
43622 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
43624 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
43625 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
43627 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
43628 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
43630 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
43631 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
43633 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
43634 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
43636 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
43637 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
43639 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
43640 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
43642 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
43643 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
43645 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
43646 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
43648 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
43649 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
43651 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
43652 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
43654 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
43655 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
43657 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
43658 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
43660 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
43661 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
43663 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
43664 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
43666 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
43667 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
43669 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
43670 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
43672 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
43673 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
43675 static void *_p_wxControlTo_p_wxWindow(void *x
) {
43676 return (void *)((wxWindow
*) ((wxControl
*) x
));
43678 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
43679 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
43681 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
43682 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
43684 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
43685 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
43687 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
43688 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
43690 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
43691 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
43693 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
43694 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
43696 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
43697 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
43699 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
43700 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
43702 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
43703 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
43705 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
43706 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
43708 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
43709 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
43711 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
43712 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
43714 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
43715 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
43717 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
43718 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
43720 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
43721 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
43723 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
43724 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
43726 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
43727 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
43729 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
43730 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
43732 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
43733 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
43735 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
43736 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
43738 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
43739 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
43741 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
43742 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
43744 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
43745 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
43747 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
43748 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
43750 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
43751 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
43753 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
43754 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
43756 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
43757 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
43759 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
43760 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
43762 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
43763 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
43765 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
43766 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
43768 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
43769 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
43771 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
43772 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
43774 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
43775 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
43777 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
43778 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
43780 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
43781 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
43783 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
43784 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
43786 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
43787 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
43789 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
43790 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
43792 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
43793 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
43795 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
43796 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
43798 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
43799 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
43801 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
43802 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
43804 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
43805 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
43807 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
43808 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
43810 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
43811 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
43813 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
43814 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
43816 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
43817 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
43819 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
43820 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
43822 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
43823 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
43825 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
43826 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
43828 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
43829 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
43831 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
43832 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
43834 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
43835 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
43837 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
43838 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
43840 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
43841 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
43843 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
43844 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
43846 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
43847 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
43849 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
43850 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
43852 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
43853 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
43855 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
43856 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
43858 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
43859 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
43861 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
43862 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
43864 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
43865 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
43867 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
43868 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
43870 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
43871 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
43873 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
43874 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
43875 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};
43876 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
43877 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
43878 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
43879 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
43880 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
43881 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
43882 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
43883 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
43884 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
43885 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
43886 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
43887 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
43888 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
43889 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
43890 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
43891 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
43892 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
43893 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
43894 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
43895 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
43896 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
43897 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
43898 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
43899 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
43900 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
43901 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
43902 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
43903 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
43904 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
43905 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
43906 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
43907 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
43908 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
43909 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
43910 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
43911 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
43912 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
43913 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
43914 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
43915 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
43916 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
43917 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
43918 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
43919 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
43920 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
43921 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
43922 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
43923 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
43924 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
43925 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
43926 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
43927 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
43928 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
43929 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
43930 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
43931 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
43932 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
43933 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
43934 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
43935 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
43936 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
43937 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
43938 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
43939 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
43940 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
43941 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
43942 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
43943 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
43944 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
43945 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
43946 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
43947 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
43948 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
43949 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
43950 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
43951 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
43952 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
43953 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
43954 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
43955 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
43956 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
43957 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
43958 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
43959 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
43960 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
43961 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
43962 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
43963 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
43964 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
43965 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
43966 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
43967 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
43968 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
43969 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
43970 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
43971 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
43972 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
43973 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
43974 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
43975 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
43976 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
43977 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
43978 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
43979 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
43980 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
43981 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
43982 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
43983 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
43984 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
43985 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
43986 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
43987 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
43988 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
43989 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
43990 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
43991 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
43992 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
43993 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
43994 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
43995 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
43996 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
43997 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
43998 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
43999 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
44000 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
44001 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
44002 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
44003 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
44004 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
44005 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
44006 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
44007 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
44008 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
44009 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
44010 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
44011 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
44012 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
44013 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
44014 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
44015 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
44016 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
44017 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
44018 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
44019 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
44020 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
44021 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
44022 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
44023 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
44024 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
44025 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
44026 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
44027 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
44028 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
44029 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
44030 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
44031 static swig_type_info _swigt__p_wxTreeCtrl
= {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
44032 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
44033 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
44034 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
44035 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
44036 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
44037 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
44038 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
44040 static swig_type_info
*swig_type_initial
[] = {
44043 &_swigt__p_form_ops_t
,
44046 &_swigt__p_unsigned_char
,
44047 &_swigt__p_unsigned_int
,
44048 &_swigt__p_unsigned_long
,
44050 &_swigt__p_wxANIHandler
,
44051 &_swigt__p_wxAcceleratorTable
,
44052 &_swigt__p_wxActivateEvent
,
44053 &_swigt__p_wxArrayInt
,
44054 &_swigt__p_wxArrayString
,
44055 &_swigt__p_wxBMPHandler
,
44056 &_swigt__p_wxBitmap
,
44057 &_swigt__p_wxBitmapButton
,
44058 &_swigt__p_wxBookCtrlBase
,
44059 &_swigt__p_wxBookCtrlBaseEvent
,
44060 &_swigt__p_wxBoxSizer
,
44061 &_swigt__p_wxButton
,
44062 &_swigt__p_wxCURHandler
,
44063 &_swigt__p_wxCheckBox
,
44064 &_swigt__p_wxCheckListBox
,
44065 &_swigt__p_wxChildFocusEvent
,
44066 &_swigt__p_wxChoice
,
44067 &_swigt__p_wxChoicebook
,
44068 &_swigt__p_wxChoicebookEvent
,
44069 &_swigt__p_wxClipboardTextEvent
,
44070 &_swigt__p_wxCloseEvent
,
44071 &_swigt__p_wxColour
,
44072 &_swigt__p_wxComboBox
,
44073 &_swigt__p_wxCommandEvent
,
44074 &_swigt__p_wxContextHelp
,
44075 &_swigt__p_wxContextHelpButton
,
44076 &_swigt__p_wxContextMenuEvent
,
44077 &_swigt__p_wxControl
,
44078 &_swigt__p_wxControlWithItems
,
44079 &_swigt__p_wxCursor
,
44081 &_swigt__p_wxDateEvent
,
44082 &_swigt__p_wxDatePickerCtrl
,
44083 &_swigt__p_wxDateTime
,
44084 &_swigt__p_wxDirFilterListCtrl
,
44085 &_swigt__p_wxDisplayChangedEvent
,
44086 &_swigt__p_wxDropFilesEvent
,
44087 &_swigt__p_wxDuplexMode
,
44088 &_swigt__p_wxEraseEvent
,
44089 &_swigt__p_wxEvent
,
44090 &_swigt__p_wxEvtHandler
,
44091 &_swigt__p_wxFSFile
,
44092 &_swigt__p_wxFileSystem
,
44093 &_swigt__p_wxFlexGridSizer
,
44094 &_swigt__p_wxFocusEvent
,
44096 &_swigt__p_wxGBSizerItem
,
44097 &_swigt__p_wxGIFHandler
,
44098 &_swigt__p_wxGauge
,
44099 &_swigt__p_wxGenericDirCtrl
,
44100 &_swigt__p_wxGenericDragImage
,
44101 &_swigt__p_wxGridBagSizer
,
44102 &_swigt__p_wxGridSizer
,
44103 &_swigt__p_wxHelpEvent
,
44104 &_swigt__p_wxHelpProvider
,
44105 &_swigt__p_wxHyperlinkCtrl
,
44106 &_swigt__p_wxHyperlinkEvent
,
44107 &_swigt__p_wxICOHandler
,
44109 &_swigt__p_wxIconizeEvent
,
44110 &_swigt__p_wxIdleEvent
,
44111 &_swigt__p_wxImage
,
44112 &_swigt__p_wxImageHandler
,
44113 &_swigt__p_wxImageList
,
44114 &_swigt__p_wxIndividualLayoutConstraint
,
44115 &_swigt__p_wxInitDialogEvent
,
44116 &_swigt__p_wxItemContainer
,
44117 &_swigt__p_wxJPEGHandler
,
44118 &_swigt__p_wxKeyEvent
,
44119 &_swigt__p_wxLayoutConstraints
,
44120 &_swigt__p_wxListBox
,
44121 &_swigt__p_wxListEvent
,
44122 &_swigt__p_wxListItem
,
44123 &_swigt__p_wxListItemAttr
,
44124 &_swigt__p_wxListView
,
44125 &_swigt__p_wxListbook
,
44126 &_swigt__p_wxListbookEvent
,
44127 &_swigt__p_wxMaximizeEvent
,
44128 &_swigt__p_wxMemoryDC
,
44130 &_swigt__p_wxMenuBar
,
44131 &_swigt__p_wxMenuEvent
,
44132 &_swigt__p_wxMenuItem
,
44133 &_swigt__p_wxMouseCaptureChangedEvent
,
44134 &_swigt__p_wxMouseEvent
,
44135 &_swigt__p_wxMoveEvent
,
44136 &_swigt__p_wxNavigationKeyEvent
,
44137 &_swigt__p_wxNcPaintEvent
,
44138 &_swigt__p_wxNotebook
,
44139 &_swigt__p_wxNotebookEvent
,
44140 &_swigt__p_wxNotifyEvent
,
44141 &_swigt__p_wxObject
,
44142 &_swigt__p_wxPCXHandler
,
44143 &_swigt__p_wxPNGHandler
,
44144 &_swigt__p_wxPNMHandler
,
44145 &_swigt__p_wxPaintEvent
,
44146 &_swigt__p_wxPaletteChangedEvent
,
44147 &_swigt__p_wxPaperSize
,
44148 &_swigt__p_wxPoint
,
44149 &_swigt__p_wxPyApp
,
44150 &_swigt__p_wxPyCommandEvent
,
44151 &_swigt__p_wxPyControl
,
44152 &_swigt__p_wxPyEvent
,
44153 &_swigt__p_wxPyImageHandler
,
44154 &_swigt__p_wxPyListCtrl
,
44155 &_swigt__p_wxPySizer
,
44156 &_swigt__p_wxPyTreeCtrl
,
44157 &_swigt__p_wxPyTreeItemData
,
44158 &_swigt__p_wxPyValidator
,
44159 &_swigt__p_wxQueryNewPaletteEvent
,
44160 &_swigt__p_wxRadioBox
,
44161 &_swigt__p_wxRadioButton
,
44163 &_swigt__p_wxScrollBar
,
44164 &_swigt__p_wxScrollEvent
,
44165 &_swigt__p_wxScrollWinEvent
,
44166 &_swigt__p_wxSetCursorEvent
,
44167 &_swigt__p_wxShowEvent
,
44168 &_swigt__p_wxSimpleHelpProvider
,
44170 &_swigt__p_wxSizeEvent
,
44171 &_swigt__p_wxSizer
,
44172 &_swigt__p_wxSizerItem
,
44173 &_swigt__p_wxSlider
,
44174 &_swigt__p_wxSpinButton
,
44175 &_swigt__p_wxSpinCtrl
,
44176 &_swigt__p_wxSpinEvent
,
44177 &_swigt__p_wxStaticBitmap
,
44178 &_swigt__p_wxStaticBox
,
44179 &_swigt__p_wxStaticBoxSizer
,
44180 &_swigt__p_wxStaticLine
,
44181 &_swigt__p_wxStaticText
,
44182 &_swigt__p_wxStdDialogButtonSizer
,
44183 &_swigt__p_wxString
,
44184 &_swigt__p_wxSysColourChangedEvent
,
44185 &_swigt__p_wxTIFFHandler
,
44186 &_swigt__p_wxTextAttr
,
44187 &_swigt__p_wxTextCtrl
,
44188 &_swigt__p_wxTextUrlEvent
,
44189 &_swigt__p_wxToggleButton
,
44190 &_swigt__p_wxToolBar
,
44191 &_swigt__p_wxToolBarBase
,
44192 &_swigt__p_wxToolBarToolBase
,
44193 &_swigt__p_wxToolbook
,
44194 &_swigt__p_wxToolbookEvent
,
44195 &_swigt__p_wxTreeCtrl
,
44196 &_swigt__p_wxTreeEvent
,
44197 &_swigt__p_wxTreeItemId
,
44198 &_swigt__p_wxTreebook
,
44199 &_swigt__p_wxTreebookEvent
,
44200 &_swigt__p_wxUpdateUIEvent
,
44201 &_swigt__p_wxValidator
,
44202 &_swigt__p_wxVisualAttributes
,
44203 &_swigt__p_wxWindow
,
44204 &_swigt__p_wxWindowCreateEvent
,
44205 &_swigt__p_wxWindowDestroyEvent
,
44206 &_swigt__p_wxXPMHandler
,
44209 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
44210 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
44211 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
44212 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
44213 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
44214 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
44215 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
44216 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
44217 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
44218 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
44219 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
44220 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
44221 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}};
44222 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}};
44223 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}};
44224 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}};
44225 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
44226 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
44227 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}};
44228 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
44229 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
44230 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
44231 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
44232 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
44233 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
44234 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
44235 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
44236 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
44237 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
44238 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
44239 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
44240 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
44241 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
44242 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
44243 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
44244 static swig_cast_info _swigc__p_wxControl
[] = { {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControl
, 0, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxControl
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxControl
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxControl
, 0, 0},{0, 0, 0, 0}};
44245 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}};
44246 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
44247 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
44248 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
44249 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
44250 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
44251 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
44252 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
44253 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
44254 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
44255 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
44256 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
44257 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
44258 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
44259 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
44260 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
44261 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
44262 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
44263 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
44264 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
44265 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
44266 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
44267 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
44268 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
44269 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
44270 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
44271 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
44272 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
44273 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
44274 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
44275 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
44276 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
44277 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
44278 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
44279 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
44280 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
44281 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
44282 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
44283 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
44284 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
44285 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
44286 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
44287 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}};
44288 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
44289 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
44290 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
44291 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
44292 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}};
44293 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
44294 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}};
44295 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
44296 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
44297 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
44298 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
44299 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
44300 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
44301 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
44302 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
44303 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
44304 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
44305 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}};
44306 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
44307 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
44308 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
44309 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
44310 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
44311 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
44312 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
44313 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
44314 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
44315 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
44316 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
44317 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
44318 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
44319 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
44320 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
44321 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
44322 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
44323 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
44324 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
44325 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
44326 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
44327 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
44328 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
44329 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
44330 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
44331 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
44332 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
44333 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
44334 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
44335 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
44336 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelp
, _p_wxContextHelpTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListItem
, _p_wxListItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDragImage
, _p_wxGenericDragImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarToolBase
, _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
44337 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
44338 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
44339 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
44340 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}};
44341 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
44342 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
44343 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
44344 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
44345 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
44346 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
44347 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
44348 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
44349 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
44350 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
44351 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
44352 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
44353 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
44354 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
44355 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
44356 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
44357 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
44358 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
44359 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
44360 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
44361 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
44362 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
44363 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}};
44364 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
44365 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
44366 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
44367 static swig_cast_info _swigc__p_wxTreeCtrl
[] = { {&_swigt__p_wxTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
44368 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
44369 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
44370 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
44371 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
44372 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}};
44373 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
44374 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
44376 static swig_cast_info
*swig_cast_initial
[] = {
44379 _swigc__p_form_ops_t
,
44382 _swigc__p_unsigned_char
,
44383 _swigc__p_unsigned_int
,
44384 _swigc__p_unsigned_long
,
44386 _swigc__p_wxANIHandler
,
44387 _swigc__p_wxAcceleratorTable
,
44388 _swigc__p_wxActivateEvent
,
44389 _swigc__p_wxArrayInt
,
44390 _swigc__p_wxArrayString
,
44391 _swigc__p_wxBMPHandler
,
44392 _swigc__p_wxBitmap
,
44393 _swigc__p_wxBitmapButton
,
44394 _swigc__p_wxBookCtrlBase
,
44395 _swigc__p_wxBookCtrlBaseEvent
,
44396 _swigc__p_wxBoxSizer
,
44397 _swigc__p_wxButton
,
44398 _swigc__p_wxCURHandler
,
44399 _swigc__p_wxCheckBox
,
44400 _swigc__p_wxCheckListBox
,
44401 _swigc__p_wxChildFocusEvent
,
44402 _swigc__p_wxChoice
,
44403 _swigc__p_wxChoicebook
,
44404 _swigc__p_wxChoicebookEvent
,
44405 _swigc__p_wxClipboardTextEvent
,
44406 _swigc__p_wxCloseEvent
,
44407 _swigc__p_wxColour
,
44408 _swigc__p_wxComboBox
,
44409 _swigc__p_wxCommandEvent
,
44410 _swigc__p_wxContextHelp
,
44411 _swigc__p_wxContextHelpButton
,
44412 _swigc__p_wxContextMenuEvent
,
44413 _swigc__p_wxControl
,
44414 _swigc__p_wxControlWithItems
,
44415 _swigc__p_wxCursor
,
44417 _swigc__p_wxDateEvent
,
44418 _swigc__p_wxDatePickerCtrl
,
44419 _swigc__p_wxDateTime
,
44420 _swigc__p_wxDirFilterListCtrl
,
44421 _swigc__p_wxDisplayChangedEvent
,
44422 _swigc__p_wxDropFilesEvent
,
44423 _swigc__p_wxDuplexMode
,
44424 _swigc__p_wxEraseEvent
,
44426 _swigc__p_wxEvtHandler
,
44427 _swigc__p_wxFSFile
,
44428 _swigc__p_wxFileSystem
,
44429 _swigc__p_wxFlexGridSizer
,
44430 _swigc__p_wxFocusEvent
,
44432 _swigc__p_wxGBSizerItem
,
44433 _swigc__p_wxGIFHandler
,
44435 _swigc__p_wxGenericDirCtrl
,
44436 _swigc__p_wxGenericDragImage
,
44437 _swigc__p_wxGridBagSizer
,
44438 _swigc__p_wxGridSizer
,
44439 _swigc__p_wxHelpEvent
,
44440 _swigc__p_wxHelpProvider
,
44441 _swigc__p_wxHyperlinkCtrl
,
44442 _swigc__p_wxHyperlinkEvent
,
44443 _swigc__p_wxICOHandler
,
44445 _swigc__p_wxIconizeEvent
,
44446 _swigc__p_wxIdleEvent
,
44448 _swigc__p_wxImageHandler
,
44449 _swigc__p_wxImageList
,
44450 _swigc__p_wxIndividualLayoutConstraint
,
44451 _swigc__p_wxInitDialogEvent
,
44452 _swigc__p_wxItemContainer
,
44453 _swigc__p_wxJPEGHandler
,
44454 _swigc__p_wxKeyEvent
,
44455 _swigc__p_wxLayoutConstraints
,
44456 _swigc__p_wxListBox
,
44457 _swigc__p_wxListEvent
,
44458 _swigc__p_wxListItem
,
44459 _swigc__p_wxListItemAttr
,
44460 _swigc__p_wxListView
,
44461 _swigc__p_wxListbook
,
44462 _swigc__p_wxListbookEvent
,
44463 _swigc__p_wxMaximizeEvent
,
44464 _swigc__p_wxMemoryDC
,
44466 _swigc__p_wxMenuBar
,
44467 _swigc__p_wxMenuEvent
,
44468 _swigc__p_wxMenuItem
,
44469 _swigc__p_wxMouseCaptureChangedEvent
,
44470 _swigc__p_wxMouseEvent
,
44471 _swigc__p_wxMoveEvent
,
44472 _swigc__p_wxNavigationKeyEvent
,
44473 _swigc__p_wxNcPaintEvent
,
44474 _swigc__p_wxNotebook
,
44475 _swigc__p_wxNotebookEvent
,
44476 _swigc__p_wxNotifyEvent
,
44477 _swigc__p_wxObject
,
44478 _swigc__p_wxPCXHandler
,
44479 _swigc__p_wxPNGHandler
,
44480 _swigc__p_wxPNMHandler
,
44481 _swigc__p_wxPaintEvent
,
44482 _swigc__p_wxPaletteChangedEvent
,
44483 _swigc__p_wxPaperSize
,
44486 _swigc__p_wxPyCommandEvent
,
44487 _swigc__p_wxPyControl
,
44488 _swigc__p_wxPyEvent
,
44489 _swigc__p_wxPyImageHandler
,
44490 _swigc__p_wxPyListCtrl
,
44491 _swigc__p_wxPySizer
,
44492 _swigc__p_wxPyTreeCtrl
,
44493 _swigc__p_wxPyTreeItemData
,
44494 _swigc__p_wxPyValidator
,
44495 _swigc__p_wxQueryNewPaletteEvent
,
44496 _swigc__p_wxRadioBox
,
44497 _swigc__p_wxRadioButton
,
44499 _swigc__p_wxScrollBar
,
44500 _swigc__p_wxScrollEvent
,
44501 _swigc__p_wxScrollWinEvent
,
44502 _swigc__p_wxSetCursorEvent
,
44503 _swigc__p_wxShowEvent
,
44504 _swigc__p_wxSimpleHelpProvider
,
44506 _swigc__p_wxSizeEvent
,
44508 _swigc__p_wxSizerItem
,
44509 _swigc__p_wxSlider
,
44510 _swigc__p_wxSpinButton
,
44511 _swigc__p_wxSpinCtrl
,
44512 _swigc__p_wxSpinEvent
,
44513 _swigc__p_wxStaticBitmap
,
44514 _swigc__p_wxStaticBox
,
44515 _swigc__p_wxStaticBoxSizer
,
44516 _swigc__p_wxStaticLine
,
44517 _swigc__p_wxStaticText
,
44518 _swigc__p_wxStdDialogButtonSizer
,
44519 _swigc__p_wxString
,
44520 _swigc__p_wxSysColourChangedEvent
,
44521 _swigc__p_wxTIFFHandler
,
44522 _swigc__p_wxTextAttr
,
44523 _swigc__p_wxTextCtrl
,
44524 _swigc__p_wxTextUrlEvent
,
44525 _swigc__p_wxToggleButton
,
44526 _swigc__p_wxToolBar
,
44527 _swigc__p_wxToolBarBase
,
44528 _swigc__p_wxToolBarToolBase
,
44529 _swigc__p_wxToolbook
,
44530 _swigc__p_wxToolbookEvent
,
44531 _swigc__p_wxTreeCtrl
,
44532 _swigc__p_wxTreeEvent
,
44533 _swigc__p_wxTreeItemId
,
44534 _swigc__p_wxTreebook
,
44535 _swigc__p_wxTreebookEvent
,
44536 _swigc__p_wxUpdateUIEvent
,
44537 _swigc__p_wxValidator
,
44538 _swigc__p_wxVisualAttributes
,
44539 _swigc__p_wxWindow
,
44540 _swigc__p_wxWindowCreateEvent
,
44541 _swigc__p_wxWindowDestroyEvent
,
44542 _swigc__p_wxXPMHandler
,
44546 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
44548 static swig_const_info swig_const_table
[] = {
44549 {0, 0, 0, 0.0, 0, 0}};
44554 /* -----------------------------------------------------------------------------
44555 * Type initialization:
44556 * This problem is tough by the requirement that no dynamic
44557 * memory is used. Also, since swig_type_info structures store pointers to
44558 * swig_cast_info structures and swig_cast_info structures store pointers back
44559 * to swig_type_info structures, we need some lookup code at initialization.
44560 * The idea is that swig generates all the structures that are needed.
44561 * The runtime then collects these partially filled structures.
44562 * The SWIG_InitializeModule function takes these initial arrays out of
44563 * swig_module, and does all the lookup, filling in the swig_module.types
44564 * array with the correct data and linking the correct swig_cast_info
44565 * structures together.
44567 * The generated swig_type_info structures are assigned staticly to an initial
44568 * array. We just loop though that array, and handle each type individually.
44569 * First we lookup if this type has been already loaded, and if so, use the
44570 * loaded structure instead of the generated one. Then we have to fill in the
44571 * cast linked list. The cast data is initially stored in something like a
44572 * two-dimensional array. Each row corresponds to a type (there are the same
44573 * number of rows as there are in the swig_type_initial array). Each entry in
44574 * a column is one of the swig_cast_info structures for that type.
44575 * The cast_initial array is actually an array of arrays, because each row has
44576 * a variable number of columns. So to actually build the cast linked list,
44577 * we find the array of casts associated with the type, and loop through it
44578 * adding the casts to the list. The one last trick we need to do is making
44579 * sure the type pointer in the swig_cast_info struct is correct.
44581 * First off, we lookup the cast->type name to see if it is already loaded.
44582 * There are three cases to handle:
44583 * 1) If the cast->type has already been loaded AND the type we are adding
44584 * casting info to has not been loaded (it is in this module), THEN we
44585 * replace the cast->type pointer with the type pointer that has already
44587 * 2) If BOTH types (the one we are adding casting info to, and the
44588 * cast->type) are loaded, THEN the cast info has already been loaded by
44589 * the previous module so we just ignore it.
44590 * 3) Finally, if cast->type has not already been loaded, then we add that
44591 * swig_cast_info to the linked list (because the cast->type) pointer will
44593 * ----------------------------------------------------------------------------- */
44603 #define SWIGRUNTIME_DEBUG
44607 SWIG_InitializeModule(void *clientdata
) {
44609 swig_module_info
*module_head
;
44610 static int init_run
= 0;
44612 clientdata
= clientdata
;
44614 if (init_run
) return;
44617 /* Initialize the swig_module */
44618 swig_module
.type_initial
= swig_type_initial
;
44619 swig_module
.cast_initial
= swig_cast_initial
;
44621 /* Try and load any already created modules */
44622 module_head
= SWIG_GetModule(clientdata
);
44624 swig_module
.next
= module_head
->next
;
44625 module_head
->next
= &swig_module
;
44627 /* This is the first module loaded */
44628 swig_module
.next
= &swig_module
;
44629 SWIG_SetModule(clientdata
, &swig_module
);
44632 /* Now work on filling in swig_module.types */
44633 #ifdef SWIGRUNTIME_DEBUG
44634 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
44636 for (i
= 0; i
< swig_module
.size
; ++i
) {
44637 swig_type_info
*type
= 0;
44638 swig_type_info
*ret
;
44639 swig_cast_info
*cast
;
44641 #ifdef SWIGRUNTIME_DEBUG
44642 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
44645 /* if there is another module already loaded */
44646 if (swig_module
.next
!= &swig_module
) {
44647 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
44650 /* Overwrite clientdata field */
44651 #ifdef SWIGRUNTIME_DEBUG
44652 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
44654 if (swig_module
.type_initial
[i
]->clientdata
) {
44655 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
44656 #ifdef SWIGRUNTIME_DEBUG
44657 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
44661 type
= swig_module
.type_initial
[i
];
44664 /* Insert casting types */
44665 cast
= swig_module
.cast_initial
[i
];
44666 while (cast
->type
) {
44667 /* Don't need to add information already in the list */
44669 #ifdef SWIGRUNTIME_DEBUG
44670 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
44672 if (swig_module
.next
!= &swig_module
) {
44673 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
44674 #ifdef SWIGRUNTIME_DEBUG
44675 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
44679 if (type
== swig_module
.type_initial
[i
]) {
44680 #ifdef SWIGRUNTIME_DEBUG
44681 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
44686 /* Check for casting already in the list */
44687 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
44688 #ifdef SWIGRUNTIME_DEBUG
44689 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
44691 if (!ocast
) ret
= 0;
44696 #ifdef SWIGRUNTIME_DEBUG
44697 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
44700 type
->cast
->prev
= cast
;
44701 cast
->next
= type
->cast
;
44707 /* Set entry in modules->types array equal to the type */
44708 swig_module
.types
[i
] = type
;
44710 swig_module
.types
[i
] = 0;
44712 #ifdef SWIGRUNTIME_DEBUG
44713 printf("**** SWIG_InitializeModule: Cast List ******\n");
44714 for (i
= 0; i
< swig_module
.size
; ++i
) {
44716 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
44717 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
44718 while (cast
->type
) {
44719 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
44723 printf("---- Total casts: %d\n",j
);
44725 printf("**** SWIG_InitializeModule: Cast List ******\n");
44729 /* This function will propagate the clientdata field of type to
44730 * any new swig_type_info structures that have been added into the list
44731 * of equivalent types. It is like calling
44732 * SWIG_TypeClientData(type, clientdata) a second time.
44735 SWIG_PropagateClientData(void) {
44737 swig_cast_info
*equiv
;
44738 static int init_run
= 0;
44740 if (init_run
) return;
44743 for (i
= 0; i
< swig_module
.size
; i
++) {
44744 if (swig_module
.types
[i
]->clientdata
) {
44745 equiv
= swig_module
.types
[i
]->cast
;
44747 if (!equiv
->converter
) {
44748 if (equiv
->type
&& !equiv
->type
->clientdata
)
44749 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
44751 equiv
= equiv
->next
;
44771 /* Python-specific SWIG API */
44772 #define SWIG_newvarlink() SWIG_Python_newvarlink()
44773 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
44774 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
44776 /* -----------------------------------------------------------------------------
44777 * global variable support code.
44778 * ----------------------------------------------------------------------------- */
44780 typedef struct swig_globalvar
{
44781 char *name
; /* Name of global variable */
44782 PyObject
*(*get_attr
)(void); /* Return the current value */
44783 int (*set_attr
)(PyObject
*); /* Set the value */
44784 struct swig_globalvar
*next
;
44787 typedef struct swig_varlinkobject
{
44789 swig_globalvar
*vars
;
44790 } swig_varlinkobject
;
44792 SWIGINTERN PyObject
*
44793 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
44794 return PyString_FromString("<Swig global variables>");
44797 SWIGINTERN PyObject
*
44798 swig_varlink_str(swig_varlinkobject
*v
) {
44799 PyObject
*str
= PyString_FromString("(");
44800 swig_globalvar
*var
;
44801 for (var
= v
->vars
; var
; var
=var
->next
) {
44802 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
44803 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
44805 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
44810 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
44811 PyObject
*str
= swig_varlink_str(v
);
44812 fprintf(fp
,"Swig global variables ");
44813 fprintf(fp
,"%s\n", PyString_AsString(str
));
44819 swig_varlink_dealloc(swig_varlinkobject
*v
) {
44820 swig_globalvar
*var
= v
->vars
;
44822 swig_globalvar
*n
= var
->next
;
44829 SWIGINTERN PyObject
*
44830 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
44831 PyObject
*res
= NULL
;
44832 swig_globalvar
*var
= v
->vars
;
44834 if (strcmp(var
->name
,n
) == 0) {
44835 res
= (*var
->get_attr
)();
44840 if (res
== NULL
&& !PyErr_Occurred()) {
44841 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
44847 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
44849 swig_globalvar
*var
= v
->vars
;
44851 if (strcmp(var
->name
,n
) == 0) {
44852 res
= (*var
->set_attr
)(p
);
44857 if (res
== 1 && !PyErr_Occurred()) {
44858 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
44863 SWIGINTERN PyTypeObject
*
44864 swig_varlink_type(void) {
44865 static char varlink__doc__
[] = "Swig var link object";
44866 static PyTypeObject varlink_type
;
44867 static int type_init
= 0;
44869 const PyTypeObject tmp
44871 PyObject_HEAD_INIT(NULL
)
44872 0, /* Number of items in variable part (ob_size) */
44873 (char *)"swigvarlink", /* Type name (tp_name) */
44874 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
44875 0, /* Itemsize (tp_itemsize) */
44876 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
44877 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
44878 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
44879 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
44880 0, /* tp_compare */
44881 (reprfunc
) swig_varlink_repr
, /* tp_repr */
44882 0, /* tp_as_number */
44883 0, /* tp_as_sequence */
44884 0, /* tp_as_mapping */
44887 (reprfunc
)swig_varlink_str
, /* tp_str */
44888 0, /* tp_getattro */
44889 0, /* tp_setattro */
44890 0, /* tp_as_buffer */
44892 varlink__doc__
, /* tp_doc */
44893 0, /* tp_traverse */
44895 0, /* tp_richcompare */
44896 0, /* tp_weaklistoffset */
44897 #if PY_VERSION_HEX >= 0x02020000
44898 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
44900 #if PY_VERSION_HEX >= 0x02030000
44903 #ifdef COUNT_ALLOCS
44904 0,0,0,0 /* tp_alloc -> tp_next */
44907 varlink_type
= tmp
;
44908 varlink_type
.ob_type
= &PyType_Type
;
44911 return &varlink_type
;
44914 /* Create a variable linking object for use later */
44915 SWIGINTERN PyObject
*
44916 SWIG_Python_newvarlink(void) {
44917 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
44921 return ((PyObject
*) result
);
44925 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
44926 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
44927 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
44929 size_t size
= strlen(name
)+1;
44930 gv
->name
= (char *)malloc(size
);
44932 strncpy(gv
->name
,name
,size
);
44933 gv
->get_attr
= get_attr
;
44934 gv
->set_attr
= set_attr
;
44935 gv
->next
= v
->vars
;
44941 SWIGINTERN PyObject
*
44943 static PyObject
*_SWIG_globals
= 0;
44944 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
44945 return _SWIG_globals
;
44948 /* -----------------------------------------------------------------------------
44949 * constants/methods manipulation
44950 * ----------------------------------------------------------------------------- */
44952 /* Install Constants */
44954 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
44957 for (i
= 0; constants
[i
].type
; ++i
) {
44958 switch(constants
[i
].type
) {
44959 case SWIG_PY_POINTER
:
44960 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
44962 case SWIG_PY_BINARY
:
44963 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
44970 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
44976 /* -----------------------------------------------------------------------------*/
44977 /* Fix SwigMethods to carry the callback ptrs when needed */
44978 /* -----------------------------------------------------------------------------*/
44981 SWIG_Python_FixMethods(PyMethodDef
*methods
,
44982 swig_const_info
*const_table
,
44983 swig_type_info
**types
,
44984 swig_type_info
**types_initial
) {
44986 for (i
= 0; methods
[i
].ml_name
; ++i
) {
44987 char *c
= methods
[i
].ml_doc
;
44988 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
44990 swig_const_info
*ci
= 0;
44991 char *name
= c
+ 10;
44992 for (j
= 0; const_table
[j
].type
; ++j
) {
44993 if (strncmp(const_table
[j
].name
, name
,
44994 strlen(const_table
[j
].name
)) == 0) {
44995 ci
= &(const_table
[j
]);
45000 size_t shift
= (ci
->ptype
) - types
;
45001 swig_type_info
*ty
= types_initial
[shift
];
45002 size_t ldoc
= (c
- methods
[i
].ml_doc
);
45003 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
45004 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
45007 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
45009 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
45011 strncpy(buff
, "swig_ptr: ", 10);
45013 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
45014 methods
[i
].ml_doc
= ndoc
;
45026 /* -----------------------------------------------------------------------------*
45027 * Partial Init method
45028 * -----------------------------------------------------------------------------*/
45033 SWIGEXPORT
void SWIG_init(void) {
45036 /* Fix SwigMethods to carry the callback ptrs when needed */
45037 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
45039 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
45040 d
= PyModule_GetDict(m
);
45042 SWIG_InitializeModule(0);
45043 SWIG_InstallConstants(d
,swig_const_table
);
45046 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
45047 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
45048 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
45049 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
45050 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
45051 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
45052 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
45053 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
45054 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
45055 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
45056 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
45057 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
45058 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
45059 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
45060 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
45061 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
45062 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
45063 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
45064 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
45065 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
45066 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
45067 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
45068 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
45069 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
45070 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
45071 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
45072 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
45073 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
45074 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
45075 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
45076 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
45077 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
45078 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
45079 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
45080 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
45081 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
45082 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
45083 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
45084 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
45085 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
45086 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
45087 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
45088 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
45089 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
45090 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
45091 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
45092 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
45093 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
45094 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
45095 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
45096 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
45097 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
45098 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
45099 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
45100 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
45101 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
45102 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
45103 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
45104 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
45105 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
45106 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
45107 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
45108 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
45109 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
45110 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
45111 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
45112 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
45113 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
45114 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
45115 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
45116 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
45117 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
45118 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
45119 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
45120 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
45121 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
45122 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
45123 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
45124 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
45125 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
45126 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
45127 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
45128 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
45129 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
45130 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
45131 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
45132 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
45133 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
45134 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
45135 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
45136 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
45137 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
45138 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
45139 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
45140 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
45141 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
45142 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
45143 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
45144 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
45145 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
45146 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
45147 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
45148 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
45149 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
45150 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
45151 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
45152 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
45153 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
45154 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
45155 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
45156 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
45157 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
45158 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
45159 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
45160 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
45161 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
45162 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
45163 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
45164 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
45165 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
45166 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
45167 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
45168 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
45169 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
45170 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
45171 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
45172 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
45173 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
45174 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
45175 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
45176 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
45177 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
45178 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
45179 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
45180 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
45181 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
45182 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
45183 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
45184 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
45185 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
45186 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
45187 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
45188 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
45189 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
45190 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
45191 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
45192 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
45193 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
45194 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
45195 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
45196 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
45197 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
45198 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
45199 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
45200 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
45201 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
45202 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
45203 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
45204 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
45205 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
45206 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
45207 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
45208 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
45209 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
45210 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
45211 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
45212 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
45213 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
45214 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
45215 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
45216 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
45217 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
45218 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
45219 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
45220 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
45221 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
45222 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
45223 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
45224 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
45225 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
45226 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
45227 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
45228 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
45229 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
45230 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
45231 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
45232 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
45233 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
45234 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
45235 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
45236 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
45237 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
45238 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
45239 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
45240 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
45241 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
45242 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
45243 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
45244 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
45245 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
45246 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
45247 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
45248 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
45249 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
45250 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
45251 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
45252 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
45253 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
45254 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
45255 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
45256 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
45257 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
45258 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
45259 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
45260 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
45261 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
45262 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
45263 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
45264 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
45265 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
45266 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
45267 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
45268 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
45269 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
45270 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
45271 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
45272 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
45273 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
45274 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
45275 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
45276 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
45277 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
45278 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
45279 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
45280 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
45281 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
45282 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
45283 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
45284 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
45285 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
45286 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
45287 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
45288 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
45289 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
45290 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
45291 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
45292 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
45293 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
45294 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
45296 // Map renamed classes back to their common name for OOR
45297 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
45299 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
45300 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
45301 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
45302 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
45303 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
45304 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
45305 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
45306 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
45307 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
45308 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
45309 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
45310 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
45311 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
45312 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
45313 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
45314 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
45315 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
45316 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
45317 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
45318 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
45319 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
45320 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
45321 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
45322 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
45323 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
45324 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
45325 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
45326 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
45327 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
45328 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
45329 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
45330 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
45331 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
45332 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
45333 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
45334 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
45335 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
45336 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
45337 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
45338 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
45339 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
45340 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
45341 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
45342 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
45343 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
45344 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
45345 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
45346 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
45347 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
45348 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
45349 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
45350 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
45351 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
45352 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
45353 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
45355 // Map renamed classes back to their common name for OOR
45356 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
45357 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
45359 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
45360 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
45361 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
45362 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
45363 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
45364 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
45365 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
45366 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
45367 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
45368 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
45369 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
45370 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
45371 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
45373 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
45375 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
45376 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
45377 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
45378 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
45379 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
45380 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
45381 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
45382 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
45383 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
45384 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));