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
){
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_GetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6166 PyObject
*resultobj
= 0;
6167 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6168 long *arg2
= (long *) 0 ;
6169 long *arg3
= (long *) 0 ;
6173 int res2
= SWIG_TMPOBJ
;
6175 int res3
= SWIG_TMPOBJ
;
6176 PyObject
*swig_obj
[1] ;
6180 if (!args
) SWIG_fail
;
6182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6183 if (!SWIG_IsOK(res1
)) {
6184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6186 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6189 (arg1
)->GetSelection(arg2
,arg3
);
6190 wxPyEndAllowThreads(__tstate
);
6191 if (PyErr_Occurred()) SWIG_fail
;
6193 resultobj
= SWIG_Py_Void();
6194 if (SWIG_IsTmpObj(res2
)) {
6195 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6197 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6198 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6200 if (SWIG_IsTmpObj(res3
)) {
6201 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6203 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6204 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6212 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6213 PyObject
*resultobj
= 0;
6214 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6218 PyObject
*swig_obj
[1] ;
6220 if (!args
) SWIG_fail
;
6222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6223 if (!SWIG_IsOK(res1
)) {
6224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6226 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6229 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6230 wxPyEndAllowThreads(__tstate
);
6231 if (PyErr_Occurred()) SWIG_fail
;
6233 resultobj
= SWIG_From_int(static_cast< int >(result
));
6240 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6241 PyObject
*resultobj
= 0;
6242 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6243 wxString
*arg2
= 0 ;
6247 bool temp2
= false ;
6248 PyObject
* obj0
= 0 ;
6249 PyObject
* obj1
= 0 ;
6250 char * kwnames
[] = {
6251 (char *) "self",(char *) "string", NULL
6254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6256 if (!SWIG_IsOK(res1
)) {
6257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6259 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6261 arg2
= wxString_in_helper(obj1
);
6262 if (arg2
== NULL
) SWIG_fail
;
6266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6267 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6268 wxPyEndAllowThreads(__tstate
);
6269 if (PyErr_Occurred()) SWIG_fail
;
6272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6288 SWIGINTERN PyObject
*_wrap_ComboBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6289 PyObject
*resultobj
= 0;
6290 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6292 wxString
*arg3
= 0 ;
6297 bool temp3
= false ;
6298 PyObject
* obj0
= 0 ;
6299 PyObject
* obj1
= 0 ;
6300 PyObject
* obj2
= 0 ;
6301 char * kwnames
[] = {
6302 (char *) "self",(char *) "n",(char *) "string", NULL
6305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6307 if (!SWIG_IsOK(res1
)) {
6308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6310 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6311 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6312 if (!SWIG_IsOK(ecode2
)) {
6313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6315 arg2
= static_cast< int >(val2
);
6317 arg3
= wxString_in_helper(obj2
);
6318 if (arg3
== NULL
) SWIG_fail
;
6322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6323 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
6324 wxPyEndAllowThreads(__tstate
);
6325 if (PyErr_Occurred()) SWIG_fail
;
6327 resultobj
= SWIG_Py_Void();
6342 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6343 PyObject
*resultobj
= 0;
6344 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6350 PyObject
* obj0
= 0 ;
6351 PyObject
* obj1
= 0 ;
6352 char * kwnames
[] = {
6353 (char *) "self",(char *) "editable", NULL
6356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6358 if (!SWIG_IsOK(res1
)) {
6359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6361 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6362 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6363 if (!SWIG_IsOK(ecode2
)) {
6364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6366 arg2
= static_cast< bool >(val2
);
6368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6369 (arg1
)->SetEditable(arg2
);
6370 wxPyEndAllowThreads(__tstate
);
6371 if (PyErr_Occurred()) SWIG_fail
;
6373 resultobj
= SWIG_Py_Void();
6380 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6381 PyObject
*resultobj
= 0;
6382 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6385 PyObject
*swig_obj
[1] ;
6387 if (!args
) SWIG_fail
;
6389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6390 if (!SWIG_IsOK(res1
)) {
6391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6393 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6396 (arg1
)->SetInsertionPointEnd();
6397 wxPyEndAllowThreads(__tstate
);
6398 if (PyErr_Occurred()) SWIG_fail
;
6400 resultobj
= SWIG_Py_Void();
6407 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6408 PyObject
*resultobj
= 0;
6409 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6418 PyObject
* obj0
= 0 ;
6419 PyObject
* obj1
= 0 ;
6420 PyObject
* obj2
= 0 ;
6421 char * kwnames
[] = {
6422 (char *) "self",(char *) "from",(char *) "to", NULL
6425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6427 if (!SWIG_IsOK(res1
)) {
6428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6430 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6431 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6432 if (!SWIG_IsOK(ecode2
)) {
6433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6435 arg2
= static_cast< long >(val2
);
6436 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6437 if (!SWIG_IsOK(ecode3
)) {
6438 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6440 arg3
= static_cast< long >(val3
);
6442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6443 (arg1
)->Remove(arg2
,arg3
);
6444 wxPyEndAllowThreads(__tstate
);
6445 if (PyErr_Occurred()) SWIG_fail
;
6447 resultobj
= SWIG_Py_Void();
6454 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6455 PyObject
*resultobj
= 0;
6456 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6460 PyObject
*swig_obj
[1] ;
6462 if (!args
) SWIG_fail
;
6464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6465 if (!SWIG_IsOK(res1
)) {
6466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6468 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6471 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6472 wxPyEndAllowThreads(__tstate
);
6473 if (PyErr_Occurred()) SWIG_fail
;
6476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6484 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6485 PyObject
*resultobj
= 0;
6486 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6489 PyObject
*swig_obj
[1] ;
6491 if (!args
) SWIG_fail
;
6493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6494 if (!SWIG_IsOK(res1
)) {
6495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6497 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6501 wxPyEndAllowThreads(__tstate
);
6502 if (PyErr_Occurred()) SWIG_fail
;
6504 resultobj
= SWIG_Py_Void();
6511 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6512 PyObject
*resultobj
= 0;
6513 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6516 PyObject
*swig_obj
[1] ;
6518 if (!args
) SWIG_fail
;
6520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6521 if (!SWIG_IsOK(res1
)) {
6522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6524 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6528 wxPyEndAllowThreads(__tstate
);
6529 if (PyErr_Occurred()) SWIG_fail
;
6531 resultobj
= SWIG_Py_Void();
6538 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6539 PyObject
*resultobj
= 0;
6540 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6543 PyObject
*swig_obj
[1] ;
6545 if (!args
) SWIG_fail
;
6547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6548 if (!SWIG_IsOK(res1
)) {
6549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6551 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6554 (arg1
)->SelectAll();
6555 wxPyEndAllowThreads(__tstate
);
6556 if (PyErr_Occurred()) SWIG_fail
;
6558 resultobj
= SWIG_Py_Void();
6565 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6566 PyObject
*resultobj
= 0;
6567 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6571 PyObject
*swig_obj
[1] ;
6573 if (!args
) SWIG_fail
;
6575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6576 if (!SWIG_IsOK(res1
)) {
6577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6579 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6582 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6583 wxPyEndAllowThreads(__tstate
);
6584 if (PyErr_Occurred()) SWIG_fail
;
6587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6595 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6596 PyObject
*resultobj
= 0;
6597 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6601 PyObject
*swig_obj
[1] ;
6603 if (!args
) SWIG_fail
;
6605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6606 if (!SWIG_IsOK(res1
)) {
6607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6609 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6612 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6613 wxPyEndAllowThreads(__tstate
);
6614 if (PyErr_Occurred()) SWIG_fail
;
6617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6625 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6626 PyObject
*resultobj
= 0;
6627 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6631 PyObject
*swig_obj
[1] ;
6633 if (!args
) SWIG_fail
;
6635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6636 if (!SWIG_IsOK(res1
)) {
6637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6639 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6642 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6643 wxPyEndAllowThreads(__tstate
);
6644 if (PyErr_Occurred()) SWIG_fail
;
6647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6655 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6656 PyObject
*resultobj
= 0;
6657 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6661 PyObject
*swig_obj
[1] ;
6663 if (!args
) SWIG_fail
;
6665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6666 if (!SWIG_IsOK(res1
)) {
6667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6669 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6672 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6673 wxPyEndAllowThreads(__tstate
);
6674 if (PyErr_Occurred()) SWIG_fail
;
6677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6685 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6686 PyObject
*resultobj
= 0;
6687 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6691 PyObject
*swig_obj
[1] ;
6693 if (!args
) SWIG_fail
;
6695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6696 if (!SWIG_IsOK(res1
)) {
6697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6699 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6702 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6703 wxPyEndAllowThreads(__tstate
);
6704 if (PyErr_Occurred()) SWIG_fail
;
6707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6715 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6716 PyObject
*resultobj
= 0;
6717 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6718 SwigValueWrapper
<wxVisualAttributes
> result
;
6721 PyObject
* obj0
= 0 ;
6722 char * kwnames
[] = {
6723 (char *) "variant", NULL
6726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6728 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6729 if (!SWIG_IsOK(ecode1
)) {
6730 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6732 arg1
= static_cast< wxWindowVariant
>(val1
);
6735 if (!wxPyCheckForApp()) SWIG_fail
;
6736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6737 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6738 wxPyEndAllowThreads(__tstate
);
6739 if (PyErr_Occurred()) SWIG_fail
;
6741 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6748 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6750 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6751 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6752 return SWIG_Py_Void();
6755 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6756 return SWIG_Python_InitShadowInstance(args
);
6759 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6760 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6765 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6766 PyObject
*pyobj
= 0;
6770 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6772 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6779 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6780 PyObject
*resultobj
= 0;
6781 wxWindow
*arg1
= (wxWindow
*) 0 ;
6782 int arg2
= (int) -1 ;
6783 int arg3
= (int) 100 ;
6784 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6785 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6786 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6787 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6788 long arg6
= (long) wxGA_HORIZONTAL
;
6789 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6790 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6791 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6792 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6793 wxGauge
*result
= 0 ;
6806 bool temp8
= false ;
6807 PyObject
* obj0
= 0 ;
6808 PyObject
* obj1
= 0 ;
6809 PyObject
* obj2
= 0 ;
6810 PyObject
* obj3
= 0 ;
6811 PyObject
* obj4
= 0 ;
6812 PyObject
* obj5
= 0 ;
6813 PyObject
* obj6
= 0 ;
6814 PyObject
* obj7
= 0 ;
6815 char * kwnames
[] = {
6816 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6821 if (!SWIG_IsOK(res1
)) {
6822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6824 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6826 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6827 if (!SWIG_IsOK(ecode2
)) {
6828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6830 arg2
= static_cast< int >(val2
);
6833 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6834 if (!SWIG_IsOK(ecode3
)) {
6835 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6837 arg3
= static_cast< int >(val3
);
6842 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6848 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6852 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6853 if (!SWIG_IsOK(ecode6
)) {
6854 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6856 arg6
= static_cast< long >(val6
);
6859 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6860 if (!SWIG_IsOK(res7
)) {
6861 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6864 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6866 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6870 arg8
= wxString_in_helper(obj7
);
6871 if (arg8
== NULL
) SWIG_fail
;
6876 if (!wxPyCheckForApp()) SWIG_fail
;
6877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6878 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6879 wxPyEndAllowThreads(__tstate
);
6880 if (PyErr_Occurred()) SWIG_fail
;
6882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6897 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6898 PyObject
*resultobj
= 0;
6899 wxGauge
*result
= 0 ;
6901 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6903 if (!wxPyCheckForApp()) SWIG_fail
;
6904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6905 result
= (wxGauge
*)new wxGauge();
6906 wxPyEndAllowThreads(__tstate
);
6907 if (PyErr_Occurred()) SWIG_fail
;
6909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6916 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6917 PyObject
*resultobj
= 0;
6918 wxGauge
*arg1
= (wxGauge
*) 0 ;
6919 wxWindow
*arg2
= (wxWindow
*) 0 ;
6920 int arg3
= (int) -1 ;
6921 int arg4
= (int) 100 ;
6922 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6923 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6924 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6925 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6926 long arg7
= (long) wxGA_HORIZONTAL
;
6927 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6928 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6929 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6930 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6946 bool temp9
= false ;
6947 PyObject
* obj0
= 0 ;
6948 PyObject
* obj1
= 0 ;
6949 PyObject
* obj2
= 0 ;
6950 PyObject
* obj3
= 0 ;
6951 PyObject
* obj4
= 0 ;
6952 PyObject
* obj5
= 0 ;
6953 PyObject
* obj6
= 0 ;
6954 PyObject
* obj7
= 0 ;
6955 PyObject
* obj8
= 0 ;
6956 char * kwnames
[] = {
6957 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6962 if (!SWIG_IsOK(res1
)) {
6963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6965 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6966 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6967 if (!SWIG_IsOK(res2
)) {
6968 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6970 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6972 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6973 if (!SWIG_IsOK(ecode3
)) {
6974 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6976 arg3
= static_cast< int >(val3
);
6979 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6980 if (!SWIG_IsOK(ecode4
)) {
6981 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6983 arg4
= static_cast< int >(val4
);
6988 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6994 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6998 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6999 if (!SWIG_IsOK(ecode7
)) {
7000 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
7002 arg7
= static_cast< long >(val7
);
7005 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
7006 if (!SWIG_IsOK(res8
)) {
7007 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7012 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
7016 arg9
= wxString_in_helper(obj8
);
7017 if (arg9
== NULL
) SWIG_fail
;
7022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7023 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7024 wxPyEndAllowThreads(__tstate
);
7025 if (PyErr_Occurred()) SWIG_fail
;
7028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7044 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7045 PyObject
*resultobj
= 0;
7046 wxGauge
*arg1
= (wxGauge
*) 0 ;
7052 PyObject
* obj0
= 0 ;
7053 PyObject
* obj1
= 0 ;
7054 char * kwnames
[] = {
7055 (char *) "self",(char *) "range", NULL
7058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7060 if (!SWIG_IsOK(res1
)) {
7061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7063 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7064 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7065 if (!SWIG_IsOK(ecode2
)) {
7066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7068 arg2
= static_cast< int >(val2
);
7070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7071 (arg1
)->SetRange(arg2
);
7072 wxPyEndAllowThreads(__tstate
);
7073 if (PyErr_Occurred()) SWIG_fail
;
7075 resultobj
= SWIG_Py_Void();
7082 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7083 PyObject
*resultobj
= 0;
7084 wxGauge
*arg1
= (wxGauge
*) 0 ;
7088 PyObject
*swig_obj
[1] ;
7090 if (!args
) SWIG_fail
;
7092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7093 if (!SWIG_IsOK(res1
)) {
7094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7096 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7099 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7100 wxPyEndAllowThreads(__tstate
);
7101 if (PyErr_Occurred()) SWIG_fail
;
7103 resultobj
= SWIG_From_int(static_cast< int >(result
));
7110 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7111 PyObject
*resultobj
= 0;
7112 wxGauge
*arg1
= (wxGauge
*) 0 ;
7118 PyObject
* obj0
= 0 ;
7119 PyObject
* obj1
= 0 ;
7120 char * kwnames
[] = {
7121 (char *) "self",(char *) "pos", NULL
7124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7126 if (!SWIG_IsOK(res1
)) {
7127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7129 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7130 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7131 if (!SWIG_IsOK(ecode2
)) {
7132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7134 arg2
= static_cast< int >(val2
);
7136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7137 (arg1
)->SetValue(arg2
);
7138 wxPyEndAllowThreads(__tstate
);
7139 if (PyErr_Occurred()) SWIG_fail
;
7141 resultobj
= SWIG_Py_Void();
7148 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7149 PyObject
*resultobj
= 0;
7150 wxGauge
*arg1
= (wxGauge
*) 0 ;
7154 PyObject
*swig_obj
[1] ;
7156 if (!args
) SWIG_fail
;
7158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7159 if (!SWIG_IsOK(res1
)) {
7160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7162 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7165 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7166 wxPyEndAllowThreads(__tstate
);
7167 if (PyErr_Occurred()) SWIG_fail
;
7169 resultobj
= SWIG_From_int(static_cast< int >(result
));
7176 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7177 PyObject
*resultobj
= 0;
7178 wxGauge
*arg1
= (wxGauge
*) 0 ;
7182 PyObject
*swig_obj
[1] ;
7184 if (!args
) SWIG_fail
;
7186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7187 if (!SWIG_IsOK(res1
)) {
7188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7190 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7193 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7194 wxPyEndAllowThreads(__tstate
);
7195 if (PyErr_Occurred()) SWIG_fail
;
7198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7206 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7207 PyObject
*resultobj
= 0;
7208 wxGauge
*arg1
= (wxGauge
*) 0 ;
7214 PyObject
* obj0
= 0 ;
7215 PyObject
* obj1
= 0 ;
7216 char * kwnames
[] = {
7217 (char *) "self",(char *) "w", NULL
7220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7222 if (!SWIG_IsOK(res1
)) {
7223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7225 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7226 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7227 if (!SWIG_IsOK(ecode2
)) {
7228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7230 arg2
= static_cast< int >(val2
);
7232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7233 (arg1
)->SetShadowWidth(arg2
);
7234 wxPyEndAllowThreads(__tstate
);
7235 if (PyErr_Occurred()) SWIG_fail
;
7237 resultobj
= SWIG_Py_Void();
7244 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7245 PyObject
*resultobj
= 0;
7246 wxGauge
*arg1
= (wxGauge
*) 0 ;
7250 PyObject
*swig_obj
[1] ;
7252 if (!args
) SWIG_fail
;
7254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7255 if (!SWIG_IsOK(res1
)) {
7256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7258 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7262 wxPyEndAllowThreads(__tstate
);
7263 if (PyErr_Occurred()) SWIG_fail
;
7265 resultobj
= SWIG_From_int(static_cast< int >(result
));
7272 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7273 PyObject
*resultobj
= 0;
7274 wxGauge
*arg1
= (wxGauge
*) 0 ;
7280 PyObject
* obj0
= 0 ;
7281 PyObject
* obj1
= 0 ;
7282 char * kwnames
[] = {
7283 (char *) "self",(char *) "w", NULL
7286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7288 if (!SWIG_IsOK(res1
)) {
7289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7291 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7293 if (!SWIG_IsOK(ecode2
)) {
7294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7296 arg2
= static_cast< int >(val2
);
7298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7299 (arg1
)->SetBezelFace(arg2
);
7300 wxPyEndAllowThreads(__tstate
);
7301 if (PyErr_Occurred()) SWIG_fail
;
7303 resultobj
= SWIG_Py_Void();
7310 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7311 PyObject
*resultobj
= 0;
7312 wxGauge
*arg1
= (wxGauge
*) 0 ;
7316 PyObject
*swig_obj
[1] ;
7318 if (!args
) SWIG_fail
;
7320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7321 if (!SWIG_IsOK(res1
)) {
7322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7324 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7327 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7328 wxPyEndAllowThreads(__tstate
);
7329 if (PyErr_Occurred()) SWIG_fail
;
7331 resultobj
= SWIG_From_int(static_cast< int >(result
));
7338 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7339 PyObject
*resultobj
= 0;
7340 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7341 SwigValueWrapper
<wxVisualAttributes
> result
;
7344 PyObject
* obj0
= 0 ;
7345 char * kwnames
[] = {
7346 (char *) "variant", NULL
7349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7351 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7352 if (!SWIG_IsOK(ecode1
)) {
7353 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7355 arg1
= static_cast< wxWindowVariant
>(val1
);
7358 if (!wxPyCheckForApp()) SWIG_fail
;
7359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7360 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7361 wxPyEndAllowThreads(__tstate
);
7362 if (PyErr_Occurred()) SWIG_fail
;
7364 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7371 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7373 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7374 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7375 return SWIG_Py_Void();
7378 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7379 return SWIG_Python_InitShadowInstance(args
);
7382 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7383 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7388 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7389 PyObject
*pyobj
= 0;
7393 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7395 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7402 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7403 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7408 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7409 PyObject
*pyobj
= 0;
7413 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7415 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7422 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7423 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7428 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7429 PyObject
*pyobj
= 0;
7433 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7435 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7442 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7443 PyObject
*resultobj
= 0;
7444 wxWindow
*arg1
= (wxWindow
*) 0 ;
7445 int arg2
= (int) -1 ;
7446 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7447 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7448 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7449 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7450 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7451 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7452 long arg6
= (long) 0 ;
7453 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7454 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7455 wxStaticBox
*result
= 0 ;
7460 bool temp3
= false ;
7465 bool temp7
= false ;
7466 PyObject
* obj0
= 0 ;
7467 PyObject
* obj1
= 0 ;
7468 PyObject
* obj2
= 0 ;
7469 PyObject
* obj3
= 0 ;
7470 PyObject
* obj4
= 0 ;
7471 PyObject
* obj5
= 0 ;
7472 PyObject
* obj6
= 0 ;
7473 char * kwnames
[] = {
7474 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7479 if (!SWIG_IsOK(res1
)) {
7480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7482 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7484 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7485 if (!SWIG_IsOK(ecode2
)) {
7486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7488 arg2
= static_cast< int >(val2
);
7492 arg3
= wxString_in_helper(obj2
);
7493 if (arg3
== NULL
) SWIG_fail
;
7500 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7506 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7510 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7511 if (!SWIG_IsOK(ecode6
)) {
7512 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7514 arg6
= static_cast< long >(val6
);
7518 arg7
= wxString_in_helper(obj6
);
7519 if (arg7
== NULL
) SWIG_fail
;
7524 if (!wxPyCheckForApp()) SWIG_fail
;
7525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7526 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7527 wxPyEndAllowThreads(__tstate
);
7528 if (PyErr_Occurred()) SWIG_fail
;
7530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7553 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7554 PyObject
*resultobj
= 0;
7555 wxStaticBox
*result
= 0 ;
7557 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7559 if (!wxPyCheckForApp()) SWIG_fail
;
7560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7561 result
= (wxStaticBox
*)new wxStaticBox();
7562 wxPyEndAllowThreads(__tstate
);
7563 if (PyErr_Occurred()) SWIG_fail
;
7565 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7572 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7573 PyObject
*resultobj
= 0;
7574 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7575 wxWindow
*arg2
= (wxWindow
*) 0 ;
7576 int arg3
= (int) -1 ;
7577 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7578 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7579 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7580 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7581 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7582 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7583 long arg7
= (long) 0 ;
7584 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7585 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7593 bool temp4
= false ;
7598 bool temp8
= false ;
7599 PyObject
* obj0
= 0 ;
7600 PyObject
* obj1
= 0 ;
7601 PyObject
* obj2
= 0 ;
7602 PyObject
* obj3
= 0 ;
7603 PyObject
* obj4
= 0 ;
7604 PyObject
* obj5
= 0 ;
7605 PyObject
* obj6
= 0 ;
7606 PyObject
* obj7
= 0 ;
7607 char * kwnames
[] = {
7608 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7613 if (!SWIG_IsOK(res1
)) {
7614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7616 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7617 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7618 if (!SWIG_IsOK(res2
)) {
7619 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7621 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7623 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7624 if (!SWIG_IsOK(ecode3
)) {
7625 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7627 arg3
= static_cast< int >(val3
);
7631 arg4
= wxString_in_helper(obj3
);
7632 if (arg4
== NULL
) SWIG_fail
;
7639 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7645 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7649 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7650 if (!SWIG_IsOK(ecode7
)) {
7651 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7653 arg7
= static_cast< long >(val7
);
7657 arg8
= wxString_in_helper(obj7
);
7658 if (arg8
== NULL
) SWIG_fail
;
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7664 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7693 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7694 PyObject
*resultobj
= 0;
7695 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7696 SwigValueWrapper
<wxVisualAttributes
> result
;
7699 PyObject
* obj0
= 0 ;
7700 char * kwnames
[] = {
7701 (char *) "variant", NULL
7704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7706 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7707 if (!SWIG_IsOK(ecode1
)) {
7708 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7710 arg1
= static_cast< wxWindowVariant
>(val1
);
7713 if (!wxPyCheckForApp()) SWIG_fail
;
7714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7715 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7716 wxPyEndAllowThreads(__tstate
);
7717 if (PyErr_Occurred()) SWIG_fail
;
7719 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7726 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7728 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7729 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7730 return SWIG_Py_Void();
7733 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7734 return SWIG_Python_InitShadowInstance(args
);
7737 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7738 PyObject
*resultobj
= 0;
7739 wxWindow
*arg1
= (wxWindow
*) 0 ;
7740 int arg2
= (int) -1 ;
7741 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7742 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7743 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7744 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7745 long arg5
= (long) wxLI_HORIZONTAL
;
7746 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7747 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7748 wxStaticLine
*result
= 0 ;
7757 bool temp6
= false ;
7758 PyObject
* obj0
= 0 ;
7759 PyObject
* obj1
= 0 ;
7760 PyObject
* obj2
= 0 ;
7761 PyObject
* obj3
= 0 ;
7762 PyObject
* obj4
= 0 ;
7763 PyObject
* obj5
= 0 ;
7764 char * kwnames
[] = {
7765 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7770 if (!SWIG_IsOK(res1
)) {
7771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7773 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7775 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7776 if (!SWIG_IsOK(ecode2
)) {
7777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7779 arg2
= static_cast< int >(val2
);
7784 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7790 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7794 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7795 if (!SWIG_IsOK(ecode5
)) {
7796 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7798 arg5
= static_cast< long >(val5
);
7802 arg6
= wxString_in_helper(obj5
);
7803 if (arg6
== NULL
) SWIG_fail
;
7808 if (!wxPyCheckForApp()) SWIG_fail
;
7809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7810 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7811 wxPyEndAllowThreads(__tstate
);
7812 if (PyErr_Occurred()) SWIG_fail
;
7814 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7829 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7830 PyObject
*resultobj
= 0;
7831 wxStaticLine
*result
= 0 ;
7833 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7835 if (!wxPyCheckForApp()) SWIG_fail
;
7836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7837 result
= (wxStaticLine
*)new wxStaticLine();
7838 wxPyEndAllowThreads(__tstate
);
7839 if (PyErr_Occurred()) SWIG_fail
;
7841 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7848 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7849 PyObject
*resultobj
= 0;
7850 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7851 wxWindow
*arg2
= (wxWindow
*) 0 ;
7852 int arg3
= (int) -1 ;
7853 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7854 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7855 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7856 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7857 long arg6
= (long) wxLI_HORIZONTAL
;
7858 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7859 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7871 bool temp7
= false ;
7872 PyObject
* obj0
= 0 ;
7873 PyObject
* obj1
= 0 ;
7874 PyObject
* obj2
= 0 ;
7875 PyObject
* obj3
= 0 ;
7876 PyObject
* obj4
= 0 ;
7877 PyObject
* obj5
= 0 ;
7878 PyObject
* obj6
= 0 ;
7879 char * kwnames
[] = {
7880 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7885 if (!SWIG_IsOK(res1
)) {
7886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7888 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7889 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7890 if (!SWIG_IsOK(res2
)) {
7891 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7893 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7895 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7896 if (!SWIG_IsOK(ecode3
)) {
7897 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7899 arg3
= static_cast< int >(val3
);
7904 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7910 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7914 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7915 if (!SWIG_IsOK(ecode6
)) {
7916 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7918 arg6
= static_cast< long >(val6
);
7922 arg7
= wxString_in_helper(obj6
);
7923 if (arg7
== NULL
) SWIG_fail
;
7928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7929 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7930 wxPyEndAllowThreads(__tstate
);
7931 if (PyErr_Occurred()) SWIG_fail
;
7934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7950 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7951 PyObject
*resultobj
= 0;
7952 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7956 PyObject
*swig_obj
[1] ;
7958 if (!args
) SWIG_fail
;
7960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7961 if (!SWIG_IsOK(res1
)) {
7962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7964 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7967 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7968 wxPyEndAllowThreads(__tstate
);
7969 if (PyErr_Occurred()) SWIG_fail
;
7972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7980 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7981 PyObject
*resultobj
= 0;
7984 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
7986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7987 result
= (int)wxStaticLine::GetDefaultSize();
7988 wxPyEndAllowThreads(__tstate
);
7989 if (PyErr_Occurred()) SWIG_fail
;
7991 resultobj
= SWIG_From_int(static_cast< int >(result
));
7998 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7999 PyObject
*resultobj
= 0;
8000 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8001 SwigValueWrapper
<wxVisualAttributes
> result
;
8004 PyObject
* obj0
= 0 ;
8005 char * kwnames
[] = {
8006 (char *) "variant", NULL
8009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8011 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8012 if (!SWIG_IsOK(ecode1
)) {
8013 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8015 arg1
= static_cast< wxWindowVariant
>(val1
);
8018 if (!wxPyCheckForApp()) SWIG_fail
;
8019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8020 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8021 wxPyEndAllowThreads(__tstate
);
8022 if (PyErr_Occurred()) SWIG_fail
;
8024 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8031 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8033 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8034 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8035 return SWIG_Py_Void();
8038 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8039 return SWIG_Python_InitShadowInstance(args
);
8042 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8043 PyObject
*resultobj
= 0;
8044 wxWindow
*arg1
= (wxWindow
*) 0 ;
8045 int arg2
= (int) -1 ;
8046 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8047 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8048 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8049 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8050 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8051 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8052 long arg6
= (long) 0 ;
8053 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8054 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8055 wxStaticText
*result
= 0 ;
8060 bool temp3
= false ;
8065 bool temp7
= false ;
8066 PyObject
* obj0
= 0 ;
8067 PyObject
* obj1
= 0 ;
8068 PyObject
* obj2
= 0 ;
8069 PyObject
* obj3
= 0 ;
8070 PyObject
* obj4
= 0 ;
8071 PyObject
* obj5
= 0 ;
8072 PyObject
* obj6
= 0 ;
8073 char * kwnames
[] = {
8074 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8079 if (!SWIG_IsOK(res1
)) {
8080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8082 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8084 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8085 if (!SWIG_IsOK(ecode2
)) {
8086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8088 arg2
= static_cast< int >(val2
);
8092 arg3
= wxString_in_helper(obj2
);
8093 if (arg3
== NULL
) SWIG_fail
;
8100 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8106 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8110 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8111 if (!SWIG_IsOK(ecode6
)) {
8112 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8114 arg6
= static_cast< long >(val6
);
8118 arg7
= wxString_in_helper(obj6
);
8119 if (arg7
== NULL
) SWIG_fail
;
8124 if (!wxPyCheckForApp()) SWIG_fail
;
8125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8126 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8127 wxPyEndAllowThreads(__tstate
);
8128 if (PyErr_Occurred()) SWIG_fail
;
8130 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8153 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8154 PyObject
*resultobj
= 0;
8155 wxStaticText
*result
= 0 ;
8157 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8159 if (!wxPyCheckForApp()) SWIG_fail
;
8160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8161 result
= (wxStaticText
*)new wxStaticText();
8162 wxPyEndAllowThreads(__tstate
);
8163 if (PyErr_Occurred()) SWIG_fail
;
8165 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8172 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8173 PyObject
*resultobj
= 0;
8174 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8175 wxWindow
*arg2
= (wxWindow
*) 0 ;
8176 int arg3
= (int) -1 ;
8177 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8178 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8179 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8180 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8181 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8182 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8183 long arg7
= (long) 0 ;
8184 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8185 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8193 bool temp4
= false ;
8198 bool temp8
= false ;
8199 PyObject
* obj0
= 0 ;
8200 PyObject
* obj1
= 0 ;
8201 PyObject
* obj2
= 0 ;
8202 PyObject
* obj3
= 0 ;
8203 PyObject
* obj4
= 0 ;
8204 PyObject
* obj5
= 0 ;
8205 PyObject
* obj6
= 0 ;
8206 PyObject
* obj7
= 0 ;
8207 char * kwnames
[] = {
8208 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8213 if (!SWIG_IsOK(res1
)) {
8214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8216 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8217 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8218 if (!SWIG_IsOK(res2
)) {
8219 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8221 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8223 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8224 if (!SWIG_IsOK(ecode3
)) {
8225 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8227 arg3
= static_cast< int >(val3
);
8231 arg4
= wxString_in_helper(obj3
);
8232 if (arg4
== NULL
) SWIG_fail
;
8239 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8245 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8249 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8250 if (!SWIG_IsOK(ecode7
)) {
8251 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8253 arg7
= static_cast< long >(val7
);
8257 arg8
= wxString_in_helper(obj7
);
8258 if (arg8
== NULL
) SWIG_fail
;
8263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8264 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8265 wxPyEndAllowThreads(__tstate
);
8266 if (PyErr_Occurred()) SWIG_fail
;
8269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8293 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8294 PyObject
*resultobj
= 0;
8295 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8301 PyObject
* obj0
= 0 ;
8302 PyObject
* obj1
= 0 ;
8303 char * kwnames
[] = {
8304 (char *) "self",(char *) "width", NULL
8307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8309 if (!SWIG_IsOK(res1
)) {
8310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8312 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8313 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8314 if (!SWIG_IsOK(ecode2
)) {
8315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8317 arg2
= static_cast< int >(val2
);
8319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8321 wxPyEndAllowThreads(__tstate
);
8322 if (PyErr_Occurred()) SWIG_fail
;
8324 resultobj
= SWIG_Py_Void();
8331 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8332 PyObject
*resultobj
= 0;
8333 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8334 SwigValueWrapper
<wxVisualAttributes
> result
;
8337 PyObject
* obj0
= 0 ;
8338 char * kwnames
[] = {
8339 (char *) "variant", NULL
8342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8344 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8345 if (!SWIG_IsOK(ecode1
)) {
8346 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8348 arg1
= static_cast< wxWindowVariant
>(val1
);
8351 if (!wxPyCheckForApp()) SWIG_fail
;
8352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8353 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8354 wxPyEndAllowThreads(__tstate
);
8355 if (PyErr_Occurred()) SWIG_fail
;
8357 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8364 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8366 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8367 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8368 return SWIG_Py_Void();
8371 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8372 return SWIG_Python_InitShadowInstance(args
);
8375 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8376 PyObject
*resultobj
= 0;
8377 wxWindow
*arg1
= (wxWindow
*) 0 ;
8378 int arg2
= (int) -1 ;
8379 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8380 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8381 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8382 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8383 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8384 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8385 long arg6
= (long) 0 ;
8386 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8387 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8388 wxStaticBitmap
*result
= 0 ;
8399 bool temp7
= false ;
8400 PyObject
* obj0
= 0 ;
8401 PyObject
* obj1
= 0 ;
8402 PyObject
* obj2
= 0 ;
8403 PyObject
* obj3
= 0 ;
8404 PyObject
* obj4
= 0 ;
8405 PyObject
* obj5
= 0 ;
8406 PyObject
* obj6
= 0 ;
8407 char * kwnames
[] = {
8408 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8413 if (!SWIG_IsOK(res1
)) {
8414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8416 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8419 if (!SWIG_IsOK(ecode2
)) {
8420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8422 arg2
= static_cast< int >(val2
);
8425 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8426 if (!SWIG_IsOK(res3
)) {
8427 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8430 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8432 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8437 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8443 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8447 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8448 if (!SWIG_IsOK(ecode6
)) {
8449 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8451 arg6
= static_cast< long >(val6
);
8455 arg7
= wxString_in_helper(obj6
);
8456 if (arg7
== NULL
) SWIG_fail
;
8461 if (!wxPyCheckForApp()) SWIG_fail
;
8462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8463 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8464 wxPyEndAllowThreads(__tstate
);
8465 if (PyErr_Occurred()) SWIG_fail
;
8467 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8482 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8483 PyObject
*resultobj
= 0;
8484 wxStaticBitmap
*result
= 0 ;
8486 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8488 if (!wxPyCheckForApp()) SWIG_fail
;
8489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8490 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8491 wxPyEndAllowThreads(__tstate
);
8492 if (PyErr_Occurred()) SWIG_fail
;
8494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8501 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8502 PyObject
*resultobj
= 0;
8503 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8504 wxWindow
*arg2
= (wxWindow
*) 0 ;
8505 int arg3
= (int) -1 ;
8506 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8507 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8508 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8509 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8510 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8511 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8512 long arg7
= (long) 0 ;
8513 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8514 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8528 bool temp8
= false ;
8529 PyObject
* obj0
= 0 ;
8530 PyObject
* obj1
= 0 ;
8531 PyObject
* obj2
= 0 ;
8532 PyObject
* obj3
= 0 ;
8533 PyObject
* obj4
= 0 ;
8534 PyObject
* obj5
= 0 ;
8535 PyObject
* obj6
= 0 ;
8536 PyObject
* obj7
= 0 ;
8537 char * kwnames
[] = {
8538 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8543 if (!SWIG_IsOK(res1
)) {
8544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8546 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8547 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8548 if (!SWIG_IsOK(res2
)) {
8549 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8551 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8553 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8554 if (!SWIG_IsOK(ecode3
)) {
8555 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8557 arg3
= static_cast< int >(val3
);
8560 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8561 if (!SWIG_IsOK(res4
)) {
8562 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8565 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8567 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8572 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8578 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8582 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8583 if (!SWIG_IsOK(ecode7
)) {
8584 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8586 arg7
= static_cast< long >(val7
);
8590 arg8
= wxString_in_helper(obj7
);
8591 if (arg8
== NULL
) SWIG_fail
;
8596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8597 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8598 wxPyEndAllowThreads(__tstate
);
8599 if (PyErr_Occurred()) SWIG_fail
;
8602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8618 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8619 PyObject
*resultobj
= 0;
8620 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8624 PyObject
*swig_obj
[1] ;
8626 if (!args
) SWIG_fail
;
8628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8629 if (!SWIG_IsOK(res1
)) {
8630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8632 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8635 result
= (arg1
)->GetBitmap();
8636 wxPyEndAllowThreads(__tstate
);
8637 if (PyErr_Occurred()) SWIG_fail
;
8639 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8646 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8647 PyObject
*resultobj
= 0;
8648 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8649 wxBitmap
*arg2
= 0 ;
8654 PyObject
* obj0
= 0 ;
8655 PyObject
* obj1
= 0 ;
8656 char * kwnames
[] = {
8657 (char *) "self",(char *) "bitmap", NULL
8660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8662 if (!SWIG_IsOK(res1
)) {
8663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8665 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8666 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8667 if (!SWIG_IsOK(res2
)) {
8668 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8671 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8673 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8676 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8677 wxPyEndAllowThreads(__tstate
);
8678 if (PyErr_Occurred()) SWIG_fail
;
8680 resultobj
= SWIG_Py_Void();
8687 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8688 PyObject
*resultobj
= 0;
8689 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8695 PyObject
* obj0
= 0 ;
8696 PyObject
* obj1
= 0 ;
8697 char * kwnames
[] = {
8698 (char *) "self",(char *) "icon", NULL
8701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8703 if (!SWIG_IsOK(res1
)) {
8704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8706 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8707 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8708 if (!SWIG_IsOK(res2
)) {
8709 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8712 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8714 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8717 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8718 wxPyEndAllowThreads(__tstate
);
8719 if (PyErr_Occurred()) SWIG_fail
;
8721 resultobj
= SWIG_Py_Void();
8728 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8729 PyObject
*resultobj
= 0;
8730 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8731 SwigValueWrapper
<wxVisualAttributes
> result
;
8734 PyObject
* obj0
= 0 ;
8735 char * kwnames
[] = {
8736 (char *) "variant", NULL
8739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8741 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8742 if (!SWIG_IsOK(ecode1
)) {
8743 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8745 arg1
= static_cast< wxWindowVariant
>(val1
);
8748 if (!wxPyCheckForApp()) SWIG_fail
;
8749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8750 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8751 wxPyEndAllowThreads(__tstate
);
8752 if (PyErr_Occurred()) SWIG_fail
;
8754 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8761 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8763 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8764 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8765 return SWIG_Py_Void();
8768 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8769 return SWIG_Python_InitShadowInstance(args
);
8772 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8773 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8778 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8779 PyObject
*pyobj
= 0;
8783 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8785 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8792 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8793 PyObject
*resultobj
= 0;
8794 wxWindow
*arg1
= (wxWindow
*) 0 ;
8795 int arg2
= (int) -1 ;
8796 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8797 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8798 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8799 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8800 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8801 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8802 long arg6
= (long) 0 ;
8803 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8804 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8805 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8806 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8807 wxListBox
*result
= 0 ;
8814 bool temp5
= false ;
8819 bool temp8
= false ;
8820 PyObject
* obj0
= 0 ;
8821 PyObject
* obj1
= 0 ;
8822 PyObject
* obj2
= 0 ;
8823 PyObject
* obj3
= 0 ;
8824 PyObject
* obj4
= 0 ;
8825 PyObject
* obj5
= 0 ;
8826 PyObject
* obj6
= 0 ;
8827 PyObject
* obj7
= 0 ;
8828 char * kwnames
[] = {
8829 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8834 if (!SWIG_IsOK(res1
)) {
8835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8837 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8839 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8840 if (!SWIG_IsOK(ecode2
)) {
8841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8843 arg2
= static_cast< int >(val2
);
8848 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8854 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8859 if (! PySequence_Check(obj4
)) {
8860 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8863 arg5
= new wxArrayString
;
8865 int i
, len
=PySequence_Length(obj4
);
8866 for (i
=0; i
<len
; i
++) {
8867 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8868 wxString
* s
= wxString_in_helper(item
);
8869 if (PyErr_Occurred()) SWIG_fail
;
8877 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8878 if (!SWIG_IsOK(ecode6
)) {
8879 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8881 arg6
= static_cast< long >(val6
);
8884 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8885 if (!SWIG_IsOK(res7
)) {
8886 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8889 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8891 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8895 arg8
= wxString_in_helper(obj7
);
8896 if (arg8
== NULL
) SWIG_fail
;
8901 if (!wxPyCheckForApp()) SWIG_fail
;
8902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8903 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8909 if (temp5
) delete arg5
;
8918 if (temp5
) delete arg5
;
8928 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8929 PyObject
*resultobj
= 0;
8930 wxListBox
*result
= 0 ;
8932 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8934 if (!wxPyCheckForApp()) SWIG_fail
;
8935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8936 result
= (wxListBox
*)new wxListBox();
8937 wxPyEndAllowThreads(__tstate
);
8938 if (PyErr_Occurred()) SWIG_fail
;
8940 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8947 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8948 PyObject
*resultobj
= 0;
8949 wxListBox
*arg1
= (wxListBox
*) 0 ;
8950 wxWindow
*arg2
= (wxWindow
*) 0 ;
8951 int arg3
= (int) -1 ;
8952 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8953 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8954 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8955 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8956 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8957 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8958 long arg7
= (long) 0 ;
8959 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8960 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8961 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8962 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8972 bool temp6
= false ;
8977 bool temp9
= false ;
8978 PyObject
* obj0
= 0 ;
8979 PyObject
* obj1
= 0 ;
8980 PyObject
* obj2
= 0 ;
8981 PyObject
* obj3
= 0 ;
8982 PyObject
* obj4
= 0 ;
8983 PyObject
* obj5
= 0 ;
8984 PyObject
* obj6
= 0 ;
8985 PyObject
* obj7
= 0 ;
8986 PyObject
* obj8
= 0 ;
8987 char * kwnames
[] = {
8988 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
8992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
8993 if (!SWIG_IsOK(res1
)) {
8994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
8996 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
8997 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8998 if (!SWIG_IsOK(res2
)) {
8999 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9001 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9003 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9004 if (!SWIG_IsOK(ecode3
)) {
9005 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9007 arg3
= static_cast< int >(val3
);
9012 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9018 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9023 if (! PySequence_Check(obj5
)) {
9024 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9027 arg6
= new wxArrayString
;
9029 int i
, len
=PySequence_Length(obj5
);
9030 for (i
=0; i
<len
; i
++) {
9031 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9032 wxString
* s
= wxString_in_helper(item
);
9033 if (PyErr_Occurred()) SWIG_fail
;
9041 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9042 if (!SWIG_IsOK(ecode7
)) {
9043 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9045 arg7
= static_cast< long >(val7
);
9048 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9049 if (!SWIG_IsOK(res8
)) {
9050 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9053 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9055 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9059 arg9
= wxString_in_helper(obj8
);
9060 if (arg9
== NULL
) SWIG_fail
;
9065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9066 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9067 wxPyEndAllowThreads(__tstate
);
9068 if (PyErr_Occurred()) SWIG_fail
;
9071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9074 if (temp6
) delete arg6
;
9083 if (temp6
) delete arg6
;
9093 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9094 PyObject
*resultobj
= 0;
9095 wxListBox
*arg1
= (wxListBox
*) 0 ;
9096 wxString
*arg2
= 0 ;
9098 PyObject
*arg4
= (PyObject
*) NULL
;
9101 bool temp2
= false ;
9104 PyObject
* obj0
= 0 ;
9105 PyObject
* obj1
= 0 ;
9106 PyObject
* obj2
= 0 ;
9107 PyObject
* obj3
= 0 ;
9108 char * kwnames
[] = {
9109 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9114 if (!SWIG_IsOK(res1
)) {
9115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9117 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9119 arg2
= wxString_in_helper(obj1
);
9120 if (arg2
== NULL
) SWIG_fail
;
9123 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9124 if (!SWIG_IsOK(ecode3
)) {
9125 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9127 arg3
= static_cast< int >(val3
);
9132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9133 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9134 wxPyEndAllowThreads(__tstate
);
9135 if (PyErr_Occurred()) SWIG_fail
;
9137 resultobj
= SWIG_Py_Void();
9152 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9153 PyObject
*resultobj
= 0;
9154 wxListBox
*arg1
= (wxListBox
*) 0 ;
9155 wxArrayString
*arg2
= 0 ;
9159 bool temp2
= false ;
9162 PyObject
* obj0
= 0 ;
9163 PyObject
* obj1
= 0 ;
9164 PyObject
* obj2
= 0 ;
9165 char * kwnames
[] = {
9166 (char *) "self",(char *) "items",(char *) "pos", NULL
9169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9171 if (!SWIG_IsOK(res1
)) {
9172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9174 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9176 if (! PySequence_Check(obj1
)) {
9177 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9180 arg2
= new wxArrayString
;
9182 int i
, len
=PySequence_Length(obj1
);
9183 for (i
=0; i
<len
; i
++) {
9184 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9185 wxString
* s
= wxString_in_helper(item
);
9186 if (PyErr_Occurred()) SWIG_fail
;
9192 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9193 if (!SWIG_IsOK(ecode3
)) {
9194 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9196 arg3
= static_cast< unsigned int >(val3
);
9198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9199 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9200 wxPyEndAllowThreads(__tstate
);
9201 if (PyErr_Occurred()) SWIG_fail
;
9203 resultobj
= SWIG_Py_Void();
9205 if (temp2
) delete arg2
;
9210 if (temp2
) delete arg2
;
9216 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9217 PyObject
*resultobj
= 0;
9218 wxListBox
*arg1
= (wxListBox
*) 0 ;
9219 wxArrayString
*arg2
= 0 ;
9222 bool temp2
= false ;
9223 PyObject
* obj0
= 0 ;
9224 PyObject
* obj1
= 0 ;
9225 char * kwnames
[] = {
9226 (char *) "self",(char *) "items", NULL
9229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9231 if (!SWIG_IsOK(res1
)) {
9232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9234 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9236 if (! PySequence_Check(obj1
)) {
9237 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9240 arg2
= new wxArrayString
;
9242 int i
, len
=PySequence_Length(obj1
);
9243 for (i
=0; i
<len
; i
++) {
9244 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9245 wxString
* s
= wxString_in_helper(item
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9254 (arg1
)->Set((wxArrayString
const &)*arg2
);
9255 wxPyEndAllowThreads(__tstate
);
9256 if (PyErr_Occurred()) SWIG_fail
;
9258 resultobj
= SWIG_Py_Void();
9260 if (temp2
) delete arg2
;
9265 if (temp2
) delete arg2
;
9271 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9272 PyObject
*resultobj
= 0;
9273 wxListBox
*arg1
= (wxListBox
*) 0 ;
9280 PyObject
* obj0
= 0 ;
9281 PyObject
* obj1
= 0 ;
9282 char * kwnames
[] = {
9283 (char *) "self",(char *) "n", NULL
9286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9288 if (!SWIG_IsOK(res1
)) {
9289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9291 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9293 if (!SWIG_IsOK(ecode2
)) {
9294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9296 arg2
= static_cast< int >(val2
);
9298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9299 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9300 wxPyEndAllowThreads(__tstate
);
9301 if (PyErr_Occurred()) SWIG_fail
;
9304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9312 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9313 PyObject
*resultobj
= 0;
9314 wxListBox
*arg1
= (wxListBox
*) 0 ;
9316 bool arg3
= (bool) true ;
9323 PyObject
* obj0
= 0 ;
9324 PyObject
* obj1
= 0 ;
9325 PyObject
* obj2
= 0 ;
9326 char * kwnames
[] = {
9327 (char *) "self",(char *) "n",(char *) "select", NULL
9330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9332 if (!SWIG_IsOK(res1
)) {
9333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9335 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9336 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9337 if (!SWIG_IsOK(ecode2
)) {
9338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9340 arg2
= static_cast< int >(val2
);
9342 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9343 if (!SWIG_IsOK(ecode3
)) {
9344 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9346 arg3
= static_cast< bool >(val3
);
9349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9350 (arg1
)->SetSelection(arg2
,arg3
);
9351 wxPyEndAllowThreads(__tstate
);
9352 if (PyErr_Occurred()) SWIG_fail
;
9354 resultobj
= SWIG_Py_Void();
9361 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9362 PyObject
*resultobj
= 0;
9363 wxListBox
*arg1
= (wxListBox
*) 0 ;
9369 PyObject
* obj0
= 0 ;
9370 PyObject
* obj1
= 0 ;
9371 char * kwnames
[] = {
9372 (char *) "self",(char *) "n", NULL
9375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9377 if (!SWIG_IsOK(res1
)) {
9378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9380 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9381 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9382 if (!SWIG_IsOK(ecode2
)) {
9383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9385 arg2
= static_cast< int >(val2
);
9387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9388 (arg1
)->Select(arg2
);
9389 wxPyEndAllowThreads(__tstate
);
9390 if (PyErr_Occurred()) SWIG_fail
;
9392 resultobj
= SWIG_Py_Void();
9399 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9400 PyObject
*resultobj
= 0;
9401 wxListBox
*arg1
= (wxListBox
*) 0 ;
9407 PyObject
* obj0
= 0 ;
9408 PyObject
* obj1
= 0 ;
9409 char * kwnames
[] = {
9410 (char *) "self",(char *) "n", NULL
9413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9415 if (!SWIG_IsOK(res1
)) {
9416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9418 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9420 if (!SWIG_IsOK(ecode2
)) {
9421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9423 arg2
= static_cast< int >(val2
);
9425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9426 (arg1
)->Deselect(arg2
);
9427 wxPyEndAllowThreads(__tstate
);
9428 if (PyErr_Occurred()) SWIG_fail
;
9430 resultobj
= SWIG_Py_Void();
9437 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9438 PyObject
*resultobj
= 0;
9439 wxListBox
*arg1
= (wxListBox
*) 0 ;
9440 int arg2
= (int) -1 ;
9445 PyObject
* obj0
= 0 ;
9446 PyObject
* obj1
= 0 ;
9447 char * kwnames
[] = {
9448 (char *) "self",(char *) "itemToLeaveSelected", NULL
9451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9453 if (!SWIG_IsOK(res1
)) {
9454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9456 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9459 if (!SWIG_IsOK(ecode2
)) {
9460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9462 arg2
= static_cast< int >(val2
);
9465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9466 (arg1
)->DeselectAll(arg2
);
9467 wxPyEndAllowThreads(__tstate
);
9468 if (PyErr_Occurred()) SWIG_fail
;
9470 resultobj
= SWIG_Py_Void();
9477 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9478 PyObject
*resultobj
= 0;
9479 wxListBox
*arg1
= (wxListBox
*) 0 ;
9480 wxString
*arg2
= 0 ;
9481 bool arg3
= (bool) true ;
9485 bool temp2
= false ;
9488 PyObject
* obj0
= 0 ;
9489 PyObject
* obj1
= 0 ;
9490 PyObject
* obj2
= 0 ;
9491 char * kwnames
[] = {
9492 (char *) "self",(char *) "s",(char *) "select", NULL
9495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9497 if (!SWIG_IsOK(res1
)) {
9498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9500 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9502 arg2
= wxString_in_helper(obj1
);
9503 if (arg2
== NULL
) SWIG_fail
;
9507 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9508 if (!SWIG_IsOK(ecode3
)) {
9509 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9511 arg3
= static_cast< bool >(val3
);
9514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9515 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9516 wxPyEndAllowThreads(__tstate
);
9517 if (PyErr_Occurred()) SWIG_fail
;
9520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9536 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9537 PyObject
*resultobj
= 0;
9538 wxListBox
*arg1
= (wxListBox
*) 0 ;
9539 PyObject
*result
= 0 ;
9542 PyObject
*swig_obj
[1] ;
9544 if (!args
) SWIG_fail
;
9546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9547 if (!SWIG_IsOK(res1
)) {
9548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9550 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9553 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9554 wxPyEndAllowThreads(__tstate
);
9555 if (PyErr_Occurred()) SWIG_fail
;
9564 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9565 PyObject
*resultobj
= 0;
9566 wxListBox
*arg1
= (wxListBox
*) 0 ;
9572 PyObject
* obj0
= 0 ;
9573 PyObject
* obj1
= 0 ;
9574 char * kwnames
[] = {
9575 (char *) "self",(char *) "n", NULL
9578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9580 if (!SWIG_IsOK(res1
)) {
9581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9583 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9585 if (!SWIG_IsOK(ecode2
)) {
9586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9588 arg2
= static_cast< int >(val2
);
9590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9591 (arg1
)->SetFirstItem(arg2
);
9592 wxPyEndAllowThreads(__tstate
);
9593 if (PyErr_Occurred()) SWIG_fail
;
9595 resultobj
= SWIG_Py_Void();
9602 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9603 PyObject
*resultobj
= 0;
9604 wxListBox
*arg1
= (wxListBox
*) 0 ;
9605 wxString
*arg2
= 0 ;
9608 bool temp2
= false ;
9609 PyObject
* obj0
= 0 ;
9610 PyObject
* obj1
= 0 ;
9611 char * kwnames
[] = {
9612 (char *) "self",(char *) "s", NULL
9615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9617 if (!SWIG_IsOK(res1
)) {
9618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9620 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9622 arg2
= wxString_in_helper(obj1
);
9623 if (arg2
== NULL
) SWIG_fail
;
9627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9628 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9629 wxPyEndAllowThreads(__tstate
);
9630 if (PyErr_Occurred()) SWIG_fail
;
9632 resultobj
= SWIG_Py_Void();
9647 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9648 PyObject
*resultobj
= 0;
9649 wxListBox
*arg1
= (wxListBox
*) 0 ;
9655 PyObject
* obj0
= 0 ;
9656 PyObject
* obj1
= 0 ;
9657 char * kwnames
[] = {
9658 (char *) "self",(char *) "n", NULL
9661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9663 if (!SWIG_IsOK(res1
)) {
9664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9666 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9667 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9668 if (!SWIG_IsOK(ecode2
)) {
9669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9671 arg2
= static_cast< int >(val2
);
9673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9674 (arg1
)->EnsureVisible(arg2
);
9675 wxPyEndAllowThreads(__tstate
);
9676 if (PyErr_Occurred()) SWIG_fail
;
9678 resultobj
= SWIG_Py_Void();
9685 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9686 PyObject
*resultobj
= 0;
9687 wxListBox
*arg1
= (wxListBox
*) 0 ;
9688 wxString
*arg2
= 0 ;
9691 bool temp2
= false ;
9692 PyObject
* obj0
= 0 ;
9693 PyObject
* obj1
= 0 ;
9694 char * kwnames
[] = {
9695 (char *) "self",(char *) "s", NULL
9698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9700 if (!SWIG_IsOK(res1
)) {
9701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9703 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9705 arg2
= wxString_in_helper(obj1
);
9706 if (arg2
== NULL
) SWIG_fail
;
9710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9711 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9712 wxPyEndAllowThreads(__tstate
);
9713 if (PyErr_Occurred()) SWIG_fail
;
9715 resultobj
= SWIG_Py_Void();
9730 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9731 PyObject
*resultobj
= 0;
9732 wxListBox
*arg1
= (wxListBox
*) 0 ;
9736 PyObject
*swig_obj
[1] ;
9738 if (!args
) SWIG_fail
;
9740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9741 if (!SWIG_IsOK(res1
)) {
9742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9744 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9747 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9748 wxPyEndAllowThreads(__tstate
);
9749 if (PyErr_Occurred()) SWIG_fail
;
9752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9760 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9761 PyObject
*resultobj
= 0;
9762 wxListBox
*arg1
= (wxListBox
*) 0 ;
9768 PyObject
* obj0
= 0 ;
9769 PyObject
* obj1
= 0 ;
9770 char * kwnames
[] = {
9771 (char *) "self",(char *) "pt", NULL
9774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9776 if (!SWIG_IsOK(res1
)) {
9777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9779 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9782 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9786 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9787 wxPyEndAllowThreads(__tstate
);
9788 if (PyErr_Occurred()) SWIG_fail
;
9790 resultobj
= SWIG_From_int(static_cast< int >(result
));
9797 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9798 PyObject
*resultobj
= 0;
9799 wxListBox
*arg1
= (wxListBox
*) 0 ;
9801 wxColour
*arg3
= 0 ;
9807 PyObject
* obj0
= 0 ;
9808 PyObject
* obj1
= 0 ;
9809 PyObject
* obj2
= 0 ;
9810 char * kwnames
[] = {
9811 (char *) "self",(char *) "item",(char *) "c", NULL
9814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9816 if (!SWIG_IsOK(res1
)) {
9817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9819 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9820 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9821 if (!SWIG_IsOK(ecode2
)) {
9822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9824 arg2
= static_cast< int >(val2
);
9827 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9831 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9832 wxPyEndAllowThreads(__tstate
);
9833 if (PyErr_Occurred()) SWIG_fail
;
9835 resultobj
= SWIG_Py_Void();
9842 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9843 PyObject
*resultobj
= 0;
9844 wxListBox
*arg1
= (wxListBox
*) 0 ;
9846 wxColour
*arg3
= 0 ;
9852 PyObject
* obj0
= 0 ;
9853 PyObject
* obj1
= 0 ;
9854 PyObject
* obj2
= 0 ;
9855 char * kwnames
[] = {
9856 (char *) "self",(char *) "item",(char *) "c", NULL
9859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9861 if (!SWIG_IsOK(res1
)) {
9862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9864 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9866 if (!SWIG_IsOK(ecode2
)) {
9867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9869 arg2
= static_cast< int >(val2
);
9872 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9876 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9877 wxPyEndAllowThreads(__tstate
);
9878 if (PyErr_Occurred()) SWIG_fail
;
9880 resultobj
= SWIG_Py_Void();
9887 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9888 PyObject
*resultobj
= 0;
9889 wxListBox
*arg1
= (wxListBox
*) 0 ;
9898 PyObject
* obj0
= 0 ;
9899 PyObject
* obj1
= 0 ;
9900 PyObject
* obj2
= 0 ;
9901 char * kwnames
[] = {
9902 (char *) "self",(char *) "item",(char *) "f", NULL
9905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9907 if (!SWIG_IsOK(res1
)) {
9908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9910 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9911 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9912 if (!SWIG_IsOK(ecode2
)) {
9913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9915 arg2
= static_cast< int >(val2
);
9916 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9917 if (!SWIG_IsOK(res3
)) {
9918 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9921 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9923 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9926 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9927 wxPyEndAllowThreads(__tstate
);
9928 if (PyErr_Occurred()) SWIG_fail
;
9930 resultobj
= SWIG_Py_Void();
9937 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9938 PyObject
*resultobj
= 0;
9939 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9940 SwigValueWrapper
<wxVisualAttributes
> result
;
9943 PyObject
* obj0
= 0 ;
9944 char * kwnames
[] = {
9945 (char *) "variant", NULL
9948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9950 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9951 if (!SWIG_IsOK(ecode1
)) {
9952 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9954 arg1
= static_cast< wxWindowVariant
>(val1
);
9957 if (!wxPyCheckForApp()) SWIG_fail
;
9958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9959 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9960 wxPyEndAllowThreads(__tstate
);
9961 if (PyErr_Occurred()) SWIG_fail
;
9963 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9970 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9972 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9973 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9974 return SWIG_Py_Void();
9977 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9978 return SWIG_Python_InitShadowInstance(args
);
9981 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9982 PyObject
*resultobj
= 0;
9983 wxWindow
*arg1
= (wxWindow
*) 0 ;
9984 int arg2
= (int) -1 ;
9985 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9986 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9987 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9988 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9989 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
9990 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
9991 long arg6
= (long) 0 ;
9992 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9993 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9994 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
9995 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9996 wxCheckListBox
*result
= 0 ;
10003 bool temp5
= false ;
10008 bool temp8
= false ;
10009 PyObject
* obj0
= 0 ;
10010 PyObject
* obj1
= 0 ;
10011 PyObject
* obj2
= 0 ;
10012 PyObject
* obj3
= 0 ;
10013 PyObject
* obj4
= 0 ;
10014 PyObject
* obj5
= 0 ;
10015 PyObject
* obj6
= 0 ;
10016 PyObject
* obj7
= 0 ;
10017 char * kwnames
[] = {
10018 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10023 if (!SWIG_IsOK(res1
)) {
10024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10026 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10029 if (!SWIG_IsOK(ecode2
)) {
10030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10032 arg2
= static_cast< int >(val2
);
10037 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10043 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10048 if (! PySequence_Check(obj4
)) {
10049 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10052 arg5
= new wxArrayString
;
10054 int i
, len
=PySequence_Length(obj4
);
10055 for (i
=0; i
<len
; i
++) {
10056 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10057 wxString
* s
= wxString_in_helper(item
);
10058 if (PyErr_Occurred()) SWIG_fail
;
10066 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10067 if (!SWIG_IsOK(ecode6
)) {
10068 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10070 arg6
= static_cast< long >(val6
);
10073 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10074 if (!SWIG_IsOK(res7
)) {
10075 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10078 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10080 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10084 arg8
= wxString_in_helper(obj7
);
10085 if (arg8
== NULL
) SWIG_fail
;
10090 if (!wxPyCheckForApp()) SWIG_fail
;
10091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10092 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10093 wxPyEndAllowThreads(__tstate
);
10094 if (PyErr_Occurred()) SWIG_fail
;
10096 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10098 if (temp5
) delete arg5
;
10107 if (temp5
) delete arg5
;
10117 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10118 PyObject
*resultobj
= 0;
10119 wxCheckListBox
*result
= 0 ;
10121 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10123 if (!wxPyCheckForApp()) SWIG_fail
;
10124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10125 result
= (wxCheckListBox
*)new wxCheckListBox();
10126 wxPyEndAllowThreads(__tstate
);
10127 if (PyErr_Occurred()) SWIG_fail
;
10129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10136 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10137 PyObject
*resultobj
= 0;
10138 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10139 wxWindow
*arg2
= (wxWindow
*) 0 ;
10140 int arg3
= (int) -1 ;
10141 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10142 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10143 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10144 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10145 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10146 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10147 long arg7
= (long) 0 ;
10148 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10149 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10150 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10151 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10161 bool temp6
= false ;
10166 bool temp9
= false ;
10167 PyObject
* obj0
= 0 ;
10168 PyObject
* obj1
= 0 ;
10169 PyObject
* obj2
= 0 ;
10170 PyObject
* obj3
= 0 ;
10171 PyObject
* obj4
= 0 ;
10172 PyObject
* obj5
= 0 ;
10173 PyObject
* obj6
= 0 ;
10174 PyObject
* obj7
= 0 ;
10175 PyObject
* obj8
= 0 ;
10176 char * kwnames
[] = {
10177 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10182 if (!SWIG_IsOK(res1
)) {
10183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10185 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10186 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10187 if (!SWIG_IsOK(res2
)) {
10188 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10190 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10192 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10193 if (!SWIG_IsOK(ecode3
)) {
10194 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10196 arg3
= static_cast< int >(val3
);
10201 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10207 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10212 if (! PySequence_Check(obj5
)) {
10213 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10216 arg6
= new wxArrayString
;
10218 int i
, len
=PySequence_Length(obj5
);
10219 for (i
=0; i
<len
; i
++) {
10220 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10221 wxString
* s
= wxString_in_helper(item
);
10222 if (PyErr_Occurred()) SWIG_fail
;
10230 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10231 if (!SWIG_IsOK(ecode7
)) {
10232 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10234 arg7
= static_cast< long >(val7
);
10237 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10238 if (!SWIG_IsOK(res8
)) {
10239 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10242 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10244 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10248 arg9
= wxString_in_helper(obj8
);
10249 if (arg9
== NULL
) SWIG_fail
;
10254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10255 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10256 wxPyEndAllowThreads(__tstate
);
10257 if (PyErr_Occurred()) SWIG_fail
;
10260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10263 if (temp6
) delete arg6
;
10272 if (temp6
) delete arg6
;
10282 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10283 PyObject
*resultobj
= 0;
10284 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10285 unsigned int arg2
;
10289 unsigned int val2
;
10291 PyObject
* obj0
= 0 ;
10292 PyObject
* obj1
= 0 ;
10293 char * kwnames
[] = {
10294 (char *) "self",(char *) "index", NULL
10297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10299 if (!SWIG_IsOK(res1
)) {
10300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10302 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10303 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10304 if (!SWIG_IsOK(ecode2
)) {
10305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10307 arg2
= static_cast< unsigned int >(val2
);
10309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10310 result
= (bool)(arg1
)->IsChecked(arg2
);
10311 wxPyEndAllowThreads(__tstate
);
10312 if (PyErr_Occurred()) SWIG_fail
;
10315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10323 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10324 PyObject
*resultobj
= 0;
10325 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10326 unsigned int arg2
;
10327 int arg3
= (int) true ;
10330 unsigned int val2
;
10334 PyObject
* obj0
= 0 ;
10335 PyObject
* obj1
= 0 ;
10336 PyObject
* obj2
= 0 ;
10337 char * kwnames
[] = {
10338 (char *) "self",(char *) "index",(char *) "check", NULL
10341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10343 if (!SWIG_IsOK(res1
)) {
10344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10346 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10347 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10348 if (!SWIG_IsOK(ecode2
)) {
10349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10351 arg2
= static_cast< unsigned int >(val2
);
10353 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10354 if (!SWIG_IsOK(ecode3
)) {
10355 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10357 arg3
= static_cast< int >(val3
);
10360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10361 (arg1
)->Check(arg2
,arg3
);
10362 wxPyEndAllowThreads(__tstate
);
10363 if (PyErr_Occurred()) SWIG_fail
;
10365 resultobj
= SWIG_Py_Void();
10372 SWIGINTERN PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10373 PyObject
*resultobj
= 0;
10374 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10378 PyObject
*swig_obj
[1] ;
10380 if (!args
) SWIG_fail
;
10381 swig_obj
[0] = args
;
10382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10383 if (!SWIG_IsOK(res1
)) {
10384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10386 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10389 result
= (int)(arg1
)->GetItemHeight();
10390 wxPyEndAllowThreads(__tstate
);
10391 if (PyErr_Occurred()) SWIG_fail
;
10393 resultobj
= SWIG_From_int(static_cast< int >(result
));
10400 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10402 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10403 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10404 return SWIG_Py_Void();
10407 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10408 return SWIG_Python_InitShadowInstance(args
);
10411 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10412 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10417 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10418 PyObject
*pyobj
= 0;
10422 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10424 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10431 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10432 PyObject
*resultobj
= 0;
10433 wxColour
const &arg1_defvalue
= wxNullColour
;
10434 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10435 wxColour
const &arg2_defvalue
= wxNullColour
;
10436 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10437 wxFont
const &arg3_defvalue
= wxNullFont
;
10438 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10439 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10440 wxTextAttr
*result
= 0 ;
10447 PyObject
* obj0
= 0 ;
10448 PyObject
* obj1
= 0 ;
10449 PyObject
* obj2
= 0 ;
10450 PyObject
* obj3
= 0 ;
10451 char * kwnames
[] = {
10452 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10459 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10465 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10469 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10470 if (!SWIG_IsOK(res3
)) {
10471 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10474 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10476 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10479 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10480 if (!SWIG_IsOK(ecode4
)) {
10481 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10483 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10487 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10488 wxPyEndAllowThreads(__tstate
);
10489 if (PyErr_Occurred()) SWIG_fail
;
10491 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10498 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10499 PyObject
*resultobj
= 0;
10500 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10503 PyObject
*swig_obj
[1] ;
10505 if (!args
) SWIG_fail
;
10506 swig_obj
[0] = args
;
10507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10508 if (!SWIG_IsOK(res1
)) {
10509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10511 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10516 wxPyEndAllowThreads(__tstate
);
10517 if (PyErr_Occurred()) SWIG_fail
;
10519 resultobj
= SWIG_Py_Void();
10526 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10527 PyObject
*resultobj
= 0;
10528 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10531 PyObject
*swig_obj
[1] ;
10533 if (!args
) SWIG_fail
;
10534 swig_obj
[0] = args
;
10535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10536 if (!SWIG_IsOK(res1
)) {
10537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10539 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10543 wxPyEndAllowThreads(__tstate
);
10544 if (PyErr_Occurred()) SWIG_fail
;
10546 resultobj
= SWIG_Py_Void();
10553 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10554 PyObject
*resultobj
= 0;
10555 wxTextAttr
*arg1
= 0 ;
10556 wxTextAttr
*arg2
= 0 ;
10562 PyObject
* obj0
= 0 ;
10563 PyObject
* obj1
= 0 ;
10564 char * kwnames
[] = {
10565 (char *) "base",(char *) "overlay", NULL
10568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10569 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10570 if (!SWIG_IsOK(res1
)) {
10571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10574 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10576 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10577 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10578 if (!SWIG_IsOK(res2
)) {
10579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10584 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10587 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10588 wxPyEndAllowThreads(__tstate
);
10589 if (PyErr_Occurred()) SWIG_fail
;
10591 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10598 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10599 PyObject
*resultobj
= 0;
10600 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10601 wxColour
*arg2
= 0 ;
10605 PyObject
* obj0
= 0 ;
10606 PyObject
* obj1
= 0 ;
10607 char * kwnames
[] = {
10608 (char *) "self",(char *) "colText", NULL
10611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10613 if (!SWIG_IsOK(res1
)) {
10614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10616 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10619 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10623 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10624 wxPyEndAllowThreads(__tstate
);
10625 if (PyErr_Occurred()) SWIG_fail
;
10627 resultobj
= SWIG_Py_Void();
10634 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10635 PyObject
*resultobj
= 0;
10636 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10637 wxColour
*arg2
= 0 ;
10641 PyObject
* obj0
= 0 ;
10642 PyObject
* obj1
= 0 ;
10643 char * kwnames
[] = {
10644 (char *) "self",(char *) "colBack", NULL
10647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10649 if (!SWIG_IsOK(res1
)) {
10650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10652 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10655 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10659 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10660 wxPyEndAllowThreads(__tstate
);
10661 if (PyErr_Occurred()) SWIG_fail
;
10663 resultobj
= SWIG_Py_Void();
10670 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10671 PyObject
*resultobj
= 0;
10672 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10674 long arg3
= (long) wxTEXT_ATTR_FONT
;
10681 PyObject
* obj0
= 0 ;
10682 PyObject
* obj1
= 0 ;
10683 PyObject
* obj2
= 0 ;
10684 char * kwnames
[] = {
10685 (char *) "self",(char *) "font",(char *) "flags", NULL
10688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10690 if (!SWIG_IsOK(res1
)) {
10691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10693 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10694 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10695 if (!SWIG_IsOK(res2
)) {
10696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10699 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10701 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10703 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10704 if (!SWIG_IsOK(ecode3
)) {
10705 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10707 arg3
= static_cast< long >(val3
);
10710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10711 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10712 wxPyEndAllowThreads(__tstate
);
10713 if (PyErr_Occurred()) SWIG_fail
;
10715 resultobj
= SWIG_Py_Void();
10722 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10723 PyObject
*resultobj
= 0;
10724 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10725 wxTextAttrAlignment arg2
;
10730 PyObject
* obj0
= 0 ;
10731 PyObject
* obj1
= 0 ;
10732 char * kwnames
[] = {
10733 (char *) "self",(char *) "alignment", NULL
10736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10738 if (!SWIG_IsOK(res1
)) {
10739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10741 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10742 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10743 if (!SWIG_IsOK(ecode2
)) {
10744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10746 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10749 (arg1
)->SetAlignment(arg2
);
10750 wxPyEndAllowThreads(__tstate
);
10751 if (PyErr_Occurred()) SWIG_fail
;
10753 resultobj
= SWIG_Py_Void();
10760 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10761 PyObject
*resultobj
= 0;
10762 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10763 wxArrayInt
*arg2
= 0 ;
10766 bool temp2
= false ;
10767 PyObject
* obj0
= 0 ;
10768 PyObject
* obj1
= 0 ;
10769 char * kwnames
[] = {
10770 (char *) "self",(char *) "tabs", NULL
10773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10775 if (!SWIG_IsOK(res1
)) {
10776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10778 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10780 if (! PySequence_Check(obj1
)) {
10781 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10784 arg2
= new wxArrayInt
;
10786 int i
, len
=PySequence_Length(obj1
);
10787 for (i
=0; i
<len
; i
++) {
10788 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10789 PyObject
* number
= PyNumber_Int(item
);
10790 arg2
->Add(PyInt_AS_LONG(number
));
10796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10797 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10798 wxPyEndAllowThreads(__tstate
);
10799 if (PyErr_Occurred()) SWIG_fail
;
10801 resultobj
= SWIG_Py_Void();
10803 if (temp2
) delete arg2
;
10808 if (temp2
) delete arg2
;
10814 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10815 PyObject
*resultobj
= 0;
10816 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10818 int arg3
= (int) 0 ;
10825 PyObject
* obj0
= 0 ;
10826 PyObject
* obj1
= 0 ;
10827 PyObject
* obj2
= 0 ;
10828 char * kwnames
[] = {
10829 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10834 if (!SWIG_IsOK(res1
)) {
10835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10837 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10838 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10839 if (!SWIG_IsOK(ecode2
)) {
10840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10842 arg2
= static_cast< int >(val2
);
10844 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10845 if (!SWIG_IsOK(ecode3
)) {
10846 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10848 arg3
= static_cast< int >(val3
);
10851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10852 (arg1
)->SetLeftIndent(arg2
,arg3
);
10853 wxPyEndAllowThreads(__tstate
);
10854 if (PyErr_Occurred()) SWIG_fail
;
10856 resultobj
= SWIG_Py_Void();
10863 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10864 PyObject
*resultobj
= 0;
10865 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10871 PyObject
* obj0
= 0 ;
10872 PyObject
* obj1
= 0 ;
10873 char * kwnames
[] = {
10874 (char *) "self",(char *) "indent", NULL
10877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10879 if (!SWIG_IsOK(res1
)) {
10880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10882 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10883 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10884 if (!SWIG_IsOK(ecode2
)) {
10885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10887 arg2
= static_cast< int >(val2
);
10889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10890 (arg1
)->SetRightIndent(arg2
);
10891 wxPyEndAllowThreads(__tstate
);
10892 if (PyErr_Occurred()) SWIG_fail
;
10894 resultobj
= SWIG_Py_Void();
10901 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10902 PyObject
*resultobj
= 0;
10903 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10909 PyObject
* obj0
= 0 ;
10910 PyObject
* obj1
= 0 ;
10911 char * kwnames
[] = {
10912 (char *) "self",(char *) "flags", NULL
10915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10917 if (!SWIG_IsOK(res1
)) {
10918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10920 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10921 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10922 if (!SWIG_IsOK(ecode2
)) {
10923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10925 arg2
= static_cast< long >(val2
);
10927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10928 (arg1
)->SetFlags(arg2
);
10929 wxPyEndAllowThreads(__tstate
);
10930 if (PyErr_Occurred()) SWIG_fail
;
10932 resultobj
= SWIG_Py_Void();
10939 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10940 PyObject
*resultobj
= 0;
10941 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10945 PyObject
*swig_obj
[1] ;
10947 if (!args
) SWIG_fail
;
10948 swig_obj
[0] = args
;
10949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10950 if (!SWIG_IsOK(res1
)) {
10951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10953 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10956 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10957 wxPyEndAllowThreads(__tstate
);
10958 if (PyErr_Occurred()) SWIG_fail
;
10961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10969 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10970 PyObject
*resultobj
= 0;
10971 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10975 PyObject
*swig_obj
[1] ;
10977 if (!args
) SWIG_fail
;
10978 swig_obj
[0] = args
;
10979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10980 if (!SWIG_IsOK(res1
)) {
10981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10983 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10986 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
10987 wxPyEndAllowThreads(__tstate
);
10988 if (PyErr_Occurred()) SWIG_fail
;
10991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10999 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11000 PyObject
*resultobj
= 0;
11001 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11005 PyObject
*swig_obj
[1] ;
11007 if (!args
) SWIG_fail
;
11008 swig_obj
[0] = args
;
11009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11010 if (!SWIG_IsOK(res1
)) {
11011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11013 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11016 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
11017 wxPyEndAllowThreads(__tstate
);
11018 if (PyErr_Occurred()) SWIG_fail
;
11021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11029 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11030 PyObject
*resultobj
= 0;
11031 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11035 PyObject
*swig_obj
[1] ;
11037 if (!args
) SWIG_fail
;
11038 swig_obj
[0] = args
;
11039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11040 if (!SWIG_IsOK(res1
)) {
11041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11043 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11046 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11047 wxPyEndAllowThreads(__tstate
);
11048 if (PyErr_Occurred()) SWIG_fail
;
11051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11059 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11060 PyObject
*resultobj
= 0;
11061 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11065 PyObject
*swig_obj
[1] ;
11067 if (!args
) SWIG_fail
;
11068 swig_obj
[0] = args
;
11069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11070 if (!SWIG_IsOK(res1
)) {
11071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11073 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11076 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11077 wxPyEndAllowThreads(__tstate
);
11078 if (PyErr_Occurred()) SWIG_fail
;
11081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11089 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11090 PyObject
*resultobj
= 0;
11091 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11095 PyObject
*swig_obj
[1] ;
11097 if (!args
) SWIG_fail
;
11098 swig_obj
[0] = args
;
11099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11100 if (!SWIG_IsOK(res1
)) {
11101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11103 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11106 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11107 wxPyEndAllowThreads(__tstate
);
11108 if (PyErr_Occurred()) SWIG_fail
;
11111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11119 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11120 PyObject
*resultobj
= 0;
11121 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11125 PyObject
*swig_obj
[1] ;
11127 if (!args
) SWIG_fail
;
11128 swig_obj
[0] = args
;
11129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11130 if (!SWIG_IsOK(res1
)) {
11131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11133 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11136 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11137 wxPyEndAllowThreads(__tstate
);
11138 if (PyErr_Occurred()) SWIG_fail
;
11141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11149 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11150 PyObject
*resultobj
= 0;
11151 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11158 PyObject
* obj0
= 0 ;
11159 PyObject
* obj1
= 0 ;
11160 char * kwnames
[] = {
11161 (char *) "self",(char *) "flag", NULL
11164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11166 if (!SWIG_IsOK(res1
)) {
11167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11169 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11170 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11171 if (!SWIG_IsOK(ecode2
)) {
11172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11174 arg2
= static_cast< long >(val2
);
11176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11177 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11178 wxPyEndAllowThreads(__tstate
);
11179 if (PyErr_Occurred()) SWIG_fail
;
11182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11190 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11191 PyObject
*resultobj
= 0;
11192 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11193 wxColour
*result
= 0 ;
11196 PyObject
*swig_obj
[1] ;
11198 if (!args
) SWIG_fail
;
11199 swig_obj
[0] = args
;
11200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11201 if (!SWIG_IsOK(res1
)) {
11202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11204 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11208 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11209 result
= (wxColour
*) &_result_ref
;
11211 wxPyEndAllowThreads(__tstate
);
11212 if (PyErr_Occurred()) SWIG_fail
;
11214 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11221 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11222 PyObject
*resultobj
= 0;
11223 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11224 wxColour
*result
= 0 ;
11227 PyObject
*swig_obj
[1] ;
11229 if (!args
) SWIG_fail
;
11230 swig_obj
[0] = args
;
11231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11232 if (!SWIG_IsOK(res1
)) {
11233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11235 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11239 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11240 result
= (wxColour
*) &_result_ref
;
11242 wxPyEndAllowThreads(__tstate
);
11243 if (PyErr_Occurred()) SWIG_fail
;
11245 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11252 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11253 PyObject
*resultobj
= 0;
11254 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11255 wxFont
*result
= 0 ;
11258 PyObject
*swig_obj
[1] ;
11260 if (!args
) SWIG_fail
;
11261 swig_obj
[0] = args
;
11262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11263 if (!SWIG_IsOK(res1
)) {
11264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11266 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11270 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11271 result
= (wxFont
*) &_result_ref
;
11273 wxPyEndAllowThreads(__tstate
);
11274 if (PyErr_Occurred()) SWIG_fail
;
11277 wxFont
* resultptr
= new wxFont(*result
);
11278 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11286 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11287 PyObject
*resultobj
= 0;
11288 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11289 wxTextAttrAlignment result
;
11292 PyObject
*swig_obj
[1] ;
11294 if (!args
) SWIG_fail
;
11295 swig_obj
[0] = args
;
11296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11297 if (!SWIG_IsOK(res1
)) {
11298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11300 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11303 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11304 wxPyEndAllowThreads(__tstate
);
11305 if (PyErr_Occurred()) SWIG_fail
;
11307 resultobj
= SWIG_From_int(static_cast< int >(result
));
11314 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11315 PyObject
*resultobj
= 0;
11316 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11317 wxArrayInt
*result
= 0 ;
11320 PyObject
*swig_obj
[1] ;
11322 if (!args
) SWIG_fail
;
11323 swig_obj
[0] = args
;
11324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11325 if (!SWIG_IsOK(res1
)) {
11326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11328 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11332 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11333 result
= (wxArrayInt
*) &_result_ref
;
11335 wxPyEndAllowThreads(__tstate
);
11336 if (PyErr_Occurred()) SWIG_fail
;
11339 resultobj
= PyList_New(0);
11341 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
11342 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
11343 PyList_Append(resultobj
, val
);
11353 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11354 PyObject
*resultobj
= 0;
11355 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11359 PyObject
*swig_obj
[1] ;
11361 if (!args
) SWIG_fail
;
11362 swig_obj
[0] = args
;
11363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11364 if (!SWIG_IsOK(res1
)) {
11365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11367 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11370 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11371 wxPyEndAllowThreads(__tstate
);
11372 if (PyErr_Occurred()) SWIG_fail
;
11374 resultobj
= SWIG_From_long(static_cast< long >(result
));
11381 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11382 PyObject
*resultobj
= 0;
11383 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11387 PyObject
*swig_obj
[1] ;
11389 if (!args
) SWIG_fail
;
11390 swig_obj
[0] = args
;
11391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11392 if (!SWIG_IsOK(res1
)) {
11393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11395 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11398 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11399 wxPyEndAllowThreads(__tstate
);
11400 if (PyErr_Occurred()) SWIG_fail
;
11402 resultobj
= SWIG_From_long(static_cast< long >(result
));
11409 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11410 PyObject
*resultobj
= 0;
11411 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11415 PyObject
*swig_obj
[1] ;
11417 if (!args
) SWIG_fail
;
11418 swig_obj
[0] = args
;
11419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11420 if (!SWIG_IsOK(res1
)) {
11421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11423 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11426 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11427 wxPyEndAllowThreads(__tstate
);
11428 if (PyErr_Occurred()) SWIG_fail
;
11430 resultobj
= SWIG_From_long(static_cast< long >(result
));
11437 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11438 PyObject
*resultobj
= 0;
11439 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11443 PyObject
*swig_obj
[1] ;
11445 if (!args
) SWIG_fail
;
11446 swig_obj
[0] = args
;
11447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11448 if (!SWIG_IsOK(res1
)) {
11449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11451 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11454 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11455 wxPyEndAllowThreads(__tstate
);
11456 if (PyErr_Occurred()) SWIG_fail
;
11458 resultobj
= SWIG_From_long(static_cast< long >(result
));
11465 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11466 PyObject
*resultobj
= 0;
11467 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11471 PyObject
*swig_obj
[1] ;
11473 if (!args
) SWIG_fail
;
11474 swig_obj
[0] = args
;
11475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11476 if (!SWIG_IsOK(res1
)) {
11477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11479 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11482 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11483 wxPyEndAllowThreads(__tstate
);
11484 if (PyErr_Occurred()) SWIG_fail
;
11487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11495 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11496 PyObject
*resultobj
= 0;
11497 wxTextAttr
*arg1
= 0 ;
11498 wxTextAttr
*arg2
= 0 ;
11499 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11507 PyObject
* obj0
= 0 ;
11508 PyObject
* obj1
= 0 ;
11509 PyObject
* obj2
= 0 ;
11510 char * kwnames
[] = {
11511 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11515 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11516 if (!SWIG_IsOK(res1
)) {
11517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11520 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11522 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11523 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11524 if (!SWIG_IsOK(res2
)) {
11525 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11528 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11530 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11531 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11532 if (!SWIG_IsOK(res3
)) {
11533 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11535 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11538 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11539 wxPyEndAllowThreads(__tstate
);
11540 if (PyErr_Occurred()) SWIG_fail
;
11542 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11549 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11551 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11552 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11553 return SWIG_Py_Void();
11556 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11557 return SWIG_Python_InitShadowInstance(args
);
11560 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11561 PyObject
*resultobj
= 0;
11562 wxWindow
*arg1
= (wxWindow
*) 0 ;
11563 int arg2
= (int) -1 ;
11564 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11565 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11566 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11567 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11568 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11569 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11570 long arg6
= (long) 0 ;
11571 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11572 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11573 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11574 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11575 wxTextCtrl
*result
= 0 ;
11580 bool temp3
= false ;
11587 bool temp8
= false ;
11588 PyObject
* obj0
= 0 ;
11589 PyObject
* obj1
= 0 ;
11590 PyObject
* obj2
= 0 ;
11591 PyObject
* obj3
= 0 ;
11592 PyObject
* obj4
= 0 ;
11593 PyObject
* obj5
= 0 ;
11594 PyObject
* obj6
= 0 ;
11595 PyObject
* obj7
= 0 ;
11596 char * kwnames
[] = {
11597 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11602 if (!SWIG_IsOK(res1
)) {
11603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11605 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11607 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11608 if (!SWIG_IsOK(ecode2
)) {
11609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11611 arg2
= static_cast< int >(val2
);
11615 arg3
= wxString_in_helper(obj2
);
11616 if (arg3
== NULL
) SWIG_fail
;
11623 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11629 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11633 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11634 if (!SWIG_IsOK(ecode6
)) {
11635 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11637 arg6
= static_cast< long >(val6
);
11640 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11641 if (!SWIG_IsOK(res7
)) {
11642 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11645 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11647 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11651 arg8
= wxString_in_helper(obj7
);
11652 if (arg8
== NULL
) SWIG_fail
;
11657 if (!wxPyCheckForApp()) SWIG_fail
;
11658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11659 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11660 wxPyEndAllowThreads(__tstate
);
11661 if (PyErr_Occurred()) SWIG_fail
;
11663 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11686 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11687 PyObject
*resultobj
= 0;
11688 wxTextCtrl
*result
= 0 ;
11690 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11692 if (!wxPyCheckForApp()) SWIG_fail
;
11693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11694 result
= (wxTextCtrl
*)new wxTextCtrl();
11695 wxPyEndAllowThreads(__tstate
);
11696 if (PyErr_Occurred()) SWIG_fail
;
11698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11705 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11706 PyObject
*resultobj
= 0;
11707 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11708 wxWindow
*arg2
= (wxWindow
*) 0 ;
11709 int arg3
= (int) -1 ;
11710 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11711 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11712 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11713 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11714 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11715 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11716 long arg7
= (long) 0 ;
11717 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11718 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11719 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11720 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11728 bool temp4
= false ;
11735 bool temp9
= false ;
11736 PyObject
* obj0
= 0 ;
11737 PyObject
* obj1
= 0 ;
11738 PyObject
* obj2
= 0 ;
11739 PyObject
* obj3
= 0 ;
11740 PyObject
* obj4
= 0 ;
11741 PyObject
* obj5
= 0 ;
11742 PyObject
* obj6
= 0 ;
11743 PyObject
* obj7
= 0 ;
11744 PyObject
* obj8
= 0 ;
11745 char * kwnames
[] = {
11746 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11751 if (!SWIG_IsOK(res1
)) {
11752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11754 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11755 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11756 if (!SWIG_IsOK(res2
)) {
11757 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11759 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11761 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11762 if (!SWIG_IsOK(ecode3
)) {
11763 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11765 arg3
= static_cast< int >(val3
);
11769 arg4
= wxString_in_helper(obj3
);
11770 if (arg4
== NULL
) SWIG_fail
;
11777 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11783 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11787 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11788 if (!SWIG_IsOK(ecode7
)) {
11789 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11791 arg7
= static_cast< long >(val7
);
11794 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11795 if (!SWIG_IsOK(res8
)) {
11796 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11799 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11801 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11805 arg9
= wxString_in_helper(obj8
);
11806 if (arg9
== NULL
) SWIG_fail
;
11811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11812 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11813 wxPyEndAllowThreads(__tstate
);
11814 if (PyErr_Occurred()) SWIG_fail
;
11817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11841 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11842 PyObject
*resultobj
= 0;
11843 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11847 PyObject
*swig_obj
[1] ;
11849 if (!args
) SWIG_fail
;
11850 swig_obj
[0] = args
;
11851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11852 if (!SWIG_IsOK(res1
)) {
11853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11855 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11858 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11859 wxPyEndAllowThreads(__tstate
);
11860 if (PyErr_Occurred()) SWIG_fail
;
11864 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11866 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11875 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11876 PyObject
*resultobj
= 0;
11877 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11878 wxString
*arg2
= 0 ;
11881 bool temp2
= false ;
11882 PyObject
* obj0
= 0 ;
11883 PyObject
* obj1
= 0 ;
11884 char * kwnames
[] = {
11885 (char *) "self",(char *) "value", NULL
11888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11890 if (!SWIG_IsOK(res1
)) {
11891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11893 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11895 arg2
= wxString_in_helper(obj1
);
11896 if (arg2
== NULL
) SWIG_fail
;
11900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11901 (arg1
)->SetValue((wxString
const &)*arg2
);
11902 wxPyEndAllowThreads(__tstate
);
11903 if (PyErr_Occurred()) SWIG_fail
;
11905 resultobj
= SWIG_Py_Void();
11920 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11921 PyObject
*resultobj
= 0;
11922 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11932 PyObject
* obj0
= 0 ;
11933 PyObject
* obj1
= 0 ;
11934 PyObject
* obj2
= 0 ;
11935 char * kwnames
[] = {
11936 (char *) "self",(char *) "from",(char *) "to", NULL
11939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11941 if (!SWIG_IsOK(res1
)) {
11942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11944 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11945 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11946 if (!SWIG_IsOK(ecode2
)) {
11947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11949 arg2
= static_cast< long >(val2
);
11950 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11951 if (!SWIG_IsOK(ecode3
)) {
11952 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
11954 arg3
= static_cast< long >(val3
);
11956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11957 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
11958 wxPyEndAllowThreads(__tstate
);
11959 if (PyErr_Occurred()) SWIG_fail
;
11963 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11965 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11974 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11975 PyObject
*resultobj
= 0;
11976 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11983 PyObject
* obj0
= 0 ;
11984 PyObject
* obj1
= 0 ;
11985 char * kwnames
[] = {
11986 (char *) "self",(char *) "lineNo", NULL
11989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11991 if (!SWIG_IsOK(res1
)) {
11992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11994 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11995 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11996 if (!SWIG_IsOK(ecode2
)) {
11997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
11999 arg2
= static_cast< long >(val2
);
12001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12002 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
12003 wxPyEndAllowThreads(__tstate
);
12004 if (PyErr_Occurred()) SWIG_fail
;
12006 resultobj
= SWIG_From_int(static_cast< int >(result
));
12013 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12014 PyObject
*resultobj
= 0;
12015 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12022 PyObject
* obj0
= 0 ;
12023 PyObject
* obj1
= 0 ;
12024 char * kwnames
[] = {
12025 (char *) "self",(char *) "lineNo", NULL
12028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12030 if (!SWIG_IsOK(res1
)) {
12031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12033 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12034 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12035 if (!SWIG_IsOK(ecode2
)) {
12036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12038 arg2
= static_cast< long >(val2
);
12040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12041 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12042 wxPyEndAllowThreads(__tstate
);
12043 if (PyErr_Occurred()) SWIG_fail
;
12047 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12049 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12058 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12059 PyObject
*resultobj
= 0;
12060 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12064 PyObject
*swig_obj
[1] ;
12066 if (!args
) SWIG_fail
;
12067 swig_obj
[0] = args
;
12068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12069 if (!SWIG_IsOK(res1
)) {
12070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12072 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12075 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12076 wxPyEndAllowThreads(__tstate
);
12077 if (PyErr_Occurred()) SWIG_fail
;
12079 resultobj
= SWIG_From_int(static_cast< int >(result
));
12086 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12087 PyObject
*resultobj
= 0;
12088 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12092 PyObject
*swig_obj
[1] ;
12094 if (!args
) SWIG_fail
;
12095 swig_obj
[0] = args
;
12096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12097 if (!SWIG_IsOK(res1
)) {
12098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12100 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12103 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12104 wxPyEndAllowThreads(__tstate
);
12105 if (PyErr_Occurred()) SWIG_fail
;
12108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12116 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12117 PyObject
*resultobj
= 0;
12118 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12122 PyObject
*swig_obj
[1] ;
12124 if (!args
) SWIG_fail
;
12125 swig_obj
[0] = args
;
12126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12127 if (!SWIG_IsOK(res1
)) {
12128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12130 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12133 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12134 wxPyEndAllowThreads(__tstate
);
12135 if (PyErr_Occurred()) SWIG_fail
;
12138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12146 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12147 PyObject
*resultobj
= 0;
12148 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12152 PyObject
*swig_obj
[1] ;
12154 if (!args
) SWIG_fail
;
12155 swig_obj
[0] = args
;
12156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12157 if (!SWIG_IsOK(res1
)) {
12158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12160 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12163 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12164 wxPyEndAllowThreads(__tstate
);
12165 if (PyErr_Occurred()) SWIG_fail
;
12168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12176 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12177 PyObject
*resultobj
= 0;
12178 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12182 PyObject
*swig_obj
[1] ;
12184 if (!args
) SWIG_fail
;
12185 swig_obj
[0] = args
;
12186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12187 if (!SWIG_IsOK(res1
)) {
12188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12190 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12193 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12194 wxPyEndAllowThreads(__tstate
);
12195 if (PyErr_Occurred()) SWIG_fail
;
12198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12206 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12207 PyObject
*resultobj
= 0;
12208 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12209 long *arg2
= (long *) 0 ;
12210 long *arg3
= (long *) 0 ;
12214 int res2
= SWIG_TMPOBJ
;
12216 int res3
= SWIG_TMPOBJ
;
12217 PyObject
*swig_obj
[1] ;
12221 if (!args
) SWIG_fail
;
12222 swig_obj
[0] = args
;
12223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12224 if (!SWIG_IsOK(res1
)) {
12225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12227 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12230 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12231 wxPyEndAllowThreads(__tstate
);
12232 if (PyErr_Occurred()) SWIG_fail
;
12234 resultobj
= SWIG_Py_Void();
12235 if (SWIG_IsTmpObj(res2
)) {
12236 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12238 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12239 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12241 if (SWIG_IsTmpObj(res3
)) {
12242 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12244 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12245 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12253 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12254 PyObject
*resultobj
= 0;
12255 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12259 PyObject
*swig_obj
[1] ;
12261 if (!args
) SWIG_fail
;
12262 swig_obj
[0] = args
;
12263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12264 if (!SWIG_IsOK(res1
)) {
12265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12267 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12270 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12271 wxPyEndAllowThreads(__tstate
);
12272 if (PyErr_Occurred()) SWIG_fail
;
12276 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12278 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12287 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12288 PyObject
*resultobj
= 0;
12289 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12292 PyObject
*swig_obj
[1] ;
12294 if (!args
) SWIG_fail
;
12295 swig_obj
[0] = args
;
12296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12297 if (!SWIG_IsOK(res1
)) {
12298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12300 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12304 wxPyEndAllowThreads(__tstate
);
12305 if (PyErr_Occurred()) SWIG_fail
;
12307 resultobj
= SWIG_Py_Void();
12314 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12315 PyObject
*resultobj
= 0;
12316 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12319 wxString
*arg4
= 0 ;
12326 bool temp4
= false ;
12327 PyObject
* obj0
= 0 ;
12328 PyObject
* obj1
= 0 ;
12329 PyObject
* obj2
= 0 ;
12330 PyObject
* obj3
= 0 ;
12331 char * kwnames
[] = {
12332 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12337 if (!SWIG_IsOK(res1
)) {
12338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12340 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12341 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12342 if (!SWIG_IsOK(ecode2
)) {
12343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12345 arg2
= static_cast< long >(val2
);
12346 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12347 if (!SWIG_IsOK(ecode3
)) {
12348 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12350 arg3
= static_cast< long >(val3
);
12352 arg4
= wxString_in_helper(obj3
);
12353 if (arg4
== NULL
) SWIG_fail
;
12357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12358 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12359 wxPyEndAllowThreads(__tstate
);
12360 if (PyErr_Occurred()) SWIG_fail
;
12362 resultobj
= SWIG_Py_Void();
12377 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12378 PyObject
*resultobj
= 0;
12379 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12388 PyObject
* obj0
= 0 ;
12389 PyObject
* obj1
= 0 ;
12390 PyObject
* obj2
= 0 ;
12391 char * kwnames
[] = {
12392 (char *) "self",(char *) "from",(char *) "to", NULL
12395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12397 if (!SWIG_IsOK(res1
)) {
12398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12400 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12401 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12402 if (!SWIG_IsOK(ecode2
)) {
12403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12405 arg2
= static_cast< long >(val2
);
12406 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12407 if (!SWIG_IsOK(ecode3
)) {
12408 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12410 arg3
= static_cast< long >(val3
);
12412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12413 (arg1
)->Remove(arg2
,arg3
);
12414 wxPyEndAllowThreads(__tstate
);
12415 if (PyErr_Occurred()) SWIG_fail
;
12417 resultobj
= SWIG_Py_Void();
12424 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12425 PyObject
*resultobj
= 0;
12426 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12427 wxString
*arg2
= 0 ;
12431 bool temp2
= false ;
12432 PyObject
* obj0
= 0 ;
12433 PyObject
* obj1
= 0 ;
12434 char * kwnames
[] = {
12435 (char *) "self",(char *) "file", NULL
12438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12440 if (!SWIG_IsOK(res1
)) {
12441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12443 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12445 arg2
= wxString_in_helper(obj1
);
12446 if (arg2
== NULL
) SWIG_fail
;
12450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12451 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
12452 wxPyEndAllowThreads(__tstate
);
12453 if (PyErr_Occurred()) SWIG_fail
;
12456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12472 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12473 PyObject
*resultobj
= 0;
12474 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12475 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12476 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12480 bool temp2
= false ;
12481 PyObject
* obj0
= 0 ;
12482 PyObject
* obj1
= 0 ;
12483 char * kwnames
[] = {
12484 (char *) "self",(char *) "file", NULL
12487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12489 if (!SWIG_IsOK(res1
)) {
12490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12492 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12495 arg2
= wxString_in_helper(obj1
);
12496 if (arg2
== NULL
) SWIG_fail
;
12501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12502 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
12503 wxPyEndAllowThreads(__tstate
);
12504 if (PyErr_Occurred()) SWIG_fail
;
12507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12523 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12524 PyObject
*resultobj
= 0;
12525 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12528 PyObject
*swig_obj
[1] ;
12530 if (!args
) SWIG_fail
;
12531 swig_obj
[0] = args
;
12532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12533 if (!SWIG_IsOK(res1
)) {
12534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12536 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12539 (arg1
)->MarkDirty();
12540 wxPyEndAllowThreads(__tstate
);
12541 if (PyErr_Occurred()) SWIG_fail
;
12543 resultobj
= SWIG_Py_Void();
12550 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12551 PyObject
*resultobj
= 0;
12552 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12555 PyObject
*swig_obj
[1] ;
12557 if (!args
) SWIG_fail
;
12558 swig_obj
[0] = args
;
12559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12560 if (!SWIG_IsOK(res1
)) {
12561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12563 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12566 (arg1
)->DiscardEdits();
12567 wxPyEndAllowThreads(__tstate
);
12568 if (PyErr_Occurred()) SWIG_fail
;
12570 resultobj
= SWIG_Py_Void();
12577 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12578 PyObject
*resultobj
= 0;
12579 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12580 unsigned long arg2
;
12583 unsigned long val2
;
12585 PyObject
* obj0
= 0 ;
12586 PyObject
* obj1
= 0 ;
12587 char * kwnames
[] = {
12588 (char *) "self",(char *) "len", NULL
12591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12593 if (!SWIG_IsOK(res1
)) {
12594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12596 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12597 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12598 if (!SWIG_IsOK(ecode2
)) {
12599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12601 arg2
= static_cast< unsigned long >(val2
);
12603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12604 (arg1
)->SetMaxLength(arg2
);
12605 wxPyEndAllowThreads(__tstate
);
12606 if (PyErr_Occurred()) SWIG_fail
;
12608 resultobj
= SWIG_Py_Void();
12615 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12616 PyObject
*resultobj
= 0;
12617 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12618 wxString
*arg2
= 0 ;
12621 bool temp2
= false ;
12622 PyObject
* obj0
= 0 ;
12623 PyObject
* obj1
= 0 ;
12624 char * kwnames
[] = {
12625 (char *) "self",(char *) "text", NULL
12628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12630 if (!SWIG_IsOK(res1
)) {
12631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12633 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12635 arg2
= wxString_in_helper(obj1
);
12636 if (arg2
== NULL
) SWIG_fail
;
12640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12641 (arg1
)->WriteText((wxString
const &)*arg2
);
12642 wxPyEndAllowThreads(__tstate
);
12643 if (PyErr_Occurred()) SWIG_fail
;
12645 resultobj
= SWIG_Py_Void();
12660 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12661 PyObject
*resultobj
= 0;
12662 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12663 wxString
*arg2
= 0 ;
12666 bool temp2
= false ;
12667 PyObject
* obj0
= 0 ;
12668 PyObject
* obj1
= 0 ;
12669 char * kwnames
[] = {
12670 (char *) "self",(char *) "text", NULL
12673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12675 if (!SWIG_IsOK(res1
)) {
12676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12678 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12680 arg2
= wxString_in_helper(obj1
);
12681 if (arg2
== NULL
) SWIG_fail
;
12685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12686 (arg1
)->AppendText((wxString
const &)*arg2
);
12687 wxPyEndAllowThreads(__tstate
);
12688 if (PyErr_Occurred()) SWIG_fail
;
12690 resultobj
= SWIG_Py_Void();
12705 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12706 PyObject
*resultobj
= 0;
12707 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12708 wxKeyEvent
*arg2
= 0 ;
12714 PyObject
* obj0
= 0 ;
12715 PyObject
* obj1
= 0 ;
12716 char * kwnames
[] = {
12717 (char *) "self",(char *) "event", NULL
12720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12722 if (!SWIG_IsOK(res1
)) {
12723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12725 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12726 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12727 if (!SWIG_IsOK(res2
)) {
12728 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12731 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12733 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12736 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12737 wxPyEndAllowThreads(__tstate
);
12738 if (PyErr_Occurred()) SWIG_fail
;
12741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12749 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12750 PyObject
*resultobj
= 0;
12751 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12754 wxTextAttr
*arg4
= 0 ;
12764 PyObject
* obj0
= 0 ;
12765 PyObject
* obj1
= 0 ;
12766 PyObject
* obj2
= 0 ;
12767 PyObject
* obj3
= 0 ;
12768 char * kwnames
[] = {
12769 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12774 if (!SWIG_IsOK(res1
)) {
12775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12777 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12778 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12779 if (!SWIG_IsOK(ecode2
)) {
12780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12782 arg2
= static_cast< long >(val2
);
12783 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12784 if (!SWIG_IsOK(ecode3
)) {
12785 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12787 arg3
= static_cast< long >(val3
);
12788 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12789 if (!SWIG_IsOK(res4
)) {
12790 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12793 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12795 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12798 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12799 wxPyEndAllowThreads(__tstate
);
12800 if (PyErr_Occurred()) SWIG_fail
;
12803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12811 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12812 PyObject
*resultobj
= 0;
12813 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12815 wxTextAttr
*arg3
= 0 ;
12823 PyObject
* obj0
= 0 ;
12824 PyObject
* obj1
= 0 ;
12825 PyObject
* obj2
= 0 ;
12826 char * kwnames
[] = {
12827 (char *) "self",(char *) "position",(char *) "style", NULL
12830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12832 if (!SWIG_IsOK(res1
)) {
12833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12835 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12836 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12837 if (!SWIG_IsOK(ecode2
)) {
12838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12840 arg2
= static_cast< long >(val2
);
12841 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12842 if (!SWIG_IsOK(res3
)) {
12843 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12846 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12848 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12851 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12852 wxPyEndAllowThreads(__tstate
);
12853 if (PyErr_Occurred()) SWIG_fail
;
12856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12864 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12865 PyObject
*resultobj
= 0;
12866 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12867 wxTextAttr
*arg2
= 0 ;
12873 PyObject
* obj0
= 0 ;
12874 PyObject
* obj1
= 0 ;
12875 char * kwnames
[] = {
12876 (char *) "self",(char *) "style", NULL
12879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12881 if (!SWIG_IsOK(res1
)) {
12882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12884 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12885 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12886 if (!SWIG_IsOK(res2
)) {
12887 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12890 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12892 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
12894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12895 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
12896 wxPyEndAllowThreads(__tstate
);
12897 if (PyErr_Occurred()) SWIG_fail
;
12900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12908 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12909 PyObject
*resultobj
= 0;
12910 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12911 wxTextAttr
*result
= 0 ;
12914 PyObject
*swig_obj
[1] ;
12916 if (!args
) SWIG_fail
;
12917 swig_obj
[0] = args
;
12918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12919 if (!SWIG_IsOK(res1
)) {
12920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12922 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12926 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
12927 result
= (wxTextAttr
*) &_result_ref
;
12929 wxPyEndAllowThreads(__tstate
);
12930 if (PyErr_Occurred()) SWIG_fail
;
12932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
12939 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12940 PyObject
*resultobj
= 0;
12941 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12951 PyObject
* obj0
= 0 ;
12952 PyObject
* obj1
= 0 ;
12953 PyObject
* obj2
= 0 ;
12954 char * kwnames
[] = {
12955 (char *) "self",(char *) "x",(char *) "y", NULL
12958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12960 if (!SWIG_IsOK(res1
)) {
12961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12963 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12964 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12965 if (!SWIG_IsOK(ecode2
)) {
12966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
12968 arg2
= static_cast< long >(val2
);
12969 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12970 if (!SWIG_IsOK(ecode3
)) {
12971 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
12973 arg3
= static_cast< long >(val3
);
12975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12976 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
12977 wxPyEndAllowThreads(__tstate
);
12978 if (PyErr_Occurred()) SWIG_fail
;
12980 resultobj
= SWIG_From_long(static_cast< long >(result
));
12987 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12988 PyObject
*resultobj
= 0;
12989 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12991 long *arg3
= (long *) 0 ;
12992 long *arg4
= (long *) 0 ;
12998 int res3
= SWIG_TMPOBJ
;
13000 int res4
= SWIG_TMPOBJ
;
13001 PyObject
* obj0
= 0 ;
13002 PyObject
* obj1
= 0 ;
13003 char * kwnames
[] = {
13004 (char *) "self",(char *) "pos", NULL
13009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13011 if (!SWIG_IsOK(res1
)) {
13012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13014 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13015 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13016 if (!SWIG_IsOK(ecode2
)) {
13017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13019 arg2
= static_cast< long >(val2
);
13021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13022 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13023 wxPyEndAllowThreads(__tstate
);
13024 if (PyErr_Occurred()) SWIG_fail
;
13026 resultobj
= SWIG_Py_Void();
13027 if (SWIG_IsTmpObj(res3
)) {
13028 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13030 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13031 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13033 if (SWIG_IsTmpObj(res4
)) {
13034 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13036 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13037 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13045 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13046 PyObject
*resultobj
= 0;
13047 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13053 PyObject
* obj0
= 0 ;
13054 PyObject
* obj1
= 0 ;
13055 char * kwnames
[] = {
13056 (char *) "self",(char *) "pos", NULL
13059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13061 if (!SWIG_IsOK(res1
)) {
13062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13064 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13065 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13066 if (!SWIG_IsOK(ecode2
)) {
13067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13069 arg2
= static_cast< long >(val2
);
13071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13072 (arg1
)->ShowPosition(arg2
);
13073 wxPyEndAllowThreads(__tstate
);
13074 if (PyErr_Occurred()) SWIG_fail
;
13076 resultobj
= SWIG_Py_Void();
13083 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13084 PyObject
*resultobj
= 0;
13085 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13086 wxPoint
*arg2
= 0 ;
13087 long *arg3
= (long *) 0 ;
13088 long *arg4
= (long *) 0 ;
13089 wxTextCtrlHitTestResult result
;
13094 int res3
= SWIG_TMPOBJ
;
13096 int res4
= SWIG_TMPOBJ
;
13097 PyObject
* obj0
= 0 ;
13098 PyObject
* obj1
= 0 ;
13099 char * kwnames
[] = {
13100 (char *) "self",(char *) "pt", NULL
13105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13107 if (!SWIG_IsOK(res1
)) {
13108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13110 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13113 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13117 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13118 wxPyEndAllowThreads(__tstate
);
13119 if (PyErr_Occurred()) SWIG_fail
;
13121 resultobj
= SWIG_From_int(static_cast< int >(result
));
13122 if (SWIG_IsTmpObj(res3
)) {
13123 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13125 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13126 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13128 if (SWIG_IsTmpObj(res4
)) {
13129 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13131 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13132 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13140 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13141 PyObject
*resultobj
= 0;
13142 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13143 wxPoint
*arg2
= 0 ;
13144 long *arg3
= (long *) 0 ;
13145 wxTextCtrlHitTestResult result
;
13150 int res3
= SWIG_TMPOBJ
;
13151 PyObject
* obj0
= 0 ;
13152 PyObject
* obj1
= 0 ;
13153 char * kwnames
[] = {
13154 (char *) "self",(char *) "pt", NULL
13158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13160 if (!SWIG_IsOK(res1
)) {
13161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13163 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13166 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13170 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13171 wxPyEndAllowThreads(__tstate
);
13172 if (PyErr_Occurred()) SWIG_fail
;
13174 resultobj
= SWIG_From_int(static_cast< int >(result
));
13175 if (SWIG_IsTmpObj(res3
)) {
13176 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13178 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13179 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13187 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13188 PyObject
*resultobj
= 0;
13189 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13192 PyObject
*swig_obj
[1] ;
13194 if (!args
) SWIG_fail
;
13195 swig_obj
[0] = args
;
13196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13197 if (!SWIG_IsOK(res1
)) {
13198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13200 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13204 wxPyEndAllowThreads(__tstate
);
13205 if (PyErr_Occurred()) SWIG_fail
;
13207 resultobj
= SWIG_Py_Void();
13214 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13215 PyObject
*resultobj
= 0;
13216 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13219 PyObject
*swig_obj
[1] ;
13221 if (!args
) SWIG_fail
;
13222 swig_obj
[0] = args
;
13223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13224 if (!SWIG_IsOK(res1
)) {
13225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13227 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13231 wxPyEndAllowThreads(__tstate
);
13232 if (PyErr_Occurred()) SWIG_fail
;
13234 resultobj
= SWIG_Py_Void();
13241 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13242 PyObject
*resultobj
= 0;
13243 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13246 PyObject
*swig_obj
[1] ;
13248 if (!args
) SWIG_fail
;
13249 swig_obj
[0] = args
;
13250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13251 if (!SWIG_IsOK(res1
)) {
13252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13254 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13258 wxPyEndAllowThreads(__tstate
);
13259 if (PyErr_Occurred()) SWIG_fail
;
13261 resultobj
= SWIG_Py_Void();
13268 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13269 PyObject
*resultobj
= 0;
13270 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13274 PyObject
*swig_obj
[1] ;
13276 if (!args
) SWIG_fail
;
13277 swig_obj
[0] = args
;
13278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13279 if (!SWIG_IsOK(res1
)) {
13280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13282 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13285 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13286 wxPyEndAllowThreads(__tstate
);
13287 if (PyErr_Occurred()) SWIG_fail
;
13290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13298 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13299 PyObject
*resultobj
= 0;
13300 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13304 PyObject
*swig_obj
[1] ;
13306 if (!args
) SWIG_fail
;
13307 swig_obj
[0] = args
;
13308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13309 if (!SWIG_IsOK(res1
)) {
13310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13312 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13315 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13316 wxPyEndAllowThreads(__tstate
);
13317 if (PyErr_Occurred()) SWIG_fail
;
13320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13328 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13329 PyObject
*resultobj
= 0;
13330 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13334 PyObject
*swig_obj
[1] ;
13336 if (!args
) SWIG_fail
;
13337 swig_obj
[0] = args
;
13338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13339 if (!SWIG_IsOK(res1
)) {
13340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13342 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13345 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13346 wxPyEndAllowThreads(__tstate
);
13347 if (PyErr_Occurred()) SWIG_fail
;
13350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13358 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13359 PyObject
*resultobj
= 0;
13360 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13363 PyObject
*swig_obj
[1] ;
13365 if (!args
) SWIG_fail
;
13366 swig_obj
[0] = args
;
13367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13368 if (!SWIG_IsOK(res1
)) {
13369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13371 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13375 wxPyEndAllowThreads(__tstate
);
13376 if (PyErr_Occurred()) SWIG_fail
;
13378 resultobj
= SWIG_Py_Void();
13385 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13386 PyObject
*resultobj
= 0;
13387 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13390 PyObject
*swig_obj
[1] ;
13392 if (!args
) SWIG_fail
;
13393 swig_obj
[0] = args
;
13394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13395 if (!SWIG_IsOK(res1
)) {
13396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13398 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13402 wxPyEndAllowThreads(__tstate
);
13403 if (PyErr_Occurred()) SWIG_fail
;
13405 resultobj
= SWIG_Py_Void();
13412 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13413 PyObject
*resultobj
= 0;
13414 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13418 PyObject
*swig_obj
[1] ;
13420 if (!args
) SWIG_fail
;
13421 swig_obj
[0] = args
;
13422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13423 if (!SWIG_IsOK(res1
)) {
13424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13426 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13429 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13430 wxPyEndAllowThreads(__tstate
);
13431 if (PyErr_Occurred()) SWIG_fail
;
13434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13442 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13443 PyObject
*resultobj
= 0;
13444 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13448 PyObject
*swig_obj
[1] ;
13450 if (!args
) SWIG_fail
;
13451 swig_obj
[0] = args
;
13452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13453 if (!SWIG_IsOK(res1
)) {
13454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13456 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13459 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13460 wxPyEndAllowThreads(__tstate
);
13461 if (PyErr_Occurred()) SWIG_fail
;
13464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13472 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13473 PyObject
*resultobj
= 0;
13474 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13480 PyObject
* obj0
= 0 ;
13481 PyObject
* obj1
= 0 ;
13482 char * kwnames
[] = {
13483 (char *) "self",(char *) "pos", NULL
13486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13488 if (!SWIG_IsOK(res1
)) {
13489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13491 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13492 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13493 if (!SWIG_IsOK(ecode2
)) {
13494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13496 arg2
= static_cast< long >(val2
);
13498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13499 (arg1
)->SetInsertionPoint(arg2
);
13500 wxPyEndAllowThreads(__tstate
);
13501 if (PyErr_Occurred()) SWIG_fail
;
13503 resultobj
= SWIG_Py_Void();
13510 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13511 PyObject
*resultobj
= 0;
13512 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13515 PyObject
*swig_obj
[1] ;
13517 if (!args
) SWIG_fail
;
13518 swig_obj
[0] = args
;
13519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13520 if (!SWIG_IsOK(res1
)) {
13521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13523 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13526 (arg1
)->SetInsertionPointEnd();
13527 wxPyEndAllowThreads(__tstate
);
13528 if (PyErr_Occurred()) SWIG_fail
;
13530 resultobj
= SWIG_Py_Void();
13537 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13538 PyObject
*resultobj
= 0;
13539 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13543 PyObject
*swig_obj
[1] ;
13545 if (!args
) SWIG_fail
;
13546 swig_obj
[0] = args
;
13547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13548 if (!SWIG_IsOK(res1
)) {
13549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13551 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13554 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13555 wxPyEndAllowThreads(__tstate
);
13556 if (PyErr_Occurred()) SWIG_fail
;
13558 resultobj
= SWIG_From_long(static_cast< long >(result
));
13565 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13566 PyObject
*resultobj
= 0;
13567 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13571 PyObject
*swig_obj
[1] ;
13573 if (!args
) SWIG_fail
;
13574 swig_obj
[0] = args
;
13575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13576 if (!SWIG_IsOK(res1
)) {
13577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13579 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13582 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13583 wxPyEndAllowThreads(__tstate
);
13584 if (PyErr_Occurred()) SWIG_fail
;
13586 resultobj
= SWIG_From_long(static_cast< long >(result
));
13593 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13594 PyObject
*resultobj
= 0;
13595 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13604 PyObject
* obj0
= 0 ;
13605 PyObject
* obj1
= 0 ;
13606 PyObject
* obj2
= 0 ;
13607 char * kwnames
[] = {
13608 (char *) "self",(char *) "from",(char *) "to", NULL
13611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13613 if (!SWIG_IsOK(res1
)) {
13614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13616 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13617 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13618 if (!SWIG_IsOK(ecode2
)) {
13619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13621 arg2
= static_cast< long >(val2
);
13622 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13623 if (!SWIG_IsOK(ecode3
)) {
13624 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13626 arg3
= static_cast< long >(val3
);
13628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13629 (arg1
)->SetSelection(arg2
,arg3
);
13630 wxPyEndAllowThreads(__tstate
);
13631 if (PyErr_Occurred()) SWIG_fail
;
13633 resultobj
= SWIG_Py_Void();
13640 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13641 PyObject
*resultobj
= 0;
13642 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13645 PyObject
*swig_obj
[1] ;
13647 if (!args
) SWIG_fail
;
13648 swig_obj
[0] = args
;
13649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13650 if (!SWIG_IsOK(res1
)) {
13651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13653 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13656 (arg1
)->SelectAll();
13657 wxPyEndAllowThreads(__tstate
);
13658 if (PyErr_Occurred()) SWIG_fail
;
13660 resultobj
= SWIG_Py_Void();
13667 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13668 PyObject
*resultobj
= 0;
13669 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13675 PyObject
* obj0
= 0 ;
13676 PyObject
* obj1
= 0 ;
13677 char * kwnames
[] = {
13678 (char *) "self",(char *) "editable", NULL
13681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13683 if (!SWIG_IsOK(res1
)) {
13684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13686 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13687 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13688 if (!SWIG_IsOK(ecode2
)) {
13689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13691 arg2
= static_cast< bool >(val2
);
13693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13694 (arg1
)->SetEditable(arg2
);
13695 wxPyEndAllowThreads(__tstate
);
13696 if (PyErr_Occurred()) SWIG_fail
;
13698 resultobj
= SWIG_Py_Void();
13705 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13706 PyObject
*resultobj
= 0;
13707 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13708 bool arg2
= (bool) true ;
13714 PyObject
* obj0
= 0 ;
13715 PyObject
* obj1
= 0 ;
13716 char * kwnames
[] = {
13717 (char *) "self",(char *) "show", NULL
13720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13722 if (!SWIG_IsOK(res1
)) {
13723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13725 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13727 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13728 if (!SWIG_IsOK(ecode2
)) {
13729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "2"" of type '" "bool""'");
13731 arg2
= static_cast< bool >(val2
);
13734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13735 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
13736 wxPyEndAllowThreads(__tstate
);
13737 if (PyErr_Occurred()) SWIG_fail
;
13740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13748 SWIGINTERN PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13749 PyObject
*resultobj
= 0;
13750 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13754 PyObject
*swig_obj
[1] ;
13756 if (!args
) SWIG_fail
;
13757 swig_obj
[0] = args
;
13758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13759 if (!SWIG_IsOK(res1
)) {
13760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HideNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13762 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13765 result
= (bool)(arg1
)->HideNativeCaret();
13766 wxPyEndAllowThreads(__tstate
);
13767 if (PyErr_Occurred()) SWIG_fail
;
13770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13778 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13779 PyObject
*resultobj
= 0;
13780 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13781 wxString
*arg2
= 0 ;
13784 bool temp2
= false ;
13785 PyObject
* obj0
= 0 ;
13786 PyObject
* obj1
= 0 ;
13787 char * kwnames
[] = {
13788 (char *) "self",(char *) "text", NULL
13791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13793 if (!SWIG_IsOK(res1
)) {
13794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13796 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13798 arg2
= wxString_in_helper(obj1
);
13799 if (arg2
== NULL
) SWIG_fail
;
13803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13804 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13805 wxPyEndAllowThreads(__tstate
);
13806 if (PyErr_Occurred()) SWIG_fail
;
13808 resultobj
= SWIG_Py_Void();
13823 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13824 PyObject
*resultobj
= 0;
13825 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13835 PyObject
* obj0
= 0 ;
13836 PyObject
* obj1
= 0 ;
13837 PyObject
* obj2
= 0 ;
13838 char * kwnames
[] = {
13839 (char *) "self",(char *) "from",(char *) "to", NULL
13842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13844 if (!SWIG_IsOK(res1
)) {
13845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13847 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13848 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13849 if (!SWIG_IsOK(ecode2
)) {
13850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13852 arg2
= static_cast< long >(val2
);
13853 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13854 if (!SWIG_IsOK(ecode3
)) {
13855 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13857 arg3
= static_cast< long >(val3
);
13859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13860 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13861 wxPyEndAllowThreads(__tstate
);
13862 if (PyErr_Occurred()) SWIG_fail
;
13866 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13868 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13877 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13878 PyObject
*resultobj
= 0;
13879 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13880 SwigValueWrapper
<wxVisualAttributes
> result
;
13883 PyObject
* obj0
= 0 ;
13884 char * kwnames
[] = {
13885 (char *) "variant", NULL
13888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
13890 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13891 if (!SWIG_IsOK(ecode1
)) {
13892 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13894 arg1
= static_cast< wxWindowVariant
>(val1
);
13897 if (!wxPyCheckForApp()) SWIG_fail
;
13898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13899 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
13900 wxPyEndAllowThreads(__tstate
);
13901 if (PyErr_Occurred()) SWIG_fail
;
13903 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
13910 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13912 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13913 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
13914 return SWIG_Py_Void();
13917 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13918 return SWIG_Python_InitShadowInstance(args
);
13921 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13922 PyObject
*resultobj
= 0;
13924 wxMouseEvent
*arg2
= 0 ;
13927 wxTextUrlEvent
*result
= 0 ;
13936 PyObject
* obj0
= 0 ;
13937 PyObject
* obj1
= 0 ;
13938 PyObject
* obj2
= 0 ;
13939 PyObject
* obj3
= 0 ;
13940 char * kwnames
[] = {
13941 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
13944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13945 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13946 if (!SWIG_IsOK(ecode1
)) {
13947 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
13949 arg1
= static_cast< int >(val1
);
13950 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
13951 if (!SWIG_IsOK(res2
)) {
13952 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13955 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13957 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
13958 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13959 if (!SWIG_IsOK(ecode3
)) {
13960 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
13962 arg3
= static_cast< long >(val3
);
13963 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
13964 if (!SWIG_IsOK(ecode4
)) {
13965 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
13967 arg4
= static_cast< long >(val4
);
13969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13970 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
13971 wxPyEndAllowThreads(__tstate
);
13972 if (PyErr_Occurred()) SWIG_fail
;
13974 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
13981 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13982 PyObject
*resultobj
= 0;
13983 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13984 wxMouseEvent
*result
= 0 ;
13987 PyObject
*swig_obj
[1] ;
13989 if (!args
) SWIG_fail
;
13990 swig_obj
[0] = args
;
13991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13992 if (!SWIG_IsOK(res1
)) {
13993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
13995 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13999 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
14000 result
= (wxMouseEvent
*) &_result_ref
;
14002 wxPyEndAllowThreads(__tstate
);
14003 if (PyErr_Occurred()) SWIG_fail
;
14005 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
14012 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14013 PyObject
*resultobj
= 0;
14014 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14018 PyObject
*swig_obj
[1] ;
14020 if (!args
) SWIG_fail
;
14021 swig_obj
[0] = args
;
14022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14023 if (!SWIG_IsOK(res1
)) {
14024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14026 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14029 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14030 wxPyEndAllowThreads(__tstate
);
14031 if (PyErr_Occurred()) SWIG_fail
;
14033 resultobj
= SWIG_From_long(static_cast< long >(result
));
14040 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14041 PyObject
*resultobj
= 0;
14042 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14046 PyObject
*swig_obj
[1] ;
14048 if (!args
) SWIG_fail
;
14049 swig_obj
[0] = args
;
14050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14051 if (!SWIG_IsOK(res1
)) {
14052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14054 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14057 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14058 wxPyEndAllowThreads(__tstate
);
14059 if (PyErr_Occurred()) SWIG_fail
;
14061 resultobj
= SWIG_From_long(static_cast< long >(result
));
14068 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14070 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14071 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14072 return SWIG_Py_Void();
14075 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14076 return SWIG_Python_InitShadowInstance(args
);
14079 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14080 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14085 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14086 PyObject
*pyobj
= 0;
14090 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14092 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14099 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14100 PyObject
*resultobj
= 0;
14101 wxWindow
*arg1
= (wxWindow
*) 0 ;
14102 int arg2
= (int) -1 ;
14103 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14104 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14105 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14106 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14107 long arg5
= (long) wxSB_HORIZONTAL
;
14108 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14109 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14110 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14111 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14112 wxScrollBar
*result
= 0 ;
14123 bool temp7
= false ;
14124 PyObject
* obj0
= 0 ;
14125 PyObject
* obj1
= 0 ;
14126 PyObject
* obj2
= 0 ;
14127 PyObject
* obj3
= 0 ;
14128 PyObject
* obj4
= 0 ;
14129 PyObject
* obj5
= 0 ;
14130 PyObject
* obj6
= 0 ;
14131 char * kwnames
[] = {
14132 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14137 if (!SWIG_IsOK(res1
)) {
14138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14140 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14143 if (!SWIG_IsOK(ecode2
)) {
14144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14146 arg2
= static_cast< int >(val2
);
14151 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14157 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14161 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14162 if (!SWIG_IsOK(ecode5
)) {
14163 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14165 arg5
= static_cast< long >(val5
);
14168 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14169 if (!SWIG_IsOK(res6
)) {
14170 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14173 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14175 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14179 arg7
= wxString_in_helper(obj6
);
14180 if (arg7
== NULL
) SWIG_fail
;
14185 if (!wxPyCheckForApp()) SWIG_fail
;
14186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14187 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14188 wxPyEndAllowThreads(__tstate
);
14189 if (PyErr_Occurred()) SWIG_fail
;
14191 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14206 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14207 PyObject
*resultobj
= 0;
14208 wxScrollBar
*result
= 0 ;
14210 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14212 if (!wxPyCheckForApp()) SWIG_fail
;
14213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14214 result
= (wxScrollBar
*)new wxScrollBar();
14215 wxPyEndAllowThreads(__tstate
);
14216 if (PyErr_Occurred()) SWIG_fail
;
14218 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14225 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14226 PyObject
*resultobj
= 0;
14227 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14228 wxWindow
*arg2
= (wxWindow
*) 0 ;
14229 int arg3
= (int) -1 ;
14230 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14231 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14232 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14233 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14234 long arg6
= (long) wxSB_HORIZONTAL
;
14235 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14236 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14237 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14238 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14252 bool temp8
= false ;
14253 PyObject
* obj0
= 0 ;
14254 PyObject
* obj1
= 0 ;
14255 PyObject
* obj2
= 0 ;
14256 PyObject
* obj3
= 0 ;
14257 PyObject
* obj4
= 0 ;
14258 PyObject
* obj5
= 0 ;
14259 PyObject
* obj6
= 0 ;
14260 PyObject
* obj7
= 0 ;
14261 char * kwnames
[] = {
14262 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14267 if (!SWIG_IsOK(res1
)) {
14268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14270 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14271 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14272 if (!SWIG_IsOK(res2
)) {
14273 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14275 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14277 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14278 if (!SWIG_IsOK(ecode3
)) {
14279 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14281 arg3
= static_cast< int >(val3
);
14286 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14292 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14296 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14297 if (!SWIG_IsOK(ecode6
)) {
14298 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14300 arg6
= static_cast< long >(val6
);
14303 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14304 if (!SWIG_IsOK(res7
)) {
14305 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14308 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14310 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14314 arg8
= wxString_in_helper(obj7
);
14315 if (arg8
== NULL
) SWIG_fail
;
14320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14321 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14322 wxPyEndAllowThreads(__tstate
);
14323 if (PyErr_Occurred()) SWIG_fail
;
14326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14342 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14343 PyObject
*resultobj
= 0;
14344 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14348 PyObject
*swig_obj
[1] ;
14350 if (!args
) SWIG_fail
;
14351 swig_obj
[0] = args
;
14352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14353 if (!SWIG_IsOK(res1
)) {
14354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14356 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14359 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14360 wxPyEndAllowThreads(__tstate
);
14361 if (PyErr_Occurred()) SWIG_fail
;
14363 resultobj
= SWIG_From_int(static_cast< int >(result
));
14370 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14371 PyObject
*resultobj
= 0;
14372 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14376 PyObject
*swig_obj
[1] ;
14378 if (!args
) SWIG_fail
;
14379 swig_obj
[0] = args
;
14380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14381 if (!SWIG_IsOK(res1
)) {
14382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14384 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14387 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14388 wxPyEndAllowThreads(__tstate
);
14389 if (PyErr_Occurred()) SWIG_fail
;
14391 resultobj
= SWIG_From_int(static_cast< int >(result
));
14398 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14399 PyObject
*resultobj
= 0;
14400 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14404 PyObject
*swig_obj
[1] ;
14406 if (!args
) SWIG_fail
;
14407 swig_obj
[0] = args
;
14408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14409 if (!SWIG_IsOK(res1
)) {
14410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14412 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14415 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14416 wxPyEndAllowThreads(__tstate
);
14417 if (PyErr_Occurred()) SWIG_fail
;
14419 resultobj
= SWIG_From_int(static_cast< int >(result
));
14426 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14427 PyObject
*resultobj
= 0;
14428 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14432 PyObject
*swig_obj
[1] ;
14434 if (!args
) SWIG_fail
;
14435 swig_obj
[0] = args
;
14436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14437 if (!SWIG_IsOK(res1
)) {
14438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14440 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14443 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14444 wxPyEndAllowThreads(__tstate
);
14445 if (PyErr_Occurred()) SWIG_fail
;
14447 resultobj
= SWIG_From_int(static_cast< int >(result
));
14454 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14455 PyObject
*resultobj
= 0;
14456 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14460 PyObject
*swig_obj
[1] ;
14462 if (!args
) SWIG_fail
;
14463 swig_obj
[0] = args
;
14464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14465 if (!SWIG_IsOK(res1
)) {
14466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14468 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14471 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14472 wxPyEndAllowThreads(__tstate
);
14473 if (PyErr_Occurred()) SWIG_fail
;
14476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14484 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14485 PyObject
*resultobj
= 0;
14486 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14492 PyObject
* obj0
= 0 ;
14493 PyObject
* obj1
= 0 ;
14494 char * kwnames
[] = {
14495 (char *) "self",(char *) "viewStart", NULL
14498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14500 if (!SWIG_IsOK(res1
)) {
14501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14503 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14505 if (!SWIG_IsOK(ecode2
)) {
14506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14508 arg2
= static_cast< int >(val2
);
14510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14511 (arg1
)->SetThumbPosition(arg2
);
14512 wxPyEndAllowThreads(__tstate
);
14513 if (PyErr_Occurred()) SWIG_fail
;
14515 resultobj
= SWIG_Py_Void();
14522 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14523 PyObject
*resultobj
= 0;
14524 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14525 SwigValueWrapper
<wxVisualAttributes
> result
;
14528 PyObject
* obj0
= 0 ;
14529 char * kwnames
[] = {
14530 (char *) "variant", NULL
14533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14535 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14536 if (!SWIG_IsOK(ecode1
)) {
14537 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14539 arg1
= static_cast< wxWindowVariant
>(val1
);
14542 if (!wxPyCheckForApp()) SWIG_fail
;
14543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14544 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14545 wxPyEndAllowThreads(__tstate
);
14546 if (PyErr_Occurred()) SWIG_fail
;
14548 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14555 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14557 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14558 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14559 return SWIG_Py_Void();
14562 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14563 return SWIG_Python_InitShadowInstance(args
);
14566 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14567 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14572 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14573 PyObject
*pyobj
= 0;
14577 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14579 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14586 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14587 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14592 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14593 PyObject
*pyobj
= 0;
14597 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14599 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14606 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14607 PyObject
*resultobj
= 0;
14608 wxWindow
*arg1
= (wxWindow
*) 0 ;
14609 int arg2
= (int) -1 ;
14610 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14611 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14612 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14613 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14614 long arg5
= (long) wxSP_HORIZONTAL
;
14615 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14616 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14617 wxSpinButton
*result
= 0 ;
14626 bool temp6
= false ;
14627 PyObject
* obj0
= 0 ;
14628 PyObject
* obj1
= 0 ;
14629 PyObject
* obj2
= 0 ;
14630 PyObject
* obj3
= 0 ;
14631 PyObject
* obj4
= 0 ;
14632 PyObject
* obj5
= 0 ;
14633 char * kwnames
[] = {
14634 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14639 if (!SWIG_IsOK(res1
)) {
14640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14642 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14644 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14645 if (!SWIG_IsOK(ecode2
)) {
14646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14648 arg2
= static_cast< int >(val2
);
14653 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14659 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14663 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14664 if (!SWIG_IsOK(ecode5
)) {
14665 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14667 arg5
= static_cast< long >(val5
);
14671 arg6
= wxString_in_helper(obj5
);
14672 if (arg6
== NULL
) SWIG_fail
;
14677 if (!wxPyCheckForApp()) SWIG_fail
;
14678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14679 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14680 wxPyEndAllowThreads(__tstate
);
14681 if (PyErr_Occurred()) SWIG_fail
;
14683 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14698 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14699 PyObject
*resultobj
= 0;
14700 wxSpinButton
*result
= 0 ;
14702 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14704 if (!wxPyCheckForApp()) SWIG_fail
;
14705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14706 result
= (wxSpinButton
*)new wxSpinButton();
14707 wxPyEndAllowThreads(__tstate
);
14708 if (PyErr_Occurred()) SWIG_fail
;
14710 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14717 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14718 PyObject
*resultobj
= 0;
14719 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14720 wxWindow
*arg2
= (wxWindow
*) 0 ;
14721 int arg3
= (int) -1 ;
14722 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14723 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14724 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14725 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14726 long arg6
= (long) wxSP_HORIZONTAL
;
14727 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14728 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14740 bool temp7
= false ;
14741 PyObject
* obj0
= 0 ;
14742 PyObject
* obj1
= 0 ;
14743 PyObject
* obj2
= 0 ;
14744 PyObject
* obj3
= 0 ;
14745 PyObject
* obj4
= 0 ;
14746 PyObject
* obj5
= 0 ;
14747 PyObject
* obj6
= 0 ;
14748 char * kwnames
[] = {
14749 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14754 if (!SWIG_IsOK(res1
)) {
14755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14757 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14758 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14759 if (!SWIG_IsOK(res2
)) {
14760 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14762 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14764 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14765 if (!SWIG_IsOK(ecode3
)) {
14766 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14768 arg3
= static_cast< int >(val3
);
14773 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14779 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14783 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14784 if (!SWIG_IsOK(ecode6
)) {
14785 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14787 arg6
= static_cast< long >(val6
);
14791 arg7
= wxString_in_helper(obj6
);
14792 if (arg7
== NULL
) SWIG_fail
;
14797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14798 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14799 wxPyEndAllowThreads(__tstate
);
14800 if (PyErr_Occurred()) SWIG_fail
;
14803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14819 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14820 PyObject
*resultobj
= 0;
14821 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14825 PyObject
*swig_obj
[1] ;
14827 if (!args
) SWIG_fail
;
14828 swig_obj
[0] = args
;
14829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14830 if (!SWIG_IsOK(res1
)) {
14831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14833 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14836 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14837 wxPyEndAllowThreads(__tstate
);
14838 if (PyErr_Occurred()) SWIG_fail
;
14840 resultobj
= SWIG_From_int(static_cast< int >(result
));
14847 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14848 PyObject
*resultobj
= 0;
14849 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14853 PyObject
*swig_obj
[1] ;
14855 if (!args
) SWIG_fail
;
14856 swig_obj
[0] = args
;
14857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14858 if (!SWIG_IsOK(res1
)) {
14859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14861 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14864 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14865 wxPyEndAllowThreads(__tstate
);
14866 if (PyErr_Occurred()) SWIG_fail
;
14868 resultobj
= SWIG_From_int(static_cast< int >(result
));
14875 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14876 PyObject
*resultobj
= 0;
14877 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14881 PyObject
*swig_obj
[1] ;
14883 if (!args
) SWIG_fail
;
14884 swig_obj
[0] = args
;
14885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14886 if (!SWIG_IsOK(res1
)) {
14887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14889 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14892 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
14893 wxPyEndAllowThreads(__tstate
);
14894 if (PyErr_Occurred()) SWIG_fail
;
14896 resultobj
= SWIG_From_int(static_cast< int >(result
));
14903 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14904 PyObject
*resultobj
= 0;
14905 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14911 PyObject
* obj0
= 0 ;
14912 PyObject
* obj1
= 0 ;
14913 char * kwnames
[] = {
14914 (char *) "self",(char *) "val", NULL
14917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14919 if (!SWIG_IsOK(res1
)) {
14920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14922 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14923 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14924 if (!SWIG_IsOK(ecode2
)) {
14925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
14927 arg2
= static_cast< int >(val2
);
14929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14930 (arg1
)->SetValue(arg2
);
14931 wxPyEndAllowThreads(__tstate
);
14932 if (PyErr_Occurred()) SWIG_fail
;
14934 resultobj
= SWIG_Py_Void();
14941 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14942 PyObject
*resultobj
= 0;
14943 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14949 PyObject
* obj0
= 0 ;
14950 PyObject
* obj1
= 0 ;
14951 char * kwnames
[] = {
14952 (char *) "self",(char *) "minVal", NULL
14955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14957 if (!SWIG_IsOK(res1
)) {
14958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14960 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14961 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14962 if (!SWIG_IsOK(ecode2
)) {
14963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
14965 arg2
= static_cast< int >(val2
);
14967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14968 (arg1
)->SetMin(arg2
);
14969 wxPyEndAllowThreads(__tstate
);
14970 if (PyErr_Occurred()) SWIG_fail
;
14972 resultobj
= SWIG_Py_Void();
14979 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14980 PyObject
*resultobj
= 0;
14981 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14987 PyObject
* obj0
= 0 ;
14988 PyObject
* obj1
= 0 ;
14989 char * kwnames
[] = {
14990 (char *) "self",(char *) "maxVal", NULL
14993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14995 if (!SWIG_IsOK(res1
)) {
14996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14998 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14999 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15000 if (!SWIG_IsOK(ecode2
)) {
15001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15003 arg2
= static_cast< int >(val2
);
15005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15006 (arg1
)->SetMax(arg2
);
15007 wxPyEndAllowThreads(__tstate
);
15008 if (PyErr_Occurred()) SWIG_fail
;
15010 resultobj
= SWIG_Py_Void();
15017 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15018 PyObject
*resultobj
= 0;
15019 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15028 PyObject
* obj0
= 0 ;
15029 PyObject
* obj1
= 0 ;
15030 PyObject
* obj2
= 0 ;
15031 char * kwnames
[] = {
15032 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15037 if (!SWIG_IsOK(res1
)) {
15038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15040 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15041 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15042 if (!SWIG_IsOK(ecode2
)) {
15043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15045 arg2
= static_cast< int >(val2
);
15046 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15047 if (!SWIG_IsOK(ecode3
)) {
15048 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15050 arg3
= static_cast< int >(val3
);
15052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15053 (arg1
)->SetRange(arg2
,arg3
);
15054 wxPyEndAllowThreads(__tstate
);
15055 if (PyErr_Occurred()) SWIG_fail
;
15057 resultobj
= SWIG_Py_Void();
15064 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15065 PyObject
*resultobj
= 0;
15066 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15070 PyObject
*swig_obj
[1] ;
15072 if (!args
) SWIG_fail
;
15073 swig_obj
[0] = args
;
15074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15075 if (!SWIG_IsOK(res1
)) {
15076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15078 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15081 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15082 wxPyEndAllowThreads(__tstate
);
15083 if (PyErr_Occurred()) SWIG_fail
;
15086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15094 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15095 PyObject
*resultobj
= 0;
15096 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15097 SwigValueWrapper
<wxVisualAttributes
> result
;
15100 PyObject
* obj0
= 0 ;
15101 char * kwnames
[] = {
15102 (char *) "variant", NULL
15105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15107 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15108 if (!SWIG_IsOK(ecode1
)) {
15109 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15111 arg1
= static_cast< wxWindowVariant
>(val1
);
15114 if (!wxPyCheckForApp()) SWIG_fail
;
15115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15116 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15117 wxPyEndAllowThreads(__tstate
);
15118 if (PyErr_Occurred()) SWIG_fail
;
15120 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15127 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15129 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15130 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15131 return SWIG_Py_Void();
15134 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15135 return SWIG_Python_InitShadowInstance(args
);
15138 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15139 PyObject
*resultobj
= 0;
15140 wxWindow
*arg1
= (wxWindow
*) 0 ;
15141 int arg2
= (int) -1 ;
15142 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15143 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15144 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15145 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15146 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15147 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15148 long arg6
= (long) wxSP_ARROW_KEYS
;
15149 int arg7
= (int) 0 ;
15150 int arg8
= (int) 100 ;
15151 int arg9
= (int) 0 ;
15152 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15153 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15154 wxSpinCtrl
*result
= 0 ;
15159 bool temp3
= false ;
15170 bool temp10
= false ;
15171 PyObject
* obj0
= 0 ;
15172 PyObject
* obj1
= 0 ;
15173 PyObject
* obj2
= 0 ;
15174 PyObject
* obj3
= 0 ;
15175 PyObject
* obj4
= 0 ;
15176 PyObject
* obj5
= 0 ;
15177 PyObject
* obj6
= 0 ;
15178 PyObject
* obj7
= 0 ;
15179 PyObject
* obj8
= 0 ;
15180 PyObject
* obj9
= 0 ;
15181 char * kwnames
[] = {
15182 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15187 if (!SWIG_IsOK(res1
)) {
15188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15190 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15192 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15193 if (!SWIG_IsOK(ecode2
)) {
15194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15196 arg2
= static_cast< int >(val2
);
15200 arg3
= wxString_in_helper(obj2
);
15201 if (arg3
== NULL
) SWIG_fail
;
15208 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15214 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15218 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15219 if (!SWIG_IsOK(ecode6
)) {
15220 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15222 arg6
= static_cast< long >(val6
);
15225 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15226 if (!SWIG_IsOK(ecode7
)) {
15227 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15229 arg7
= static_cast< int >(val7
);
15232 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15233 if (!SWIG_IsOK(ecode8
)) {
15234 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15236 arg8
= static_cast< int >(val8
);
15239 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15240 if (!SWIG_IsOK(ecode9
)) {
15241 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15243 arg9
= static_cast< int >(val9
);
15247 arg10
= wxString_in_helper(obj9
);
15248 if (arg10
== NULL
) SWIG_fail
;
15253 if (!wxPyCheckForApp()) SWIG_fail
;
15254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15255 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15256 wxPyEndAllowThreads(__tstate
);
15257 if (PyErr_Occurred()) SWIG_fail
;
15259 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15282 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15283 PyObject
*resultobj
= 0;
15284 wxSpinCtrl
*result
= 0 ;
15286 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15288 if (!wxPyCheckForApp()) SWIG_fail
;
15289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15290 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15291 wxPyEndAllowThreads(__tstate
);
15292 if (PyErr_Occurred()) SWIG_fail
;
15294 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15301 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15302 PyObject
*resultobj
= 0;
15303 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15304 wxWindow
*arg2
= (wxWindow
*) 0 ;
15305 int arg3
= (int) -1 ;
15306 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15307 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15308 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15309 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15310 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15311 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15312 long arg7
= (long) wxSP_ARROW_KEYS
;
15313 int arg8
= (int) 0 ;
15314 int arg9
= (int) 100 ;
15315 int arg10
= (int) 0 ;
15316 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15317 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15325 bool temp4
= false ;
15336 bool temp11
= false ;
15337 PyObject
* obj0
= 0 ;
15338 PyObject
* obj1
= 0 ;
15339 PyObject
* obj2
= 0 ;
15340 PyObject
* obj3
= 0 ;
15341 PyObject
* obj4
= 0 ;
15342 PyObject
* obj5
= 0 ;
15343 PyObject
* obj6
= 0 ;
15344 PyObject
* obj7
= 0 ;
15345 PyObject
* obj8
= 0 ;
15346 PyObject
* obj9
= 0 ;
15347 PyObject
* obj10
= 0 ;
15348 char * kwnames
[] = {
15349 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15354 if (!SWIG_IsOK(res1
)) {
15355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15357 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15358 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15359 if (!SWIG_IsOK(res2
)) {
15360 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15362 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15364 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15365 if (!SWIG_IsOK(ecode3
)) {
15366 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15368 arg3
= static_cast< int >(val3
);
15372 arg4
= wxString_in_helper(obj3
);
15373 if (arg4
== NULL
) SWIG_fail
;
15380 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15386 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15390 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15391 if (!SWIG_IsOK(ecode7
)) {
15392 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15394 arg7
= static_cast< long >(val7
);
15397 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15398 if (!SWIG_IsOK(ecode8
)) {
15399 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15401 arg8
= static_cast< int >(val8
);
15404 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15405 if (!SWIG_IsOK(ecode9
)) {
15406 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15408 arg9
= static_cast< int >(val9
);
15411 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15412 if (!SWIG_IsOK(ecode10
)) {
15413 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15415 arg10
= static_cast< int >(val10
);
15419 arg11
= wxString_in_helper(obj10
);
15420 if (arg11
== NULL
) SWIG_fail
;
15425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15426 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15427 wxPyEndAllowThreads(__tstate
);
15428 if (PyErr_Occurred()) SWIG_fail
;
15431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15455 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15456 PyObject
*resultobj
= 0;
15457 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15461 PyObject
*swig_obj
[1] ;
15463 if (!args
) SWIG_fail
;
15464 swig_obj
[0] = args
;
15465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15466 if (!SWIG_IsOK(res1
)) {
15467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15469 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15472 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15473 wxPyEndAllowThreads(__tstate
);
15474 if (PyErr_Occurred()) SWIG_fail
;
15476 resultobj
= SWIG_From_int(static_cast< int >(result
));
15483 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15484 PyObject
*resultobj
= 0;
15485 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15491 PyObject
* obj0
= 0 ;
15492 PyObject
* obj1
= 0 ;
15493 char * kwnames
[] = {
15494 (char *) "self",(char *) "value", NULL
15497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15499 if (!SWIG_IsOK(res1
)) {
15500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15502 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15504 if (!SWIG_IsOK(ecode2
)) {
15505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15507 arg2
= static_cast< int >(val2
);
15509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15510 (arg1
)->SetValue(arg2
);
15511 wxPyEndAllowThreads(__tstate
);
15512 if (PyErr_Occurred()) SWIG_fail
;
15514 resultobj
= SWIG_Py_Void();
15521 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15522 PyObject
*resultobj
= 0;
15523 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15524 wxString
*arg2
= 0 ;
15527 bool temp2
= false ;
15528 PyObject
* obj0
= 0 ;
15529 PyObject
* obj1
= 0 ;
15530 char * kwnames
[] = {
15531 (char *) "self",(char *) "text", NULL
15534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15536 if (!SWIG_IsOK(res1
)) {
15537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15539 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15541 arg2
= wxString_in_helper(obj1
);
15542 if (arg2
== NULL
) SWIG_fail
;
15546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15547 (arg1
)->SetValue((wxString
const &)*arg2
);
15548 wxPyEndAllowThreads(__tstate
);
15549 if (PyErr_Occurred()) SWIG_fail
;
15551 resultobj
= SWIG_Py_Void();
15566 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15567 PyObject
*resultobj
= 0;
15568 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15577 PyObject
* obj0
= 0 ;
15578 PyObject
* obj1
= 0 ;
15579 PyObject
* obj2
= 0 ;
15580 char * kwnames
[] = {
15581 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15586 if (!SWIG_IsOK(res1
)) {
15587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15589 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15591 if (!SWIG_IsOK(ecode2
)) {
15592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15594 arg2
= static_cast< int >(val2
);
15595 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15596 if (!SWIG_IsOK(ecode3
)) {
15597 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15599 arg3
= static_cast< int >(val3
);
15601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15602 (arg1
)->SetRange(arg2
,arg3
);
15603 wxPyEndAllowThreads(__tstate
);
15604 if (PyErr_Occurred()) SWIG_fail
;
15606 resultobj
= SWIG_Py_Void();
15613 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15614 PyObject
*resultobj
= 0;
15615 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15619 PyObject
*swig_obj
[1] ;
15621 if (!args
) SWIG_fail
;
15622 swig_obj
[0] = args
;
15623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15624 if (!SWIG_IsOK(res1
)) {
15625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15627 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15630 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15631 wxPyEndAllowThreads(__tstate
);
15632 if (PyErr_Occurred()) SWIG_fail
;
15634 resultobj
= SWIG_From_int(static_cast< int >(result
));
15641 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15642 PyObject
*resultobj
= 0;
15643 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15647 PyObject
*swig_obj
[1] ;
15649 if (!args
) SWIG_fail
;
15650 swig_obj
[0] = args
;
15651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15652 if (!SWIG_IsOK(res1
)) {
15653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15655 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15658 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15659 wxPyEndAllowThreads(__tstate
);
15660 if (PyErr_Occurred()) SWIG_fail
;
15662 resultobj
= SWIG_From_int(static_cast< int >(result
));
15669 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15670 PyObject
*resultobj
= 0;
15671 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15680 PyObject
* obj0
= 0 ;
15681 PyObject
* obj1
= 0 ;
15682 PyObject
* obj2
= 0 ;
15683 char * kwnames
[] = {
15684 (char *) "self",(char *) "from",(char *) "to", NULL
15687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15689 if (!SWIG_IsOK(res1
)) {
15690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15692 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15693 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15694 if (!SWIG_IsOK(ecode2
)) {
15695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15697 arg2
= static_cast< long >(val2
);
15698 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15699 if (!SWIG_IsOK(ecode3
)) {
15700 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15702 arg3
= static_cast< long >(val3
);
15704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15705 (arg1
)->SetSelection(arg2
,arg3
);
15706 wxPyEndAllowThreads(__tstate
);
15707 if (PyErr_Occurred()) SWIG_fail
;
15709 resultobj
= SWIG_Py_Void();
15716 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15717 PyObject
*resultobj
= 0;
15718 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15719 SwigValueWrapper
<wxVisualAttributes
> result
;
15722 PyObject
* obj0
= 0 ;
15723 char * kwnames
[] = {
15724 (char *) "variant", NULL
15727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15729 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15730 if (!SWIG_IsOK(ecode1
)) {
15731 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15733 arg1
= static_cast< wxWindowVariant
>(val1
);
15736 if (!wxPyCheckForApp()) SWIG_fail
;
15737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15738 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15739 wxPyEndAllowThreads(__tstate
);
15740 if (PyErr_Occurred()) SWIG_fail
;
15742 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15749 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15751 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15752 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15753 return SWIG_Py_Void();
15756 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15757 return SWIG_Python_InitShadowInstance(args
);
15760 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15761 PyObject
*resultobj
= 0;
15762 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15763 int arg2
= (int) 0 ;
15764 wxSpinEvent
*result
= 0 ;
15769 PyObject
* obj0
= 0 ;
15770 PyObject
* obj1
= 0 ;
15771 char * kwnames
[] = {
15772 (char *) "commandType",(char *) "winid", NULL
15775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15777 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15778 if (!SWIG_IsOK(ecode1
)) {
15779 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15781 arg1
= static_cast< wxEventType
>(val1
);
15784 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15785 if (!SWIG_IsOK(ecode2
)) {
15786 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15788 arg2
= static_cast< int >(val2
);
15791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15792 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15793 wxPyEndAllowThreads(__tstate
);
15794 if (PyErr_Occurred()) SWIG_fail
;
15796 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15803 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15804 PyObject
*resultobj
= 0;
15805 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15809 PyObject
*swig_obj
[1] ;
15811 if (!args
) SWIG_fail
;
15812 swig_obj
[0] = args
;
15813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15814 if (!SWIG_IsOK(res1
)) {
15815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15817 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15820 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15821 wxPyEndAllowThreads(__tstate
);
15822 if (PyErr_Occurred()) SWIG_fail
;
15824 resultobj
= SWIG_From_int(static_cast< int >(result
));
15831 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15832 PyObject
*resultobj
= 0;
15833 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15839 PyObject
* obj0
= 0 ;
15840 PyObject
* obj1
= 0 ;
15841 char * kwnames
[] = {
15842 (char *) "self",(char *) "pos", NULL
15845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15847 if (!SWIG_IsOK(res1
)) {
15848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15850 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15851 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15852 if (!SWIG_IsOK(ecode2
)) {
15853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15855 arg2
= static_cast< int >(val2
);
15857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15858 (arg1
)->SetPosition(arg2
);
15859 wxPyEndAllowThreads(__tstate
);
15860 if (PyErr_Occurred()) SWIG_fail
;
15862 resultobj
= SWIG_Py_Void();
15869 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15871 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15872 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15873 return SWIG_Py_Void();
15876 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15877 return SWIG_Python_InitShadowInstance(args
);
15880 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15881 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
15886 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
15887 PyObject
*pyobj
= 0;
15891 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15893 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15900 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
15901 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
15906 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
15907 PyObject
*pyobj
= 0;
15911 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15913 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15920 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15921 PyObject
*resultobj
= 0;
15922 wxWindow
*arg1
= (wxWindow
*) 0 ;
15923 int arg2
= (int) -1 ;
15924 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15925 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15926 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15927 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15928 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15929 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15930 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
15931 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
15932 int arg7
= (int) 0 ;
15933 long arg8
= (long) wxRA_HORIZONTAL
;
15934 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
15935 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
15936 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
15937 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15938 wxRadioBox
*result
= 0 ;
15943 bool temp3
= false ;
15946 bool temp6
= false ;
15953 bool temp10
= false ;
15954 PyObject
* obj0
= 0 ;
15955 PyObject
* obj1
= 0 ;
15956 PyObject
* obj2
= 0 ;
15957 PyObject
* obj3
= 0 ;
15958 PyObject
* obj4
= 0 ;
15959 PyObject
* obj5
= 0 ;
15960 PyObject
* obj6
= 0 ;
15961 PyObject
* obj7
= 0 ;
15962 PyObject
* obj8
= 0 ;
15963 PyObject
* obj9
= 0 ;
15964 char * kwnames
[] = {
15965 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
15968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15970 if (!SWIG_IsOK(res1
)) {
15971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15973 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15975 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15976 if (!SWIG_IsOK(ecode2
)) {
15977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
15979 arg2
= static_cast< int >(val2
);
15983 arg3
= wxString_in_helper(obj2
);
15984 if (arg3
== NULL
) SWIG_fail
;
15991 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15997 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16002 if (! PySequence_Check(obj5
)) {
16003 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16006 arg6
= new wxArrayString
;
16008 int i
, len
=PySequence_Length(obj5
);
16009 for (i
=0; i
<len
; i
++) {
16010 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16011 wxString
* s
= wxString_in_helper(item
);
16012 if (PyErr_Occurred()) SWIG_fail
;
16020 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16021 if (!SWIG_IsOK(ecode7
)) {
16022 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16024 arg7
= static_cast< int >(val7
);
16027 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16028 if (!SWIG_IsOK(ecode8
)) {
16029 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16031 arg8
= static_cast< long >(val8
);
16034 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16035 if (!SWIG_IsOK(res9
)) {
16036 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16039 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16041 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16045 arg10
= wxString_in_helper(obj9
);
16046 if (arg10
== NULL
) SWIG_fail
;
16051 if (!wxPyCheckForApp()) SWIG_fail
;
16052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16053 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
);
16054 wxPyEndAllowThreads(__tstate
);
16055 if (PyErr_Occurred()) SWIG_fail
;
16057 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16063 if (temp6
) delete arg6
;
16076 if (temp6
) delete arg6
;
16086 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16087 PyObject
*resultobj
= 0;
16088 wxRadioBox
*result
= 0 ;
16090 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16092 if (!wxPyCheckForApp()) SWIG_fail
;
16093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16094 result
= (wxRadioBox
*)new wxRadioBox();
16095 wxPyEndAllowThreads(__tstate
);
16096 if (PyErr_Occurred()) SWIG_fail
;
16098 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16105 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16106 PyObject
*resultobj
= 0;
16107 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16108 wxWindow
*arg2
= (wxWindow
*) 0 ;
16109 int arg3
= (int) -1 ;
16110 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16111 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16112 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16113 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16114 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16115 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16116 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16117 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16118 int arg8
= (int) 0 ;
16119 long arg9
= (long) wxRA_HORIZONTAL
;
16120 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16121 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16122 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16123 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16131 bool temp4
= false ;
16134 bool temp7
= false ;
16141 bool temp11
= false ;
16142 PyObject
* obj0
= 0 ;
16143 PyObject
* obj1
= 0 ;
16144 PyObject
* obj2
= 0 ;
16145 PyObject
* obj3
= 0 ;
16146 PyObject
* obj4
= 0 ;
16147 PyObject
* obj5
= 0 ;
16148 PyObject
* obj6
= 0 ;
16149 PyObject
* obj7
= 0 ;
16150 PyObject
* obj8
= 0 ;
16151 PyObject
* obj9
= 0 ;
16152 PyObject
* obj10
= 0 ;
16153 char * kwnames
[] = {
16154 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16159 if (!SWIG_IsOK(res1
)) {
16160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16162 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16163 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16164 if (!SWIG_IsOK(res2
)) {
16165 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16167 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16169 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16170 if (!SWIG_IsOK(ecode3
)) {
16171 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16173 arg3
= static_cast< int >(val3
);
16177 arg4
= wxString_in_helper(obj3
);
16178 if (arg4
== NULL
) SWIG_fail
;
16185 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16191 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16196 if (! PySequence_Check(obj6
)) {
16197 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16200 arg7
= new wxArrayString
;
16202 int i
, len
=PySequence_Length(obj6
);
16203 for (i
=0; i
<len
; i
++) {
16204 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16205 wxString
* s
= wxString_in_helper(item
);
16206 if (PyErr_Occurred()) SWIG_fail
;
16214 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16215 if (!SWIG_IsOK(ecode8
)) {
16216 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16218 arg8
= static_cast< int >(val8
);
16221 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16222 if (!SWIG_IsOK(ecode9
)) {
16223 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16225 arg9
= static_cast< long >(val9
);
16228 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16229 if (!SWIG_IsOK(res10
)) {
16230 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16233 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16235 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16239 arg11
= wxString_in_helper(obj10
);
16240 if (arg11
== NULL
) SWIG_fail
;
16245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16246 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
);
16247 wxPyEndAllowThreads(__tstate
);
16248 if (PyErr_Occurred()) SWIG_fail
;
16251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16258 if (temp7
) delete arg7
;
16271 if (temp7
) delete arg7
;
16281 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16282 PyObject
*resultobj
= 0;
16283 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16289 PyObject
* obj0
= 0 ;
16290 PyObject
* obj1
= 0 ;
16291 char * kwnames
[] = {
16292 (char *) "self",(char *) "n", NULL
16295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16297 if (!SWIG_IsOK(res1
)) {
16298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16300 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16301 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16302 if (!SWIG_IsOK(ecode2
)) {
16303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16305 arg2
= static_cast< int >(val2
);
16307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16308 (arg1
)->SetSelection(arg2
);
16309 wxPyEndAllowThreads(__tstate
);
16310 if (PyErr_Occurred()) SWIG_fail
;
16312 resultobj
= SWIG_Py_Void();
16319 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16320 PyObject
*resultobj
= 0;
16321 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16325 PyObject
*swig_obj
[1] ;
16327 if (!args
) SWIG_fail
;
16328 swig_obj
[0] = args
;
16329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16330 if (!SWIG_IsOK(res1
)) {
16331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16333 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16336 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16337 wxPyEndAllowThreads(__tstate
);
16338 if (PyErr_Occurred()) SWIG_fail
;
16340 resultobj
= SWIG_From_int(static_cast< int >(result
));
16347 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16348 PyObject
*resultobj
= 0;
16349 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16353 PyObject
*swig_obj
[1] ;
16355 if (!args
) SWIG_fail
;
16356 swig_obj
[0] = args
;
16357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16358 if (!SWIG_IsOK(res1
)) {
16359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16361 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16364 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16365 wxPyEndAllowThreads(__tstate
);
16366 if (PyErr_Occurred()) SWIG_fail
;
16370 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16372 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16381 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16382 PyObject
*resultobj
= 0;
16383 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16384 wxString
*arg2
= 0 ;
16388 bool temp2
= false ;
16389 PyObject
* obj0
= 0 ;
16390 PyObject
* obj1
= 0 ;
16391 char * kwnames
[] = {
16392 (char *) "self",(char *) "s", NULL
16395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16397 if (!SWIG_IsOK(res1
)) {
16398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16400 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16402 arg2
= wxString_in_helper(obj1
);
16403 if (arg2
== NULL
) SWIG_fail
;
16407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16408 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16409 wxPyEndAllowThreads(__tstate
);
16410 if (PyErr_Occurred()) SWIG_fail
;
16413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16429 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16430 PyObject
*resultobj
= 0;
16431 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16435 PyObject
*swig_obj
[1] ;
16437 if (!args
) SWIG_fail
;
16438 swig_obj
[0] = args
;
16439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16440 if (!SWIG_IsOK(res1
)) {
16441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16443 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16446 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16447 wxPyEndAllowThreads(__tstate
);
16448 if (PyErr_Occurred()) SWIG_fail
;
16450 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16457 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16458 PyObject
*resultobj
= 0;
16459 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16460 wxString
*arg2
= 0 ;
16464 bool temp2
= false ;
16465 PyObject
* obj0
= 0 ;
16466 PyObject
* obj1
= 0 ;
16467 char * kwnames
[] = {
16468 (char *) "self",(char *) "s", NULL
16471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16473 if (!SWIG_IsOK(res1
)) {
16474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16476 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16478 arg2
= wxString_in_helper(obj1
);
16479 if (arg2
== NULL
) SWIG_fail
;
16483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16484 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16485 wxPyEndAllowThreads(__tstate
);
16486 if (PyErr_Occurred()) SWIG_fail
;
16488 resultobj
= SWIG_From_int(static_cast< int >(result
));
16503 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16504 PyObject
*resultobj
= 0;
16505 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16512 PyObject
* obj0
= 0 ;
16513 PyObject
* obj1
= 0 ;
16514 char * kwnames
[] = {
16515 (char *) "self",(char *) "n", NULL
16518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16520 if (!SWIG_IsOK(res1
)) {
16521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16523 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16524 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16525 if (!SWIG_IsOK(ecode2
)) {
16526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16528 arg2
= static_cast< int >(val2
);
16530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16531 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16532 wxPyEndAllowThreads(__tstate
);
16533 if (PyErr_Occurred()) SWIG_fail
;
16537 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16539 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16548 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16549 PyObject
*resultobj
= 0;
16550 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16552 wxString
*arg3
= 0 ;
16557 bool temp3
= false ;
16558 PyObject
* obj0
= 0 ;
16559 PyObject
* obj1
= 0 ;
16560 PyObject
* obj2
= 0 ;
16561 char * kwnames
[] = {
16562 (char *) "self",(char *) "n",(char *) "label", NULL
16565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16567 if (!SWIG_IsOK(res1
)) {
16568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16570 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16571 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16572 if (!SWIG_IsOK(ecode2
)) {
16573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16575 arg2
= static_cast< int >(val2
);
16577 arg3
= wxString_in_helper(obj2
);
16578 if (arg3
== NULL
) SWIG_fail
;
16582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16583 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16584 wxPyEndAllowThreads(__tstate
);
16585 if (PyErr_Occurred()) SWIG_fail
;
16587 resultobj
= SWIG_Py_Void();
16602 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16603 PyObject
*resultobj
= 0;
16604 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16605 unsigned int arg2
;
16606 bool arg3
= (bool) true ;
16609 unsigned int val2
;
16613 PyObject
* obj0
= 0 ;
16614 PyObject
* obj1
= 0 ;
16615 PyObject
* obj2
= 0 ;
16616 char * kwnames
[] = {
16617 (char *) "self",(char *) "n",(char *) "enable", NULL
16620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16622 if (!SWIG_IsOK(res1
)) {
16623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16625 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16626 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16627 if (!SWIG_IsOK(ecode2
)) {
16628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16630 arg2
= static_cast< unsigned int >(val2
);
16632 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16633 if (!SWIG_IsOK(ecode3
)) {
16634 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16636 arg3
= static_cast< bool >(val3
);
16639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16640 (arg1
)->Enable(arg2
,arg3
);
16641 wxPyEndAllowThreads(__tstate
);
16642 if (PyErr_Occurred()) SWIG_fail
;
16644 resultobj
= SWIG_Py_Void();
16651 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16652 PyObject
*resultobj
= 0;
16653 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16654 unsigned int arg2
;
16655 bool arg3
= (bool) true ;
16658 unsigned int val2
;
16662 PyObject
* obj0
= 0 ;
16663 PyObject
* obj1
= 0 ;
16664 PyObject
* obj2
= 0 ;
16665 char * kwnames
[] = {
16666 (char *) "self",(char *) "n",(char *) "show", NULL
16669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16671 if (!SWIG_IsOK(res1
)) {
16672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16674 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16675 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16676 if (!SWIG_IsOK(ecode2
)) {
16677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16679 arg2
= static_cast< unsigned int >(val2
);
16681 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16682 if (!SWIG_IsOK(ecode3
)) {
16683 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16685 arg3
= static_cast< bool >(val3
);
16688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16689 (arg1
)->Show(arg2
,arg3
);
16690 wxPyEndAllowThreads(__tstate
);
16691 if (PyErr_Occurred()) SWIG_fail
;
16693 resultobj
= SWIG_Py_Void();
16700 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16701 PyObject
*resultobj
= 0;
16702 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16703 unsigned int arg2
;
16707 unsigned int val2
;
16709 PyObject
* obj0
= 0 ;
16710 PyObject
* obj1
= 0 ;
16711 char * kwnames
[] = {
16712 (char *) "self",(char *) "n", NULL
16715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16717 if (!SWIG_IsOK(res1
)) {
16718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16720 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16721 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16722 if (!SWIG_IsOK(ecode2
)) {
16723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16725 arg2
= static_cast< unsigned int >(val2
);
16727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16728 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16729 wxPyEndAllowThreads(__tstate
);
16730 if (PyErr_Occurred()) SWIG_fail
;
16733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16741 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16742 PyObject
*resultobj
= 0;
16743 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16744 unsigned int arg2
;
16748 unsigned int val2
;
16750 PyObject
* obj0
= 0 ;
16751 PyObject
* obj1
= 0 ;
16752 char * kwnames
[] = {
16753 (char *) "self",(char *) "n", NULL
16756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16758 if (!SWIG_IsOK(res1
)) {
16759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16761 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16762 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16763 if (!SWIG_IsOK(ecode2
)) {
16764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16766 arg2
= static_cast< unsigned int >(val2
);
16768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16769 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16770 wxPyEndAllowThreads(__tstate
);
16771 if (PyErr_Occurred()) SWIG_fail
;
16774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16782 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16783 PyObject
*resultobj
= 0;
16784 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16785 unsigned int result
;
16788 PyObject
*swig_obj
[1] ;
16790 if (!args
) SWIG_fail
;
16791 swig_obj
[0] = args
;
16792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16793 if (!SWIG_IsOK(res1
)) {
16794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16796 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16799 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16800 wxPyEndAllowThreads(__tstate
);
16801 if (PyErr_Occurred()) SWIG_fail
;
16803 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16810 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16811 PyObject
*resultobj
= 0;
16812 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16813 unsigned int result
;
16816 PyObject
*swig_obj
[1] ;
16818 if (!args
) SWIG_fail
;
16819 swig_obj
[0] = args
;
16820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16821 if (!SWIG_IsOK(res1
)) {
16822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16824 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16827 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16828 wxPyEndAllowThreads(__tstate
);
16829 if (PyErr_Occurred()) SWIG_fail
;
16831 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16838 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16839 PyObject
*resultobj
= 0;
16840 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16853 PyObject
* obj0
= 0 ;
16854 PyObject
* obj1
= 0 ;
16855 PyObject
* obj2
= 0 ;
16856 PyObject
* obj3
= 0 ;
16857 char * kwnames
[] = {
16858 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16863 if (!SWIG_IsOK(res1
)) {
16864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16866 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16867 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16868 if (!SWIG_IsOK(ecode2
)) {
16869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16871 arg2
= static_cast< int >(val2
);
16872 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16873 if (!SWIG_IsOK(ecode3
)) {
16874 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16876 arg3
= static_cast< wxDirection
>(val3
);
16877 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16878 if (!SWIG_IsOK(ecode4
)) {
16879 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16881 arg4
= static_cast< long >(val4
);
16883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16884 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
16885 wxPyEndAllowThreads(__tstate
);
16886 if (PyErr_Occurred()) SWIG_fail
;
16888 resultobj
= SWIG_From_int(static_cast< int >(result
));
16895 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16896 PyObject
*resultobj
= 0;
16897 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16898 unsigned int arg2
;
16899 wxString
*arg3
= 0 ;
16902 unsigned int val2
;
16904 bool temp3
= false ;
16905 PyObject
* obj0
= 0 ;
16906 PyObject
* obj1
= 0 ;
16907 PyObject
* obj2
= 0 ;
16908 char * kwnames
[] = {
16909 (char *) "self",(char *) "item",(char *) "text", NULL
16912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16914 if (!SWIG_IsOK(res1
)) {
16915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16917 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16918 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16919 if (!SWIG_IsOK(ecode2
)) {
16920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16922 arg2
= static_cast< unsigned int >(val2
);
16924 arg3
= wxString_in_helper(obj2
);
16925 if (arg3
== NULL
) SWIG_fail
;
16929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16930 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
16931 wxPyEndAllowThreads(__tstate
);
16932 if (PyErr_Occurred()) SWIG_fail
;
16934 resultobj
= SWIG_Py_Void();
16949 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16950 PyObject
*resultobj
= 0;
16951 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16952 unsigned int arg2
;
16953 wxToolTip
*result
= 0 ;
16956 unsigned int val2
;
16958 PyObject
* obj0
= 0 ;
16959 PyObject
* obj1
= 0 ;
16960 char * kwnames
[] = {
16961 (char *) "self",(char *) "item", NULL
16964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16966 if (!SWIG_IsOK(res1
)) {
16967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16969 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16970 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16971 if (!SWIG_IsOK(ecode2
)) {
16972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16974 arg2
= static_cast< unsigned int >(val2
);
16976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16977 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
16978 wxPyEndAllowThreads(__tstate
);
16979 if (PyErr_Occurred()) SWIG_fail
;
16982 resultobj
= wxPyMake_wxObject(result
, (bool)0);
16990 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16991 PyObject
*resultobj
= 0;
16992 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16993 SwigValueWrapper
<wxVisualAttributes
> result
;
16996 PyObject
* obj0
= 0 ;
16997 char * kwnames
[] = {
16998 (char *) "variant", NULL
17001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17003 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17004 if (!SWIG_IsOK(ecode1
)) {
17005 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17007 arg1
= static_cast< wxWindowVariant
>(val1
);
17010 if (!wxPyCheckForApp()) SWIG_fail
;
17011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17012 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17013 wxPyEndAllowThreads(__tstate
);
17014 if (PyErr_Occurred()) SWIG_fail
;
17016 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17023 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17025 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17026 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17027 return SWIG_Py_Void();
17030 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17031 return SWIG_Python_InitShadowInstance(args
);
17034 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17035 PyObject
*resultobj
= 0;
17036 wxWindow
*arg1
= (wxWindow
*) 0 ;
17037 int arg2
= (int) -1 ;
17038 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17039 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17040 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17041 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17042 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17043 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17044 long arg6
= (long) 0 ;
17045 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17046 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17047 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17048 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17049 wxRadioButton
*result
= 0 ;
17054 bool temp3
= false ;
17061 bool temp8
= 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 char * kwnames
[] = {
17071 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17076 if (!SWIG_IsOK(res1
)) {
17077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17079 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17082 if (!SWIG_IsOK(ecode2
)) {
17083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17085 arg2
= static_cast< int >(val2
);
17089 arg3
= wxString_in_helper(obj2
);
17090 if (arg3
== NULL
) SWIG_fail
;
17097 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17103 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17107 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17108 if (!SWIG_IsOK(ecode6
)) {
17109 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17111 arg6
= static_cast< long >(val6
);
17114 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17115 if (!SWIG_IsOK(res7
)) {
17116 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17119 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17121 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17125 arg8
= wxString_in_helper(obj7
);
17126 if (arg8
== NULL
) SWIG_fail
;
17131 if (!wxPyCheckForApp()) SWIG_fail
;
17132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17133 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17134 wxPyEndAllowThreads(__tstate
);
17135 if (PyErr_Occurred()) SWIG_fail
;
17137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17160 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17161 PyObject
*resultobj
= 0;
17162 wxRadioButton
*result
= 0 ;
17164 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17166 if (!wxPyCheckForApp()) SWIG_fail
;
17167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17168 result
= (wxRadioButton
*)new wxRadioButton();
17169 wxPyEndAllowThreads(__tstate
);
17170 if (PyErr_Occurred()) SWIG_fail
;
17172 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17179 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17180 PyObject
*resultobj
= 0;
17181 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17182 wxWindow
*arg2
= (wxWindow
*) 0 ;
17183 int arg3
= (int) -1 ;
17184 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17185 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17186 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17187 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17188 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17189 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17190 long arg7
= (long) 0 ;
17191 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17192 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17193 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17194 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17202 bool temp4
= false ;
17209 bool temp9
= false ;
17210 PyObject
* obj0
= 0 ;
17211 PyObject
* obj1
= 0 ;
17212 PyObject
* obj2
= 0 ;
17213 PyObject
* obj3
= 0 ;
17214 PyObject
* obj4
= 0 ;
17215 PyObject
* obj5
= 0 ;
17216 PyObject
* obj6
= 0 ;
17217 PyObject
* obj7
= 0 ;
17218 PyObject
* obj8
= 0 ;
17219 char * kwnames
[] = {
17220 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17225 if (!SWIG_IsOK(res1
)) {
17226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17228 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17229 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17230 if (!SWIG_IsOK(res2
)) {
17231 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17233 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17235 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17236 if (!SWIG_IsOK(ecode3
)) {
17237 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17239 arg3
= static_cast< int >(val3
);
17243 arg4
= wxString_in_helper(obj3
);
17244 if (arg4
== NULL
) SWIG_fail
;
17251 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17257 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17261 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17262 if (!SWIG_IsOK(ecode7
)) {
17263 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17265 arg7
= static_cast< long >(val7
);
17268 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17269 if (!SWIG_IsOK(res8
)) {
17270 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17273 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17275 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17279 arg9
= wxString_in_helper(obj8
);
17280 if (arg9
== NULL
) SWIG_fail
;
17285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17286 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17287 wxPyEndAllowThreads(__tstate
);
17288 if (PyErr_Occurred()) SWIG_fail
;
17291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17315 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17316 PyObject
*resultobj
= 0;
17317 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17321 PyObject
*swig_obj
[1] ;
17323 if (!args
) SWIG_fail
;
17324 swig_obj
[0] = args
;
17325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17326 if (!SWIG_IsOK(res1
)) {
17327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17329 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17332 result
= (bool)(arg1
)->GetValue();
17333 wxPyEndAllowThreads(__tstate
);
17334 if (PyErr_Occurred()) SWIG_fail
;
17337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17345 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17346 PyObject
*resultobj
= 0;
17347 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17353 PyObject
* obj0
= 0 ;
17354 PyObject
* obj1
= 0 ;
17355 char * kwnames
[] = {
17356 (char *) "self",(char *) "value", NULL
17359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17361 if (!SWIG_IsOK(res1
)) {
17362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17364 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17365 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17366 if (!SWIG_IsOK(ecode2
)) {
17367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17369 arg2
= static_cast< bool >(val2
);
17371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17372 (arg1
)->SetValue(arg2
);
17373 wxPyEndAllowThreads(__tstate
);
17374 if (PyErr_Occurred()) SWIG_fail
;
17376 resultobj
= SWIG_Py_Void();
17383 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17384 PyObject
*resultobj
= 0;
17385 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17386 SwigValueWrapper
<wxVisualAttributes
> result
;
17389 PyObject
* obj0
= 0 ;
17390 char * kwnames
[] = {
17391 (char *) "variant", NULL
17394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17396 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17397 if (!SWIG_IsOK(ecode1
)) {
17398 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17400 arg1
= static_cast< wxWindowVariant
>(val1
);
17403 if (!wxPyCheckForApp()) SWIG_fail
;
17404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17405 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17406 wxPyEndAllowThreads(__tstate
);
17407 if (PyErr_Occurred()) SWIG_fail
;
17409 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17416 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17418 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17419 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17420 return SWIG_Py_Void();
17423 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17424 return SWIG_Python_InitShadowInstance(args
);
17427 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17428 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17433 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17434 PyObject
*pyobj
= 0;
17438 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17440 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17447 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17448 PyObject
*resultobj
= 0;
17449 wxWindow
*arg1
= (wxWindow
*) 0 ;
17450 int arg2
= (int) -1 ;
17451 int arg3
= (int) 0 ;
17452 int arg4
= (int) 0 ;
17453 int arg5
= (int) 100 ;
17454 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17455 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17456 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17457 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17458 long arg8
= (long) wxSL_HORIZONTAL
;
17459 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17460 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17461 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17462 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17463 wxSlider
*result
= 0 ;
17480 bool temp10
= false ;
17481 PyObject
* obj0
= 0 ;
17482 PyObject
* obj1
= 0 ;
17483 PyObject
* obj2
= 0 ;
17484 PyObject
* obj3
= 0 ;
17485 PyObject
* obj4
= 0 ;
17486 PyObject
* obj5
= 0 ;
17487 PyObject
* obj6
= 0 ;
17488 PyObject
* obj7
= 0 ;
17489 PyObject
* obj8
= 0 ;
17490 PyObject
* obj9
= 0 ;
17491 char * kwnames
[] = {
17492 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17497 if (!SWIG_IsOK(res1
)) {
17498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17500 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17503 if (!SWIG_IsOK(ecode2
)) {
17504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17506 arg2
= static_cast< int >(val2
);
17509 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17510 if (!SWIG_IsOK(ecode3
)) {
17511 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17513 arg3
= static_cast< int >(val3
);
17516 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17517 if (!SWIG_IsOK(ecode4
)) {
17518 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17520 arg4
= static_cast< int >(val4
);
17523 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17524 if (!SWIG_IsOK(ecode5
)) {
17525 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17527 arg5
= static_cast< int >(val5
);
17532 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17538 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17542 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17543 if (!SWIG_IsOK(ecode8
)) {
17544 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17546 arg8
= static_cast< long >(val8
);
17549 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17550 if (!SWIG_IsOK(res9
)) {
17551 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17556 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17560 arg10
= wxString_in_helper(obj9
);
17561 if (arg10
== NULL
) SWIG_fail
;
17566 if (!wxPyCheckForApp()) SWIG_fail
;
17567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17568 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17569 wxPyEndAllowThreads(__tstate
);
17570 if (PyErr_Occurred()) SWIG_fail
;
17572 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17587 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17588 PyObject
*resultobj
= 0;
17589 wxSlider
*result
= 0 ;
17591 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17593 if (!wxPyCheckForApp()) SWIG_fail
;
17594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17595 result
= (wxSlider
*)new wxSlider();
17596 wxPyEndAllowThreads(__tstate
);
17597 if (PyErr_Occurred()) SWIG_fail
;
17599 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17606 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17607 PyObject
*resultobj
= 0;
17608 wxSlider
*arg1
= (wxSlider
*) 0 ;
17609 wxWindow
*arg2
= (wxWindow
*) 0 ;
17610 int arg3
= (int) -1 ;
17611 int arg4
= (int) 0 ;
17612 int arg5
= (int) 0 ;
17613 int arg6
= (int) 100 ;
17614 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17615 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17616 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17617 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17618 long arg9
= (long) wxSL_HORIZONTAL
;
17619 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17620 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17621 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17622 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17642 bool temp11
= false ;
17643 PyObject
* obj0
= 0 ;
17644 PyObject
* obj1
= 0 ;
17645 PyObject
* obj2
= 0 ;
17646 PyObject
* obj3
= 0 ;
17647 PyObject
* obj4
= 0 ;
17648 PyObject
* obj5
= 0 ;
17649 PyObject
* obj6
= 0 ;
17650 PyObject
* obj7
= 0 ;
17651 PyObject
* obj8
= 0 ;
17652 PyObject
* obj9
= 0 ;
17653 PyObject
* obj10
= 0 ;
17654 char * kwnames
[] = {
17655 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17660 if (!SWIG_IsOK(res1
)) {
17661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17663 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17664 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17665 if (!SWIG_IsOK(res2
)) {
17666 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17668 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17670 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17671 if (!SWIG_IsOK(ecode3
)) {
17672 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17674 arg3
= static_cast< int >(val3
);
17677 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17678 if (!SWIG_IsOK(ecode4
)) {
17679 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17681 arg4
= static_cast< int >(val4
);
17684 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17685 if (!SWIG_IsOK(ecode5
)) {
17686 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17688 arg5
= static_cast< int >(val5
);
17691 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17692 if (!SWIG_IsOK(ecode6
)) {
17693 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17695 arg6
= static_cast< int >(val6
);
17700 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17706 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17710 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17711 if (!SWIG_IsOK(ecode9
)) {
17712 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17714 arg9
= static_cast< long >(val9
);
17717 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17718 if (!SWIG_IsOK(res10
)) {
17719 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17722 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17724 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17728 arg11
= wxString_in_helper(obj10
);
17729 if (arg11
== NULL
) SWIG_fail
;
17734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17735 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17736 wxPyEndAllowThreads(__tstate
);
17737 if (PyErr_Occurred()) SWIG_fail
;
17740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17756 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17757 PyObject
*resultobj
= 0;
17758 wxSlider
*arg1
= (wxSlider
*) 0 ;
17762 PyObject
*swig_obj
[1] ;
17764 if (!args
) SWIG_fail
;
17765 swig_obj
[0] = args
;
17766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17767 if (!SWIG_IsOK(res1
)) {
17768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17770 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17773 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17774 wxPyEndAllowThreads(__tstate
);
17775 if (PyErr_Occurred()) SWIG_fail
;
17777 resultobj
= SWIG_From_int(static_cast< int >(result
));
17784 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17785 PyObject
*resultobj
= 0;
17786 wxSlider
*arg1
= (wxSlider
*) 0 ;
17792 PyObject
* obj0
= 0 ;
17793 PyObject
* obj1
= 0 ;
17794 char * kwnames
[] = {
17795 (char *) "self",(char *) "value", NULL
17798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17800 if (!SWIG_IsOK(res1
)) {
17801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17803 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17804 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17805 if (!SWIG_IsOK(ecode2
)) {
17806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17808 arg2
= static_cast< int >(val2
);
17810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17811 (arg1
)->SetValue(arg2
);
17812 wxPyEndAllowThreads(__tstate
);
17813 if (PyErr_Occurred()) SWIG_fail
;
17815 resultobj
= SWIG_Py_Void();
17822 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17823 PyObject
*resultobj
= 0;
17824 wxSlider
*arg1
= (wxSlider
*) 0 ;
17833 PyObject
* obj0
= 0 ;
17834 PyObject
* obj1
= 0 ;
17835 PyObject
* obj2
= 0 ;
17836 char * kwnames
[] = {
17837 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
17840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17842 if (!SWIG_IsOK(res1
)) {
17843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
17845 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17846 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17847 if (!SWIG_IsOK(ecode2
)) {
17848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
17850 arg2
= static_cast< int >(val2
);
17851 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17852 if (!SWIG_IsOK(ecode3
)) {
17853 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
17855 arg3
= static_cast< int >(val3
);
17857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17858 (arg1
)->SetRange(arg2
,arg3
);
17859 wxPyEndAllowThreads(__tstate
);
17860 if (PyErr_Occurred()) SWIG_fail
;
17862 resultobj
= SWIG_Py_Void();
17869 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17870 PyObject
*resultobj
= 0;
17871 wxSlider
*arg1
= (wxSlider
*) 0 ;
17875 PyObject
*swig_obj
[1] ;
17877 if (!args
) SWIG_fail
;
17878 swig_obj
[0] = args
;
17879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17880 if (!SWIG_IsOK(res1
)) {
17881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
17883 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17886 result
= (int)((wxSlider
const *)arg1
)->GetMin();
17887 wxPyEndAllowThreads(__tstate
);
17888 if (PyErr_Occurred()) SWIG_fail
;
17890 resultobj
= SWIG_From_int(static_cast< int >(result
));
17897 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17898 PyObject
*resultobj
= 0;
17899 wxSlider
*arg1
= (wxSlider
*) 0 ;
17903 PyObject
*swig_obj
[1] ;
17905 if (!args
) SWIG_fail
;
17906 swig_obj
[0] = args
;
17907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17908 if (!SWIG_IsOK(res1
)) {
17909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
17911 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17914 result
= (int)((wxSlider
const *)arg1
)->GetMax();
17915 wxPyEndAllowThreads(__tstate
);
17916 if (PyErr_Occurred()) SWIG_fail
;
17918 resultobj
= SWIG_From_int(static_cast< int >(result
));
17925 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17926 PyObject
*resultobj
= 0;
17927 wxSlider
*arg1
= (wxSlider
*) 0 ;
17933 PyObject
* obj0
= 0 ;
17934 PyObject
* obj1
= 0 ;
17935 char * kwnames
[] = {
17936 (char *) "self",(char *) "minValue", NULL
17939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17941 if (!SWIG_IsOK(res1
)) {
17942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
17944 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17945 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17946 if (!SWIG_IsOK(ecode2
)) {
17947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
17949 arg2
= static_cast< int >(val2
);
17951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17952 (arg1
)->SetMin(arg2
);
17953 wxPyEndAllowThreads(__tstate
);
17954 if (PyErr_Occurred()) SWIG_fail
;
17956 resultobj
= SWIG_Py_Void();
17963 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17964 PyObject
*resultobj
= 0;
17965 wxSlider
*arg1
= (wxSlider
*) 0 ;
17971 PyObject
* obj0
= 0 ;
17972 PyObject
* obj1
= 0 ;
17973 char * kwnames
[] = {
17974 (char *) "self",(char *) "maxValue", NULL
17977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17979 if (!SWIG_IsOK(res1
)) {
17980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
17982 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17983 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17984 if (!SWIG_IsOK(ecode2
)) {
17985 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
17987 arg2
= static_cast< int >(val2
);
17989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17990 (arg1
)->SetMax(arg2
);
17991 wxPyEndAllowThreads(__tstate
);
17992 if (PyErr_Occurred()) SWIG_fail
;
17994 resultobj
= SWIG_Py_Void();
18001 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18002 PyObject
*resultobj
= 0;
18003 wxSlider
*arg1
= (wxSlider
*) 0 ;
18009 PyObject
* obj0
= 0 ;
18010 PyObject
* obj1
= 0 ;
18011 char * kwnames
[] = {
18012 (char *) "self",(char *) "lineSize", NULL
18015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18017 if (!SWIG_IsOK(res1
)) {
18018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18020 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18022 if (!SWIG_IsOK(ecode2
)) {
18023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18025 arg2
= static_cast< int >(val2
);
18027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18028 (arg1
)->SetLineSize(arg2
);
18029 wxPyEndAllowThreads(__tstate
);
18030 if (PyErr_Occurred()) SWIG_fail
;
18032 resultobj
= SWIG_Py_Void();
18039 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18040 PyObject
*resultobj
= 0;
18041 wxSlider
*arg1
= (wxSlider
*) 0 ;
18047 PyObject
* obj0
= 0 ;
18048 PyObject
* obj1
= 0 ;
18049 char * kwnames
[] = {
18050 (char *) "self",(char *) "pageSize", NULL
18053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18055 if (!SWIG_IsOK(res1
)) {
18056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18058 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18059 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18060 if (!SWIG_IsOK(ecode2
)) {
18061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18063 arg2
= static_cast< int >(val2
);
18065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18066 (arg1
)->SetPageSize(arg2
);
18067 wxPyEndAllowThreads(__tstate
);
18068 if (PyErr_Occurred()) SWIG_fail
;
18070 resultobj
= SWIG_Py_Void();
18077 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18078 PyObject
*resultobj
= 0;
18079 wxSlider
*arg1
= (wxSlider
*) 0 ;
18083 PyObject
*swig_obj
[1] ;
18085 if (!args
) SWIG_fail
;
18086 swig_obj
[0] = args
;
18087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18088 if (!SWIG_IsOK(res1
)) {
18089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18091 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18094 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18095 wxPyEndAllowThreads(__tstate
);
18096 if (PyErr_Occurred()) SWIG_fail
;
18098 resultobj
= SWIG_From_int(static_cast< int >(result
));
18105 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18106 PyObject
*resultobj
= 0;
18107 wxSlider
*arg1
= (wxSlider
*) 0 ;
18111 PyObject
*swig_obj
[1] ;
18113 if (!args
) SWIG_fail
;
18114 swig_obj
[0] = args
;
18115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18116 if (!SWIG_IsOK(res1
)) {
18117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18119 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18122 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18123 wxPyEndAllowThreads(__tstate
);
18124 if (PyErr_Occurred()) SWIG_fail
;
18126 resultobj
= SWIG_From_int(static_cast< int >(result
));
18133 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18134 PyObject
*resultobj
= 0;
18135 wxSlider
*arg1
= (wxSlider
*) 0 ;
18141 PyObject
* obj0
= 0 ;
18142 PyObject
* obj1
= 0 ;
18143 char * kwnames
[] = {
18144 (char *) "self",(char *) "lenPixels", NULL
18147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18149 if (!SWIG_IsOK(res1
)) {
18150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18152 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18153 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18154 if (!SWIG_IsOK(ecode2
)) {
18155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18157 arg2
= static_cast< int >(val2
);
18159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18160 (arg1
)->SetThumbLength(arg2
);
18161 wxPyEndAllowThreads(__tstate
);
18162 if (PyErr_Occurred()) SWIG_fail
;
18164 resultobj
= SWIG_Py_Void();
18171 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18172 PyObject
*resultobj
= 0;
18173 wxSlider
*arg1
= (wxSlider
*) 0 ;
18177 PyObject
*swig_obj
[1] ;
18179 if (!args
) SWIG_fail
;
18180 swig_obj
[0] = args
;
18181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18182 if (!SWIG_IsOK(res1
)) {
18183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18185 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18188 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18189 wxPyEndAllowThreads(__tstate
);
18190 if (PyErr_Occurred()) SWIG_fail
;
18192 resultobj
= SWIG_From_int(static_cast< int >(result
));
18199 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18200 PyObject
*resultobj
= 0;
18201 wxSlider
*arg1
= (wxSlider
*) 0 ;
18203 int arg3
= (int) 1 ;
18210 PyObject
* obj0
= 0 ;
18211 PyObject
* obj1
= 0 ;
18212 PyObject
* obj2
= 0 ;
18213 char * kwnames
[] = {
18214 (char *) "self",(char *) "n",(char *) "pos", NULL
18217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18219 if (!SWIG_IsOK(res1
)) {
18220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18222 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18223 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18224 if (!SWIG_IsOK(ecode2
)) {
18225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18227 arg2
= static_cast< int >(val2
);
18229 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18230 if (!SWIG_IsOK(ecode3
)) {
18231 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18233 arg3
= static_cast< int >(val3
);
18236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18237 (arg1
)->SetTickFreq(arg2
,arg3
);
18238 wxPyEndAllowThreads(__tstate
);
18239 if (PyErr_Occurred()) SWIG_fail
;
18241 resultobj
= SWIG_Py_Void();
18248 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(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_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18262 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18265 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18266 wxPyEndAllowThreads(__tstate
);
18267 if (PyErr_Occurred()) SWIG_fail
;
18269 resultobj
= SWIG_From_int(static_cast< int >(result
));
18276 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18277 PyObject
*resultobj
= 0;
18278 wxSlider
*arg1
= (wxSlider
*) 0 ;
18281 PyObject
*swig_obj
[1] ;
18283 if (!args
) SWIG_fail
;
18284 swig_obj
[0] = args
;
18285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18286 if (!SWIG_IsOK(res1
)) {
18287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18289 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18292 (arg1
)->ClearTicks();
18293 wxPyEndAllowThreads(__tstate
);
18294 if (PyErr_Occurred()) SWIG_fail
;
18296 resultobj
= SWIG_Py_Void();
18303 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18304 PyObject
*resultobj
= 0;
18305 wxSlider
*arg1
= (wxSlider
*) 0 ;
18311 PyObject
* obj0
= 0 ;
18312 PyObject
* obj1
= 0 ;
18313 char * kwnames
[] = {
18314 (char *) "self",(char *) "tickPos", NULL
18317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18319 if (!SWIG_IsOK(res1
)) {
18320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18322 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18323 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18324 if (!SWIG_IsOK(ecode2
)) {
18325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18327 arg2
= static_cast< int >(val2
);
18329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18330 (arg1
)->SetTick(arg2
);
18331 wxPyEndAllowThreads(__tstate
);
18332 if (PyErr_Occurred()) SWIG_fail
;
18334 resultobj
= SWIG_Py_Void();
18341 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18342 PyObject
*resultobj
= 0;
18343 wxSlider
*arg1
= (wxSlider
*) 0 ;
18346 PyObject
*swig_obj
[1] ;
18348 if (!args
) SWIG_fail
;
18349 swig_obj
[0] = args
;
18350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18351 if (!SWIG_IsOK(res1
)) {
18352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18354 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18357 (arg1
)->ClearSel();
18358 wxPyEndAllowThreads(__tstate
);
18359 if (PyErr_Occurred()) SWIG_fail
;
18361 resultobj
= SWIG_Py_Void();
18368 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18369 PyObject
*resultobj
= 0;
18370 wxSlider
*arg1
= (wxSlider
*) 0 ;
18374 PyObject
*swig_obj
[1] ;
18376 if (!args
) SWIG_fail
;
18377 swig_obj
[0] = args
;
18378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18379 if (!SWIG_IsOK(res1
)) {
18380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18382 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18385 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18386 wxPyEndAllowThreads(__tstate
);
18387 if (PyErr_Occurred()) SWIG_fail
;
18389 resultobj
= SWIG_From_int(static_cast< int >(result
));
18396 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18397 PyObject
*resultobj
= 0;
18398 wxSlider
*arg1
= (wxSlider
*) 0 ;
18402 PyObject
*swig_obj
[1] ;
18404 if (!args
) SWIG_fail
;
18405 swig_obj
[0] = args
;
18406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18407 if (!SWIG_IsOK(res1
)) {
18408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18410 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18413 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18414 wxPyEndAllowThreads(__tstate
);
18415 if (PyErr_Occurred()) SWIG_fail
;
18417 resultobj
= SWIG_From_int(static_cast< int >(result
));
18424 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18425 PyObject
*resultobj
= 0;
18426 wxSlider
*arg1
= (wxSlider
*) 0 ;
18435 PyObject
* obj0
= 0 ;
18436 PyObject
* obj1
= 0 ;
18437 PyObject
* obj2
= 0 ;
18438 char * kwnames
[] = {
18439 (char *) "self",(char *) "min",(char *) "max", NULL
18442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18444 if (!SWIG_IsOK(res1
)) {
18445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18447 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18448 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18449 if (!SWIG_IsOK(ecode2
)) {
18450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18452 arg2
= static_cast< int >(val2
);
18453 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18454 if (!SWIG_IsOK(ecode3
)) {
18455 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18457 arg3
= static_cast< int >(val3
);
18459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18460 (arg1
)->SetSelection(arg2
,arg3
);
18461 wxPyEndAllowThreads(__tstate
);
18462 if (PyErr_Occurred()) SWIG_fail
;
18464 resultobj
= SWIG_Py_Void();
18471 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18472 PyObject
*resultobj
= 0;
18473 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18474 SwigValueWrapper
<wxVisualAttributes
> result
;
18477 PyObject
* obj0
= 0 ;
18478 char * kwnames
[] = {
18479 (char *) "variant", NULL
18482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18484 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18485 if (!SWIG_IsOK(ecode1
)) {
18486 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18488 arg1
= static_cast< wxWindowVariant
>(val1
);
18491 if (!wxPyCheckForApp()) SWIG_fail
;
18492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18493 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18494 wxPyEndAllowThreads(__tstate
);
18495 if (PyErr_Occurred()) SWIG_fail
;
18497 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18504 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18506 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18507 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18508 return SWIG_Py_Void();
18511 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18512 return SWIG_Python_InitShadowInstance(args
);
18515 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18516 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18521 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18522 PyObject
*pyobj
= 0;
18526 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18528 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18535 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18536 PyObject
*resultobj
= 0;
18537 wxWindow
*arg1
= (wxWindow
*) 0 ;
18538 int arg2
= (int) -1 ;
18539 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18540 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18541 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18542 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18543 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18544 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18545 long arg6
= (long) 0 ;
18546 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18547 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18548 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18549 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18550 wxToggleButton
*result
= 0 ;
18555 bool temp3
= false ;
18562 bool temp8
= 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 char * kwnames
[] = {
18572 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18577 if (!SWIG_IsOK(res1
)) {
18578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18580 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18582 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18583 if (!SWIG_IsOK(ecode2
)) {
18584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18586 arg2
= static_cast< int >(val2
);
18590 arg3
= wxString_in_helper(obj2
);
18591 if (arg3
== NULL
) SWIG_fail
;
18598 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18604 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18608 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18609 if (!SWIG_IsOK(ecode6
)) {
18610 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18612 arg6
= static_cast< long >(val6
);
18615 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18616 if (!SWIG_IsOK(res7
)) {
18617 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18620 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18622 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18626 arg8
= wxString_in_helper(obj7
);
18627 if (arg8
== NULL
) SWIG_fail
;
18632 if (!wxPyCheckForApp()) SWIG_fail
;
18633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18634 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18635 wxPyEndAllowThreads(__tstate
);
18636 if (PyErr_Occurred()) SWIG_fail
;
18638 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18661 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18662 PyObject
*resultobj
= 0;
18663 wxToggleButton
*result
= 0 ;
18665 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18667 if (!wxPyCheckForApp()) SWIG_fail
;
18668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18669 result
= (wxToggleButton
*)new wxToggleButton();
18670 wxPyEndAllowThreads(__tstate
);
18671 if (PyErr_Occurred()) SWIG_fail
;
18673 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18680 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18681 PyObject
*resultobj
= 0;
18682 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18683 wxWindow
*arg2
= (wxWindow
*) 0 ;
18684 int arg3
= (int) -1 ;
18685 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18686 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18687 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18688 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18689 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18690 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18691 long arg7
= (long) 0 ;
18692 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18693 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18694 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18695 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18703 bool temp4
= false ;
18710 bool temp9
= false ;
18711 PyObject
* obj0
= 0 ;
18712 PyObject
* obj1
= 0 ;
18713 PyObject
* obj2
= 0 ;
18714 PyObject
* obj3
= 0 ;
18715 PyObject
* obj4
= 0 ;
18716 PyObject
* obj5
= 0 ;
18717 PyObject
* obj6
= 0 ;
18718 PyObject
* obj7
= 0 ;
18719 PyObject
* obj8
= 0 ;
18720 char * kwnames
[] = {
18721 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18726 if (!SWIG_IsOK(res1
)) {
18727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18729 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18730 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18731 if (!SWIG_IsOK(res2
)) {
18732 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18734 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18736 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18737 if (!SWIG_IsOK(ecode3
)) {
18738 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18740 arg3
= static_cast< int >(val3
);
18744 arg4
= wxString_in_helper(obj3
);
18745 if (arg4
== NULL
) SWIG_fail
;
18752 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18758 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18762 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18763 if (!SWIG_IsOK(ecode7
)) {
18764 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18766 arg7
= static_cast< long >(val7
);
18769 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18770 if (!SWIG_IsOK(res8
)) {
18771 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18774 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18776 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18780 arg9
= wxString_in_helper(obj8
);
18781 if (arg9
== NULL
) SWIG_fail
;
18786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18787 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18788 wxPyEndAllowThreads(__tstate
);
18789 if (PyErr_Occurred()) SWIG_fail
;
18792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18816 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18817 PyObject
*resultobj
= 0;
18818 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18824 PyObject
* obj0
= 0 ;
18825 PyObject
* obj1
= 0 ;
18826 char * kwnames
[] = {
18827 (char *) "self",(char *) "value", NULL
18830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18832 if (!SWIG_IsOK(res1
)) {
18833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18835 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18836 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18837 if (!SWIG_IsOK(ecode2
)) {
18838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
18840 arg2
= static_cast< bool >(val2
);
18842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18843 (arg1
)->SetValue(arg2
);
18844 wxPyEndAllowThreads(__tstate
);
18845 if (PyErr_Occurred()) SWIG_fail
;
18847 resultobj
= SWIG_Py_Void();
18854 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18855 PyObject
*resultobj
= 0;
18856 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18860 PyObject
*swig_obj
[1] ;
18862 if (!args
) SWIG_fail
;
18863 swig_obj
[0] = args
;
18864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18865 if (!SWIG_IsOK(res1
)) {
18866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
18868 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18871 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
18872 wxPyEndAllowThreads(__tstate
);
18873 if (PyErr_Occurred()) SWIG_fail
;
18876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18884 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18885 PyObject
*resultobj
= 0;
18886 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18887 SwigValueWrapper
<wxVisualAttributes
> result
;
18890 PyObject
* obj0
= 0 ;
18891 char * kwnames
[] = {
18892 (char *) "variant", NULL
18895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18897 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18898 if (!SWIG_IsOK(ecode1
)) {
18899 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18901 arg1
= static_cast< wxWindowVariant
>(val1
);
18904 if (!wxPyCheckForApp()) SWIG_fail
;
18905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18906 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
18907 wxPyEndAllowThreads(__tstate
);
18908 if (PyErr_Occurred()) SWIG_fail
;
18910 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18917 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18919 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18920 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
18921 return SWIG_Py_Void();
18924 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18925 return SWIG_Python_InitShadowInstance(args
);
18928 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
18929 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
18934 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
18935 PyObject
*pyobj
= 0;
18939 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18941 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18948 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18949 PyObject
*resultobj
= 0;
18950 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18954 PyObject
*swig_obj
[1] ;
18956 if (!args
) SWIG_fail
;
18957 swig_obj
[0] = args
;
18958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18959 if (!SWIG_IsOK(res1
)) {
18960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18962 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18965 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
18966 wxPyEndAllowThreads(__tstate
);
18967 if (PyErr_Occurred()) SWIG_fail
;
18969 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
18976 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18977 PyObject
*resultobj
= 0;
18978 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18980 wxWindow
*result
= 0 ;
18985 PyObject
* obj0
= 0 ;
18986 PyObject
* obj1
= 0 ;
18987 char * kwnames
[] = {
18988 (char *) "self",(char *) "n", NULL
18991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18993 if (!SWIG_IsOK(res1
)) {
18994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18996 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18997 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
18998 if (!SWIG_IsOK(ecode2
)) {
18999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19001 arg2
= static_cast< size_t >(val2
);
19003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19004 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19005 wxPyEndAllowThreads(__tstate
);
19006 if (PyErr_Occurred()) SWIG_fail
;
19009 resultobj
= wxPyMake_wxObject(result
, 0);
19017 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19018 PyObject
*resultobj
= 0;
19019 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19020 wxWindow
*result
= 0 ;
19023 PyObject
*swig_obj
[1] ;
19025 if (!args
) SWIG_fail
;
19026 swig_obj
[0] = args
;
19027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19028 if (!SWIG_IsOK(res1
)) {
19029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19031 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19034 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19035 wxPyEndAllowThreads(__tstate
);
19036 if (PyErr_Occurred()) SWIG_fail
;
19039 resultobj
= wxPyMake_wxObject(result
, 0);
19047 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19048 PyObject
*resultobj
= 0;
19049 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19053 PyObject
*swig_obj
[1] ;
19055 if (!args
) SWIG_fail
;
19056 swig_obj
[0] = args
;
19057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19058 if (!SWIG_IsOK(res1
)) {
19059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19061 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19064 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19065 wxPyEndAllowThreads(__tstate
);
19066 if (PyErr_Occurred()) SWIG_fail
;
19068 resultobj
= SWIG_From_int(static_cast< int >(result
));
19075 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19076 PyObject
*resultobj
= 0;
19077 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19079 wxString
*arg3
= 0 ;
19085 bool temp3
= false ;
19086 PyObject
* obj0
= 0 ;
19087 PyObject
* obj1
= 0 ;
19088 PyObject
* obj2
= 0 ;
19089 char * kwnames
[] = {
19090 (char *) "self",(char *) "n",(char *) "strText", NULL
19093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19095 if (!SWIG_IsOK(res1
)) {
19096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19098 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19099 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19100 if (!SWIG_IsOK(ecode2
)) {
19101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19103 arg2
= static_cast< size_t >(val2
);
19105 arg3
= wxString_in_helper(obj2
);
19106 if (arg3
== NULL
) SWIG_fail
;
19110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19111 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19112 wxPyEndAllowThreads(__tstate
);
19113 if (PyErr_Occurred()) SWIG_fail
;
19116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19132 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19133 PyObject
*resultobj
= 0;
19134 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19141 PyObject
* obj0
= 0 ;
19142 PyObject
* obj1
= 0 ;
19143 char * kwnames
[] = {
19144 (char *) "self",(char *) "n", NULL
19147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19149 if (!SWIG_IsOK(res1
)) {
19150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19152 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19153 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19154 if (!SWIG_IsOK(ecode2
)) {
19155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19157 arg2
= static_cast< size_t >(val2
);
19159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19160 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19161 wxPyEndAllowThreads(__tstate
);
19162 if (PyErr_Occurred()) SWIG_fail
;
19166 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19168 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19177 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19178 PyObject
*resultobj
= 0;
19179 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19180 wxImageList
*arg2
= (wxImageList
*) 0 ;
19185 PyObject
* obj0
= 0 ;
19186 PyObject
* obj1
= 0 ;
19187 char * kwnames
[] = {
19188 (char *) "self",(char *) "imageList", NULL
19191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) 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_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19196 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19197 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19198 if (!SWIG_IsOK(res2
)) {
19199 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19201 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19204 (arg1
)->SetImageList(arg2
);
19205 wxPyEndAllowThreads(__tstate
);
19206 if (PyErr_Occurred()) SWIG_fail
;
19208 resultobj
= SWIG_Py_Void();
19215 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19216 PyObject
*resultobj
= 0;
19217 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19218 wxImageList
*arg2
= (wxImageList
*) 0 ;
19222 PyObject
* obj0
= 0 ;
19223 PyObject
* obj1
= 0 ;
19224 char * kwnames
[] = {
19225 (char *) "self",(char *) "imageList", NULL
19228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19230 if (!SWIG_IsOK(res1
)) {
19231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19233 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19234 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19235 if (!SWIG_IsOK(res2
)) {
19236 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19240 (arg1
)->AssignImageList(arg2
);
19241 wxPyEndAllowThreads(__tstate
);
19242 if (PyErr_Occurred()) SWIG_fail
;
19244 resultobj
= SWIG_Py_Void();
19251 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19252 PyObject
*resultobj
= 0;
19253 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19254 wxImageList
*result
= 0 ;
19257 PyObject
*swig_obj
[1] ;
19259 if (!args
) SWIG_fail
;
19260 swig_obj
[0] = args
;
19261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19262 if (!SWIG_IsOK(res1
)) {
19263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19265 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19268 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19269 wxPyEndAllowThreads(__tstate
);
19270 if (PyErr_Occurred()) SWIG_fail
;
19273 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19281 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19282 PyObject
*resultobj
= 0;
19283 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19290 PyObject
* obj0
= 0 ;
19291 PyObject
* obj1
= 0 ;
19292 char * kwnames
[] = {
19293 (char *) "self",(char *) "n", NULL
19296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19298 if (!SWIG_IsOK(res1
)) {
19299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19301 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19302 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19303 if (!SWIG_IsOK(ecode2
)) {
19304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19306 arg2
= static_cast< size_t >(val2
);
19308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19309 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19310 wxPyEndAllowThreads(__tstate
);
19311 if (PyErr_Occurred()) SWIG_fail
;
19313 resultobj
= SWIG_From_int(static_cast< int >(result
));
19320 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19321 PyObject
*resultobj
= 0;
19322 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19332 PyObject
* obj0
= 0 ;
19333 PyObject
* obj1
= 0 ;
19334 PyObject
* obj2
= 0 ;
19335 char * kwnames
[] = {
19336 (char *) "self",(char *) "n",(char *) "imageId", NULL
19339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19341 if (!SWIG_IsOK(res1
)) {
19342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19344 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19345 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19346 if (!SWIG_IsOK(ecode2
)) {
19347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19349 arg2
= static_cast< size_t >(val2
);
19350 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19351 if (!SWIG_IsOK(ecode3
)) {
19352 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19354 arg3
= static_cast< int >(val3
);
19356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19357 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19358 wxPyEndAllowThreads(__tstate
);
19359 if (PyErr_Occurred()) SWIG_fail
;
19362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19370 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19371 PyObject
*resultobj
= 0;
19372 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19377 PyObject
* obj0
= 0 ;
19378 PyObject
* obj1
= 0 ;
19379 char * kwnames
[] = {
19380 (char *) "self",(char *) "size", NULL
19383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19385 if (!SWIG_IsOK(res1
)) {
19386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19388 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19391 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19395 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19396 wxPyEndAllowThreads(__tstate
);
19397 if (PyErr_Occurred()) SWIG_fail
;
19399 resultobj
= SWIG_Py_Void();
19406 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19407 PyObject
*resultobj
= 0;
19408 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19414 PyObject
* obj0
= 0 ;
19415 PyObject
* obj1
= 0 ;
19416 char * kwnames
[] = {
19417 (char *) "self",(char *) "sizePage", NULL
19420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19422 if (!SWIG_IsOK(res1
)) {
19423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19425 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19428 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19432 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19433 wxPyEndAllowThreads(__tstate
);
19434 if (PyErr_Occurred()) SWIG_fail
;
19436 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19443 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19444 PyObject
*resultobj
= 0;
19445 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19446 unsigned int result
;
19449 PyObject
*swig_obj
[1] ;
19451 if (!args
) SWIG_fail
;
19452 swig_obj
[0] = args
;
19453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19454 if (!SWIG_IsOK(res1
)) {
19455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19457 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19460 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19461 wxPyEndAllowThreads(__tstate
);
19462 if (PyErr_Occurred()) SWIG_fail
;
19464 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19471 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19472 PyObject
*resultobj
= 0;
19473 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19474 unsigned int arg2
;
19477 unsigned int val2
;
19479 PyObject
* obj0
= 0 ;
19480 PyObject
* obj1
= 0 ;
19481 char * kwnames
[] = {
19482 (char *) "self",(char *) "internalBorder", NULL
19485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19487 if (!SWIG_IsOK(res1
)) {
19488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19490 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19491 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19492 if (!SWIG_IsOK(ecode2
)) {
19493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19495 arg2
= static_cast< unsigned int >(val2
);
19497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19498 (arg1
)->SetInternalBorder(arg2
);
19499 wxPyEndAllowThreads(__tstate
);
19500 if (PyErr_Occurred()) SWIG_fail
;
19502 resultobj
= SWIG_Py_Void();
19509 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19510 PyObject
*resultobj
= 0;
19511 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19515 PyObject
*swig_obj
[1] ;
19517 if (!args
) SWIG_fail
;
19518 swig_obj
[0] = args
;
19519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19520 if (!SWIG_IsOK(res1
)) {
19521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19523 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19526 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19527 wxPyEndAllowThreads(__tstate
);
19528 if (PyErr_Occurred()) SWIG_fail
;
19531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19539 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19540 PyObject
*resultobj
= 0;
19541 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19547 PyObject
* obj0
= 0 ;
19548 PyObject
* obj1
= 0 ;
19549 char * kwnames
[] = {
19550 (char *) "self",(char *) "margin", NULL
19553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19555 if (!SWIG_IsOK(res1
)) {
19556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19558 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19559 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19560 if (!SWIG_IsOK(ecode2
)) {
19561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19563 arg2
= static_cast< int >(val2
);
19565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19566 (arg1
)->SetControlMargin(arg2
);
19567 wxPyEndAllowThreads(__tstate
);
19568 if (PyErr_Occurred()) SWIG_fail
;
19570 resultobj
= SWIG_Py_Void();
19577 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19578 PyObject
*resultobj
= 0;
19579 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19583 PyObject
*swig_obj
[1] ;
19585 if (!args
) SWIG_fail
;
19586 swig_obj
[0] = args
;
19587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19588 if (!SWIG_IsOK(res1
)) {
19589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19591 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19594 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19595 wxPyEndAllowThreads(__tstate
);
19596 if (PyErr_Occurred()) SWIG_fail
;
19598 resultobj
= SWIG_From_int(static_cast< int >(result
));
19605 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19606 PyObject
*resultobj
= 0;
19607 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19613 PyObject
* obj0
= 0 ;
19614 PyObject
* obj1
= 0 ;
19615 char * kwnames
[] = {
19616 (char *) "self",(char *) "fit", NULL
19619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19621 if (!SWIG_IsOK(res1
)) {
19622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19624 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19625 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19626 if (!SWIG_IsOK(ecode2
)) {
19627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19629 arg2
= static_cast< bool >(val2
);
19631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19632 (arg1
)->SetFitToCurrentPage(arg2
);
19633 wxPyEndAllowThreads(__tstate
);
19634 if (PyErr_Occurred()) SWIG_fail
;
19636 resultobj
= SWIG_Py_Void();
19643 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19644 PyObject
*resultobj
= 0;
19645 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19649 PyObject
*swig_obj
[1] ;
19651 if (!args
) SWIG_fail
;
19652 swig_obj
[0] = args
;
19653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19654 if (!SWIG_IsOK(res1
)) {
19655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19657 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19660 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19661 wxPyEndAllowThreads(__tstate
);
19662 if (PyErr_Occurred()) SWIG_fail
;
19665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19673 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19674 PyObject
*resultobj
= 0;
19675 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19676 wxSizer
*result
= 0 ;
19679 PyObject
*swig_obj
[1] ;
19681 if (!args
) SWIG_fail
;
19682 swig_obj
[0] = args
;
19683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19684 if (!SWIG_IsOK(res1
)) {
19685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19687 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19690 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19691 wxPyEndAllowThreads(__tstate
);
19692 if (PyErr_Occurred()) SWIG_fail
;
19695 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19703 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19704 PyObject
*resultobj
= 0;
19705 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19712 PyObject
* obj0
= 0 ;
19713 PyObject
* obj1
= 0 ;
19714 char * kwnames
[] = {
19715 (char *) "self",(char *) "n", NULL
19718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19720 if (!SWIG_IsOK(res1
)) {
19721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19723 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19724 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19725 if (!SWIG_IsOK(ecode2
)) {
19726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19728 arg2
= static_cast< size_t >(val2
);
19730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19731 result
= (bool)(arg1
)->DeletePage(arg2
);
19732 wxPyEndAllowThreads(__tstate
);
19733 if (PyErr_Occurred()) SWIG_fail
;
19736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19744 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19745 PyObject
*resultobj
= 0;
19746 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19753 PyObject
* obj0
= 0 ;
19754 PyObject
* obj1
= 0 ;
19755 char * kwnames
[] = {
19756 (char *) "self",(char *) "n", NULL
19759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19761 if (!SWIG_IsOK(res1
)) {
19762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19764 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19765 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19766 if (!SWIG_IsOK(ecode2
)) {
19767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19769 arg2
= static_cast< size_t >(val2
);
19771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19772 result
= (bool)(arg1
)->RemovePage(arg2
);
19773 wxPyEndAllowThreads(__tstate
);
19774 if (PyErr_Occurred()) SWIG_fail
;
19777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19785 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19786 PyObject
*resultobj
= 0;
19787 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19791 PyObject
*swig_obj
[1] ;
19793 if (!args
) SWIG_fail
;
19794 swig_obj
[0] = args
;
19795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19796 if (!SWIG_IsOK(res1
)) {
19797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19799 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19802 result
= (bool)(arg1
)->DeleteAllPages();
19803 wxPyEndAllowThreads(__tstate
);
19804 if (PyErr_Occurred()) SWIG_fail
;
19807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19815 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19816 PyObject
*resultobj
= 0;
19817 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19818 wxWindow
*arg2
= (wxWindow
*) 0 ;
19819 wxString
*arg3
= 0 ;
19820 bool arg4
= (bool) false ;
19821 int arg5
= (int) -1 ;
19827 bool temp3
= false ;
19832 PyObject
* obj0
= 0 ;
19833 PyObject
* obj1
= 0 ;
19834 PyObject
* obj2
= 0 ;
19835 PyObject
* obj3
= 0 ;
19836 PyObject
* obj4
= 0 ;
19837 char * kwnames
[] = {
19838 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19843 if (!SWIG_IsOK(res1
)) {
19844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19846 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19847 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19848 if (!SWIG_IsOK(res2
)) {
19849 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
19851 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19853 arg3
= wxString_in_helper(obj2
);
19854 if (arg3
== NULL
) SWIG_fail
;
19858 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19859 if (!SWIG_IsOK(ecode4
)) {
19860 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
19862 arg4
= static_cast< bool >(val4
);
19865 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19866 if (!SWIG_IsOK(ecode5
)) {
19867 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
19869 arg5
= static_cast< int >(val5
);
19872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19873 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19874 wxPyEndAllowThreads(__tstate
);
19875 if (PyErr_Occurred()) SWIG_fail
;
19878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19894 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19895 PyObject
*resultobj
= 0;
19896 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19898 wxWindow
*arg3
= (wxWindow
*) 0 ;
19899 wxString
*arg4
= 0 ;
19900 bool arg5
= (bool) false ;
19901 int arg6
= (int) -1 ;
19909 bool temp4
= false ;
19914 PyObject
* obj0
= 0 ;
19915 PyObject
* obj1
= 0 ;
19916 PyObject
* obj2
= 0 ;
19917 PyObject
* obj3
= 0 ;
19918 PyObject
* obj4
= 0 ;
19919 PyObject
* obj5
= 0 ;
19920 char * kwnames
[] = {
19921 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19926 if (!SWIG_IsOK(res1
)) {
19927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19929 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19930 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19931 if (!SWIG_IsOK(ecode2
)) {
19932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
19934 arg2
= static_cast< size_t >(val2
);
19935 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19936 if (!SWIG_IsOK(res3
)) {
19937 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
19939 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
19941 arg4
= wxString_in_helper(obj3
);
19942 if (arg4
== NULL
) SWIG_fail
;
19946 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19947 if (!SWIG_IsOK(ecode5
)) {
19948 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
19950 arg5
= static_cast< bool >(val5
);
19953 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19954 if (!SWIG_IsOK(ecode6
)) {
19955 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
19957 arg6
= static_cast< int >(val6
);
19960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19961 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
19962 wxPyEndAllowThreads(__tstate
);
19963 if (PyErr_Occurred()) SWIG_fail
;
19966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19982 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19983 PyObject
*resultobj
= 0;
19984 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19991 PyObject
* obj0
= 0 ;
19992 PyObject
* obj1
= 0 ;
19993 char * kwnames
[] = {
19994 (char *) "self",(char *) "n", NULL
19997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19999 if (!SWIG_IsOK(res1
)) {
20000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20002 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20003 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20004 if (!SWIG_IsOK(ecode2
)) {
20005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20007 arg2
= static_cast< size_t >(val2
);
20009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20010 result
= (int)(arg1
)->SetSelection(arg2
);
20011 wxPyEndAllowThreads(__tstate
);
20012 if (PyErr_Occurred()) SWIG_fail
;
20014 resultobj
= SWIG_From_int(static_cast< int >(result
));
20021 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20022 PyObject
*resultobj
= 0;
20023 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20024 bool arg2
= (bool) true ;
20029 PyObject
* obj0
= 0 ;
20030 PyObject
* obj1
= 0 ;
20031 char * kwnames
[] = {
20032 (char *) "self",(char *) "forward", NULL
20035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20037 if (!SWIG_IsOK(res1
)) {
20038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20040 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20042 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20043 if (!SWIG_IsOK(ecode2
)) {
20044 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20046 arg2
= static_cast< bool >(val2
);
20049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20050 (arg1
)->AdvanceSelection(arg2
);
20051 wxPyEndAllowThreads(__tstate
);
20052 if (PyErr_Occurred()) SWIG_fail
;
20054 resultobj
= SWIG_Py_Void();
20061 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20062 PyObject
*resultobj
= 0;
20063 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20064 wxPoint
*arg2
= 0 ;
20065 long *arg3
= (long *) 0 ;
20071 int res3
= SWIG_TMPOBJ
;
20072 PyObject
* obj0
= 0 ;
20073 PyObject
* obj1
= 0 ;
20074 char * kwnames
[] = {
20075 (char *) "self",(char *) "pt", NULL
20079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20081 if (!SWIG_IsOK(res1
)) {
20082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20084 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20087 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20091 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20092 wxPyEndAllowThreads(__tstate
);
20093 if (PyErr_Occurred()) SWIG_fail
;
20095 resultobj
= SWIG_From_int(static_cast< int >(result
));
20096 if (SWIG_IsTmpObj(res3
)) {
20097 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20099 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20100 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20108 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20109 PyObject
*resultobj
= 0;
20110 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20111 SwigValueWrapper
<wxVisualAttributes
> result
;
20114 PyObject
* obj0
= 0 ;
20115 char * kwnames
[] = {
20116 (char *) "variant", NULL
20119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20121 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20122 if (!SWIG_IsOK(ecode1
)) {
20123 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20125 arg1
= static_cast< wxWindowVariant
>(val1
);
20128 if (!wxPyCheckForApp()) SWIG_fail
;
20129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20130 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20131 wxPyEndAllowThreads(__tstate
);
20132 if (PyErr_Occurred()) SWIG_fail
;
20134 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20141 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20143 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20144 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20145 return SWIG_Py_Void();
20148 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20149 PyObject
*resultobj
= 0;
20150 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20151 int arg2
= (int) 0 ;
20152 int arg3
= (int) -1 ;
20153 int arg4
= (int) -1 ;
20154 wxBookCtrlBaseEvent
*result
= 0 ;
20163 PyObject
* obj0
= 0 ;
20164 PyObject
* obj1
= 0 ;
20165 PyObject
* obj2
= 0 ;
20166 PyObject
* obj3
= 0 ;
20167 char * kwnames
[] = {
20168 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20173 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20174 if (!SWIG_IsOK(ecode1
)) {
20175 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20177 arg1
= static_cast< wxEventType
>(val1
);
20180 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20181 if (!SWIG_IsOK(ecode2
)) {
20182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20184 arg2
= static_cast< int >(val2
);
20187 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20188 if (!SWIG_IsOK(ecode3
)) {
20189 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20191 arg3
= static_cast< int >(val3
);
20194 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20195 if (!SWIG_IsOK(ecode4
)) {
20196 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20198 arg4
= static_cast< int >(val4
);
20201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20202 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20203 wxPyEndAllowThreads(__tstate
);
20204 if (PyErr_Occurred()) SWIG_fail
;
20206 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20213 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20214 PyObject
*resultobj
= 0;
20215 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20219 PyObject
*swig_obj
[1] ;
20221 if (!args
) SWIG_fail
;
20222 swig_obj
[0] = args
;
20223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20224 if (!SWIG_IsOK(res1
)) {
20225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20227 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20230 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20231 wxPyEndAllowThreads(__tstate
);
20232 if (PyErr_Occurred()) SWIG_fail
;
20234 resultobj
= SWIG_From_int(static_cast< int >(result
));
20241 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20242 PyObject
*resultobj
= 0;
20243 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20249 PyObject
* obj0
= 0 ;
20250 PyObject
* obj1
= 0 ;
20251 char * kwnames
[] = {
20252 (char *) "self",(char *) "nSel", NULL
20255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20257 if (!SWIG_IsOK(res1
)) {
20258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20260 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20261 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20262 if (!SWIG_IsOK(ecode2
)) {
20263 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20265 arg2
= static_cast< int >(val2
);
20267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20268 (arg1
)->SetSelection(arg2
);
20269 wxPyEndAllowThreads(__tstate
);
20270 if (PyErr_Occurred()) SWIG_fail
;
20272 resultobj
= SWIG_Py_Void();
20279 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20280 PyObject
*resultobj
= 0;
20281 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20285 PyObject
*swig_obj
[1] ;
20287 if (!args
) SWIG_fail
;
20288 swig_obj
[0] = args
;
20289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20290 if (!SWIG_IsOK(res1
)) {
20291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20293 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20296 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20297 wxPyEndAllowThreads(__tstate
);
20298 if (PyErr_Occurred()) SWIG_fail
;
20300 resultobj
= SWIG_From_int(static_cast< int >(result
));
20307 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20308 PyObject
*resultobj
= 0;
20309 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20315 PyObject
* obj0
= 0 ;
20316 PyObject
* obj1
= 0 ;
20317 char * kwnames
[] = {
20318 (char *) "self",(char *) "nOldSel", NULL
20321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20323 if (!SWIG_IsOK(res1
)) {
20324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20326 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20328 if (!SWIG_IsOK(ecode2
)) {
20329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20331 arg2
= static_cast< int >(val2
);
20333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20334 (arg1
)->SetOldSelection(arg2
);
20335 wxPyEndAllowThreads(__tstate
);
20336 if (PyErr_Occurred()) SWIG_fail
;
20338 resultobj
= SWIG_Py_Void();
20345 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20347 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20348 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20349 return SWIG_Py_Void();
20352 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20353 return SWIG_Python_InitShadowInstance(args
);
20356 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20357 PyObject
*resultobj
= 0;
20358 wxWindow
*arg1
= (wxWindow
*) 0 ;
20359 int arg2
= (int) -1 ;
20360 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20361 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20362 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20363 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20364 long arg5
= (long) 0 ;
20365 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20366 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20367 wxNotebook
*result
= 0 ;
20376 bool temp6
= false ;
20377 PyObject
* obj0
= 0 ;
20378 PyObject
* obj1
= 0 ;
20379 PyObject
* obj2
= 0 ;
20380 PyObject
* obj3
= 0 ;
20381 PyObject
* obj4
= 0 ;
20382 PyObject
* obj5
= 0 ;
20383 char * kwnames
[] = {
20384 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20389 if (!SWIG_IsOK(res1
)) {
20390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20392 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20394 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20395 if (!SWIG_IsOK(ecode2
)) {
20396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20398 arg2
= static_cast< int >(val2
);
20403 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20409 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20413 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20414 if (!SWIG_IsOK(ecode5
)) {
20415 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20417 arg5
= static_cast< long >(val5
);
20421 arg6
= wxString_in_helper(obj5
);
20422 if (arg6
== NULL
) SWIG_fail
;
20427 if (!wxPyCheckForApp()) SWIG_fail
;
20428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20429 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20430 wxPyEndAllowThreads(__tstate
);
20431 if (PyErr_Occurred()) SWIG_fail
;
20433 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20448 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20449 PyObject
*resultobj
= 0;
20450 wxNotebook
*result
= 0 ;
20452 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20454 if (!wxPyCheckForApp()) SWIG_fail
;
20455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20456 result
= (wxNotebook
*)new wxNotebook();
20457 wxPyEndAllowThreads(__tstate
);
20458 if (PyErr_Occurred()) SWIG_fail
;
20460 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20467 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20468 PyObject
*resultobj
= 0;
20469 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20470 wxWindow
*arg2
= (wxWindow
*) 0 ;
20471 int arg3
= (int) -1 ;
20472 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20473 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20474 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20475 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20476 long arg6
= (long) 0 ;
20477 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20478 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20490 bool temp7
= false ;
20491 PyObject
* obj0
= 0 ;
20492 PyObject
* obj1
= 0 ;
20493 PyObject
* obj2
= 0 ;
20494 PyObject
* obj3
= 0 ;
20495 PyObject
* obj4
= 0 ;
20496 PyObject
* obj5
= 0 ;
20497 PyObject
* obj6
= 0 ;
20498 char * kwnames
[] = {
20499 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20504 if (!SWIG_IsOK(res1
)) {
20505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20507 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20508 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20509 if (!SWIG_IsOK(res2
)) {
20510 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20512 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20514 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20515 if (!SWIG_IsOK(ecode3
)) {
20516 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20518 arg3
= static_cast< int >(val3
);
20523 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20529 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20533 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20534 if (!SWIG_IsOK(ecode6
)) {
20535 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20537 arg6
= static_cast< long >(val6
);
20541 arg7
= wxString_in_helper(obj6
);
20542 if (arg7
== NULL
) SWIG_fail
;
20547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20548 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20549 wxPyEndAllowThreads(__tstate
);
20550 if (PyErr_Occurred()) SWIG_fail
;
20553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20569 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20570 PyObject
*resultobj
= 0;
20571 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20575 PyObject
*swig_obj
[1] ;
20577 if (!args
) SWIG_fail
;
20578 swig_obj
[0] = args
;
20579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20580 if (!SWIG_IsOK(res1
)) {
20581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20583 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20586 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20587 wxPyEndAllowThreads(__tstate
);
20588 if (PyErr_Occurred()) SWIG_fail
;
20590 resultobj
= SWIG_From_int(static_cast< int >(result
));
20597 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20598 PyObject
*resultobj
= 0;
20599 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20604 PyObject
* obj0
= 0 ;
20605 PyObject
* obj1
= 0 ;
20606 char * kwnames
[] = {
20607 (char *) "self",(char *) "padding", NULL
20610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20612 if (!SWIG_IsOK(res1
)) {
20613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20615 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20618 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20622 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20623 wxPyEndAllowThreads(__tstate
);
20624 if (PyErr_Occurred()) SWIG_fail
;
20626 resultobj
= SWIG_Py_Void();
20633 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20634 PyObject
*resultobj
= 0;
20635 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20640 PyObject
* obj0
= 0 ;
20641 PyObject
* obj1
= 0 ;
20642 char * kwnames
[] = {
20643 (char *) "self",(char *) "sz", NULL
20646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20648 if (!SWIG_IsOK(res1
)) {
20649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20651 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20654 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20658 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20659 wxPyEndAllowThreads(__tstate
);
20660 if (PyErr_Occurred()) SWIG_fail
;
20662 resultobj
= SWIG_Py_Void();
20669 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20670 PyObject
*resultobj
= 0;
20671 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20675 PyObject
*swig_obj
[1] ;
20677 if (!args
) SWIG_fail
;
20678 swig_obj
[0] = args
;
20679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20680 if (!SWIG_IsOK(res1
)) {
20681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20683 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20686 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20687 wxPyEndAllowThreads(__tstate
);
20688 if (PyErr_Occurred()) SWIG_fail
;
20690 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20697 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20698 PyObject
*resultobj
= 0;
20699 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20700 SwigValueWrapper
<wxVisualAttributes
> result
;
20703 PyObject
* obj0
= 0 ;
20704 char * kwnames
[] = {
20705 (char *) "variant", NULL
20708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20710 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20711 if (!SWIG_IsOK(ecode1
)) {
20712 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20714 arg1
= static_cast< wxWindowVariant
>(val1
);
20717 if (!wxPyCheckForApp()) SWIG_fail
;
20718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20719 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20720 wxPyEndAllowThreads(__tstate
);
20721 if (PyErr_Occurred()) SWIG_fail
;
20723 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20730 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20732 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20733 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
20734 return SWIG_Py_Void();
20737 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20738 return SWIG_Python_InitShadowInstance(args
);
20741 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20742 PyObject
*resultobj
= 0;
20743 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20744 int arg2
= (int) 0 ;
20745 int arg3
= (int) -1 ;
20746 int arg4
= (int) -1 ;
20747 wxNotebookEvent
*result
= 0 ;
20756 PyObject
* obj0
= 0 ;
20757 PyObject
* obj1
= 0 ;
20758 PyObject
* obj2
= 0 ;
20759 PyObject
* obj3
= 0 ;
20760 char * kwnames
[] = {
20761 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20766 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20767 if (!SWIG_IsOK(ecode1
)) {
20768 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20770 arg1
= static_cast< wxEventType
>(val1
);
20773 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20774 if (!SWIG_IsOK(ecode2
)) {
20775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
20777 arg2
= static_cast< int >(val2
);
20780 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20781 if (!SWIG_IsOK(ecode3
)) {
20782 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
20784 arg3
= static_cast< int >(val3
);
20787 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20788 if (!SWIG_IsOK(ecode4
)) {
20789 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
20791 arg4
= static_cast< int >(val4
);
20794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20795 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
20796 wxPyEndAllowThreads(__tstate
);
20797 if (PyErr_Occurred()) SWIG_fail
;
20799 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
20806 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20808 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20809 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
20810 return SWIG_Py_Void();
20813 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20814 return SWIG_Python_InitShadowInstance(args
);
20817 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20818 PyObject
*resultobj
= 0;
20819 wxWindow
*arg1
= (wxWindow
*) 0 ;
20820 int arg2
= (int) -1 ;
20821 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20822 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20823 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20824 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20825 long arg5
= (long) 0 ;
20826 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20827 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20828 wxListbook
*result
= 0 ;
20837 bool temp6
= false ;
20838 PyObject
* obj0
= 0 ;
20839 PyObject
* obj1
= 0 ;
20840 PyObject
* obj2
= 0 ;
20841 PyObject
* obj3
= 0 ;
20842 PyObject
* obj4
= 0 ;
20843 PyObject
* obj5
= 0 ;
20844 char * kwnames
[] = {
20845 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20850 if (!SWIG_IsOK(res1
)) {
20851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
20853 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20855 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20856 if (!SWIG_IsOK(ecode2
)) {
20857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
20859 arg2
= static_cast< int >(val2
);
20864 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20870 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20874 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20875 if (!SWIG_IsOK(ecode5
)) {
20876 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
20878 arg5
= static_cast< long >(val5
);
20882 arg6
= wxString_in_helper(obj5
);
20883 if (arg6
== NULL
) SWIG_fail
;
20888 if (!wxPyCheckForApp()) SWIG_fail
;
20889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20890 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20891 wxPyEndAllowThreads(__tstate
);
20892 if (PyErr_Occurred()) SWIG_fail
;
20894 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
20909 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20910 PyObject
*resultobj
= 0;
20911 wxListbook
*result
= 0 ;
20913 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
20915 if (!wxPyCheckForApp()) SWIG_fail
;
20916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20917 result
= (wxListbook
*)new wxListbook();
20918 wxPyEndAllowThreads(__tstate
);
20919 if (PyErr_Occurred()) SWIG_fail
;
20921 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
20928 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20929 PyObject
*resultobj
= 0;
20930 wxListbook
*arg1
= (wxListbook
*) 0 ;
20931 wxWindow
*arg2
= (wxWindow
*) 0 ;
20932 int arg3
= (int) -1 ;
20933 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20934 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20935 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20936 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20937 long arg6
= (long) 0 ;
20938 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20939 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20951 bool temp7
= false ;
20952 PyObject
* obj0
= 0 ;
20953 PyObject
* obj1
= 0 ;
20954 PyObject
* obj2
= 0 ;
20955 PyObject
* obj3
= 0 ;
20956 PyObject
* obj4
= 0 ;
20957 PyObject
* obj5
= 0 ;
20958 PyObject
* obj6
= 0 ;
20959 char * kwnames
[] = {
20960 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
20965 if (!SWIG_IsOK(res1
)) {
20966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
20968 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
20969 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20970 if (!SWIG_IsOK(res2
)) {
20971 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20973 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20975 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20976 if (!SWIG_IsOK(ecode3
)) {
20977 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
20979 arg3
= static_cast< int >(val3
);
20984 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20990 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20994 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20995 if (!SWIG_IsOK(ecode6
)) {
20996 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
20998 arg6
= static_cast< long >(val6
);
21002 arg7
= wxString_in_helper(obj6
);
21003 if (arg7
== NULL
) SWIG_fail
;
21008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21009 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21010 wxPyEndAllowThreads(__tstate
);
21011 if (PyErr_Occurred()) SWIG_fail
;
21014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21030 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21031 PyObject
*resultobj
= 0;
21032 wxListbook
*arg1
= (wxListbook
*) 0 ;
21033 wxListView
*result
= 0 ;
21036 PyObject
*swig_obj
[1] ;
21038 if (!args
) SWIG_fail
;
21039 swig_obj
[0] = args
;
21040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21041 if (!SWIG_IsOK(res1
)) {
21042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21044 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21047 result
= (wxListView
*)(arg1
)->GetListView();
21048 wxPyEndAllowThreads(__tstate
);
21049 if (PyErr_Occurred()) SWIG_fail
;
21051 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21058 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21060 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21061 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21062 return SWIG_Py_Void();
21065 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21066 return SWIG_Python_InitShadowInstance(args
);
21069 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21070 PyObject
*resultobj
= 0;
21071 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21072 int arg2
= (int) 0 ;
21073 int arg3
= (int) -1 ;
21074 int arg4
= (int) -1 ;
21075 wxListbookEvent
*result
= 0 ;
21084 PyObject
* obj0
= 0 ;
21085 PyObject
* obj1
= 0 ;
21086 PyObject
* obj2
= 0 ;
21087 PyObject
* obj3
= 0 ;
21088 char * kwnames
[] = {
21089 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21094 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21095 if (!SWIG_IsOK(ecode1
)) {
21096 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21098 arg1
= static_cast< wxEventType
>(val1
);
21101 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21102 if (!SWIG_IsOK(ecode2
)) {
21103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21105 arg2
= static_cast< int >(val2
);
21108 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21109 if (!SWIG_IsOK(ecode3
)) {
21110 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21112 arg3
= static_cast< int >(val3
);
21115 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21116 if (!SWIG_IsOK(ecode4
)) {
21117 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21119 arg4
= static_cast< int >(val4
);
21122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21123 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21124 wxPyEndAllowThreads(__tstate
);
21125 if (PyErr_Occurred()) SWIG_fail
;
21127 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21134 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21136 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21137 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21138 return SWIG_Py_Void();
21141 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21142 return SWIG_Python_InitShadowInstance(args
);
21145 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21146 PyObject
*resultobj
= 0;
21147 wxWindow
*arg1
= (wxWindow
*) 0 ;
21149 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21150 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21151 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21152 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21153 long arg5
= (long) 0 ;
21154 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21155 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21156 wxChoicebook
*result
= 0 ;
21165 bool temp6
= false ;
21166 PyObject
* obj0
= 0 ;
21167 PyObject
* obj1
= 0 ;
21168 PyObject
* obj2
= 0 ;
21169 PyObject
* obj3
= 0 ;
21170 PyObject
* obj4
= 0 ;
21171 PyObject
* obj5
= 0 ;
21172 char * kwnames
[] = {
21173 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21178 if (!SWIG_IsOK(res1
)) {
21179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21181 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21182 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21183 if (!SWIG_IsOK(ecode2
)) {
21184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21186 arg2
= static_cast< int >(val2
);
21190 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21196 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21200 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21201 if (!SWIG_IsOK(ecode5
)) {
21202 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21204 arg5
= static_cast< long >(val5
);
21208 arg6
= wxString_in_helper(obj5
);
21209 if (arg6
== NULL
) SWIG_fail
;
21214 if (!wxPyCheckForApp()) SWIG_fail
;
21215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21216 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21217 wxPyEndAllowThreads(__tstate
);
21218 if (PyErr_Occurred()) SWIG_fail
;
21220 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21235 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21236 PyObject
*resultobj
= 0;
21237 wxChoicebook
*result
= 0 ;
21239 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21241 if (!wxPyCheckForApp()) SWIG_fail
;
21242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21243 result
= (wxChoicebook
*)new wxChoicebook();
21244 wxPyEndAllowThreads(__tstate
);
21245 if (PyErr_Occurred()) SWIG_fail
;
21247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21254 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21255 PyObject
*resultobj
= 0;
21256 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21257 wxWindow
*arg2
= (wxWindow
*) 0 ;
21259 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21260 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21261 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21262 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21263 long arg6
= (long) 0 ;
21264 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21265 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21277 bool temp7
= false ;
21278 PyObject
* obj0
= 0 ;
21279 PyObject
* obj1
= 0 ;
21280 PyObject
* obj2
= 0 ;
21281 PyObject
* obj3
= 0 ;
21282 PyObject
* obj4
= 0 ;
21283 PyObject
* obj5
= 0 ;
21284 PyObject
* obj6
= 0 ;
21285 char * kwnames
[] = {
21286 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21291 if (!SWIG_IsOK(res1
)) {
21292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21294 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21295 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21296 if (!SWIG_IsOK(res2
)) {
21297 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21299 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21300 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21301 if (!SWIG_IsOK(ecode3
)) {
21302 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21304 arg3
= static_cast< int >(val3
);
21308 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21314 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21318 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21319 if (!SWIG_IsOK(ecode6
)) {
21320 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21322 arg6
= static_cast< long >(val6
);
21326 arg7
= wxString_in_helper(obj6
);
21327 if (arg7
== NULL
) SWIG_fail
;
21332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21333 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21334 wxPyEndAllowThreads(__tstate
);
21335 if (PyErr_Occurred()) SWIG_fail
;
21338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21354 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21355 PyObject
*resultobj
= 0;
21356 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21357 wxChoice
*result
= 0 ;
21360 PyObject
*swig_obj
[1] ;
21362 if (!args
) SWIG_fail
;
21363 swig_obj
[0] = args
;
21364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21365 if (!SWIG_IsOK(res1
)) {
21366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21368 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21371 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21372 wxPyEndAllowThreads(__tstate
);
21373 if (PyErr_Occurred()) SWIG_fail
;
21375 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21382 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21384 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21385 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21386 return SWIG_Py_Void();
21389 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21390 return SWIG_Python_InitShadowInstance(args
);
21393 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21394 PyObject
*resultobj
= 0;
21395 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21396 int arg2
= (int) 0 ;
21397 int arg3
= (int) -1 ;
21398 int arg4
= (int) -1 ;
21399 wxChoicebookEvent
*result
= 0 ;
21408 PyObject
* obj0
= 0 ;
21409 PyObject
* obj1
= 0 ;
21410 PyObject
* obj2
= 0 ;
21411 PyObject
* obj3
= 0 ;
21412 char * kwnames
[] = {
21413 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21418 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21419 if (!SWIG_IsOK(ecode1
)) {
21420 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21422 arg1
= static_cast< wxEventType
>(val1
);
21425 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21426 if (!SWIG_IsOK(ecode2
)) {
21427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21429 arg2
= static_cast< int >(val2
);
21432 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21433 if (!SWIG_IsOK(ecode3
)) {
21434 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21436 arg3
= static_cast< int >(val3
);
21439 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21440 if (!SWIG_IsOK(ecode4
)) {
21441 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21443 arg4
= static_cast< int >(val4
);
21446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21447 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21448 wxPyEndAllowThreads(__tstate
);
21449 if (PyErr_Occurred()) SWIG_fail
;
21451 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21458 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21460 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21461 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21462 return SWIG_Py_Void();
21465 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21466 return SWIG_Python_InitShadowInstance(args
);
21469 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21470 PyObject
*resultobj
= 0;
21471 wxWindow
*arg1
= (wxWindow
*) 0 ;
21473 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21474 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21475 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21476 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21477 long arg5
= (long) wxBK_DEFAULT
;
21478 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21479 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21480 wxTreebook
*result
= 0 ;
21489 bool temp6
= false ;
21490 PyObject
* obj0
= 0 ;
21491 PyObject
* obj1
= 0 ;
21492 PyObject
* obj2
= 0 ;
21493 PyObject
* obj3
= 0 ;
21494 PyObject
* obj4
= 0 ;
21495 PyObject
* obj5
= 0 ;
21496 char * kwnames
[] = {
21497 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21502 if (!SWIG_IsOK(res1
)) {
21503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21505 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21507 if (!SWIG_IsOK(ecode2
)) {
21508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21510 arg2
= static_cast< int >(val2
);
21514 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21520 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21524 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21525 if (!SWIG_IsOK(ecode5
)) {
21526 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21528 arg5
= static_cast< long >(val5
);
21532 arg6
= wxString_in_helper(obj5
);
21533 if (arg6
== NULL
) SWIG_fail
;
21538 if (!wxPyCheckForApp()) SWIG_fail
;
21539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21540 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21541 wxPyEndAllowThreads(__tstate
);
21542 if (PyErr_Occurred()) SWIG_fail
;
21544 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21559 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21560 PyObject
*resultobj
= 0;
21561 wxTreebook
*result
= 0 ;
21563 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21565 if (!wxPyCheckForApp()) SWIG_fail
;
21566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21567 result
= (wxTreebook
*)new wxTreebook();
21568 wxPyEndAllowThreads(__tstate
);
21569 if (PyErr_Occurred()) SWIG_fail
;
21571 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21578 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21579 PyObject
*resultobj
= 0;
21580 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21581 wxWindow
*arg2
= (wxWindow
*) 0 ;
21583 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21584 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21585 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21586 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21587 long arg6
= (long) wxBK_DEFAULT
;
21588 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21589 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21601 bool temp7
= false ;
21602 PyObject
* obj0
= 0 ;
21603 PyObject
* obj1
= 0 ;
21604 PyObject
* obj2
= 0 ;
21605 PyObject
* obj3
= 0 ;
21606 PyObject
* obj4
= 0 ;
21607 PyObject
* obj5
= 0 ;
21608 PyObject
* obj6
= 0 ;
21609 char * kwnames
[] = {
21610 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21615 if (!SWIG_IsOK(res1
)) {
21616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21618 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21619 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21620 if (!SWIG_IsOK(res2
)) {
21621 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21623 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21624 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21625 if (!SWIG_IsOK(ecode3
)) {
21626 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21628 arg3
= static_cast< int >(val3
);
21632 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21638 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21642 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21643 if (!SWIG_IsOK(ecode6
)) {
21644 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21646 arg6
= static_cast< long >(val6
);
21650 arg7
= wxString_in_helper(obj6
);
21651 if (arg7
== NULL
) SWIG_fail
;
21656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21657 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21658 wxPyEndAllowThreads(__tstate
);
21659 if (PyErr_Occurred()) SWIG_fail
;
21662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21678 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21679 PyObject
*resultobj
= 0;
21680 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21682 wxWindow
*arg3
= (wxWindow
*) 0 ;
21683 wxString
*arg4
= 0 ;
21684 bool arg5
= (bool) false ;
21685 int arg6
= (int) wxNOT_FOUND
;
21693 bool temp4
= false ;
21698 PyObject
* obj0
= 0 ;
21699 PyObject
* obj1
= 0 ;
21700 PyObject
* obj2
= 0 ;
21701 PyObject
* obj3
= 0 ;
21702 PyObject
* obj4
= 0 ;
21703 PyObject
* obj5
= 0 ;
21704 char * kwnames
[] = {
21705 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21710 if (!SWIG_IsOK(res1
)) {
21711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21713 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21714 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21715 if (!SWIG_IsOK(ecode2
)) {
21716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
21718 arg2
= static_cast< size_t >(val2
);
21719 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21720 if (!SWIG_IsOK(res3
)) {
21721 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
21723 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
21725 arg4
= wxString_in_helper(obj3
);
21726 if (arg4
== NULL
) SWIG_fail
;
21730 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
21731 if (!SWIG_IsOK(ecode5
)) {
21732 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
21734 arg5
= static_cast< bool >(val5
);
21737 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21738 if (!SWIG_IsOK(ecode6
)) {
21739 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
21741 arg6
= static_cast< int >(val6
);
21744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21745 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
21746 wxPyEndAllowThreads(__tstate
);
21747 if (PyErr_Occurred()) SWIG_fail
;
21750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21766 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21767 PyObject
*resultobj
= 0;
21768 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21769 wxWindow
*arg2
= (wxWindow
*) 0 ;
21770 wxString
*arg3
= 0 ;
21771 bool arg4
= (bool) false ;
21772 int arg5
= (int) wxNOT_FOUND
;
21778 bool temp3
= false ;
21783 PyObject
* obj0
= 0 ;
21784 PyObject
* obj1
= 0 ;
21785 PyObject
* obj2
= 0 ;
21786 PyObject
* obj3
= 0 ;
21787 PyObject
* obj4
= 0 ;
21788 char * kwnames
[] = {
21789 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21794 if (!SWIG_IsOK(res1
)) {
21795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21797 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21798 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21799 if (!SWIG_IsOK(res2
)) {
21800 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
21802 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21804 arg3
= wxString_in_helper(obj2
);
21805 if (arg3
== NULL
) SWIG_fail
;
21809 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
21810 if (!SWIG_IsOK(ecode4
)) {
21811 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
21813 arg4
= static_cast< bool >(val4
);
21816 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21817 if (!SWIG_IsOK(ecode5
)) {
21818 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
21820 arg5
= static_cast< int >(val5
);
21823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21824 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
21825 wxPyEndAllowThreads(__tstate
);
21826 if (PyErr_Occurred()) SWIG_fail
;
21829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21845 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21846 PyObject
*resultobj
= 0;
21847 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21854 PyObject
* obj0
= 0 ;
21855 PyObject
* obj1
= 0 ;
21856 char * kwnames
[] = {
21857 (char *) "self",(char *) "pos", NULL
21860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21862 if (!SWIG_IsOK(res1
)) {
21863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21865 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21866 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21867 if (!SWIG_IsOK(ecode2
)) {
21868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
21870 arg2
= static_cast< size_t >(val2
);
21872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21873 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
21874 wxPyEndAllowThreads(__tstate
);
21875 if (PyErr_Occurred()) SWIG_fail
;
21878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21886 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21887 PyObject
*resultobj
= 0;
21888 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21890 bool arg3
= (bool) true ;
21898 PyObject
* obj0
= 0 ;
21899 PyObject
* obj1
= 0 ;
21900 PyObject
* obj2
= 0 ;
21901 char * kwnames
[] = {
21902 (char *) "self",(char *) "pos",(char *) "expand", NULL
21905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21907 if (!SWIG_IsOK(res1
)) {
21908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21910 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21911 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21912 if (!SWIG_IsOK(ecode2
)) {
21913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
21915 arg2
= static_cast< size_t >(val2
);
21917 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21918 if (!SWIG_IsOK(ecode3
)) {
21919 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
21921 arg3
= static_cast< bool >(val3
);
21924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21925 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
21926 wxPyEndAllowThreads(__tstate
);
21927 if (PyErr_Occurred()) SWIG_fail
;
21930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21938 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21939 PyObject
*resultobj
= 0;
21940 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21947 PyObject
* obj0
= 0 ;
21948 PyObject
* obj1
= 0 ;
21949 char * kwnames
[] = {
21950 (char *) "self",(char *) "pos", NULL
21953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21955 if (!SWIG_IsOK(res1
)) {
21956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21958 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21959 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21960 if (!SWIG_IsOK(ecode2
)) {
21961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
21963 arg2
= static_cast< size_t >(val2
);
21965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21966 result
= (bool)(arg1
)->CollapseNode(arg2
);
21967 wxPyEndAllowThreads(__tstate
);
21968 if (PyErr_Occurred()) SWIG_fail
;
21971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21979 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21980 PyObject
*resultobj
= 0;
21981 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21988 PyObject
* obj0
= 0 ;
21989 PyObject
* obj1
= 0 ;
21990 char * kwnames
[] = {
21991 (char *) "self",(char *) "pos", NULL
21994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21996 if (!SWIG_IsOK(res1
)) {
21997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21999 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22000 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22001 if (!SWIG_IsOK(ecode2
)) {
22002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22004 arg2
= static_cast< size_t >(val2
);
22006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22007 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22008 wxPyEndAllowThreads(__tstate
);
22009 if (PyErr_Occurred()) SWIG_fail
;
22011 resultobj
= SWIG_From_int(static_cast< int >(result
));
22018 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22019 PyObject
*resultobj
= 0;
22020 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22021 wxTreeCtrl
*result
= 0 ;
22024 PyObject
*swig_obj
[1] ;
22026 if (!args
) SWIG_fail
;
22027 swig_obj
[0] = args
;
22028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22029 if (!SWIG_IsOK(res1
)) {
22030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22032 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22035 result
= (wxTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22036 wxPyEndAllowThreads(__tstate
);
22037 if (PyErr_Occurred()) SWIG_fail
;
22039 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeCtrl
, 0 | 0 );
22046 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22048 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22049 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22050 return SWIG_Py_Void();
22053 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22054 return SWIG_Python_InitShadowInstance(args
);
22057 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22058 PyObject
*resultobj
= 0;
22059 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22060 int arg2
= (int) 0 ;
22061 int arg3
= (int) wxNOT_FOUND
;
22062 int arg4
= (int) wxNOT_FOUND
;
22063 wxTreebookEvent
*result
= 0 ;
22072 PyObject
* obj0
= 0 ;
22073 PyObject
* obj1
= 0 ;
22074 PyObject
* obj2
= 0 ;
22075 PyObject
* obj3
= 0 ;
22076 char * kwnames
[] = {
22077 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22082 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22083 if (!SWIG_IsOK(ecode1
)) {
22084 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22086 arg1
= static_cast< wxEventType
>(val1
);
22089 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22090 if (!SWIG_IsOK(ecode2
)) {
22091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22093 arg2
= static_cast< int >(val2
);
22096 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22097 if (!SWIG_IsOK(ecode3
)) {
22098 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22100 arg3
= static_cast< int >(val3
);
22103 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22104 if (!SWIG_IsOK(ecode4
)) {
22105 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22107 arg4
= static_cast< int >(val4
);
22110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22111 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22112 wxPyEndAllowThreads(__tstate
);
22113 if (PyErr_Occurred()) SWIG_fail
;
22115 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22122 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22124 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22125 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22126 return SWIG_Py_Void();
22129 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22130 return SWIG_Python_InitShadowInstance(args
);
22133 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22134 PyObject
*resultobj
= 0;
22135 wxWindow
*arg1
= (wxWindow
*) 0 ;
22137 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22138 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22139 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22140 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22141 long arg5
= (long) wxBK_DEFAULT
;
22142 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22143 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22144 wxToolbook
*result
= 0 ;
22153 bool temp6
= false ;
22154 PyObject
* obj0
= 0 ;
22155 PyObject
* obj1
= 0 ;
22156 PyObject
* obj2
= 0 ;
22157 PyObject
* obj3
= 0 ;
22158 PyObject
* obj4
= 0 ;
22159 PyObject
* obj5
= 0 ;
22160 char * kwnames
[] = {
22161 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22166 if (!SWIG_IsOK(res1
)) {
22167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22169 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22170 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22171 if (!SWIG_IsOK(ecode2
)) {
22172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22174 arg2
= static_cast< int >(val2
);
22178 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22184 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22188 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22189 if (!SWIG_IsOK(ecode5
)) {
22190 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22192 arg5
= static_cast< long >(val5
);
22196 arg6
= wxString_in_helper(obj5
);
22197 if (arg6
== NULL
) SWIG_fail
;
22202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22203 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22204 wxPyEndAllowThreads(__tstate
);
22205 if (PyErr_Occurred()) SWIG_fail
;
22207 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22222 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22223 PyObject
*resultobj
= 0;
22224 wxToolbook
*result
= 0 ;
22226 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22229 result
= (wxToolbook
*)new wxToolbook();
22230 wxPyEndAllowThreads(__tstate
);
22231 if (PyErr_Occurred()) SWIG_fail
;
22233 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22240 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22241 PyObject
*resultobj
= 0;
22242 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22243 wxWindow
*arg2
= (wxWindow
*) 0 ;
22245 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22246 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22247 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22248 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22249 long arg6
= (long) 0 ;
22250 wxString
const &arg7_defvalue
= wxEmptyString
;
22251 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22263 bool temp7
= false ;
22264 PyObject
* obj0
= 0 ;
22265 PyObject
* obj1
= 0 ;
22266 PyObject
* obj2
= 0 ;
22267 PyObject
* obj3
= 0 ;
22268 PyObject
* obj4
= 0 ;
22269 PyObject
* obj5
= 0 ;
22270 PyObject
* obj6
= 0 ;
22271 char * kwnames
[] = {
22272 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22277 if (!SWIG_IsOK(res1
)) {
22278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22280 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22281 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22282 if (!SWIG_IsOK(res2
)) {
22283 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22285 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22286 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22287 if (!SWIG_IsOK(ecode3
)) {
22288 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22290 arg3
= static_cast< int >(val3
);
22294 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22300 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22304 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22305 if (!SWIG_IsOK(ecode6
)) {
22306 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22308 arg6
= static_cast< long >(val6
);
22312 arg7
= wxString_in_helper(obj6
);
22313 if (arg7
== NULL
) SWIG_fail
;
22318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22319 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22320 wxPyEndAllowThreads(__tstate
);
22321 if (PyErr_Occurred()) SWIG_fail
;
22324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22340 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22341 PyObject
*resultobj
= 0;
22342 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22343 wxToolBarBase
*result
= 0 ;
22346 PyObject
*swig_obj
[1] ;
22348 if (!args
) SWIG_fail
;
22349 swig_obj
[0] = args
;
22350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22351 if (!SWIG_IsOK(res1
)) {
22352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22354 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22357 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22358 wxPyEndAllowThreads(__tstate
);
22359 if (PyErr_Occurred()) SWIG_fail
;
22362 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22370 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22371 PyObject
*resultobj
= 0;
22372 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22375 PyObject
*swig_obj
[1] ;
22377 if (!args
) SWIG_fail
;
22378 swig_obj
[0] = args
;
22379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22380 if (!SWIG_IsOK(res1
)) {
22381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22383 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22387 wxPyEndAllowThreads(__tstate
);
22388 if (PyErr_Occurred()) SWIG_fail
;
22390 resultobj
= SWIG_Py_Void();
22397 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22399 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22400 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22401 return SWIG_Py_Void();
22404 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22405 return SWIG_Python_InitShadowInstance(args
);
22408 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22409 PyObject
*resultobj
= 0;
22410 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22411 int arg2
= (int) 0 ;
22412 int arg3
= (int) wxNOT_FOUND
;
22413 int arg4
= (int) wxNOT_FOUND
;
22414 wxToolbookEvent
*result
= 0 ;
22423 PyObject
* obj0
= 0 ;
22424 PyObject
* obj1
= 0 ;
22425 PyObject
* obj2
= 0 ;
22426 PyObject
* obj3
= 0 ;
22427 char * kwnames
[] = {
22428 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22433 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22434 if (!SWIG_IsOK(ecode1
)) {
22435 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22437 arg1
= static_cast< wxEventType
>(val1
);
22440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22441 if (!SWIG_IsOK(ecode2
)) {
22442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22444 arg2
= static_cast< int >(val2
);
22447 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22448 if (!SWIG_IsOK(ecode3
)) {
22449 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22451 arg3
= static_cast< int >(val3
);
22454 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22455 if (!SWIG_IsOK(ecode4
)) {
22456 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22458 arg4
= static_cast< int >(val4
);
22461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22462 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22463 wxPyEndAllowThreads(__tstate
);
22464 if (PyErr_Occurred()) SWIG_fail
;
22466 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22473 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22475 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22476 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22477 return SWIG_Py_Void();
22480 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22481 return SWIG_Python_InitShadowInstance(args
);
22484 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22485 PyObject
*resultobj
= 0;
22486 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22490 PyObject
*swig_obj
[1] ;
22492 if (!args
) SWIG_fail
;
22493 swig_obj
[0] = args
;
22494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22495 if (!SWIG_IsOK(res1
)) {
22496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22498 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22501 result
= (int)(arg1
)->GetId();
22502 wxPyEndAllowThreads(__tstate
);
22503 if (PyErr_Occurred()) SWIG_fail
;
22505 resultobj
= SWIG_From_int(static_cast< int >(result
));
22512 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22513 PyObject
*resultobj
= 0;
22514 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22515 wxControl
*result
= 0 ;
22518 PyObject
*swig_obj
[1] ;
22520 if (!args
) SWIG_fail
;
22521 swig_obj
[0] = args
;
22522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22523 if (!SWIG_IsOK(res1
)) {
22524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22526 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22529 result
= (wxControl
*)(arg1
)->GetControl();
22530 wxPyEndAllowThreads(__tstate
);
22531 if (PyErr_Occurred()) SWIG_fail
;
22534 resultobj
= wxPyMake_wxObject(result
, 0);
22542 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22543 PyObject
*resultobj
= 0;
22544 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22545 wxToolBarBase
*result
= 0 ;
22548 PyObject
*swig_obj
[1] ;
22550 if (!args
) SWIG_fail
;
22551 swig_obj
[0] = args
;
22552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22553 if (!SWIG_IsOK(res1
)) {
22554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22556 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22559 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22560 wxPyEndAllowThreads(__tstate
);
22561 if (PyErr_Occurred()) SWIG_fail
;
22564 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22572 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22573 PyObject
*resultobj
= 0;
22574 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22578 PyObject
*swig_obj
[1] ;
22580 if (!args
) SWIG_fail
;
22581 swig_obj
[0] = args
;
22582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22583 if (!SWIG_IsOK(res1
)) {
22584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22586 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22589 result
= (int)(arg1
)->IsButton();
22590 wxPyEndAllowThreads(__tstate
);
22591 if (PyErr_Occurred()) SWIG_fail
;
22593 resultobj
= SWIG_From_int(static_cast< int >(result
));
22600 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22601 PyObject
*resultobj
= 0;
22602 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22606 PyObject
*swig_obj
[1] ;
22608 if (!args
) SWIG_fail
;
22609 swig_obj
[0] = args
;
22610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22611 if (!SWIG_IsOK(res1
)) {
22612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22614 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22617 result
= (int)(arg1
)->IsControl();
22618 wxPyEndAllowThreads(__tstate
);
22619 if (PyErr_Occurred()) SWIG_fail
;
22621 resultobj
= SWIG_From_int(static_cast< int >(result
));
22628 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22629 PyObject
*resultobj
= 0;
22630 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22634 PyObject
*swig_obj
[1] ;
22636 if (!args
) SWIG_fail
;
22637 swig_obj
[0] = args
;
22638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22639 if (!SWIG_IsOK(res1
)) {
22640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22642 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22645 result
= (int)(arg1
)->IsSeparator();
22646 wxPyEndAllowThreads(__tstate
);
22647 if (PyErr_Occurred()) SWIG_fail
;
22649 resultobj
= SWIG_From_int(static_cast< int >(result
));
22656 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22657 PyObject
*resultobj
= 0;
22658 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22662 PyObject
*swig_obj
[1] ;
22664 if (!args
) SWIG_fail
;
22665 swig_obj
[0] = args
;
22666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22667 if (!SWIG_IsOK(res1
)) {
22668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22670 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22673 result
= (int)(arg1
)->GetStyle();
22674 wxPyEndAllowThreads(__tstate
);
22675 if (PyErr_Occurred()) SWIG_fail
;
22677 resultobj
= SWIG_From_int(static_cast< int >(result
));
22684 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22685 PyObject
*resultobj
= 0;
22686 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22690 PyObject
*swig_obj
[1] ;
22692 if (!args
) SWIG_fail
;
22693 swig_obj
[0] = args
;
22694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22695 if (!SWIG_IsOK(res1
)) {
22696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22698 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22701 result
= (wxItemKind
)(arg1
)->GetKind();
22702 wxPyEndAllowThreads(__tstate
);
22703 if (PyErr_Occurred()) SWIG_fail
;
22705 resultobj
= SWIG_From_int(static_cast< int >(result
));
22712 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22713 PyObject
*resultobj
= 0;
22714 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22718 PyObject
*swig_obj
[1] ;
22720 if (!args
) SWIG_fail
;
22721 swig_obj
[0] = args
;
22722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22723 if (!SWIG_IsOK(res1
)) {
22724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22726 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22729 result
= (bool)(arg1
)->IsEnabled();
22730 wxPyEndAllowThreads(__tstate
);
22731 if (PyErr_Occurred()) SWIG_fail
;
22734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22742 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22743 PyObject
*resultobj
= 0;
22744 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22748 PyObject
*swig_obj
[1] ;
22750 if (!args
) SWIG_fail
;
22751 swig_obj
[0] = args
;
22752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22753 if (!SWIG_IsOK(res1
)) {
22754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22756 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22759 result
= (bool)(arg1
)->IsToggled();
22760 wxPyEndAllowThreads(__tstate
);
22761 if (PyErr_Occurred()) SWIG_fail
;
22764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22772 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22773 PyObject
*resultobj
= 0;
22774 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22778 PyObject
*swig_obj
[1] ;
22780 if (!args
) SWIG_fail
;
22781 swig_obj
[0] = args
;
22782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22783 if (!SWIG_IsOK(res1
)) {
22784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22786 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22789 result
= (bool)(arg1
)->CanBeToggled();
22790 wxPyEndAllowThreads(__tstate
);
22791 if (PyErr_Occurred()) SWIG_fail
;
22794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22802 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22803 PyObject
*resultobj
= 0;
22804 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22805 wxBitmap
*result
= 0 ;
22808 PyObject
*swig_obj
[1] ;
22810 if (!args
) SWIG_fail
;
22811 swig_obj
[0] = args
;
22812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22813 if (!SWIG_IsOK(res1
)) {
22814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22816 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22820 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
22821 result
= (wxBitmap
*) &_result_ref
;
22823 wxPyEndAllowThreads(__tstate
);
22824 if (PyErr_Occurred()) SWIG_fail
;
22827 wxBitmap
* resultptr
= new wxBitmap(*result
);
22828 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22836 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22837 PyObject
*resultobj
= 0;
22838 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22839 wxBitmap
*result
= 0 ;
22842 PyObject
*swig_obj
[1] ;
22844 if (!args
) SWIG_fail
;
22845 swig_obj
[0] = args
;
22846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22847 if (!SWIG_IsOK(res1
)) {
22848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22850 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22854 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
22855 result
= (wxBitmap
*) &_result_ref
;
22857 wxPyEndAllowThreads(__tstate
);
22858 if (PyErr_Occurred()) SWIG_fail
;
22861 wxBitmap
* resultptr
= new wxBitmap(*result
);
22862 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22870 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22871 PyObject
*resultobj
= 0;
22872 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22876 PyObject
*swig_obj
[1] ;
22878 if (!args
) SWIG_fail
;
22879 swig_obj
[0] = args
;
22880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22881 if (!SWIG_IsOK(res1
)) {
22882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22884 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22887 result
= (arg1
)->GetBitmap();
22888 wxPyEndAllowThreads(__tstate
);
22889 if (PyErr_Occurred()) SWIG_fail
;
22891 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
22898 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22899 PyObject
*resultobj
= 0;
22900 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22904 PyObject
*swig_obj
[1] ;
22906 if (!args
) SWIG_fail
;
22907 swig_obj
[0] = args
;
22908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22909 if (!SWIG_IsOK(res1
)) {
22910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22912 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22915 result
= (arg1
)->GetLabel();
22916 wxPyEndAllowThreads(__tstate
);
22917 if (PyErr_Occurred()) SWIG_fail
;
22921 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22923 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22932 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22933 PyObject
*resultobj
= 0;
22934 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22938 PyObject
*swig_obj
[1] ;
22940 if (!args
) SWIG_fail
;
22941 swig_obj
[0] = args
;
22942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22943 if (!SWIG_IsOK(res1
)) {
22944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22946 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22949 result
= (arg1
)->GetShortHelp();
22950 wxPyEndAllowThreads(__tstate
);
22951 if (PyErr_Occurred()) SWIG_fail
;
22955 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22957 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22966 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22967 PyObject
*resultobj
= 0;
22968 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22972 PyObject
*swig_obj
[1] ;
22974 if (!args
) SWIG_fail
;
22975 swig_obj
[0] = args
;
22976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22977 if (!SWIG_IsOK(res1
)) {
22978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22980 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22983 result
= (arg1
)->GetLongHelp();
22984 wxPyEndAllowThreads(__tstate
);
22985 if (PyErr_Occurred()) SWIG_fail
;
22989 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22991 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23000 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23001 PyObject
*resultobj
= 0;
23002 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23009 PyObject
* obj0
= 0 ;
23010 PyObject
* obj1
= 0 ;
23011 char * kwnames
[] = {
23012 (char *) "self",(char *) "enable", NULL
23015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23017 if (!SWIG_IsOK(res1
)) {
23018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23020 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23021 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23022 if (!SWIG_IsOK(ecode2
)) {
23023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23025 arg2
= static_cast< bool >(val2
);
23027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23028 result
= (bool)(arg1
)->Enable(arg2
);
23029 wxPyEndAllowThreads(__tstate
);
23030 if (PyErr_Occurred()) SWIG_fail
;
23033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23041 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23042 PyObject
*resultobj
= 0;
23043 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23046 PyObject
*swig_obj
[1] ;
23048 if (!args
) SWIG_fail
;
23049 swig_obj
[0] = args
;
23050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23051 if (!SWIG_IsOK(res1
)) {
23052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23054 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23058 wxPyEndAllowThreads(__tstate
);
23059 if (PyErr_Occurred()) SWIG_fail
;
23061 resultobj
= SWIG_Py_Void();
23068 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23069 PyObject
*resultobj
= 0;
23070 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23077 PyObject
* obj0
= 0 ;
23078 PyObject
* obj1
= 0 ;
23079 char * kwnames
[] = {
23080 (char *) "self",(char *) "toggle", NULL
23083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23085 if (!SWIG_IsOK(res1
)) {
23086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23088 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23089 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23090 if (!SWIG_IsOK(ecode2
)) {
23091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23093 arg2
= static_cast< bool >(val2
);
23095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23096 result
= (bool)(arg1
)->SetToggle(arg2
);
23097 wxPyEndAllowThreads(__tstate
);
23098 if (PyErr_Occurred()) SWIG_fail
;
23101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23109 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23110 PyObject
*resultobj
= 0;
23111 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23112 wxString
*arg2
= 0 ;
23116 bool temp2
= false ;
23117 PyObject
* obj0
= 0 ;
23118 PyObject
* obj1
= 0 ;
23119 char * kwnames
[] = {
23120 (char *) "self",(char *) "help", NULL
23123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23125 if (!SWIG_IsOK(res1
)) {
23126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23128 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23130 arg2
= wxString_in_helper(obj1
);
23131 if (arg2
== NULL
) SWIG_fail
;
23135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23136 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23137 wxPyEndAllowThreads(__tstate
);
23138 if (PyErr_Occurred()) SWIG_fail
;
23141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23157 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23158 PyObject
*resultobj
= 0;
23159 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23160 wxString
*arg2
= 0 ;
23164 bool temp2
= false ;
23165 PyObject
* obj0
= 0 ;
23166 PyObject
* obj1
= 0 ;
23167 char * kwnames
[] = {
23168 (char *) "self",(char *) "help", NULL
23171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23173 if (!SWIG_IsOK(res1
)) {
23174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23176 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23178 arg2
= wxString_in_helper(obj1
);
23179 if (arg2
== NULL
) SWIG_fail
;
23183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23184 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23185 wxPyEndAllowThreads(__tstate
);
23186 if (PyErr_Occurred()) SWIG_fail
;
23189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23205 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23206 PyObject
*resultobj
= 0;
23207 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23208 wxBitmap
*arg2
= 0 ;
23213 PyObject
* obj0
= 0 ;
23214 PyObject
* obj1
= 0 ;
23215 char * kwnames
[] = {
23216 (char *) "self",(char *) "bmp", NULL
23219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23221 if (!SWIG_IsOK(res1
)) {
23222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23224 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23225 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23226 if (!SWIG_IsOK(res2
)) {
23227 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23230 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23232 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23235 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23236 wxPyEndAllowThreads(__tstate
);
23237 if (PyErr_Occurred()) SWIG_fail
;
23239 resultobj
= SWIG_Py_Void();
23246 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23247 PyObject
*resultobj
= 0;
23248 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23249 wxBitmap
*arg2
= 0 ;
23254 PyObject
* obj0
= 0 ;
23255 PyObject
* obj1
= 0 ;
23256 char * kwnames
[] = {
23257 (char *) "self",(char *) "bmp", NULL
23260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23262 if (!SWIG_IsOK(res1
)) {
23263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23265 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23266 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23267 if (!SWIG_IsOK(res2
)) {
23268 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23271 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23273 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23276 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23277 wxPyEndAllowThreads(__tstate
);
23278 if (PyErr_Occurred()) SWIG_fail
;
23280 resultobj
= SWIG_Py_Void();
23287 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23288 PyObject
*resultobj
= 0;
23289 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23290 wxString
*arg2
= 0 ;
23293 bool temp2
= false ;
23294 PyObject
* obj0
= 0 ;
23295 PyObject
* obj1
= 0 ;
23296 char * kwnames
[] = {
23297 (char *) "self",(char *) "label", NULL
23300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23302 if (!SWIG_IsOK(res1
)) {
23303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23305 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23307 arg2
= wxString_in_helper(obj1
);
23308 if (arg2
== NULL
) SWIG_fail
;
23312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23313 (arg1
)->SetLabel((wxString
const &)*arg2
);
23314 wxPyEndAllowThreads(__tstate
);
23315 if (PyErr_Occurred()) SWIG_fail
;
23317 resultobj
= SWIG_Py_Void();
23332 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23333 PyObject
*resultobj
= 0;
23334 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23337 PyObject
*swig_obj
[1] ;
23339 if (!args
) SWIG_fail
;
23340 swig_obj
[0] = args
;
23341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23342 if (!SWIG_IsOK(res1
)) {
23343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23345 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23349 wxPyEndAllowThreads(__tstate
);
23350 if (PyErr_Occurred()) SWIG_fail
;
23352 resultobj
= SWIG_Py_Void();
23359 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23360 PyObject
*resultobj
= 0;
23361 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23362 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23367 PyObject
* obj0
= 0 ;
23368 PyObject
* obj1
= 0 ;
23369 char * kwnames
[] = {
23370 (char *) "self",(char *) "tbar", NULL
23373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23375 if (!SWIG_IsOK(res1
)) {
23376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23378 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23379 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23380 if (!SWIG_IsOK(res2
)) {
23381 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23383 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23386 (arg1
)->Attach(arg2
);
23387 wxPyEndAllowThreads(__tstate
);
23388 if (PyErr_Occurred()) SWIG_fail
;
23390 resultobj
= SWIG_Py_Void();
23397 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23398 PyObject
*resultobj
= 0;
23399 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23400 PyObject
*result
= 0 ;
23403 PyObject
*swig_obj
[1] ;
23405 if (!args
) SWIG_fail
;
23406 swig_obj
[0] = args
;
23407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23408 if (!SWIG_IsOK(res1
)) {
23409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23411 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23414 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23415 wxPyEndAllowThreads(__tstate
);
23416 if (PyErr_Occurred()) SWIG_fail
;
23418 resultobj
= result
;
23425 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23426 PyObject
*resultobj
= 0;
23427 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23428 PyObject
*arg2
= (PyObject
*) 0 ;
23431 PyObject
* obj0
= 0 ;
23432 PyObject
* obj1
= 0 ;
23433 char * kwnames
[] = {
23434 (char *) "self",(char *) "clientData", NULL
23437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23439 if (!SWIG_IsOK(res1
)) {
23440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23442 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23446 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23447 wxPyEndAllowThreads(__tstate
);
23448 if (PyErr_Occurred()) SWIG_fail
;
23450 resultobj
= SWIG_Py_Void();
23457 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23459 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23460 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23461 return SWIG_Py_Void();
23464 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23465 PyObject
*resultobj
= 0;
23466 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23468 wxString
*arg3
= 0 ;
23469 wxBitmap
*arg4
= 0 ;
23470 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23471 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23472 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23473 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23474 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23475 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23476 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23477 PyObject
*arg9
= (PyObject
*) NULL
;
23478 wxToolBarToolBase
*result
= 0 ;
23483 bool temp3
= false ;
23490 bool temp7
= false ;
23491 bool temp8
= false ;
23492 PyObject
* obj0
= 0 ;
23493 PyObject
* obj1
= 0 ;
23494 PyObject
* obj2
= 0 ;
23495 PyObject
* obj3
= 0 ;
23496 PyObject
* obj4
= 0 ;
23497 PyObject
* obj5
= 0 ;
23498 PyObject
* obj6
= 0 ;
23499 PyObject
* obj7
= 0 ;
23500 PyObject
* obj8
= 0 ;
23501 char * kwnames
[] = {
23502 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23507 if (!SWIG_IsOK(res1
)) {
23508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23510 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23511 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23512 if (!SWIG_IsOK(ecode2
)) {
23513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23515 arg2
= static_cast< int >(val2
);
23517 arg3
= wxString_in_helper(obj2
);
23518 if (arg3
== NULL
) SWIG_fail
;
23521 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23522 if (!SWIG_IsOK(res4
)) {
23523 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23526 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23528 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23530 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23531 if (!SWIG_IsOK(res5
)) {
23532 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23535 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23537 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23540 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23541 if (!SWIG_IsOK(ecode6
)) {
23542 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23544 arg6
= static_cast< wxItemKind
>(val6
);
23548 arg7
= wxString_in_helper(obj6
);
23549 if (arg7
== NULL
) SWIG_fail
;
23555 arg8
= wxString_in_helper(obj7
);
23556 if (arg8
== NULL
) SWIG_fail
;
23564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23565 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23566 wxPyEndAllowThreads(__tstate
);
23567 if (PyErr_Occurred()) SWIG_fail
;
23570 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23602 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23603 PyObject
*resultobj
= 0;
23604 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23607 wxString
*arg4
= 0 ;
23608 wxBitmap
*arg5
= 0 ;
23609 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23610 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23611 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23612 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23613 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23614 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23615 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23616 PyObject
*arg10
= (PyObject
*) NULL
;
23617 wxToolBarToolBase
*result
= 0 ;
23624 bool temp4
= false ;
23631 bool temp8
= false ;
23632 bool temp9
= false ;
23633 PyObject
* obj0
= 0 ;
23634 PyObject
* obj1
= 0 ;
23635 PyObject
* obj2
= 0 ;
23636 PyObject
* obj3
= 0 ;
23637 PyObject
* obj4
= 0 ;
23638 PyObject
* obj5
= 0 ;
23639 PyObject
* obj6
= 0 ;
23640 PyObject
* obj7
= 0 ;
23641 PyObject
* obj8
= 0 ;
23642 PyObject
* obj9
= 0 ;
23643 char * kwnames
[] = {
23644 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23649 if (!SWIG_IsOK(res1
)) {
23650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23652 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23653 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23654 if (!SWIG_IsOK(ecode2
)) {
23655 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23657 arg2
= static_cast< size_t >(val2
);
23658 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23659 if (!SWIG_IsOK(ecode3
)) {
23660 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23662 arg3
= static_cast< int >(val3
);
23664 arg4
= wxString_in_helper(obj3
);
23665 if (arg4
== NULL
) SWIG_fail
;
23668 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23669 if (!SWIG_IsOK(res5
)) {
23670 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23673 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23675 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23677 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23678 if (!SWIG_IsOK(res6
)) {
23679 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23682 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23684 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
23687 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23688 if (!SWIG_IsOK(ecode7
)) {
23689 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23691 arg7
= static_cast< wxItemKind
>(val7
);
23695 arg8
= wxString_in_helper(obj7
);
23696 if (arg8
== NULL
) SWIG_fail
;
23702 arg9
= wxString_in_helper(obj8
);
23703 if (arg9
== NULL
) SWIG_fail
;
23711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23712 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
23713 wxPyEndAllowThreads(__tstate
);
23714 if (PyErr_Occurred()) SWIG_fail
;
23717 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23749 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23750 PyObject
*resultobj
= 0;
23751 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23752 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
23753 wxToolBarToolBase
*result
= 0 ;
23758 PyObject
* obj0
= 0 ;
23759 PyObject
* obj1
= 0 ;
23760 char * kwnames
[] = {
23761 (char *) "self",(char *) "tool", NULL
23764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23766 if (!SWIG_IsOK(res1
)) {
23767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23769 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23770 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23771 if (!SWIG_IsOK(res2
)) {
23772 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
23774 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
23776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23777 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
23778 wxPyEndAllowThreads(__tstate
);
23779 if (PyErr_Occurred()) SWIG_fail
;
23782 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23790 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23791 PyObject
*resultobj
= 0;
23792 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23794 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
23795 wxToolBarToolBase
*result
= 0 ;
23802 PyObject
* obj0
= 0 ;
23803 PyObject
* obj1
= 0 ;
23804 PyObject
* obj2
= 0 ;
23805 char * kwnames
[] = {
23806 (char *) "self",(char *) "pos",(char *) "tool", NULL
23809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23811 if (!SWIG_IsOK(res1
)) {
23812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23814 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23815 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23816 if (!SWIG_IsOK(ecode2
)) {
23817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
23819 arg2
= static_cast< size_t >(val2
);
23820 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23821 if (!SWIG_IsOK(res3
)) {
23822 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
23824 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
23826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23827 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
23828 wxPyEndAllowThreads(__tstate
);
23829 if (PyErr_Occurred()) SWIG_fail
;
23832 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23840 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23841 PyObject
*resultobj
= 0;
23842 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23843 wxControl
*arg2
= (wxControl
*) 0 ;
23844 wxToolBarToolBase
*result
= 0 ;
23849 PyObject
* obj0
= 0 ;
23850 PyObject
* obj1
= 0 ;
23851 char * kwnames
[] = {
23852 (char *) "self",(char *) "control", NULL
23855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23857 if (!SWIG_IsOK(res1
)) {
23858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23860 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23861 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
23862 if (!SWIG_IsOK(res2
)) {
23863 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
23865 arg2
= reinterpret_cast< wxControl
* >(argp2
);
23867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23868 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
23869 wxPyEndAllowThreads(__tstate
);
23870 if (PyErr_Occurred()) SWIG_fail
;
23873 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23881 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23882 PyObject
*resultobj
= 0;
23883 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23885 wxControl
*arg3
= (wxControl
*) 0 ;
23886 wxToolBarToolBase
*result
= 0 ;
23893 PyObject
* obj0
= 0 ;
23894 PyObject
* obj1
= 0 ;
23895 PyObject
* obj2
= 0 ;
23896 char * kwnames
[] = {
23897 (char *) "self",(char *) "pos",(char *) "control", NULL
23900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23902 if (!SWIG_IsOK(res1
)) {
23903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23905 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23906 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23907 if (!SWIG_IsOK(ecode2
)) {
23908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
23910 arg2
= static_cast< size_t >(val2
);
23911 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
23912 if (!SWIG_IsOK(res3
)) {
23913 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
23915 arg3
= reinterpret_cast< wxControl
* >(argp3
);
23917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23918 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
23919 wxPyEndAllowThreads(__tstate
);
23920 if (PyErr_Occurred()) SWIG_fail
;
23923 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23931 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23932 PyObject
*resultobj
= 0;
23933 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23935 wxControl
*result
= 0 ;
23940 PyObject
* obj0
= 0 ;
23941 PyObject
* obj1
= 0 ;
23942 char * kwnames
[] = {
23943 (char *) "self",(char *) "id", NULL
23946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23948 if (!SWIG_IsOK(res1
)) {
23949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23951 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23952 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23953 if (!SWIG_IsOK(ecode2
)) {
23954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
23956 arg2
= static_cast< int >(val2
);
23958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23959 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
23960 wxPyEndAllowThreads(__tstate
);
23961 if (PyErr_Occurred()) SWIG_fail
;
23964 resultobj
= wxPyMake_wxObject(result
, 0);
23972 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23973 PyObject
*resultobj
= 0;
23974 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23975 wxToolBarToolBase
*result
= 0 ;
23978 PyObject
*swig_obj
[1] ;
23980 if (!args
) SWIG_fail
;
23981 swig_obj
[0] = args
;
23982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23983 if (!SWIG_IsOK(res1
)) {
23984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23986 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23989 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
23990 wxPyEndAllowThreads(__tstate
);
23991 if (PyErr_Occurred()) SWIG_fail
;
23994 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24002 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24003 PyObject
*resultobj
= 0;
24004 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24006 wxToolBarToolBase
*result
= 0 ;
24011 PyObject
* obj0
= 0 ;
24012 PyObject
* obj1
= 0 ;
24013 char * kwnames
[] = {
24014 (char *) "self",(char *) "pos", NULL
24017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24019 if (!SWIG_IsOK(res1
)) {
24020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24022 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24023 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24024 if (!SWIG_IsOK(ecode2
)) {
24025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24027 arg2
= static_cast< size_t >(val2
);
24029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24030 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24031 wxPyEndAllowThreads(__tstate
);
24032 if (PyErr_Occurred()) SWIG_fail
;
24035 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24043 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24044 PyObject
*resultobj
= 0;
24045 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24047 wxToolBarToolBase
*result
= 0 ;
24052 PyObject
* obj0
= 0 ;
24053 PyObject
* obj1
= 0 ;
24054 char * kwnames
[] = {
24055 (char *) "self",(char *) "id", NULL
24058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24060 if (!SWIG_IsOK(res1
)) {
24061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24063 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24064 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24065 if (!SWIG_IsOK(ecode2
)) {
24066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24068 arg2
= static_cast< int >(val2
);
24070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24071 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24072 wxPyEndAllowThreads(__tstate
);
24073 if (PyErr_Occurred()) SWIG_fail
;
24076 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24084 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24085 PyObject
*resultobj
= 0;
24086 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24093 PyObject
* obj0
= 0 ;
24094 PyObject
* obj1
= 0 ;
24095 char * kwnames
[] = {
24096 (char *) "self",(char *) "pos", NULL
24099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24101 if (!SWIG_IsOK(res1
)) {
24102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24104 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24105 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24106 if (!SWIG_IsOK(ecode2
)) {
24107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24109 arg2
= static_cast< size_t >(val2
);
24111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24112 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24113 wxPyEndAllowThreads(__tstate
);
24114 if (PyErr_Occurred()) SWIG_fail
;
24117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24125 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24126 PyObject
*resultobj
= 0;
24127 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24134 PyObject
* obj0
= 0 ;
24135 PyObject
* obj1
= 0 ;
24136 char * kwnames
[] = {
24137 (char *) "self",(char *) "id", NULL
24140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) 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_DeleteTool" "', 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_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24150 arg2
= static_cast< int >(val2
);
24152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24153 result
= (bool)(arg1
)->DeleteTool(arg2
);
24154 wxPyEndAllowThreads(__tstate
);
24155 if (PyErr_Occurred()) SWIG_fail
;
24158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24166 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24167 PyObject
*resultobj
= 0;
24168 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24171 PyObject
*swig_obj
[1] ;
24173 if (!args
) SWIG_fail
;
24174 swig_obj
[0] = args
;
24175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24176 if (!SWIG_IsOK(res1
)) {
24177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24179 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24182 (arg1
)->ClearTools();
24183 wxPyEndAllowThreads(__tstate
);
24184 if (PyErr_Occurred()) SWIG_fail
;
24186 resultobj
= SWIG_Py_Void();
24193 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24194 PyObject
*resultobj
= 0;
24195 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24199 PyObject
*swig_obj
[1] ;
24201 if (!args
) SWIG_fail
;
24202 swig_obj
[0] = args
;
24203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24204 if (!SWIG_IsOK(res1
)) {
24205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24207 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24210 result
= (bool)(arg1
)->Realize();
24211 wxPyEndAllowThreads(__tstate
);
24212 if (PyErr_Occurred()) SWIG_fail
;
24215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24223 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24224 PyObject
*resultobj
= 0;
24225 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24234 PyObject
* obj0
= 0 ;
24235 PyObject
* obj1
= 0 ;
24236 PyObject
* obj2
= 0 ;
24237 char * kwnames
[] = {
24238 (char *) "self",(char *) "id",(char *) "enable", NULL
24241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24243 if (!SWIG_IsOK(res1
)) {
24244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24246 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24247 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24248 if (!SWIG_IsOK(ecode2
)) {
24249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24251 arg2
= static_cast< int >(val2
);
24252 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24253 if (!SWIG_IsOK(ecode3
)) {
24254 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24256 arg3
= static_cast< bool >(val3
);
24258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24259 (arg1
)->EnableTool(arg2
,arg3
);
24260 wxPyEndAllowThreads(__tstate
);
24261 if (PyErr_Occurred()) SWIG_fail
;
24263 resultobj
= SWIG_Py_Void();
24270 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24271 PyObject
*resultobj
= 0;
24272 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24281 PyObject
* obj0
= 0 ;
24282 PyObject
* obj1
= 0 ;
24283 PyObject
* obj2
= 0 ;
24284 char * kwnames
[] = {
24285 (char *) "self",(char *) "id",(char *) "toggle", NULL
24288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24290 if (!SWIG_IsOK(res1
)) {
24291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24293 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24294 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24295 if (!SWIG_IsOK(ecode2
)) {
24296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24298 arg2
= static_cast< int >(val2
);
24299 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24300 if (!SWIG_IsOK(ecode3
)) {
24301 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24303 arg3
= static_cast< bool >(val3
);
24305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24306 (arg1
)->ToggleTool(arg2
,arg3
);
24307 wxPyEndAllowThreads(__tstate
);
24308 if (PyErr_Occurred()) SWIG_fail
;
24310 resultobj
= SWIG_Py_Void();
24317 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24318 PyObject
*resultobj
= 0;
24319 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24328 PyObject
* obj0
= 0 ;
24329 PyObject
* obj1
= 0 ;
24330 PyObject
* obj2
= 0 ;
24331 char * kwnames
[] = {
24332 (char *) "self",(char *) "id",(char *) "toggle", NULL
24335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24337 if (!SWIG_IsOK(res1
)) {
24338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24340 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24342 if (!SWIG_IsOK(ecode2
)) {
24343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24345 arg2
= static_cast< int >(val2
);
24346 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24347 if (!SWIG_IsOK(ecode3
)) {
24348 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24350 arg3
= static_cast< bool >(val3
);
24352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24353 (arg1
)->SetToggle(arg2
,arg3
);
24354 wxPyEndAllowThreads(__tstate
);
24355 if (PyErr_Occurred()) SWIG_fail
;
24357 resultobj
= SWIG_Py_Void();
24364 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24365 PyObject
*resultobj
= 0;
24366 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24368 PyObject
*result
= 0 ;
24373 PyObject
* obj0
= 0 ;
24374 PyObject
* obj1
= 0 ;
24375 char * kwnames
[] = {
24376 (char *) "self",(char *) "id", NULL
24379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24381 if (!SWIG_IsOK(res1
)) {
24382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24384 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24385 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24386 if (!SWIG_IsOK(ecode2
)) {
24387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24389 arg2
= static_cast< int >(val2
);
24391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24392 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24393 wxPyEndAllowThreads(__tstate
);
24394 if (PyErr_Occurred()) SWIG_fail
;
24396 resultobj
= result
;
24403 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24404 PyObject
*resultobj
= 0;
24405 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24407 PyObject
*arg3
= (PyObject
*) 0 ;
24412 PyObject
* obj0
= 0 ;
24413 PyObject
* obj1
= 0 ;
24414 PyObject
* obj2
= 0 ;
24415 char * kwnames
[] = {
24416 (char *) "self",(char *) "id",(char *) "clientData", NULL
24419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24421 if (!SWIG_IsOK(res1
)) {
24422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24424 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24425 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24426 if (!SWIG_IsOK(ecode2
)) {
24427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24429 arg2
= static_cast< int >(val2
);
24432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24433 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24434 wxPyEndAllowThreads(__tstate
);
24435 if (PyErr_Occurred()) SWIG_fail
;
24437 resultobj
= SWIG_Py_Void();
24444 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24445 PyObject
*resultobj
= 0;
24446 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24453 PyObject
* obj0
= 0 ;
24454 PyObject
* obj1
= 0 ;
24455 char * kwnames
[] = {
24456 (char *) "self",(char *) "id", NULL
24459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24461 if (!SWIG_IsOK(res1
)) {
24462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24464 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24466 if (!SWIG_IsOK(ecode2
)) {
24467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24469 arg2
= static_cast< int >(val2
);
24471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24472 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24473 wxPyEndAllowThreads(__tstate
);
24474 if (PyErr_Occurred()) SWIG_fail
;
24476 resultobj
= SWIG_From_int(static_cast< int >(result
));
24483 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24484 PyObject
*resultobj
= 0;
24485 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24492 PyObject
* obj0
= 0 ;
24493 PyObject
* obj1
= 0 ;
24494 char * kwnames
[] = {
24495 (char *) "self",(char *) "id", NULL
24498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24500 if (!SWIG_IsOK(res1
)) {
24501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24503 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24505 if (!SWIG_IsOK(ecode2
)) {
24506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24508 arg2
= static_cast< int >(val2
);
24510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24511 result
= (bool)(arg1
)->GetToolState(arg2
);
24512 wxPyEndAllowThreads(__tstate
);
24513 if (PyErr_Occurred()) SWIG_fail
;
24516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24524 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24525 PyObject
*resultobj
= 0;
24526 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24533 PyObject
* obj0
= 0 ;
24534 PyObject
* obj1
= 0 ;
24535 char * kwnames
[] = {
24536 (char *) "self",(char *) "id", NULL
24539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24541 if (!SWIG_IsOK(res1
)) {
24542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24544 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24545 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24546 if (!SWIG_IsOK(ecode2
)) {
24547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24549 arg2
= static_cast< int >(val2
);
24551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24552 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24553 wxPyEndAllowThreads(__tstate
);
24554 if (PyErr_Occurred()) SWIG_fail
;
24557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24565 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24566 PyObject
*resultobj
= 0;
24567 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24569 wxString
*arg3
= 0 ;
24574 bool temp3
= false ;
24575 PyObject
* obj0
= 0 ;
24576 PyObject
* obj1
= 0 ;
24577 PyObject
* obj2
= 0 ;
24578 char * kwnames
[] = {
24579 (char *) "self",(char *) "id",(char *) "helpString", NULL
24582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24584 if (!SWIG_IsOK(res1
)) {
24585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24587 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24588 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24589 if (!SWIG_IsOK(ecode2
)) {
24590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24592 arg2
= static_cast< int >(val2
);
24594 arg3
= wxString_in_helper(obj2
);
24595 if (arg3
== NULL
) SWIG_fail
;
24599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24600 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24601 wxPyEndAllowThreads(__tstate
);
24602 if (PyErr_Occurred()) SWIG_fail
;
24604 resultobj
= SWIG_Py_Void();
24619 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24620 PyObject
*resultobj
= 0;
24621 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24628 PyObject
* obj0
= 0 ;
24629 PyObject
* obj1
= 0 ;
24630 char * kwnames
[] = {
24631 (char *) "self",(char *) "id", NULL
24634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24636 if (!SWIG_IsOK(res1
)) {
24637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24639 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24640 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24641 if (!SWIG_IsOK(ecode2
)) {
24642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24644 arg2
= static_cast< int >(val2
);
24646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24647 result
= (arg1
)->GetToolShortHelp(arg2
);
24648 wxPyEndAllowThreads(__tstate
);
24649 if (PyErr_Occurred()) SWIG_fail
;
24653 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24655 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24664 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24665 PyObject
*resultobj
= 0;
24666 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24668 wxString
*arg3
= 0 ;
24673 bool temp3
= false ;
24674 PyObject
* obj0
= 0 ;
24675 PyObject
* obj1
= 0 ;
24676 PyObject
* obj2
= 0 ;
24677 char * kwnames
[] = {
24678 (char *) "self",(char *) "id",(char *) "helpString", NULL
24681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24683 if (!SWIG_IsOK(res1
)) {
24684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24686 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24687 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24688 if (!SWIG_IsOK(ecode2
)) {
24689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24691 arg2
= static_cast< int >(val2
);
24693 arg3
= wxString_in_helper(obj2
);
24694 if (arg3
== NULL
) SWIG_fail
;
24698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24699 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
24700 wxPyEndAllowThreads(__tstate
);
24701 if (PyErr_Occurred()) SWIG_fail
;
24703 resultobj
= SWIG_Py_Void();
24718 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24719 PyObject
*resultobj
= 0;
24720 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24727 PyObject
* obj0
= 0 ;
24728 PyObject
* obj1
= 0 ;
24729 char * kwnames
[] = {
24730 (char *) "self",(char *) "id", NULL
24733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24735 if (!SWIG_IsOK(res1
)) {
24736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24738 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24739 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24740 if (!SWIG_IsOK(ecode2
)) {
24741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24743 arg2
= static_cast< int >(val2
);
24745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24746 result
= (arg1
)->GetToolLongHelp(arg2
);
24747 wxPyEndAllowThreads(__tstate
);
24748 if (PyErr_Occurred()) SWIG_fail
;
24752 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24754 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24763 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24764 PyObject
*resultobj
= 0;
24765 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24774 PyObject
* obj0
= 0 ;
24775 PyObject
* obj1
= 0 ;
24776 PyObject
* obj2
= 0 ;
24777 char * kwnames
[] = {
24778 (char *) "self",(char *) "x",(char *) "y", NULL
24781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24783 if (!SWIG_IsOK(res1
)) {
24784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24786 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24787 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24788 if (!SWIG_IsOK(ecode2
)) {
24789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
24791 arg2
= static_cast< int >(val2
);
24792 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24793 if (!SWIG_IsOK(ecode3
)) {
24794 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
24796 arg3
= static_cast< int >(val3
);
24798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24799 (arg1
)->SetMargins(arg2
,arg3
);
24800 wxPyEndAllowThreads(__tstate
);
24801 if (PyErr_Occurred()) SWIG_fail
;
24803 resultobj
= SWIG_Py_Void();
24810 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24811 PyObject
*resultobj
= 0;
24812 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24817 PyObject
* obj0
= 0 ;
24818 PyObject
* obj1
= 0 ;
24819 char * kwnames
[] = {
24820 (char *) "self",(char *) "size", NULL
24823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24825 if (!SWIG_IsOK(res1
)) {
24826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24828 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24831 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24835 (arg1
)->SetMargins((wxSize
const &)*arg2
);
24836 wxPyEndAllowThreads(__tstate
);
24837 if (PyErr_Occurred()) SWIG_fail
;
24839 resultobj
= SWIG_Py_Void();
24846 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24847 PyObject
*resultobj
= 0;
24848 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24854 PyObject
* obj0
= 0 ;
24855 PyObject
* obj1
= 0 ;
24856 char * kwnames
[] = {
24857 (char *) "self",(char *) "packing", NULL
24860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24862 if (!SWIG_IsOK(res1
)) {
24863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24865 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24866 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24867 if (!SWIG_IsOK(ecode2
)) {
24868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
24870 arg2
= static_cast< int >(val2
);
24872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24873 (arg1
)->SetToolPacking(arg2
);
24874 wxPyEndAllowThreads(__tstate
);
24875 if (PyErr_Occurred()) SWIG_fail
;
24877 resultobj
= SWIG_Py_Void();
24884 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24885 PyObject
*resultobj
= 0;
24886 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24892 PyObject
* obj0
= 0 ;
24893 PyObject
* obj1
= 0 ;
24894 char * kwnames
[] = {
24895 (char *) "self",(char *) "separation", NULL
24898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24900 if (!SWIG_IsOK(res1
)) {
24901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24903 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24905 if (!SWIG_IsOK(ecode2
)) {
24906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
24908 arg2
= static_cast< int >(val2
);
24910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24911 (arg1
)->SetToolSeparation(arg2
);
24912 wxPyEndAllowThreads(__tstate
);
24913 if (PyErr_Occurred()) SWIG_fail
;
24915 resultobj
= SWIG_Py_Void();
24922 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24923 PyObject
*resultobj
= 0;
24924 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24928 PyObject
*swig_obj
[1] ;
24930 if (!args
) SWIG_fail
;
24931 swig_obj
[0] = args
;
24932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24933 if (!SWIG_IsOK(res1
)) {
24934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24936 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24939 result
= (arg1
)->GetToolMargins();
24940 wxPyEndAllowThreads(__tstate
);
24941 if (PyErr_Occurred()) SWIG_fail
;
24943 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24950 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24951 PyObject
*resultobj
= 0;
24952 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24956 PyObject
*swig_obj
[1] ;
24958 if (!args
) SWIG_fail
;
24959 swig_obj
[0] = args
;
24960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24961 if (!SWIG_IsOK(res1
)) {
24962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24964 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24967 result
= (arg1
)->GetMargins();
24968 wxPyEndAllowThreads(__tstate
);
24969 if (PyErr_Occurred()) SWIG_fail
;
24971 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24978 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24979 PyObject
*resultobj
= 0;
24980 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24984 PyObject
*swig_obj
[1] ;
24986 if (!args
) SWIG_fail
;
24987 swig_obj
[0] = args
;
24988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24989 if (!SWIG_IsOK(res1
)) {
24990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24992 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24995 result
= (int)(arg1
)->GetToolPacking();
24996 wxPyEndAllowThreads(__tstate
);
24997 if (PyErr_Occurred()) SWIG_fail
;
24999 resultobj
= SWIG_From_int(static_cast< int >(result
));
25006 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25007 PyObject
*resultobj
= 0;
25008 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25012 PyObject
*swig_obj
[1] ;
25014 if (!args
) SWIG_fail
;
25015 swig_obj
[0] = args
;
25016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25017 if (!SWIG_IsOK(res1
)) {
25018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25020 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25023 result
= (int)(arg1
)->GetToolSeparation();
25024 wxPyEndAllowThreads(__tstate
);
25025 if (PyErr_Occurred()) SWIG_fail
;
25027 resultobj
= SWIG_From_int(static_cast< int >(result
));
25034 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25035 PyObject
*resultobj
= 0;
25036 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25042 PyObject
* obj0
= 0 ;
25043 PyObject
* obj1
= 0 ;
25044 char * kwnames
[] = {
25045 (char *) "self",(char *) "nRows", NULL
25048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25050 if (!SWIG_IsOK(res1
)) {
25051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25053 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25054 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25055 if (!SWIG_IsOK(ecode2
)) {
25056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25058 arg2
= static_cast< int >(val2
);
25060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25061 (arg1
)->SetRows(arg2
);
25062 wxPyEndAllowThreads(__tstate
);
25063 if (PyErr_Occurred()) SWIG_fail
;
25065 resultobj
= SWIG_Py_Void();
25072 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25073 PyObject
*resultobj
= 0;
25074 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25083 PyObject
* obj0
= 0 ;
25084 PyObject
* obj1
= 0 ;
25085 PyObject
* obj2
= 0 ;
25086 char * kwnames
[] = {
25087 (char *) "self",(char *) "rows",(char *) "cols", NULL
25090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25092 if (!SWIG_IsOK(res1
)) {
25093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25095 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25097 if (!SWIG_IsOK(ecode2
)) {
25098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25100 arg2
= static_cast< int >(val2
);
25101 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25102 if (!SWIG_IsOK(ecode3
)) {
25103 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25105 arg3
= static_cast< int >(val3
);
25107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25108 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25109 wxPyEndAllowThreads(__tstate
);
25110 if (PyErr_Occurred()) SWIG_fail
;
25112 resultobj
= SWIG_Py_Void();
25119 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25120 PyObject
*resultobj
= 0;
25121 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25125 PyObject
*swig_obj
[1] ;
25127 if (!args
) SWIG_fail
;
25128 swig_obj
[0] = args
;
25129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25130 if (!SWIG_IsOK(res1
)) {
25131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25133 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25136 result
= (int)(arg1
)->GetMaxRows();
25137 wxPyEndAllowThreads(__tstate
);
25138 if (PyErr_Occurred()) SWIG_fail
;
25140 resultobj
= SWIG_From_int(static_cast< int >(result
));
25147 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25148 PyObject
*resultobj
= 0;
25149 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25153 PyObject
*swig_obj
[1] ;
25155 if (!args
) SWIG_fail
;
25156 swig_obj
[0] = args
;
25157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25158 if (!SWIG_IsOK(res1
)) {
25159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25161 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25164 result
= (int)(arg1
)->GetMaxCols();
25165 wxPyEndAllowThreads(__tstate
);
25166 if (PyErr_Occurred()) SWIG_fail
;
25168 resultobj
= SWIG_From_int(static_cast< int >(result
));
25175 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25176 PyObject
*resultobj
= 0;
25177 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25182 PyObject
* obj0
= 0 ;
25183 PyObject
* obj1
= 0 ;
25184 char * kwnames
[] = {
25185 (char *) "self",(char *) "size", NULL
25188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25190 if (!SWIG_IsOK(res1
)) {
25191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25193 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25196 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25200 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25201 wxPyEndAllowThreads(__tstate
);
25202 if (PyErr_Occurred()) SWIG_fail
;
25204 resultobj
= SWIG_Py_Void();
25211 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25212 PyObject
*resultobj
= 0;
25213 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25217 PyObject
*swig_obj
[1] ;
25219 if (!args
) SWIG_fail
;
25220 swig_obj
[0] = args
;
25221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25222 if (!SWIG_IsOK(res1
)) {
25223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25225 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25228 result
= (arg1
)->GetToolBitmapSize();
25229 wxPyEndAllowThreads(__tstate
);
25230 if (PyErr_Occurred()) SWIG_fail
;
25232 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25239 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25240 PyObject
*resultobj
= 0;
25241 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25245 PyObject
*swig_obj
[1] ;
25247 if (!args
) SWIG_fail
;
25248 swig_obj
[0] = args
;
25249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25250 if (!SWIG_IsOK(res1
)) {
25251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25253 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25256 result
= (arg1
)->GetToolSize();
25257 wxPyEndAllowThreads(__tstate
);
25258 if (PyErr_Occurred()) SWIG_fail
;
25260 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25267 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25268 PyObject
*resultobj
= 0;
25269 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25272 wxToolBarToolBase
*result
= 0 ;
25279 PyObject
* obj0
= 0 ;
25280 PyObject
* obj1
= 0 ;
25281 PyObject
* obj2
= 0 ;
25282 char * kwnames
[] = {
25283 (char *) "self",(char *) "x",(char *) "y", NULL
25286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25288 if (!SWIG_IsOK(res1
)) {
25289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25291 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25293 if (!SWIG_IsOK(ecode2
)) {
25294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25296 arg2
= static_cast< int >(val2
);
25297 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25298 if (!SWIG_IsOK(ecode3
)) {
25299 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25301 arg3
= static_cast< int >(val3
);
25303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25304 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25305 wxPyEndAllowThreads(__tstate
);
25306 if (PyErr_Occurred()) SWIG_fail
;
25309 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25317 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25318 PyObject
*resultobj
= 0;
25319 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25321 wxToolBarToolBase
*result
= 0 ;
25326 PyObject
* obj0
= 0 ;
25327 PyObject
* obj1
= 0 ;
25328 char * kwnames
[] = {
25329 (char *) "self",(char *) "toolid", NULL
25332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25334 if (!SWIG_IsOK(res1
)) {
25335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25337 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25339 if (!SWIG_IsOK(ecode2
)) {
25340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25342 arg2
= static_cast< int >(val2
);
25344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25345 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25346 wxPyEndAllowThreads(__tstate
);
25347 if (PyErr_Occurred()) SWIG_fail
;
25350 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25358 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25359 PyObject
*resultobj
= 0;
25360 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25364 PyObject
*swig_obj
[1] ;
25366 if (!args
) SWIG_fail
;
25367 swig_obj
[0] = args
;
25368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25369 if (!SWIG_IsOK(res1
)) {
25370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25372 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25375 result
= (bool)(arg1
)->IsVertical();
25376 wxPyEndAllowThreads(__tstate
);
25377 if (PyErr_Occurred()) SWIG_fail
;
25380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25388 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25389 PyObject
*resultobj
= 0;
25390 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25394 PyObject
*swig_obj
[1] ;
25396 if (!args
) SWIG_fail
;
25397 swig_obj
[0] = args
;
25398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25399 if (!SWIG_IsOK(res1
)) {
25400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25402 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25405 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25406 wxPyEndAllowThreads(__tstate
);
25407 if (PyErr_Occurred()) SWIG_fail
;
25409 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25416 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25418 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25419 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25420 return SWIG_Py_Void();
25423 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25424 PyObject
*resultobj
= 0;
25425 wxWindow
*arg1
= (wxWindow
*) 0 ;
25426 int arg2
= (int) -1 ;
25427 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25428 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25429 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25430 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25431 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25432 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25433 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25434 wxToolBar
*result
= 0 ;
25443 bool temp6
= false ;
25444 PyObject
* obj0
= 0 ;
25445 PyObject
* obj1
= 0 ;
25446 PyObject
* obj2
= 0 ;
25447 PyObject
* obj3
= 0 ;
25448 PyObject
* obj4
= 0 ;
25449 PyObject
* obj5
= 0 ;
25450 char * kwnames
[] = {
25451 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25456 if (!SWIG_IsOK(res1
)) {
25457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25459 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25461 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25462 if (!SWIG_IsOK(ecode2
)) {
25463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25465 arg2
= static_cast< int >(val2
);
25470 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25476 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25480 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25481 if (!SWIG_IsOK(ecode5
)) {
25482 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25484 arg5
= static_cast< long >(val5
);
25488 arg6
= wxString_in_helper(obj5
);
25489 if (arg6
== NULL
) SWIG_fail
;
25494 if (!wxPyCheckForApp()) SWIG_fail
;
25495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25496 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25497 wxPyEndAllowThreads(__tstate
);
25498 if (PyErr_Occurred()) SWIG_fail
;
25500 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25515 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25516 PyObject
*resultobj
= 0;
25517 wxToolBar
*result
= 0 ;
25519 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25521 if (!wxPyCheckForApp()) SWIG_fail
;
25522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25523 result
= (wxToolBar
*)new wxToolBar();
25524 wxPyEndAllowThreads(__tstate
);
25525 if (PyErr_Occurred()) SWIG_fail
;
25527 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25534 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25535 PyObject
*resultobj
= 0;
25536 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25537 wxWindow
*arg2
= (wxWindow
*) 0 ;
25538 int arg3
= (int) -1 ;
25539 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25540 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25541 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25542 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25543 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25544 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25545 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25557 bool temp7
= false ;
25558 PyObject
* obj0
= 0 ;
25559 PyObject
* obj1
= 0 ;
25560 PyObject
* obj2
= 0 ;
25561 PyObject
* obj3
= 0 ;
25562 PyObject
* obj4
= 0 ;
25563 PyObject
* obj5
= 0 ;
25564 PyObject
* obj6
= 0 ;
25565 char * kwnames
[] = {
25566 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25571 if (!SWIG_IsOK(res1
)) {
25572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25574 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25575 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25576 if (!SWIG_IsOK(res2
)) {
25577 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25579 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25581 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25582 if (!SWIG_IsOK(ecode3
)) {
25583 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25585 arg3
= static_cast< int >(val3
);
25590 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25596 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25600 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25601 if (!SWIG_IsOK(ecode6
)) {
25602 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25604 arg6
= static_cast< long >(val6
);
25608 arg7
= wxString_in_helper(obj6
);
25609 if (arg7
== NULL
) SWIG_fail
;
25614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25615 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25616 wxPyEndAllowThreads(__tstate
);
25617 if (PyErr_Occurred()) SWIG_fail
;
25620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25636 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25637 PyObject
*resultobj
= 0;
25638 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25639 SwigValueWrapper
<wxVisualAttributes
> result
;
25642 PyObject
* obj0
= 0 ;
25643 char * kwnames
[] = {
25644 (char *) "variant", NULL
25647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25649 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25650 if (!SWIG_IsOK(ecode1
)) {
25651 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25653 arg1
= static_cast< wxWindowVariant
>(val1
);
25656 if (!wxPyCheckForApp()) SWIG_fail
;
25657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25658 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
25659 wxPyEndAllowThreads(__tstate
);
25660 if (PyErr_Occurred()) SWIG_fail
;
25662 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25669 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25671 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25672 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
25673 return SWIG_Py_Void();
25676 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25677 return SWIG_Python_InitShadowInstance(args
);
25680 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
25681 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
25686 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
25687 PyObject
*pyobj
= 0;
25691 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25693 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25700 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25701 PyObject
*resultobj
= 0;
25702 wxColour
const &arg1_defvalue
= wxNullColour
;
25703 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
25704 wxColour
const &arg2_defvalue
= wxNullColour
;
25705 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
25706 wxFont
const &arg3_defvalue
= wxNullFont
;
25707 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
25708 wxListItemAttr
*result
= 0 ;
25713 PyObject
* obj0
= 0 ;
25714 PyObject
* obj1
= 0 ;
25715 PyObject
* obj2
= 0 ;
25716 char * kwnames
[] = {
25717 (char *) "colText",(char *) "colBack",(char *) "font", NULL
25720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25724 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
25730 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25734 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
25735 if (!SWIG_IsOK(res3
)) {
25736 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25739 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25741 arg3
= reinterpret_cast< wxFont
* >(argp3
);
25744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25745 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
25746 wxPyEndAllowThreads(__tstate
);
25747 if (PyErr_Occurred()) SWIG_fail
;
25749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
25756 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25757 PyObject
*resultobj
= 0;
25758 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25761 PyObject
*swig_obj
[1] ;
25763 if (!args
) SWIG_fail
;
25764 swig_obj
[0] = args
;
25765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
25766 if (!SWIG_IsOK(res1
)) {
25767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25769 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25774 wxPyEndAllowThreads(__tstate
);
25775 if (PyErr_Occurred()) SWIG_fail
;
25777 resultobj
= SWIG_Py_Void();
25784 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25785 PyObject
*resultobj
= 0;
25786 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25787 wxColour
*arg2
= 0 ;
25791 PyObject
* obj0
= 0 ;
25792 PyObject
* obj1
= 0 ;
25793 char * kwnames
[] = {
25794 (char *) "self",(char *) "colText", NULL
25797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25799 if (!SWIG_IsOK(res1
)) {
25800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25802 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25805 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25809 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25810 wxPyEndAllowThreads(__tstate
);
25811 if (PyErr_Occurred()) SWIG_fail
;
25813 resultobj
= SWIG_Py_Void();
25820 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25821 PyObject
*resultobj
= 0;
25822 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25823 wxColour
*arg2
= 0 ;
25827 PyObject
* obj0
= 0 ;
25828 PyObject
* obj1
= 0 ;
25829 char * kwnames
[] = {
25830 (char *) "self",(char *) "colBack", NULL
25833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25835 if (!SWIG_IsOK(res1
)) {
25836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25838 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25841 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25845 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25846 wxPyEndAllowThreads(__tstate
);
25847 if (PyErr_Occurred()) SWIG_fail
;
25849 resultobj
= SWIG_Py_Void();
25856 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25857 PyObject
*resultobj
= 0;
25858 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25864 PyObject
* obj0
= 0 ;
25865 PyObject
* obj1
= 0 ;
25866 char * kwnames
[] = {
25867 (char *) "self",(char *) "font", NULL
25870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25872 if (!SWIG_IsOK(res1
)) {
25873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25875 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25876 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
25877 if (!SWIG_IsOK(res2
)) {
25878 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25881 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25883 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25886 (arg1
)->SetFont((wxFont
const &)*arg2
);
25887 wxPyEndAllowThreads(__tstate
);
25888 if (PyErr_Occurred()) SWIG_fail
;
25890 resultobj
= SWIG_Py_Void();
25897 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25898 PyObject
*resultobj
= 0;
25899 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25903 PyObject
*swig_obj
[1] ;
25905 if (!args
) SWIG_fail
;
25906 swig_obj
[0] = args
;
25907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25908 if (!SWIG_IsOK(res1
)) {
25909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25911 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25914 result
= (bool)(arg1
)->HasTextColour();
25915 wxPyEndAllowThreads(__tstate
);
25916 if (PyErr_Occurred()) SWIG_fail
;
25919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25927 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25928 PyObject
*resultobj
= 0;
25929 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25933 PyObject
*swig_obj
[1] ;
25935 if (!args
) SWIG_fail
;
25936 swig_obj
[0] = args
;
25937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25938 if (!SWIG_IsOK(res1
)) {
25939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25941 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25944 result
= (bool)(arg1
)->HasBackgroundColour();
25945 wxPyEndAllowThreads(__tstate
);
25946 if (PyErr_Occurred()) SWIG_fail
;
25949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25957 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25958 PyObject
*resultobj
= 0;
25959 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25963 PyObject
*swig_obj
[1] ;
25965 if (!args
) SWIG_fail
;
25966 swig_obj
[0] = args
;
25967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25968 if (!SWIG_IsOK(res1
)) {
25969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25971 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25974 result
= (bool)(arg1
)->HasFont();
25975 wxPyEndAllowThreads(__tstate
);
25976 if (PyErr_Occurred()) SWIG_fail
;
25979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25987 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25988 PyObject
*resultobj
= 0;
25989 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25993 PyObject
*swig_obj
[1] ;
25995 if (!args
) SWIG_fail
;
25996 swig_obj
[0] = args
;
25997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25998 if (!SWIG_IsOK(res1
)) {
25999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26001 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26004 result
= (arg1
)->GetTextColour();
26005 wxPyEndAllowThreads(__tstate
);
26006 if (PyErr_Occurred()) SWIG_fail
;
26008 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26015 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26016 PyObject
*resultobj
= 0;
26017 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26021 PyObject
*swig_obj
[1] ;
26023 if (!args
) SWIG_fail
;
26024 swig_obj
[0] = args
;
26025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26026 if (!SWIG_IsOK(res1
)) {
26027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26029 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26032 result
= (arg1
)->GetBackgroundColour();
26033 wxPyEndAllowThreads(__tstate
);
26034 if (PyErr_Occurred()) SWIG_fail
;
26036 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26043 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26044 PyObject
*resultobj
= 0;
26045 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26049 PyObject
*swig_obj
[1] ;
26051 if (!args
) SWIG_fail
;
26052 swig_obj
[0] = args
;
26053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26054 if (!SWIG_IsOK(res1
)) {
26055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26057 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26060 result
= (arg1
)->GetFont();
26061 wxPyEndAllowThreads(__tstate
);
26062 if (PyErr_Occurred()) SWIG_fail
;
26064 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26071 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26072 PyObject
*resultobj
= 0;
26073 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26074 wxListItemAttr
*arg2
= 0 ;
26079 PyObject
* obj0
= 0 ;
26080 PyObject
* obj1
= 0 ;
26081 char * kwnames
[] = {
26082 (char *) "self",(char *) "source", NULL
26085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26087 if (!SWIG_IsOK(res1
)) {
26088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26090 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26091 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26092 if (!SWIG_IsOK(res2
)) {
26093 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26096 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26098 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26101 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26102 wxPyEndAllowThreads(__tstate
);
26103 if (PyErr_Occurred()) SWIG_fail
;
26105 resultobj
= SWIG_Py_Void();
26112 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26113 PyObject
*resultobj
= 0;
26114 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26117 PyObject
*swig_obj
[1] ;
26119 if (!args
) SWIG_fail
;
26120 swig_obj
[0] = args
;
26121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26122 if (!SWIG_IsOK(res1
)) {
26123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26125 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26128 wxListItemAttr_Destroy(arg1
);
26129 wxPyEndAllowThreads(__tstate
);
26130 if (PyErr_Occurred()) SWIG_fail
;
26132 resultobj
= SWIG_Py_Void();
26139 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26141 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26142 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26143 return SWIG_Py_Void();
26146 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26147 return SWIG_Python_InitShadowInstance(args
);
26150 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26151 PyObject
*resultobj
= 0;
26152 wxListItem
*result
= 0 ;
26154 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26157 result
= (wxListItem
*)new wxListItem();
26158 wxPyEndAllowThreads(__tstate
);
26159 if (PyErr_Occurred()) SWIG_fail
;
26162 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
26170 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26171 PyObject
*resultobj
= 0;
26172 wxListItem
*arg1
= (wxListItem
*) 0 ;
26175 PyObject
*swig_obj
[1] ;
26177 if (!args
) SWIG_fail
;
26178 swig_obj
[0] = args
;
26179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26180 if (!SWIG_IsOK(res1
)) {
26181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26183 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26188 wxPyEndAllowThreads(__tstate
);
26189 if (PyErr_Occurred()) SWIG_fail
;
26191 resultobj
= SWIG_Py_Void();
26198 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26199 PyObject
*resultobj
= 0;
26200 wxListItem
*arg1
= (wxListItem
*) 0 ;
26203 PyObject
*swig_obj
[1] ;
26205 if (!args
) SWIG_fail
;
26206 swig_obj
[0] = args
;
26207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26208 if (!SWIG_IsOK(res1
)) {
26209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26211 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26215 wxPyEndAllowThreads(__tstate
);
26216 if (PyErr_Occurred()) SWIG_fail
;
26218 resultobj
= SWIG_Py_Void();
26225 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26226 PyObject
*resultobj
= 0;
26227 wxListItem
*arg1
= (wxListItem
*) 0 ;
26230 PyObject
*swig_obj
[1] ;
26232 if (!args
) SWIG_fail
;
26233 swig_obj
[0] = args
;
26234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26235 if (!SWIG_IsOK(res1
)) {
26236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26238 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26241 (arg1
)->ClearAttributes();
26242 wxPyEndAllowThreads(__tstate
);
26243 if (PyErr_Occurred()) SWIG_fail
;
26245 resultobj
= SWIG_Py_Void();
26252 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26253 PyObject
*resultobj
= 0;
26254 wxListItem
*arg1
= (wxListItem
*) 0 ;
26260 PyObject
* obj0
= 0 ;
26261 PyObject
* obj1
= 0 ;
26262 char * kwnames
[] = {
26263 (char *) "self",(char *) "mask", NULL
26266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26268 if (!SWIG_IsOK(res1
)) {
26269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26271 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26272 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26273 if (!SWIG_IsOK(ecode2
)) {
26274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26276 arg2
= static_cast< long >(val2
);
26278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26279 (arg1
)->SetMask(arg2
);
26280 wxPyEndAllowThreads(__tstate
);
26281 if (PyErr_Occurred()) SWIG_fail
;
26283 resultobj
= SWIG_Py_Void();
26290 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26291 PyObject
*resultobj
= 0;
26292 wxListItem
*arg1
= (wxListItem
*) 0 ;
26298 PyObject
* obj0
= 0 ;
26299 PyObject
* obj1
= 0 ;
26300 char * kwnames
[] = {
26301 (char *) "self",(char *) "id", NULL
26304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26306 if (!SWIG_IsOK(res1
)) {
26307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26309 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26310 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26311 if (!SWIG_IsOK(ecode2
)) {
26312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26314 arg2
= static_cast< long >(val2
);
26316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26317 (arg1
)->SetId(arg2
);
26318 wxPyEndAllowThreads(__tstate
);
26319 if (PyErr_Occurred()) SWIG_fail
;
26321 resultobj
= SWIG_Py_Void();
26328 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26329 PyObject
*resultobj
= 0;
26330 wxListItem
*arg1
= (wxListItem
*) 0 ;
26336 PyObject
* obj0
= 0 ;
26337 PyObject
* obj1
= 0 ;
26338 char * kwnames
[] = {
26339 (char *) "self",(char *) "col", NULL
26342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26344 if (!SWIG_IsOK(res1
)) {
26345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26347 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26348 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26349 if (!SWIG_IsOK(ecode2
)) {
26350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26352 arg2
= static_cast< int >(val2
);
26354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26355 (arg1
)->SetColumn(arg2
);
26356 wxPyEndAllowThreads(__tstate
);
26357 if (PyErr_Occurred()) SWIG_fail
;
26359 resultobj
= SWIG_Py_Void();
26366 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26367 PyObject
*resultobj
= 0;
26368 wxListItem
*arg1
= (wxListItem
*) 0 ;
26374 PyObject
* obj0
= 0 ;
26375 PyObject
* obj1
= 0 ;
26376 char * kwnames
[] = {
26377 (char *) "self",(char *) "state", NULL
26380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26382 if (!SWIG_IsOK(res1
)) {
26383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26385 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26386 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26387 if (!SWIG_IsOK(ecode2
)) {
26388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26390 arg2
= static_cast< long >(val2
);
26392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26393 (arg1
)->SetState(arg2
);
26394 wxPyEndAllowThreads(__tstate
);
26395 if (PyErr_Occurred()) SWIG_fail
;
26397 resultobj
= SWIG_Py_Void();
26404 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26405 PyObject
*resultobj
= 0;
26406 wxListItem
*arg1
= (wxListItem
*) 0 ;
26412 PyObject
* obj0
= 0 ;
26413 PyObject
* obj1
= 0 ;
26414 char * kwnames
[] = {
26415 (char *) "self",(char *) "stateMask", NULL
26418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26420 if (!SWIG_IsOK(res1
)) {
26421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26423 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26424 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26425 if (!SWIG_IsOK(ecode2
)) {
26426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26428 arg2
= static_cast< long >(val2
);
26430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26431 (arg1
)->SetStateMask(arg2
);
26432 wxPyEndAllowThreads(__tstate
);
26433 if (PyErr_Occurred()) SWIG_fail
;
26435 resultobj
= SWIG_Py_Void();
26442 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26443 PyObject
*resultobj
= 0;
26444 wxListItem
*arg1
= (wxListItem
*) 0 ;
26445 wxString
*arg2
= 0 ;
26448 bool temp2
= false ;
26449 PyObject
* obj0
= 0 ;
26450 PyObject
* obj1
= 0 ;
26451 char * kwnames
[] = {
26452 (char *) "self",(char *) "text", NULL
26455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26457 if (!SWIG_IsOK(res1
)) {
26458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26460 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26462 arg2
= wxString_in_helper(obj1
);
26463 if (arg2
== NULL
) SWIG_fail
;
26467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26468 (arg1
)->SetText((wxString
const &)*arg2
);
26469 wxPyEndAllowThreads(__tstate
);
26470 if (PyErr_Occurred()) SWIG_fail
;
26472 resultobj
= SWIG_Py_Void();
26487 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26488 PyObject
*resultobj
= 0;
26489 wxListItem
*arg1
= (wxListItem
*) 0 ;
26495 PyObject
* obj0
= 0 ;
26496 PyObject
* obj1
= 0 ;
26497 char * kwnames
[] = {
26498 (char *) "self",(char *) "image", NULL
26501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26503 if (!SWIG_IsOK(res1
)) {
26504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26506 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26507 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26508 if (!SWIG_IsOK(ecode2
)) {
26509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26511 arg2
= static_cast< int >(val2
);
26513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26514 (arg1
)->SetImage(arg2
);
26515 wxPyEndAllowThreads(__tstate
);
26516 if (PyErr_Occurred()) SWIG_fail
;
26518 resultobj
= SWIG_Py_Void();
26525 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26526 PyObject
*resultobj
= 0;
26527 wxListItem
*arg1
= (wxListItem
*) 0 ;
26533 PyObject
* obj0
= 0 ;
26534 PyObject
* obj1
= 0 ;
26535 char * kwnames
[] = {
26536 (char *) "self",(char *) "data", NULL
26539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26541 if (!SWIG_IsOK(res1
)) {
26542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26544 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26545 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26546 if (!SWIG_IsOK(ecode2
)) {
26547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26549 arg2
= static_cast< long >(val2
);
26551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26552 (arg1
)->SetData(arg2
);
26553 wxPyEndAllowThreads(__tstate
);
26554 if (PyErr_Occurred()) SWIG_fail
;
26556 resultobj
= SWIG_Py_Void();
26563 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(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 *) "width", NULL
26577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",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_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26582 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26583 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26584 if (!SWIG_IsOK(ecode2
)) {
26585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26587 arg2
= static_cast< int >(val2
);
26589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26590 (arg1
)->SetWidth(arg2
);
26591 wxPyEndAllowThreads(__tstate
);
26592 if (PyErr_Occurred()) SWIG_fail
;
26594 resultobj
= SWIG_Py_Void();
26601 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26602 PyObject
*resultobj
= 0;
26603 wxListItem
*arg1
= (wxListItem
*) 0 ;
26604 wxListColumnFormat arg2
;
26609 PyObject
* obj0
= 0 ;
26610 PyObject
* obj1
= 0 ;
26611 char * kwnames
[] = {
26612 (char *) "self",(char *) "align", NULL
26615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26617 if (!SWIG_IsOK(res1
)) {
26618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26620 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26621 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26622 if (!SWIG_IsOK(ecode2
)) {
26623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26625 arg2
= static_cast< wxListColumnFormat
>(val2
);
26627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26628 (arg1
)->SetAlign(arg2
);
26629 wxPyEndAllowThreads(__tstate
);
26630 if (PyErr_Occurred()) SWIG_fail
;
26632 resultobj
= SWIG_Py_Void();
26639 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26640 PyObject
*resultobj
= 0;
26641 wxListItem
*arg1
= (wxListItem
*) 0 ;
26642 wxColour
*arg2
= 0 ;
26646 PyObject
* obj0
= 0 ;
26647 PyObject
* obj1
= 0 ;
26648 char * kwnames
[] = {
26649 (char *) "self",(char *) "colText", NULL
26652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26654 if (!SWIG_IsOK(res1
)) {
26655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26657 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26660 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26664 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26665 wxPyEndAllowThreads(__tstate
);
26666 if (PyErr_Occurred()) SWIG_fail
;
26668 resultobj
= SWIG_Py_Void();
26675 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26676 PyObject
*resultobj
= 0;
26677 wxListItem
*arg1
= (wxListItem
*) 0 ;
26678 wxColour
*arg2
= 0 ;
26682 PyObject
* obj0
= 0 ;
26683 PyObject
* obj1
= 0 ;
26684 char * kwnames
[] = {
26685 (char *) "self",(char *) "colBack", NULL
26688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26690 if (!SWIG_IsOK(res1
)) {
26691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26693 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26696 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26700 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26701 wxPyEndAllowThreads(__tstate
);
26702 if (PyErr_Occurred()) SWIG_fail
;
26704 resultobj
= SWIG_Py_Void();
26711 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26712 PyObject
*resultobj
= 0;
26713 wxListItem
*arg1
= (wxListItem
*) 0 ;
26719 PyObject
* obj0
= 0 ;
26720 PyObject
* obj1
= 0 ;
26721 char * kwnames
[] = {
26722 (char *) "self",(char *) "font", NULL
26725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26727 if (!SWIG_IsOK(res1
)) {
26728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
26730 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26731 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26732 if (!SWIG_IsOK(res2
)) {
26733 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26736 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26738 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26741 (arg1
)->SetFont((wxFont
const &)*arg2
);
26742 wxPyEndAllowThreads(__tstate
);
26743 if (PyErr_Occurred()) SWIG_fail
;
26745 resultobj
= SWIG_Py_Void();
26752 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26753 PyObject
*resultobj
= 0;
26754 wxListItem
*arg1
= (wxListItem
*) 0 ;
26758 PyObject
*swig_obj
[1] ;
26760 if (!args
) SWIG_fail
;
26761 swig_obj
[0] = args
;
26762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26763 if (!SWIG_IsOK(res1
)) {
26764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26766 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26769 result
= (long)(arg1
)->GetMask();
26770 wxPyEndAllowThreads(__tstate
);
26771 if (PyErr_Occurred()) SWIG_fail
;
26773 resultobj
= SWIG_From_long(static_cast< long >(result
));
26780 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26781 PyObject
*resultobj
= 0;
26782 wxListItem
*arg1
= (wxListItem
*) 0 ;
26786 PyObject
*swig_obj
[1] ;
26788 if (!args
) SWIG_fail
;
26789 swig_obj
[0] = args
;
26790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26791 if (!SWIG_IsOK(res1
)) {
26792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26794 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26797 result
= (long)(arg1
)->GetId();
26798 wxPyEndAllowThreads(__tstate
);
26799 if (PyErr_Occurred()) SWIG_fail
;
26801 resultobj
= SWIG_From_long(static_cast< long >(result
));
26808 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26809 PyObject
*resultobj
= 0;
26810 wxListItem
*arg1
= (wxListItem
*) 0 ;
26814 PyObject
*swig_obj
[1] ;
26816 if (!args
) SWIG_fail
;
26817 swig_obj
[0] = args
;
26818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26819 if (!SWIG_IsOK(res1
)) {
26820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26822 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26825 result
= (int)(arg1
)->GetColumn();
26826 wxPyEndAllowThreads(__tstate
);
26827 if (PyErr_Occurred()) SWIG_fail
;
26829 resultobj
= SWIG_From_int(static_cast< int >(result
));
26836 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26837 PyObject
*resultobj
= 0;
26838 wxListItem
*arg1
= (wxListItem
*) 0 ;
26842 PyObject
*swig_obj
[1] ;
26844 if (!args
) SWIG_fail
;
26845 swig_obj
[0] = args
;
26846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26847 if (!SWIG_IsOK(res1
)) {
26848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26850 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26853 result
= (long)(arg1
)->GetState();
26854 wxPyEndAllowThreads(__tstate
);
26855 if (PyErr_Occurred()) SWIG_fail
;
26857 resultobj
= SWIG_From_long(static_cast< long >(result
));
26864 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26865 PyObject
*resultobj
= 0;
26866 wxListItem
*arg1
= (wxListItem
*) 0 ;
26867 wxString
*result
= 0 ;
26870 PyObject
*swig_obj
[1] ;
26872 if (!args
) SWIG_fail
;
26873 swig_obj
[0] = args
;
26874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26875 if (!SWIG_IsOK(res1
)) {
26876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26878 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26882 wxString
const &_result_ref
= (arg1
)->GetText();
26883 result
= (wxString
*) &_result_ref
;
26885 wxPyEndAllowThreads(__tstate
);
26886 if (PyErr_Occurred()) SWIG_fail
;
26890 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
26892 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
26901 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26902 PyObject
*resultobj
= 0;
26903 wxListItem
*arg1
= (wxListItem
*) 0 ;
26907 PyObject
*swig_obj
[1] ;
26909 if (!args
) SWIG_fail
;
26910 swig_obj
[0] = args
;
26911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26912 if (!SWIG_IsOK(res1
)) {
26913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26915 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26918 result
= (int)(arg1
)->GetImage();
26919 wxPyEndAllowThreads(__tstate
);
26920 if (PyErr_Occurred()) SWIG_fail
;
26922 resultobj
= SWIG_From_int(static_cast< int >(result
));
26929 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26930 PyObject
*resultobj
= 0;
26931 wxListItem
*arg1
= (wxListItem
*) 0 ;
26935 PyObject
*swig_obj
[1] ;
26937 if (!args
) SWIG_fail
;
26938 swig_obj
[0] = args
;
26939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26940 if (!SWIG_IsOK(res1
)) {
26941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26943 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26946 result
= (long)(arg1
)->GetData();
26947 wxPyEndAllowThreads(__tstate
);
26948 if (PyErr_Occurred()) SWIG_fail
;
26950 resultobj
= SWIG_From_long(static_cast< long >(result
));
26957 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26958 PyObject
*resultobj
= 0;
26959 wxListItem
*arg1
= (wxListItem
*) 0 ;
26963 PyObject
*swig_obj
[1] ;
26965 if (!args
) SWIG_fail
;
26966 swig_obj
[0] = args
;
26967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26968 if (!SWIG_IsOK(res1
)) {
26969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26971 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26974 result
= (int)(arg1
)->GetWidth();
26975 wxPyEndAllowThreads(__tstate
);
26976 if (PyErr_Occurred()) SWIG_fail
;
26978 resultobj
= SWIG_From_int(static_cast< int >(result
));
26985 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26986 PyObject
*resultobj
= 0;
26987 wxListItem
*arg1
= (wxListItem
*) 0 ;
26988 wxListColumnFormat result
;
26991 PyObject
*swig_obj
[1] ;
26993 if (!args
) SWIG_fail
;
26994 swig_obj
[0] = args
;
26995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26996 if (!SWIG_IsOK(res1
)) {
26997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26999 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27002 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27003 wxPyEndAllowThreads(__tstate
);
27004 if (PyErr_Occurred()) SWIG_fail
;
27006 resultobj
= SWIG_From_int(static_cast< int >(result
));
27013 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27014 PyObject
*resultobj
= 0;
27015 wxListItem
*arg1
= (wxListItem
*) 0 ;
27016 wxListItemAttr
*result
= 0 ;
27019 PyObject
*swig_obj
[1] ;
27021 if (!args
) SWIG_fail
;
27022 swig_obj
[0] = args
;
27023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27024 if (!SWIG_IsOK(res1
)) {
27025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27027 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27030 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27031 wxPyEndAllowThreads(__tstate
);
27032 if (PyErr_Occurred()) SWIG_fail
;
27034 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27041 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27042 PyObject
*resultobj
= 0;
27043 wxListItem
*arg1
= (wxListItem
*) 0 ;
27047 PyObject
*swig_obj
[1] ;
27049 if (!args
) SWIG_fail
;
27050 swig_obj
[0] = args
;
27051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27052 if (!SWIG_IsOK(res1
)) {
27053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27055 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27058 result
= (bool)(arg1
)->HasAttributes();
27059 wxPyEndAllowThreads(__tstate
);
27060 if (PyErr_Occurred()) SWIG_fail
;
27063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27071 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27072 PyObject
*resultobj
= 0;
27073 wxListItem
*arg1
= (wxListItem
*) 0 ;
27077 PyObject
*swig_obj
[1] ;
27079 if (!args
) SWIG_fail
;
27080 swig_obj
[0] = args
;
27081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27082 if (!SWIG_IsOK(res1
)) {
27083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27085 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27088 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27089 wxPyEndAllowThreads(__tstate
);
27090 if (PyErr_Occurred()) SWIG_fail
;
27092 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27099 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27100 PyObject
*resultobj
= 0;
27101 wxListItem
*arg1
= (wxListItem
*) 0 ;
27105 PyObject
*swig_obj
[1] ;
27107 if (!args
) SWIG_fail
;
27108 swig_obj
[0] = args
;
27109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27110 if (!SWIG_IsOK(res1
)) {
27111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27113 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27116 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27117 wxPyEndAllowThreads(__tstate
);
27118 if (PyErr_Occurred()) SWIG_fail
;
27120 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27127 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27128 PyObject
*resultobj
= 0;
27129 wxListItem
*arg1
= (wxListItem
*) 0 ;
27133 PyObject
*swig_obj
[1] ;
27135 if (!args
) SWIG_fail
;
27136 swig_obj
[0] = args
;
27137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27138 if (!SWIG_IsOK(res1
)) {
27139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27141 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27144 result
= ((wxListItem
const *)arg1
)->GetFont();
27145 wxPyEndAllowThreads(__tstate
);
27146 if (PyErr_Occurred()) SWIG_fail
;
27148 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27155 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27156 PyObject
*resultobj
= 0;
27157 wxListItem
*arg1
= (wxListItem
*) 0 ;
27163 PyObject
*swig_obj
[2] ;
27165 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27167 if (!SWIG_IsOK(res1
)) {
27168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27170 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27171 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27172 if (!SWIG_IsOK(ecode2
)) {
27173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27175 arg2
= static_cast< long >(val2
);
27176 if (arg1
) (arg1
)->m_mask
= arg2
;
27178 resultobj
= SWIG_Py_Void();
27185 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27186 PyObject
*resultobj
= 0;
27187 wxListItem
*arg1
= (wxListItem
*) 0 ;
27191 PyObject
*swig_obj
[1] ;
27193 if (!args
) SWIG_fail
;
27194 swig_obj
[0] = args
;
27195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27196 if (!SWIG_IsOK(res1
)) {
27197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27199 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27200 result
= (long) ((arg1
)->m_mask
);
27201 resultobj
= SWIG_From_long(static_cast< long >(result
));
27208 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27209 PyObject
*resultobj
= 0;
27210 wxListItem
*arg1
= (wxListItem
*) 0 ;
27216 PyObject
*swig_obj
[2] ;
27218 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27220 if (!SWIG_IsOK(res1
)) {
27221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27223 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27224 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27225 if (!SWIG_IsOK(ecode2
)) {
27226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27228 arg2
= static_cast< long >(val2
);
27229 if (arg1
) (arg1
)->m_itemId
= arg2
;
27231 resultobj
= SWIG_Py_Void();
27238 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27239 PyObject
*resultobj
= 0;
27240 wxListItem
*arg1
= (wxListItem
*) 0 ;
27244 PyObject
*swig_obj
[1] ;
27246 if (!args
) SWIG_fail
;
27247 swig_obj
[0] = args
;
27248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27249 if (!SWIG_IsOK(res1
)) {
27250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27252 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27253 result
= (long) ((arg1
)->m_itemId
);
27254 resultobj
= SWIG_From_long(static_cast< long >(result
));
27261 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27262 PyObject
*resultobj
= 0;
27263 wxListItem
*arg1
= (wxListItem
*) 0 ;
27269 PyObject
*swig_obj
[2] ;
27271 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27273 if (!SWIG_IsOK(res1
)) {
27274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27276 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27277 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27278 if (!SWIG_IsOK(ecode2
)) {
27279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27281 arg2
= static_cast< int >(val2
);
27282 if (arg1
) (arg1
)->m_col
= arg2
;
27284 resultobj
= SWIG_Py_Void();
27291 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27292 PyObject
*resultobj
= 0;
27293 wxListItem
*arg1
= (wxListItem
*) 0 ;
27297 PyObject
*swig_obj
[1] ;
27299 if (!args
) SWIG_fail
;
27300 swig_obj
[0] = args
;
27301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27302 if (!SWIG_IsOK(res1
)) {
27303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27305 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27306 result
= (int) ((arg1
)->m_col
);
27307 resultobj
= SWIG_From_int(static_cast< int >(result
));
27314 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27315 PyObject
*resultobj
= 0;
27316 wxListItem
*arg1
= (wxListItem
*) 0 ;
27322 PyObject
*swig_obj
[2] ;
27324 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27326 if (!SWIG_IsOK(res1
)) {
27327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27329 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27330 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27331 if (!SWIG_IsOK(ecode2
)) {
27332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27334 arg2
= static_cast< long >(val2
);
27335 if (arg1
) (arg1
)->m_state
= arg2
;
27337 resultobj
= SWIG_Py_Void();
27344 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27345 PyObject
*resultobj
= 0;
27346 wxListItem
*arg1
= (wxListItem
*) 0 ;
27350 PyObject
*swig_obj
[1] ;
27352 if (!args
) SWIG_fail
;
27353 swig_obj
[0] = args
;
27354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27355 if (!SWIG_IsOK(res1
)) {
27356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27358 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27359 result
= (long) ((arg1
)->m_state
);
27360 resultobj
= SWIG_From_long(static_cast< long >(result
));
27367 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27368 PyObject
*resultobj
= 0;
27369 wxListItem
*arg1
= (wxListItem
*) 0 ;
27375 PyObject
*swig_obj
[2] ;
27377 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
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_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27382 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27383 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27384 if (!SWIG_IsOK(ecode2
)) {
27385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27387 arg2
= static_cast< long >(val2
);
27388 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27390 resultobj
= SWIG_Py_Void();
27397 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27398 PyObject
*resultobj
= 0;
27399 wxListItem
*arg1
= (wxListItem
*) 0 ;
27403 PyObject
*swig_obj
[1] ;
27405 if (!args
) SWIG_fail
;
27406 swig_obj
[0] = args
;
27407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27408 if (!SWIG_IsOK(res1
)) {
27409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27411 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27412 result
= (long) ((arg1
)->m_stateMask
);
27413 resultobj
= SWIG_From_long(static_cast< long >(result
));
27420 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27421 PyObject
*resultobj
= 0;
27422 wxListItem
*arg1
= (wxListItem
*) 0 ;
27423 wxString
*arg2
= (wxString
*) 0 ;
27426 bool temp2
= false ;
27427 PyObject
*swig_obj
[2] ;
27429 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27431 if (!SWIG_IsOK(res1
)) {
27432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27434 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27436 arg2
= wxString_in_helper(swig_obj
[1]);
27437 if (arg2
== NULL
) SWIG_fail
;
27440 if (arg1
) (arg1
)->m_text
= *arg2
;
27442 resultobj
= SWIG_Py_Void();
27457 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27458 PyObject
*resultobj
= 0;
27459 wxListItem
*arg1
= (wxListItem
*) 0 ;
27460 wxString
*result
= 0 ;
27463 PyObject
*swig_obj
[1] ;
27465 if (!args
) SWIG_fail
;
27466 swig_obj
[0] = args
;
27467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27468 if (!SWIG_IsOK(res1
)) {
27469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27471 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27472 result
= (wxString
*)& ((arg1
)->m_text
);
27475 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27477 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27486 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27487 PyObject
*resultobj
= 0;
27488 wxListItem
*arg1
= (wxListItem
*) 0 ;
27494 PyObject
*swig_obj
[2] ;
27496 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27498 if (!SWIG_IsOK(res1
)) {
27499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27501 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27502 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27503 if (!SWIG_IsOK(ecode2
)) {
27504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27506 arg2
= static_cast< int >(val2
);
27507 if (arg1
) (arg1
)->m_image
= arg2
;
27509 resultobj
= SWIG_Py_Void();
27516 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27517 PyObject
*resultobj
= 0;
27518 wxListItem
*arg1
= (wxListItem
*) 0 ;
27522 PyObject
*swig_obj
[1] ;
27524 if (!args
) SWIG_fail
;
27525 swig_obj
[0] = args
;
27526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27527 if (!SWIG_IsOK(res1
)) {
27528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27530 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27531 result
= (int) ((arg1
)->m_image
);
27532 resultobj
= SWIG_From_int(static_cast< int >(result
));
27539 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27540 PyObject
*resultobj
= 0;
27541 wxListItem
*arg1
= (wxListItem
*) 0 ;
27547 PyObject
*swig_obj
[2] ;
27549 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27551 if (!SWIG_IsOK(res1
)) {
27552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27554 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27555 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27556 if (!SWIG_IsOK(ecode2
)) {
27557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27559 arg2
= static_cast< long >(val2
);
27560 if (arg1
) (arg1
)->m_data
= arg2
;
27562 resultobj
= SWIG_Py_Void();
27569 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27570 PyObject
*resultobj
= 0;
27571 wxListItem
*arg1
= (wxListItem
*) 0 ;
27575 PyObject
*swig_obj
[1] ;
27577 if (!args
) SWIG_fail
;
27578 swig_obj
[0] = args
;
27579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27580 if (!SWIG_IsOK(res1
)) {
27581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27583 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27584 result
= (long) ((arg1
)->m_data
);
27585 resultobj
= SWIG_From_long(static_cast< long >(result
));
27592 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27593 PyObject
*resultobj
= 0;
27594 wxListItem
*arg1
= (wxListItem
*) 0 ;
27600 PyObject
*swig_obj
[2] ;
27602 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27604 if (!SWIG_IsOK(res1
)) {
27605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27607 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27608 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27609 if (!SWIG_IsOK(ecode2
)) {
27610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27612 arg2
= static_cast< int >(val2
);
27613 if (arg1
) (arg1
)->m_format
= arg2
;
27615 resultobj
= SWIG_Py_Void();
27622 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27623 PyObject
*resultobj
= 0;
27624 wxListItem
*arg1
= (wxListItem
*) 0 ;
27628 PyObject
*swig_obj
[1] ;
27630 if (!args
) SWIG_fail
;
27631 swig_obj
[0] = args
;
27632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27633 if (!SWIG_IsOK(res1
)) {
27634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27636 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27637 result
= (int) ((arg1
)->m_format
);
27638 resultobj
= SWIG_From_int(static_cast< int >(result
));
27645 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27646 PyObject
*resultobj
= 0;
27647 wxListItem
*arg1
= (wxListItem
*) 0 ;
27653 PyObject
*swig_obj
[2] ;
27655 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
27656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27657 if (!SWIG_IsOK(res1
)) {
27658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27660 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27661 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27662 if (!SWIG_IsOK(ecode2
)) {
27663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27665 arg2
= static_cast< int >(val2
);
27666 if (arg1
) (arg1
)->m_width
= arg2
;
27668 resultobj
= SWIG_Py_Void();
27675 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27676 PyObject
*resultobj
= 0;
27677 wxListItem
*arg1
= (wxListItem
*) 0 ;
27681 PyObject
*swig_obj
[1] ;
27683 if (!args
) SWIG_fail
;
27684 swig_obj
[0] = args
;
27685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27686 if (!SWIG_IsOK(res1
)) {
27687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27689 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27690 result
= (int) ((arg1
)->m_width
);
27691 resultobj
= SWIG_From_int(static_cast< int >(result
));
27698 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27700 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27701 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
27702 return SWIG_Py_Void();
27705 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27706 return SWIG_Python_InitShadowInstance(args
);
27709 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27710 PyObject
*resultobj
= 0;
27711 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27712 int arg2
= (int) 0 ;
27713 wxListEvent
*result
= 0 ;
27718 PyObject
* obj0
= 0 ;
27719 PyObject
* obj1
= 0 ;
27720 char * kwnames
[] = {
27721 (char *) "commandType",(char *) "id", NULL
27724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27726 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27727 if (!SWIG_IsOK(ecode1
)) {
27728 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27730 arg1
= static_cast< wxEventType
>(val1
);
27733 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27734 if (!SWIG_IsOK(ecode2
)) {
27735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
27737 arg2
= static_cast< int >(val2
);
27740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27741 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
27742 wxPyEndAllowThreads(__tstate
);
27743 if (PyErr_Occurred()) SWIG_fail
;
27745 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
27752 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27753 PyObject
*resultobj
= 0;
27754 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27760 PyObject
*swig_obj
[2] ;
27762 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
27763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27764 if (!SWIG_IsOK(res1
)) {
27765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27767 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27768 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27769 if (!SWIG_IsOK(ecode2
)) {
27770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
27772 arg2
= static_cast< int >(val2
);
27773 if (arg1
) (arg1
)->m_code
= arg2
;
27775 resultobj
= SWIG_Py_Void();
27782 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27783 PyObject
*resultobj
= 0;
27784 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27788 PyObject
*swig_obj
[1] ;
27790 if (!args
) SWIG_fail
;
27791 swig_obj
[0] = args
;
27792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27793 if (!SWIG_IsOK(res1
)) {
27794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27796 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27797 result
= (int) ((arg1
)->m_code
);
27798 resultobj
= SWIG_From_int(static_cast< int >(result
));
27805 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27806 PyObject
*resultobj
= 0;
27807 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27813 PyObject
*swig_obj
[2] ;
27815 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27817 if (!SWIG_IsOK(res1
)) {
27818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27820 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27821 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27822 if (!SWIG_IsOK(ecode2
)) {
27823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
27825 arg2
= static_cast< long >(val2
);
27826 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
27828 resultobj
= SWIG_Py_Void();
27835 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27836 PyObject
*resultobj
= 0;
27837 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27841 PyObject
*swig_obj
[1] ;
27843 if (!args
) SWIG_fail
;
27844 swig_obj
[0] = args
;
27845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27846 if (!SWIG_IsOK(res1
)) {
27847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27849 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27850 result
= (long) ((arg1
)->m_oldItemIndex
);
27851 resultobj
= SWIG_From_long(static_cast< long >(result
));
27858 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27859 PyObject
*resultobj
= 0;
27860 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27866 PyObject
*swig_obj
[2] ;
27868 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27870 if (!SWIG_IsOK(res1
)) {
27871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27873 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27874 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27875 if (!SWIG_IsOK(ecode2
)) {
27876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
27878 arg2
= static_cast< long >(val2
);
27879 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
27881 resultobj
= SWIG_Py_Void();
27888 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27889 PyObject
*resultobj
= 0;
27890 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27894 PyObject
*swig_obj
[1] ;
27896 if (!args
) SWIG_fail
;
27897 swig_obj
[0] = args
;
27898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27899 if (!SWIG_IsOK(res1
)) {
27900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27902 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27903 result
= (long) ((arg1
)->m_itemIndex
);
27904 resultobj
= SWIG_From_long(static_cast< long >(result
));
27911 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27912 PyObject
*resultobj
= 0;
27913 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27919 PyObject
*swig_obj
[2] ;
27921 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27923 if (!SWIG_IsOK(res1
)) {
27924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27926 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27927 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27928 if (!SWIG_IsOK(ecode2
)) {
27929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
27931 arg2
= static_cast< int >(val2
);
27932 if (arg1
) (arg1
)->m_col
= arg2
;
27934 resultobj
= SWIG_Py_Void();
27941 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27942 PyObject
*resultobj
= 0;
27943 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27947 PyObject
*swig_obj
[1] ;
27949 if (!args
) SWIG_fail
;
27950 swig_obj
[0] = args
;
27951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27952 if (!SWIG_IsOK(res1
)) {
27953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27955 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27956 result
= (int) ((arg1
)->m_col
);
27957 resultobj
= SWIG_From_int(static_cast< int >(result
));
27964 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27965 PyObject
*resultobj
= 0;
27966 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27967 wxPoint
*arg2
= (wxPoint
*) 0 ;
27972 PyObject
*swig_obj
[2] ;
27974 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
27975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27976 if (!SWIG_IsOK(res1
)) {
27977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27979 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27980 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
27981 if (!SWIG_IsOK(res2
)) {
27982 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
27984 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
27985 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
27987 resultobj
= SWIG_Py_Void();
27994 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27995 PyObject
*resultobj
= 0;
27996 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27997 wxPoint
*result
= 0 ;
28000 PyObject
*swig_obj
[1] ;
28002 if (!args
) SWIG_fail
;
28003 swig_obj
[0] = args
;
28004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28005 if (!SWIG_IsOK(res1
)) {
28006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28008 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28009 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28010 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28017 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28018 PyObject
*resultobj
= 0;
28019 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28020 wxListItem
*result
= 0 ;
28023 PyObject
*swig_obj
[1] ;
28025 if (!args
) SWIG_fail
;
28026 swig_obj
[0] = args
;
28027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28028 if (!SWIG_IsOK(res1
)) {
28029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28031 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28032 result
= (wxListItem
*)& ((arg1
)->m_item
);
28034 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28042 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28043 PyObject
*resultobj
= 0;
28044 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28048 PyObject
*swig_obj
[1] ;
28050 if (!args
) SWIG_fail
;
28051 swig_obj
[0] = args
;
28052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28053 if (!SWIG_IsOK(res1
)) {
28054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28056 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28059 result
= (int)(arg1
)->GetKeyCode();
28060 wxPyEndAllowThreads(__tstate
);
28061 if (PyErr_Occurred()) SWIG_fail
;
28063 resultobj
= SWIG_From_int(static_cast< int >(result
));
28070 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28071 PyObject
*resultobj
= 0;
28072 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28076 PyObject
*swig_obj
[1] ;
28078 if (!args
) SWIG_fail
;
28079 swig_obj
[0] = args
;
28080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28081 if (!SWIG_IsOK(res1
)) {
28082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28084 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28087 result
= (long)(arg1
)->GetIndex();
28088 wxPyEndAllowThreads(__tstate
);
28089 if (PyErr_Occurred()) SWIG_fail
;
28091 resultobj
= SWIG_From_long(static_cast< long >(result
));
28098 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28099 PyObject
*resultobj
= 0;
28100 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28104 PyObject
*swig_obj
[1] ;
28106 if (!args
) SWIG_fail
;
28107 swig_obj
[0] = args
;
28108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28109 if (!SWIG_IsOK(res1
)) {
28110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28112 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28115 result
= (int)(arg1
)->GetColumn();
28116 wxPyEndAllowThreads(__tstate
);
28117 if (PyErr_Occurred()) SWIG_fail
;
28119 resultobj
= SWIG_From_int(static_cast< int >(result
));
28126 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28127 PyObject
*resultobj
= 0;
28128 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28132 PyObject
*swig_obj
[1] ;
28134 if (!args
) SWIG_fail
;
28135 swig_obj
[0] = args
;
28136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28137 if (!SWIG_IsOK(res1
)) {
28138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28140 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28143 result
= (arg1
)->GetPoint();
28144 wxPyEndAllowThreads(__tstate
);
28145 if (PyErr_Occurred()) SWIG_fail
;
28147 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28154 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28155 PyObject
*resultobj
= 0;
28156 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28157 wxString
*result
= 0 ;
28160 PyObject
*swig_obj
[1] ;
28162 if (!args
) SWIG_fail
;
28163 swig_obj
[0] = args
;
28164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28165 if (!SWIG_IsOK(res1
)) {
28166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28168 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28172 wxString
const &_result_ref
= (arg1
)->GetLabel();
28173 result
= (wxString
*) &_result_ref
;
28175 wxPyEndAllowThreads(__tstate
);
28176 if (PyErr_Occurred()) SWIG_fail
;
28180 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28182 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28191 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28192 PyObject
*resultobj
= 0;
28193 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28194 wxString
*result
= 0 ;
28197 PyObject
*swig_obj
[1] ;
28199 if (!args
) SWIG_fail
;
28200 swig_obj
[0] = args
;
28201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28202 if (!SWIG_IsOK(res1
)) {
28203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28205 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28209 wxString
const &_result_ref
= (arg1
)->GetText();
28210 result
= (wxString
*) &_result_ref
;
28212 wxPyEndAllowThreads(__tstate
);
28213 if (PyErr_Occurred()) SWIG_fail
;
28217 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28219 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28228 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28229 PyObject
*resultobj
= 0;
28230 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28234 PyObject
*swig_obj
[1] ;
28236 if (!args
) SWIG_fail
;
28237 swig_obj
[0] = args
;
28238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28239 if (!SWIG_IsOK(res1
)) {
28240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28242 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28245 result
= (int)(arg1
)->GetImage();
28246 wxPyEndAllowThreads(__tstate
);
28247 if (PyErr_Occurred()) SWIG_fail
;
28249 resultobj
= SWIG_From_int(static_cast< int >(result
));
28256 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28257 PyObject
*resultobj
= 0;
28258 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28262 PyObject
*swig_obj
[1] ;
28264 if (!args
) SWIG_fail
;
28265 swig_obj
[0] = args
;
28266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28267 if (!SWIG_IsOK(res1
)) {
28268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28270 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28273 result
= (long)(arg1
)->GetData();
28274 wxPyEndAllowThreads(__tstate
);
28275 if (PyErr_Occurred()) SWIG_fail
;
28277 resultobj
= SWIG_From_long(static_cast< long >(result
));
28284 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28285 PyObject
*resultobj
= 0;
28286 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28290 PyObject
*swig_obj
[1] ;
28292 if (!args
) SWIG_fail
;
28293 swig_obj
[0] = args
;
28294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28295 if (!SWIG_IsOK(res1
)) {
28296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28298 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28301 result
= (long)(arg1
)->GetMask();
28302 wxPyEndAllowThreads(__tstate
);
28303 if (PyErr_Occurred()) SWIG_fail
;
28305 resultobj
= SWIG_From_long(static_cast< long >(result
));
28312 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28313 PyObject
*resultobj
= 0;
28314 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28315 wxListItem
*result
= 0 ;
28318 PyObject
*swig_obj
[1] ;
28320 if (!args
) SWIG_fail
;
28321 swig_obj
[0] = args
;
28322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28323 if (!SWIG_IsOK(res1
)) {
28324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28326 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28330 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28331 result
= (wxListItem
*) &_result_ref
;
28333 wxPyEndAllowThreads(__tstate
);
28334 if (PyErr_Occurred()) SWIG_fail
;
28336 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28343 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28344 PyObject
*resultobj
= 0;
28345 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28349 PyObject
*swig_obj
[1] ;
28351 if (!args
) SWIG_fail
;
28352 swig_obj
[0] = args
;
28353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28354 if (!SWIG_IsOK(res1
)) {
28355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28357 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28360 result
= (long)(arg1
)->GetCacheFrom();
28361 wxPyEndAllowThreads(__tstate
);
28362 if (PyErr_Occurred()) SWIG_fail
;
28364 resultobj
= SWIG_From_long(static_cast< long >(result
));
28371 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28372 PyObject
*resultobj
= 0;
28373 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28377 PyObject
*swig_obj
[1] ;
28379 if (!args
) SWIG_fail
;
28380 swig_obj
[0] = args
;
28381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28382 if (!SWIG_IsOK(res1
)) {
28383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28385 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28388 result
= (long)(arg1
)->GetCacheTo();
28389 wxPyEndAllowThreads(__tstate
);
28390 if (PyErr_Occurred()) SWIG_fail
;
28392 resultobj
= SWIG_From_long(static_cast< long >(result
));
28399 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28400 PyObject
*resultobj
= 0;
28401 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28405 PyObject
*swig_obj
[1] ;
28407 if (!args
) SWIG_fail
;
28408 swig_obj
[0] = args
;
28409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28410 if (!SWIG_IsOK(res1
)) {
28411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28413 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28416 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28417 wxPyEndAllowThreads(__tstate
);
28418 if (PyErr_Occurred()) SWIG_fail
;
28421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28429 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28430 PyObject
*resultobj
= 0;
28431 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28437 PyObject
* obj0
= 0 ;
28438 PyObject
* obj1
= 0 ;
28439 char * kwnames
[] = {
28440 (char *) "self",(char *) "editCancelled", NULL
28443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28445 if (!SWIG_IsOK(res1
)) {
28446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28448 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28449 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28450 if (!SWIG_IsOK(ecode2
)) {
28451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28453 arg2
= static_cast< bool >(val2
);
28455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28456 (arg1
)->SetEditCanceled(arg2
);
28457 wxPyEndAllowThreads(__tstate
);
28458 if (PyErr_Occurred()) SWIG_fail
;
28460 resultobj
= SWIG_Py_Void();
28467 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28469 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28470 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28471 return SWIG_Py_Void();
28474 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28475 return SWIG_Python_InitShadowInstance(args
);
28478 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28479 PyObject
*resultobj
= 0;
28480 wxWindow
*arg1
= (wxWindow
*) 0 ;
28481 int arg2
= (int) -1 ;
28482 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28483 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28484 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28485 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28486 long arg5
= (long) wxLC_ICON
;
28487 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28488 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28489 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28490 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28491 wxPyListCtrl
*result
= 0 ;
28502 bool temp7
= false ;
28503 PyObject
* obj0
= 0 ;
28504 PyObject
* obj1
= 0 ;
28505 PyObject
* obj2
= 0 ;
28506 PyObject
* obj3
= 0 ;
28507 PyObject
* obj4
= 0 ;
28508 PyObject
* obj5
= 0 ;
28509 PyObject
* obj6
= 0 ;
28510 char * kwnames
[] = {
28511 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28516 if (!SWIG_IsOK(res1
)) {
28517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28519 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28522 if (!SWIG_IsOK(ecode2
)) {
28523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28525 arg2
= static_cast< int >(val2
);
28530 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28536 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28540 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28541 if (!SWIG_IsOK(ecode5
)) {
28542 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28544 arg5
= static_cast< long >(val5
);
28547 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28548 if (!SWIG_IsOK(res6
)) {
28549 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28552 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28554 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28558 arg7
= wxString_in_helper(obj6
);
28559 if (arg7
== NULL
) SWIG_fail
;
28564 if (!wxPyCheckForApp()) SWIG_fail
;
28565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28566 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28567 wxPyEndAllowThreads(__tstate
);
28568 if (PyErr_Occurred()) SWIG_fail
;
28570 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28585 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28586 PyObject
*resultobj
= 0;
28587 wxPyListCtrl
*result
= 0 ;
28589 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28591 if (!wxPyCheckForApp()) SWIG_fail
;
28592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28593 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28594 wxPyEndAllowThreads(__tstate
);
28595 if (PyErr_Occurred()) SWIG_fail
;
28597 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28604 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28605 PyObject
*resultobj
= 0;
28606 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28607 wxWindow
*arg2
= (wxWindow
*) 0 ;
28608 int arg3
= (int) -1 ;
28609 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28610 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28611 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28612 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28613 long arg6
= (long) wxLC_ICON
;
28614 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28615 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28616 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28617 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28631 bool temp8
= false ;
28632 PyObject
* obj0
= 0 ;
28633 PyObject
* obj1
= 0 ;
28634 PyObject
* obj2
= 0 ;
28635 PyObject
* obj3
= 0 ;
28636 PyObject
* obj4
= 0 ;
28637 PyObject
* obj5
= 0 ;
28638 PyObject
* obj6
= 0 ;
28639 PyObject
* obj7
= 0 ;
28640 char * kwnames
[] = {
28641 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28646 if (!SWIG_IsOK(res1
)) {
28647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28649 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28650 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28651 if (!SWIG_IsOK(res2
)) {
28652 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28654 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28656 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28657 if (!SWIG_IsOK(ecode3
)) {
28658 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28660 arg3
= static_cast< int >(val3
);
28665 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28671 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28675 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28676 if (!SWIG_IsOK(ecode6
)) {
28677 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28679 arg6
= static_cast< long >(val6
);
28682 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
28683 if (!SWIG_IsOK(res7
)) {
28684 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28687 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28689 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
28693 arg8
= wxString_in_helper(obj7
);
28694 if (arg8
== NULL
) SWIG_fail
;
28699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28700 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28701 wxPyEndAllowThreads(__tstate
);
28702 if (PyErr_Occurred()) SWIG_fail
;
28705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28721 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28722 PyObject
*resultobj
= 0;
28723 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28724 PyObject
*arg2
= (PyObject
*) 0 ;
28725 PyObject
*arg3
= (PyObject
*) 0 ;
28728 PyObject
* obj0
= 0 ;
28729 PyObject
* obj1
= 0 ;
28730 PyObject
* obj2
= 0 ;
28731 char * kwnames
[] = {
28732 (char *) "self",(char *) "self",(char *) "_class", NULL
28735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28737 if (!SWIG_IsOK(res1
)) {
28738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28740 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28745 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28746 wxPyEndAllowThreads(__tstate
);
28747 if (PyErr_Occurred()) SWIG_fail
;
28749 resultobj
= SWIG_Py_Void();
28756 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28757 PyObject
*resultobj
= 0;
28758 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28760 wxListItem
*result
= 0 ;
28765 PyObject
* obj0
= 0 ;
28766 PyObject
* obj1
= 0 ;
28767 char * kwnames
[] = {
28768 (char *) "self",(char *) "col", NULL
28771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28773 if (!SWIG_IsOK(res1
)) {
28774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28776 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28777 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28778 if (!SWIG_IsOK(ecode2
)) {
28779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
28781 arg2
= static_cast< int >(val2
);
28783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28784 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
28785 wxPyEndAllowThreads(__tstate
);
28786 if (PyErr_Occurred()) SWIG_fail
;
28789 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28797 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28798 PyObject
*resultobj
= 0;
28799 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28801 wxListItem
*arg3
= 0 ;
28809 PyObject
* obj0
= 0 ;
28810 PyObject
* obj1
= 0 ;
28811 PyObject
* obj2
= 0 ;
28812 char * kwnames
[] = {
28813 (char *) "self",(char *) "col",(char *) "item", NULL
28816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28818 if (!SWIG_IsOK(res1
)) {
28819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28821 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28822 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28823 if (!SWIG_IsOK(ecode2
)) {
28824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
28826 arg2
= static_cast< int >(val2
);
28827 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
28828 if (!SWIG_IsOK(res3
)) {
28829 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28832 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28834 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
28836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28837 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
28838 wxPyEndAllowThreads(__tstate
);
28839 if (PyErr_Occurred()) SWIG_fail
;
28842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28850 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28851 PyObject
*resultobj
= 0;
28852 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28859 PyObject
* obj0
= 0 ;
28860 PyObject
* obj1
= 0 ;
28861 char * kwnames
[] = {
28862 (char *) "self",(char *) "col", NULL
28865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28867 if (!SWIG_IsOK(res1
)) {
28868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28870 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28872 if (!SWIG_IsOK(ecode2
)) {
28873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28875 arg2
= static_cast< int >(val2
);
28877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28878 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
28879 wxPyEndAllowThreads(__tstate
);
28880 if (PyErr_Occurred()) SWIG_fail
;
28882 resultobj
= SWIG_From_int(static_cast< int >(result
));
28889 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28890 PyObject
*resultobj
= 0;
28891 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28901 PyObject
* obj0
= 0 ;
28902 PyObject
* obj1
= 0 ;
28903 PyObject
* obj2
= 0 ;
28904 char * kwnames
[] = {
28905 (char *) "self",(char *) "col",(char *) "width", NULL
28908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28910 if (!SWIG_IsOK(res1
)) {
28911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28913 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28914 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28915 if (!SWIG_IsOK(ecode2
)) {
28916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28918 arg2
= static_cast< int >(val2
);
28919 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28920 if (!SWIG_IsOK(ecode3
)) {
28921 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
28923 arg3
= static_cast< int >(val3
);
28925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28926 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
28927 wxPyEndAllowThreads(__tstate
);
28928 if (PyErr_Occurred()) SWIG_fail
;
28931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28939 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28940 PyObject
*resultobj
= 0;
28941 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28945 PyObject
*swig_obj
[1] ;
28947 if (!args
) SWIG_fail
;
28948 swig_obj
[0] = args
;
28949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28950 if (!SWIG_IsOK(res1
)) {
28951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28953 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28956 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
28957 wxPyEndAllowThreads(__tstate
);
28958 if (PyErr_Occurred()) SWIG_fail
;
28960 resultobj
= SWIG_From_int(static_cast< int >(result
));
28967 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28968 PyObject
*resultobj
= 0;
28969 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28973 PyObject
*swig_obj
[1] ;
28975 if (!args
) SWIG_fail
;
28976 swig_obj
[0] = args
;
28977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28978 if (!SWIG_IsOK(res1
)) {
28979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28981 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28984 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
28985 wxPyEndAllowThreads(__tstate
);
28986 if (PyErr_Occurred()) SWIG_fail
;
28988 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28995 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28996 PyObject
*resultobj
= 0;
28997 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28998 wxTextCtrl
*result
= 0 ;
29001 PyObject
*swig_obj
[1] ;
29003 if (!args
) SWIG_fail
;
29004 swig_obj
[0] = args
;
29005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29006 if (!SWIG_IsOK(res1
)) {
29007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29009 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29012 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29013 wxPyEndAllowThreads(__tstate
);
29014 if (PyErr_Occurred()) SWIG_fail
;
29017 resultobj
= wxPyMake_wxObject(result
, 0);
29025 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29026 PyObject
*resultobj
= 0;
29027 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29029 int arg3
= (int) 0 ;
29030 wxListItem
*result
= 0 ;
29037 PyObject
* obj0
= 0 ;
29038 PyObject
* obj1
= 0 ;
29039 PyObject
* obj2
= 0 ;
29040 char * kwnames
[] = {
29041 (char *) "self",(char *) "itemId",(char *) "col", NULL
29044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29046 if (!SWIG_IsOK(res1
)) {
29047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29049 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29050 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29051 if (!SWIG_IsOK(ecode2
)) {
29052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29054 arg2
= static_cast< long >(val2
);
29056 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29057 if (!SWIG_IsOK(ecode3
)) {
29058 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29060 arg3
= static_cast< int >(val3
);
29063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29064 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29065 wxPyEndAllowThreads(__tstate
);
29066 if (PyErr_Occurred()) SWIG_fail
;
29069 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29077 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29078 PyObject
*resultobj
= 0;
29079 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29080 wxListItem
*arg2
= 0 ;
29086 PyObject
* obj0
= 0 ;
29087 PyObject
* obj1
= 0 ;
29088 char * kwnames
[] = {
29089 (char *) "self",(char *) "info", NULL
29092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29094 if (!SWIG_IsOK(res1
)) {
29095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29097 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29098 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29099 if (!SWIG_IsOK(res2
)) {
29100 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29103 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29105 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29108 result
= (bool)(arg1
)->SetItem(*arg2
);
29109 wxPyEndAllowThreads(__tstate
);
29110 if (PyErr_Occurred()) SWIG_fail
;
29113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29121 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29122 PyObject
*resultobj
= 0;
29123 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29126 wxString
*arg4
= 0 ;
29127 int arg5
= (int) -1 ;
29135 bool temp4
= false ;
29138 PyObject
* obj0
= 0 ;
29139 PyObject
* obj1
= 0 ;
29140 PyObject
* obj2
= 0 ;
29141 PyObject
* obj3
= 0 ;
29142 PyObject
* obj4
= 0 ;
29143 char * kwnames
[] = {
29144 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29149 if (!SWIG_IsOK(res1
)) {
29150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29152 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29153 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29154 if (!SWIG_IsOK(ecode2
)) {
29155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29157 arg2
= static_cast< long >(val2
);
29158 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29159 if (!SWIG_IsOK(ecode3
)) {
29160 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29162 arg3
= static_cast< int >(val3
);
29164 arg4
= wxString_in_helper(obj3
);
29165 if (arg4
== NULL
) SWIG_fail
;
29169 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29170 if (!SWIG_IsOK(ecode5
)) {
29171 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29173 arg5
= static_cast< int >(val5
);
29176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29177 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29178 wxPyEndAllowThreads(__tstate
);
29179 if (PyErr_Occurred()) SWIG_fail
;
29181 resultobj
= SWIG_From_long(static_cast< long >(result
));
29196 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29197 PyObject
*resultobj
= 0;
29198 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29208 PyObject
* obj0
= 0 ;
29209 PyObject
* obj1
= 0 ;
29210 PyObject
* obj2
= 0 ;
29211 char * kwnames
[] = {
29212 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29217 if (!SWIG_IsOK(res1
)) {
29218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29220 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29221 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29222 if (!SWIG_IsOK(ecode2
)) {
29223 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29225 arg2
= static_cast< long >(val2
);
29226 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29227 if (!SWIG_IsOK(ecode3
)) {
29228 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29230 arg3
= static_cast< long >(val3
);
29232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29233 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29234 wxPyEndAllowThreads(__tstate
);
29235 if (PyErr_Occurred()) SWIG_fail
;
29237 resultobj
= SWIG_From_int(static_cast< int >(result
));
29244 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29245 PyObject
*resultobj
= 0;
29246 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29259 PyObject
* obj0
= 0 ;
29260 PyObject
* obj1
= 0 ;
29261 PyObject
* obj2
= 0 ;
29262 PyObject
* obj3
= 0 ;
29263 char * kwnames
[] = {
29264 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29269 if (!SWIG_IsOK(res1
)) {
29270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29272 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29273 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29274 if (!SWIG_IsOK(ecode2
)) {
29275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29277 arg2
= static_cast< long >(val2
);
29278 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29279 if (!SWIG_IsOK(ecode3
)) {
29280 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29282 arg3
= static_cast< long >(val3
);
29283 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29284 if (!SWIG_IsOK(ecode4
)) {
29285 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29287 arg4
= static_cast< long >(val4
);
29289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29290 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29291 wxPyEndAllowThreads(__tstate
);
29292 if (PyErr_Occurred()) SWIG_fail
;
29295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29303 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29304 PyObject
*resultobj
= 0;
29305 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29308 int arg4
= (int) -1 ;
29318 PyObject
* obj0
= 0 ;
29319 PyObject
* obj1
= 0 ;
29320 PyObject
* obj2
= 0 ;
29321 PyObject
* obj3
= 0 ;
29322 char * kwnames
[] = {
29323 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29328 if (!SWIG_IsOK(res1
)) {
29329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29331 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29332 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29333 if (!SWIG_IsOK(ecode2
)) {
29334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29336 arg2
= static_cast< long >(val2
);
29337 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29338 if (!SWIG_IsOK(ecode3
)) {
29339 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29341 arg3
= static_cast< int >(val3
);
29343 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29344 if (!SWIG_IsOK(ecode4
)) {
29345 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29347 arg4
= static_cast< int >(val4
);
29350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29351 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29352 wxPyEndAllowThreads(__tstate
);
29353 if (PyErr_Occurred()) SWIG_fail
;
29356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29364 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29365 PyObject
*resultobj
= 0;
29366 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29379 PyObject
* obj0
= 0 ;
29380 PyObject
* obj1
= 0 ;
29381 PyObject
* obj2
= 0 ;
29382 PyObject
* obj3
= 0 ;
29383 char * kwnames
[] = {
29384 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29389 if (!SWIG_IsOK(res1
)) {
29390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29392 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29393 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29394 if (!SWIG_IsOK(ecode2
)) {
29395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29397 arg2
= static_cast< long >(val2
);
29398 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29399 if (!SWIG_IsOK(ecode3
)) {
29400 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29402 arg3
= static_cast< long >(val3
);
29403 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29404 if (!SWIG_IsOK(ecode4
)) {
29405 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29407 arg4
= static_cast< int >(val4
);
29409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29410 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29411 wxPyEndAllowThreads(__tstate
);
29412 if (PyErr_Occurred()) SWIG_fail
;
29415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29423 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29424 PyObject
*resultobj
= 0;
29425 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29432 PyObject
* obj0
= 0 ;
29433 PyObject
* obj1
= 0 ;
29434 char * kwnames
[] = {
29435 (char *) "self",(char *) "item", NULL
29438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29440 if (!SWIG_IsOK(res1
)) {
29441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29443 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29444 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29445 if (!SWIG_IsOK(ecode2
)) {
29446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29448 arg2
= static_cast< long >(val2
);
29450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29451 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29452 wxPyEndAllowThreads(__tstate
);
29453 if (PyErr_Occurred()) SWIG_fail
;
29457 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29459 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29468 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29469 PyObject
*resultobj
= 0;
29470 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29472 wxString
*arg3
= 0 ;
29477 bool temp3
= false ;
29478 PyObject
* obj0
= 0 ;
29479 PyObject
* obj1
= 0 ;
29480 PyObject
* obj2
= 0 ;
29481 char * kwnames
[] = {
29482 (char *) "self",(char *) "item",(char *) "str", NULL
29485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29487 if (!SWIG_IsOK(res1
)) {
29488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29490 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29491 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29492 if (!SWIG_IsOK(ecode2
)) {
29493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29495 arg2
= static_cast< long >(val2
);
29497 arg3
= wxString_in_helper(obj2
);
29498 if (arg3
== NULL
) SWIG_fail
;
29502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29503 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29504 wxPyEndAllowThreads(__tstate
);
29505 if (PyErr_Occurred()) SWIG_fail
;
29507 resultobj
= SWIG_Py_Void();
29522 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29523 PyObject
*resultobj
= 0;
29524 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29531 PyObject
* obj0
= 0 ;
29532 PyObject
* obj1
= 0 ;
29533 char * kwnames
[] = {
29534 (char *) "self",(char *) "item", NULL
29537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29539 if (!SWIG_IsOK(res1
)) {
29540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29542 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29543 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29544 if (!SWIG_IsOK(ecode2
)) {
29545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29547 arg2
= static_cast< long >(val2
);
29549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29550 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29551 wxPyEndAllowThreads(__tstate
);
29552 if (PyErr_Occurred()) SWIG_fail
;
29554 resultobj
= SWIG_From_long(static_cast< long >(result
));
29561 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29562 PyObject
*resultobj
= 0;
29563 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29573 PyObject
* obj0
= 0 ;
29574 PyObject
* obj1
= 0 ;
29575 PyObject
* obj2
= 0 ;
29576 char * kwnames
[] = {
29577 (char *) "self",(char *) "item",(char *) "data", NULL
29580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29582 if (!SWIG_IsOK(res1
)) {
29583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29585 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29586 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29587 if (!SWIG_IsOK(ecode2
)) {
29588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29590 arg2
= static_cast< long >(val2
);
29591 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29592 if (!SWIG_IsOK(ecode3
)) {
29593 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29595 arg3
= static_cast< long >(val3
);
29597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29598 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29599 wxPyEndAllowThreads(__tstate
);
29600 if (PyErr_Occurred()) SWIG_fail
;
29603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29611 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29612 PyObject
*resultobj
= 0;
29613 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29620 PyObject
* obj0
= 0 ;
29621 PyObject
* obj1
= 0 ;
29622 char * kwnames
[] = {
29623 (char *) "self",(char *) "item", NULL
29626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29628 if (!SWIG_IsOK(res1
)) {
29629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29631 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29632 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29633 if (!SWIG_IsOK(ecode2
)) {
29634 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29636 arg2
= static_cast< long >(val2
);
29638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29639 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29640 wxPyEndAllowThreads(__tstate
);
29641 if (PyErr_Occurred()) SWIG_fail
;
29643 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29650 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29651 PyObject
*resultobj
= 0;
29652 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29654 int arg3
= (int) wxLIST_RECT_BOUNDS
;
29662 PyObject
* obj0
= 0 ;
29663 PyObject
* obj1
= 0 ;
29664 PyObject
* obj2
= 0 ;
29665 char * kwnames
[] = {
29666 (char *) "self",(char *) "item",(char *) "code", NULL
29669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29671 if (!SWIG_IsOK(res1
)) {
29672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29674 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29675 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29676 if (!SWIG_IsOK(ecode2
)) {
29677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29679 arg2
= static_cast< long >(val2
);
29681 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29682 if (!SWIG_IsOK(ecode3
)) {
29683 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29685 arg3
= static_cast< int >(val3
);
29688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29689 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
29690 wxPyEndAllowThreads(__tstate
);
29691 if (PyErr_Occurred()) SWIG_fail
;
29693 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29700 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29701 PyObject
*resultobj
= 0;
29702 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29704 wxPoint
*arg3
= 0 ;
29711 PyObject
* obj0
= 0 ;
29712 PyObject
* obj1
= 0 ;
29713 PyObject
* obj2
= 0 ;
29714 char * kwnames
[] = {
29715 (char *) "self",(char *) "item",(char *) "pos", NULL
29718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29720 if (!SWIG_IsOK(res1
)) {
29721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29723 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29724 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29725 if (!SWIG_IsOK(ecode2
)) {
29726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
29728 arg2
= static_cast< long >(val2
);
29731 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29735 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
29736 wxPyEndAllowThreads(__tstate
);
29737 if (PyErr_Occurred()) SWIG_fail
;
29740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29748 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29749 PyObject
*resultobj
= 0;
29750 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29754 PyObject
*swig_obj
[1] ;
29756 if (!args
) SWIG_fail
;
29757 swig_obj
[0] = args
;
29758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29759 if (!SWIG_IsOK(res1
)) {
29760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29762 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29765 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
29766 wxPyEndAllowThreads(__tstate
);
29767 if (PyErr_Occurred()) SWIG_fail
;
29769 resultobj
= SWIG_From_int(static_cast< int >(result
));
29776 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29777 PyObject
*resultobj
= 0;
29778 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29782 PyObject
*swig_obj
[1] ;
29784 if (!args
) SWIG_fail
;
29785 swig_obj
[0] = args
;
29786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29787 if (!SWIG_IsOK(res1
)) {
29788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29790 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29793 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
29794 wxPyEndAllowThreads(__tstate
);
29795 if (PyErr_Occurred()) SWIG_fail
;
29797 resultobj
= SWIG_From_int(static_cast< int >(result
));
29804 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29805 PyObject
*resultobj
= 0;
29806 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29810 PyObject
*swig_obj
[1] ;
29812 if (!args
) SWIG_fail
;
29813 swig_obj
[0] = args
;
29814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29815 if (!SWIG_IsOK(res1
)) {
29816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29818 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29821 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
29822 wxPyEndAllowThreads(__tstate
);
29823 if (PyErr_Occurred()) SWIG_fail
;
29825 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
29832 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29833 PyObject
*resultobj
= 0;
29834 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29838 PyObject
*swig_obj
[1] ;
29840 if (!args
) SWIG_fail
;
29841 swig_obj
[0] = args
;
29842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29843 if (!SWIG_IsOK(res1
)) {
29844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29846 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29849 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
29850 wxPyEndAllowThreads(__tstate
);
29851 if (PyErr_Occurred()) SWIG_fail
;
29853 resultobj
= SWIG_From_int(static_cast< int >(result
));
29860 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29861 PyObject
*resultobj
= 0;
29862 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29866 PyObject
*swig_obj
[1] ;
29868 if (!args
) SWIG_fail
;
29869 swig_obj
[0] = args
;
29870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29871 if (!SWIG_IsOK(res1
)) {
29872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29874 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29877 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
29878 wxPyEndAllowThreads(__tstate
);
29879 if (PyErr_Occurred()) SWIG_fail
;
29881 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29888 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29889 PyObject
*resultobj
= 0;
29890 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29891 wxColour
*arg2
= 0 ;
29895 PyObject
* obj0
= 0 ;
29896 PyObject
* obj1
= 0 ;
29897 char * kwnames
[] = {
29898 (char *) "self",(char *) "col", NULL
29901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29903 if (!SWIG_IsOK(res1
)) {
29904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29906 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29909 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29913 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
29914 wxPyEndAllowThreads(__tstate
);
29915 if (PyErr_Occurred()) SWIG_fail
;
29917 resultobj
= SWIG_Py_Void();
29924 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29925 PyObject
*resultobj
= 0;
29926 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29930 PyObject
*swig_obj
[1] ;
29932 if (!args
) SWIG_fail
;
29933 swig_obj
[0] = args
;
29934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29935 if (!SWIG_IsOK(res1
)) {
29936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29938 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29941 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
29942 wxPyEndAllowThreads(__tstate
);
29943 if (PyErr_Occurred()) SWIG_fail
;
29945 resultobj
= SWIG_From_long(static_cast< long >(result
));
29952 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29953 PyObject
*resultobj
= 0;
29954 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29956 bool arg3
= (bool) true ;
29963 PyObject
* obj0
= 0 ;
29964 PyObject
* obj1
= 0 ;
29965 PyObject
* obj2
= 0 ;
29966 char * kwnames
[] = {
29967 (char *) "self",(char *) "style",(char *) "add", NULL
29970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29972 if (!SWIG_IsOK(res1
)) {
29973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29975 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29976 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29977 if (!SWIG_IsOK(ecode2
)) {
29978 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
29980 arg2
= static_cast< long >(val2
);
29982 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29983 if (!SWIG_IsOK(ecode3
)) {
29984 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
29986 arg3
= static_cast< bool >(val3
);
29989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29990 (arg1
)->SetSingleStyle(arg2
,arg3
);
29991 wxPyEndAllowThreads(__tstate
);
29992 if (PyErr_Occurred()) SWIG_fail
;
29994 resultobj
= SWIG_Py_Void();
30001 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30002 PyObject
*resultobj
= 0;
30003 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30005 int arg3
= (int) wxLIST_NEXT_ALL
;
30006 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30016 PyObject
* obj0
= 0 ;
30017 PyObject
* obj1
= 0 ;
30018 PyObject
* obj2
= 0 ;
30019 PyObject
* obj3
= 0 ;
30020 char * kwnames
[] = {
30021 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30026 if (!SWIG_IsOK(res1
)) {
30027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30029 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30030 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30031 if (!SWIG_IsOK(ecode2
)) {
30032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30034 arg2
= static_cast< long >(val2
);
30036 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30037 if (!SWIG_IsOK(ecode3
)) {
30038 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30040 arg3
= static_cast< int >(val3
);
30043 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30044 if (!SWIG_IsOK(ecode4
)) {
30045 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30047 arg4
= static_cast< int >(val4
);
30050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30051 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30052 wxPyEndAllowThreads(__tstate
);
30053 if (PyErr_Occurred()) SWIG_fail
;
30055 resultobj
= SWIG_From_long(static_cast< long >(result
));
30062 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30063 PyObject
*resultobj
= 0;
30064 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30066 wxImageList
*result
= 0 ;
30071 PyObject
* obj0
= 0 ;
30072 PyObject
* obj1
= 0 ;
30073 char * kwnames
[] = {
30074 (char *) "self",(char *) "which", NULL
30077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30079 if (!SWIG_IsOK(res1
)) {
30080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30082 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30084 if (!SWIG_IsOK(ecode2
)) {
30085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30087 arg2
= static_cast< int >(val2
);
30089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30090 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30091 wxPyEndAllowThreads(__tstate
);
30092 if (PyErr_Occurred()) SWIG_fail
;
30095 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30103 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30104 PyObject
*resultobj
= 0;
30105 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30106 wxImageList
*arg2
= (wxImageList
*) 0 ;
30114 PyObject
* obj0
= 0 ;
30115 PyObject
* obj1
= 0 ;
30116 PyObject
* obj2
= 0 ;
30117 char * kwnames
[] = {
30118 (char *) "self",(char *) "imageList",(char *) "which", NULL
30121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30123 if (!SWIG_IsOK(res1
)) {
30124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30126 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30127 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30128 if (!SWIG_IsOK(res2
)) {
30129 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30131 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30132 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30133 if (!SWIG_IsOK(ecode3
)) {
30134 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30136 arg3
= static_cast< int >(val3
);
30138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30139 (arg1
)->SetImageList(arg2
,arg3
);
30140 wxPyEndAllowThreads(__tstate
);
30141 if (PyErr_Occurred()) SWIG_fail
;
30143 resultobj
= SWIG_Py_Void();
30150 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30151 PyObject
*resultobj
= 0;
30152 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30153 wxImageList
*arg2
= (wxImageList
*) 0 ;
30160 PyObject
* obj0
= 0 ;
30161 PyObject
* obj1
= 0 ;
30162 PyObject
* obj2
= 0 ;
30163 char * kwnames
[] = {
30164 (char *) "self",(char *) "imageList",(char *) "which", NULL
30167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30169 if (!SWIG_IsOK(res1
)) {
30170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30172 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30173 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30174 if (!SWIG_IsOK(res2
)) {
30175 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30177 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30178 if (!SWIG_IsOK(ecode3
)) {
30179 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30181 arg3
= static_cast< int >(val3
);
30183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30184 (arg1
)->AssignImageList(arg2
,arg3
);
30185 wxPyEndAllowThreads(__tstate
);
30186 if (PyErr_Occurred()) SWIG_fail
;
30188 resultobj
= SWIG_Py_Void();
30195 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30196 PyObject
*resultobj
= 0;
30197 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30201 PyObject
*swig_obj
[1] ;
30203 if (!args
) SWIG_fail
;
30204 swig_obj
[0] = args
;
30205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30206 if (!SWIG_IsOK(res1
)) {
30207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30209 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30212 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30213 wxPyEndAllowThreads(__tstate
);
30214 if (PyErr_Occurred()) SWIG_fail
;
30217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30225 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30226 PyObject
*resultobj
= 0;
30227 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30231 PyObject
*swig_obj
[1] ;
30233 if (!args
) SWIG_fail
;
30234 swig_obj
[0] = args
;
30235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30236 if (!SWIG_IsOK(res1
)) {
30237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30239 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30242 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30243 wxPyEndAllowThreads(__tstate
);
30244 if (PyErr_Occurred()) SWIG_fail
;
30247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30255 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30256 PyObject
*resultobj
= 0;
30257 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30263 PyObject
* obj0
= 0 ;
30264 PyObject
* obj1
= 0 ;
30265 char * kwnames
[] = {
30266 (char *) "self",(char *) "item", NULL
30269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30271 if (!SWIG_IsOK(res1
)) {
30272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30274 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30275 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30276 if (!SWIG_IsOK(ecode2
)) {
30277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30279 arg2
= static_cast< long >(val2
);
30281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30282 (arg1
)->RefreshItem(arg2
);
30283 wxPyEndAllowThreads(__tstate
);
30284 if (PyErr_Occurred()) SWIG_fail
;
30286 resultobj
= SWIG_Py_Void();
30293 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30294 PyObject
*resultobj
= 0;
30295 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30304 PyObject
* obj0
= 0 ;
30305 PyObject
* obj1
= 0 ;
30306 PyObject
* obj2
= 0 ;
30307 char * kwnames
[] = {
30308 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30313 if (!SWIG_IsOK(res1
)) {
30314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30316 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30317 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30318 if (!SWIG_IsOK(ecode2
)) {
30319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30321 arg2
= static_cast< long >(val2
);
30322 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30323 if (!SWIG_IsOK(ecode3
)) {
30324 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30326 arg3
= static_cast< long >(val3
);
30328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30329 (arg1
)->RefreshItems(arg2
,arg3
);
30330 wxPyEndAllowThreads(__tstate
);
30331 if (PyErr_Occurred()) SWIG_fail
;
30333 resultobj
= SWIG_Py_Void();
30340 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30341 PyObject
*resultobj
= 0;
30342 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30343 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30349 PyObject
* obj0
= 0 ;
30350 PyObject
* obj1
= 0 ;
30351 char * kwnames
[] = {
30352 (char *) "self",(char *) "flag", NULL
30355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30357 if (!SWIG_IsOK(res1
)) {
30358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30360 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30362 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30363 if (!SWIG_IsOK(ecode2
)) {
30364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30366 arg2
= static_cast< int >(val2
);
30369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30370 result
= (bool)(arg1
)->Arrange(arg2
);
30371 wxPyEndAllowThreads(__tstate
);
30372 if (PyErr_Occurred()) SWIG_fail
;
30375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30383 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30384 PyObject
*resultobj
= 0;
30385 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30392 PyObject
* obj0
= 0 ;
30393 PyObject
* obj1
= 0 ;
30394 char * kwnames
[] = {
30395 (char *) "self",(char *) "item", NULL
30398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30400 if (!SWIG_IsOK(res1
)) {
30401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30403 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30404 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30405 if (!SWIG_IsOK(ecode2
)) {
30406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30408 arg2
= static_cast< long >(val2
);
30410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30411 result
= (bool)(arg1
)->DeleteItem(arg2
);
30412 wxPyEndAllowThreads(__tstate
);
30413 if (PyErr_Occurred()) SWIG_fail
;
30416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30424 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30425 PyObject
*resultobj
= 0;
30426 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30430 PyObject
*swig_obj
[1] ;
30432 if (!args
) SWIG_fail
;
30433 swig_obj
[0] = args
;
30434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30435 if (!SWIG_IsOK(res1
)) {
30436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30438 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30441 result
= (bool)(arg1
)->DeleteAllItems();
30442 wxPyEndAllowThreads(__tstate
);
30443 if (PyErr_Occurred()) SWIG_fail
;
30446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30454 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30455 PyObject
*resultobj
= 0;
30456 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30463 PyObject
* obj0
= 0 ;
30464 PyObject
* obj1
= 0 ;
30465 char * kwnames
[] = {
30466 (char *) "self",(char *) "col", NULL
30469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30471 if (!SWIG_IsOK(res1
)) {
30472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30474 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30475 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30476 if (!SWIG_IsOK(ecode2
)) {
30477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30479 arg2
= static_cast< int >(val2
);
30481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30482 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30483 wxPyEndAllowThreads(__tstate
);
30484 if (PyErr_Occurred()) SWIG_fail
;
30487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30495 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30496 PyObject
*resultobj
= 0;
30497 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30501 PyObject
*swig_obj
[1] ;
30503 if (!args
) SWIG_fail
;
30504 swig_obj
[0] = args
;
30505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30506 if (!SWIG_IsOK(res1
)) {
30507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30509 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30512 result
= (bool)(arg1
)->DeleteAllColumns();
30513 wxPyEndAllowThreads(__tstate
);
30514 if (PyErr_Occurred()) SWIG_fail
;
30517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30525 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30526 PyObject
*resultobj
= 0;
30527 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30530 PyObject
*swig_obj
[1] ;
30532 if (!args
) SWIG_fail
;
30533 swig_obj
[0] = args
;
30534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30535 if (!SWIG_IsOK(res1
)) {
30536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30538 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30541 (arg1
)->ClearAll();
30542 wxPyEndAllowThreads(__tstate
);
30543 if (PyErr_Occurred()) SWIG_fail
;
30545 resultobj
= SWIG_Py_Void();
30552 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30553 PyObject
*resultobj
= 0;
30554 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30556 wxTextCtrl
*result
= 0 ;
30561 PyObject
* obj0
= 0 ;
30562 PyObject
* obj1
= 0 ;
30563 char * kwnames
[] = {
30564 (char *) "self",(char *) "item", NULL
30567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30569 if (!SWIG_IsOK(res1
)) {
30570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30572 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30573 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30574 if (!SWIG_IsOK(ecode2
)) {
30575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30577 arg2
= static_cast< long >(val2
);
30579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30580 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
30581 wxPyEndAllowThreads(__tstate
);
30582 if (PyErr_Occurred()) SWIG_fail
;
30585 resultobj
= wxPyMake_wxObject(result
, 0);
30593 SWIGINTERN PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30594 PyObject
*resultobj
= 0;
30595 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30602 PyObject
* obj0
= 0 ;
30603 PyObject
* obj1
= 0 ;
30604 char * kwnames
[] = {
30605 (char *) "self",(char *) "cancel", NULL
30608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30610 if (!SWIG_IsOK(res1
)) {
30611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30613 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30614 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30615 if (!SWIG_IsOK(ecode2
)) {
30616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "2"" of type '" "bool""'");
30618 arg2
= static_cast< bool >(val2
);
30620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30621 result
= (bool)(arg1
)->EndEditLabel(arg2
);
30622 wxPyEndAllowThreads(__tstate
);
30623 if (PyErr_Occurred()) SWIG_fail
;
30626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30634 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30635 PyObject
*resultobj
= 0;
30636 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30643 PyObject
* obj0
= 0 ;
30644 PyObject
* obj1
= 0 ;
30645 char * kwnames
[] = {
30646 (char *) "self",(char *) "item", NULL
30649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30651 if (!SWIG_IsOK(res1
)) {
30652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30654 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30655 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30656 if (!SWIG_IsOK(ecode2
)) {
30657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30659 arg2
= static_cast< long >(val2
);
30661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30662 result
= (bool)(arg1
)->EnsureVisible(arg2
);
30663 wxPyEndAllowThreads(__tstate
);
30664 if (PyErr_Occurred()) SWIG_fail
;
30667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30675 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30676 PyObject
*resultobj
= 0;
30677 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30679 wxString
*arg3
= 0 ;
30680 bool arg4
= (bool) false ;
30686 bool temp3
= false ;
30689 PyObject
* obj0
= 0 ;
30690 PyObject
* obj1
= 0 ;
30691 PyObject
* obj2
= 0 ;
30692 PyObject
* obj3
= 0 ;
30693 char * kwnames
[] = {
30694 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30699 if (!SWIG_IsOK(res1
)) {
30700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30702 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30703 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30704 if (!SWIG_IsOK(ecode2
)) {
30705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
30707 arg2
= static_cast< long >(val2
);
30709 arg3
= wxString_in_helper(obj2
);
30710 if (arg3
== NULL
) SWIG_fail
;
30714 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30715 if (!SWIG_IsOK(ecode4
)) {
30716 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
30718 arg4
= static_cast< bool >(val4
);
30721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30722 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
30723 wxPyEndAllowThreads(__tstate
);
30724 if (PyErr_Occurred()) SWIG_fail
;
30726 resultobj
= SWIG_From_long(static_cast< long >(result
));
30741 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30742 PyObject
*resultobj
= 0;
30743 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30753 PyObject
* obj0
= 0 ;
30754 PyObject
* obj1
= 0 ;
30755 PyObject
* obj2
= 0 ;
30756 char * kwnames
[] = {
30757 (char *) "self",(char *) "start",(char *) "data", NULL
30760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30762 if (!SWIG_IsOK(res1
)) {
30763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30765 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30766 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30767 if (!SWIG_IsOK(ecode2
)) {
30768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
30770 arg2
= static_cast< long >(val2
);
30771 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30772 if (!SWIG_IsOK(ecode3
)) {
30773 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
30775 arg3
= static_cast< long >(val3
);
30777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30778 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
30779 wxPyEndAllowThreads(__tstate
);
30780 if (PyErr_Occurred()) SWIG_fail
;
30782 resultobj
= SWIG_From_long(static_cast< long >(result
));
30789 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30790 PyObject
*resultobj
= 0;
30791 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30793 wxPoint
*arg3
= 0 ;
30803 PyObject
* obj0
= 0 ;
30804 PyObject
* obj1
= 0 ;
30805 PyObject
* obj2
= 0 ;
30806 PyObject
* obj3
= 0 ;
30807 char * kwnames
[] = {
30808 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
30811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30813 if (!SWIG_IsOK(res1
)) {
30814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30816 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30817 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30818 if (!SWIG_IsOK(ecode2
)) {
30819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
30821 arg2
= static_cast< long >(val2
);
30824 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30826 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30827 if (!SWIG_IsOK(ecode4
)) {
30828 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
30830 arg4
= static_cast< int >(val4
);
30832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30833 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
30834 wxPyEndAllowThreads(__tstate
);
30835 if (PyErr_Occurred()) SWIG_fail
;
30837 resultobj
= SWIG_From_long(static_cast< long >(result
));
30844 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30845 PyObject
*resultobj
= 0;
30846 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30847 wxPoint
*arg2
= 0 ;
30854 int res3
= SWIG_TMPOBJ
;
30855 PyObject
* obj0
= 0 ;
30856 PyObject
* obj1
= 0 ;
30857 char * kwnames
[] = {
30858 (char *) "self",(char *) "point", NULL
30862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30864 if (!SWIG_IsOK(res1
)) {
30865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30867 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30870 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30874 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30875 wxPyEndAllowThreads(__tstate
);
30876 if (PyErr_Occurred()) SWIG_fail
;
30878 resultobj
= SWIG_From_long(static_cast< long >(result
));
30879 if (SWIG_IsTmpObj(res3
)) {
30880 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30882 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30883 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30891 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30892 PyObject
*resultobj
= 0;
30893 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30894 wxPoint
*arg2
= 0 ;
30896 long *arg4
= (long *) 0 ;
30902 int res3
= SWIG_TMPOBJ
;
30904 int res4
= SWIG_TMPOBJ
;
30905 PyObject
* obj0
= 0 ;
30906 PyObject
* obj1
= 0 ;
30907 char * kwnames
[] = {
30908 (char *) "self",(char *) "point", NULL
30913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30915 if (!SWIG_IsOK(res1
)) {
30916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30918 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30921 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30925 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
30926 wxPyEndAllowThreads(__tstate
);
30927 if (PyErr_Occurred()) SWIG_fail
;
30929 resultobj
= SWIG_From_long(static_cast< long >(result
));
30930 if (SWIG_IsTmpObj(res3
)) {
30931 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30933 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30934 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30936 if (SWIG_IsTmpObj(res4
)) {
30937 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
30939 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30940 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
30948 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30949 PyObject
*resultobj
= 0;
30950 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30951 wxListItem
*arg2
= 0 ;
30957 PyObject
* obj0
= 0 ;
30958 PyObject
* obj1
= 0 ;
30959 char * kwnames
[] = {
30960 (char *) "self",(char *) "info", NULL
30963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30965 if (!SWIG_IsOK(res1
)) {
30966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30968 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30969 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
30970 if (!SWIG_IsOK(res2
)) {
30971 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30974 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30976 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
30978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30979 result
= (long)(arg1
)->InsertItem(*arg2
);
30980 wxPyEndAllowThreads(__tstate
);
30981 if (PyErr_Occurred()) SWIG_fail
;
30983 resultobj
= SWIG_From_long(static_cast< long >(result
));
30990 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30991 PyObject
*resultobj
= 0;
30992 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30994 wxString
*arg3
= 0 ;
30995 int arg4
= (int) -1 ;
31001 bool temp3
= false ;
31004 PyObject
* obj0
= 0 ;
31005 PyObject
* obj1
= 0 ;
31006 PyObject
* obj2
= 0 ;
31007 PyObject
* obj3
= 0 ;
31008 char * kwnames
[] = {
31009 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31014 if (!SWIG_IsOK(res1
)) {
31015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31017 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31018 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31019 if (!SWIG_IsOK(ecode2
)) {
31020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31022 arg2
= static_cast< long >(val2
);
31024 arg3
= wxString_in_helper(obj2
);
31025 if (arg3
== NULL
) SWIG_fail
;
31029 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31030 if (!SWIG_IsOK(ecode4
)) {
31031 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31033 arg4
= static_cast< int >(val4
);
31036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31037 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31038 wxPyEndAllowThreads(__tstate
);
31039 if (PyErr_Occurred()) SWIG_fail
;
31041 resultobj
= SWIG_From_long(static_cast< long >(result
));
31056 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31057 PyObject
*resultobj
= 0;
31058 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31068 PyObject
* obj0
= 0 ;
31069 PyObject
* obj1
= 0 ;
31070 PyObject
* obj2
= 0 ;
31071 char * kwnames
[] = {
31072 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31077 if (!SWIG_IsOK(res1
)) {
31078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31080 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31081 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31082 if (!SWIG_IsOK(ecode2
)) {
31083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31085 arg2
= static_cast< long >(val2
);
31086 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31087 if (!SWIG_IsOK(ecode3
)) {
31088 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31090 arg3
= static_cast< int >(val3
);
31092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31093 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31094 wxPyEndAllowThreads(__tstate
);
31095 if (PyErr_Occurred()) SWIG_fail
;
31097 resultobj
= SWIG_From_long(static_cast< long >(result
));
31104 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31105 PyObject
*resultobj
= 0;
31106 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31108 wxString
*arg3
= 0 ;
31115 bool temp3
= false ;
31118 PyObject
* obj0
= 0 ;
31119 PyObject
* obj1
= 0 ;
31120 PyObject
* obj2
= 0 ;
31121 PyObject
* obj3
= 0 ;
31122 char * kwnames
[] = {
31123 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31128 if (!SWIG_IsOK(res1
)) {
31129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31131 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31132 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31133 if (!SWIG_IsOK(ecode2
)) {
31134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31136 arg2
= static_cast< long >(val2
);
31138 arg3
= wxString_in_helper(obj2
);
31139 if (arg3
== NULL
) SWIG_fail
;
31142 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31143 if (!SWIG_IsOK(ecode4
)) {
31144 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31146 arg4
= static_cast< int >(val4
);
31148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31149 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31150 wxPyEndAllowThreads(__tstate
);
31151 if (PyErr_Occurred()) SWIG_fail
;
31153 resultobj
= SWIG_From_long(static_cast< long >(result
));
31168 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31169 PyObject
*resultobj
= 0;
31170 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31172 wxListItem
*arg3
= 0 ;
31180 PyObject
* obj0
= 0 ;
31181 PyObject
* obj1
= 0 ;
31182 PyObject
* obj2
= 0 ;
31183 char * kwnames
[] = {
31184 (char *) "self",(char *) "col",(char *) "info", NULL
31187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31189 if (!SWIG_IsOK(res1
)) {
31190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31192 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31193 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31194 if (!SWIG_IsOK(ecode2
)) {
31195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31197 arg2
= static_cast< long >(val2
);
31198 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31199 if (!SWIG_IsOK(res3
)) {
31200 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31203 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31205 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31208 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31209 wxPyEndAllowThreads(__tstate
);
31210 if (PyErr_Occurred()) SWIG_fail
;
31212 resultobj
= SWIG_From_long(static_cast< long >(result
));
31219 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31220 PyObject
*resultobj
= 0;
31221 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31223 wxString
*arg3
= 0 ;
31224 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31225 int arg5
= (int) -1 ;
31231 bool temp3
= false ;
31236 PyObject
* obj0
= 0 ;
31237 PyObject
* obj1
= 0 ;
31238 PyObject
* obj2
= 0 ;
31239 PyObject
* obj3
= 0 ;
31240 PyObject
* obj4
= 0 ;
31241 char * kwnames
[] = {
31242 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31247 if (!SWIG_IsOK(res1
)) {
31248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31250 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31251 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31252 if (!SWIG_IsOK(ecode2
)) {
31253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31255 arg2
= static_cast< long >(val2
);
31257 arg3
= wxString_in_helper(obj2
);
31258 if (arg3
== NULL
) SWIG_fail
;
31262 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31263 if (!SWIG_IsOK(ecode4
)) {
31264 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31266 arg4
= static_cast< int >(val4
);
31269 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31270 if (!SWIG_IsOK(ecode5
)) {
31271 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31273 arg5
= static_cast< int >(val5
);
31276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31277 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31278 wxPyEndAllowThreads(__tstate
);
31279 if (PyErr_Occurred()) SWIG_fail
;
31281 resultobj
= SWIG_From_long(static_cast< long >(result
));
31296 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31297 PyObject
*resultobj
= 0;
31298 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31304 PyObject
* obj0
= 0 ;
31305 PyObject
* obj1
= 0 ;
31306 char * kwnames
[] = {
31307 (char *) "self",(char *) "count", NULL
31310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31312 if (!SWIG_IsOK(res1
)) {
31313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31315 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31316 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31317 if (!SWIG_IsOK(ecode2
)) {
31318 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31320 arg2
= static_cast< long >(val2
);
31322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31323 (arg1
)->SetItemCount(arg2
);
31324 wxPyEndAllowThreads(__tstate
);
31325 if (PyErr_Occurred()) SWIG_fail
;
31327 resultobj
= SWIG_Py_Void();
31334 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31335 PyObject
*resultobj
= 0;
31336 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31346 PyObject
* obj0
= 0 ;
31347 PyObject
* obj1
= 0 ;
31348 PyObject
* obj2
= 0 ;
31349 char * kwnames
[] = {
31350 (char *) "self",(char *) "dx",(char *) "dy", NULL
31353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31355 if (!SWIG_IsOK(res1
)) {
31356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31358 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31360 if (!SWIG_IsOK(ecode2
)) {
31361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31363 arg2
= static_cast< int >(val2
);
31364 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31365 if (!SWIG_IsOK(ecode3
)) {
31366 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31368 arg3
= static_cast< int >(val3
);
31370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31371 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31372 wxPyEndAllowThreads(__tstate
);
31373 if (PyErr_Occurred()) SWIG_fail
;
31376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31384 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31385 PyObject
*resultobj
= 0;
31386 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31388 wxColour
*arg3
= 0 ;
31394 PyObject
* obj0
= 0 ;
31395 PyObject
* obj1
= 0 ;
31396 PyObject
* obj2
= 0 ;
31397 char * kwnames
[] = {
31398 (char *) "self",(char *) "item",(char *) "col", NULL
31401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31403 if (!SWIG_IsOK(res1
)) {
31404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31406 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31407 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31408 if (!SWIG_IsOK(ecode2
)) {
31409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31411 arg2
= static_cast< long >(val2
);
31414 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31418 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31419 wxPyEndAllowThreads(__tstate
);
31420 if (PyErr_Occurred()) SWIG_fail
;
31422 resultobj
= SWIG_Py_Void();
31429 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31430 PyObject
*resultobj
= 0;
31431 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31438 PyObject
* obj0
= 0 ;
31439 PyObject
* obj1
= 0 ;
31440 char * kwnames
[] = {
31441 (char *) "self",(char *) "item", NULL
31444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31446 if (!SWIG_IsOK(res1
)) {
31447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31449 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31450 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31451 if (!SWIG_IsOK(ecode2
)) {
31452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31454 arg2
= static_cast< long >(val2
);
31456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31457 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31458 wxPyEndAllowThreads(__tstate
);
31459 if (PyErr_Occurred()) SWIG_fail
;
31461 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31468 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31469 PyObject
*resultobj
= 0;
31470 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31472 wxColour
*arg3
= 0 ;
31478 PyObject
* obj0
= 0 ;
31479 PyObject
* obj1
= 0 ;
31480 PyObject
* obj2
= 0 ;
31481 char * kwnames
[] = {
31482 (char *) "self",(char *) "item",(char *) "col", NULL
31485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31487 if (!SWIG_IsOK(res1
)) {
31488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31490 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31491 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31492 if (!SWIG_IsOK(ecode2
)) {
31493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31495 arg2
= static_cast< long >(val2
);
31498 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31502 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31503 wxPyEndAllowThreads(__tstate
);
31504 if (PyErr_Occurred()) SWIG_fail
;
31506 resultobj
= SWIG_Py_Void();
31513 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31514 PyObject
*resultobj
= 0;
31515 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31522 PyObject
* obj0
= 0 ;
31523 PyObject
* obj1
= 0 ;
31524 char * kwnames
[] = {
31525 (char *) "self",(char *) "item", NULL
31528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31530 if (!SWIG_IsOK(res1
)) {
31531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31533 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31534 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31535 if (!SWIG_IsOK(ecode2
)) {
31536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31538 arg2
= static_cast< long >(val2
);
31540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31541 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31542 wxPyEndAllowThreads(__tstate
);
31543 if (PyErr_Occurred()) SWIG_fail
;
31545 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31552 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31553 PyObject
*resultobj
= 0;
31554 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31563 PyObject
* obj0
= 0 ;
31564 PyObject
* obj1
= 0 ;
31565 PyObject
* obj2
= 0 ;
31566 char * kwnames
[] = {
31567 (char *) "self",(char *) "item",(char *) "f", NULL
31570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31572 if (!SWIG_IsOK(res1
)) {
31573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31575 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31576 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31577 if (!SWIG_IsOK(ecode2
)) {
31578 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31580 arg2
= static_cast< long >(val2
);
31581 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31582 if (!SWIG_IsOK(res3
)) {
31583 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31586 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31588 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31591 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31592 wxPyEndAllowThreads(__tstate
);
31593 if (PyErr_Occurred()) SWIG_fail
;
31595 resultobj
= SWIG_Py_Void();
31602 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31603 PyObject
*resultobj
= 0;
31604 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31611 PyObject
* obj0
= 0 ;
31612 PyObject
* obj1
= 0 ;
31613 char * kwnames
[] = {
31614 (char *) "self",(char *) "item", NULL
31617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31619 if (!SWIG_IsOK(res1
)) {
31620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31622 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31623 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31624 if (!SWIG_IsOK(ecode2
)) {
31625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31627 arg2
= static_cast< long >(val2
);
31629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31630 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31631 wxPyEndAllowThreads(__tstate
);
31632 if (PyErr_Occurred()) SWIG_fail
;
31634 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31641 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31642 PyObject
*resultobj
= 0;
31643 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31644 PyObject
*arg2
= (PyObject
*) 0 ;
31648 PyObject
* obj0
= 0 ;
31649 PyObject
* obj1
= 0 ;
31650 char * kwnames
[] = {
31651 (char *) "self",(char *) "func", NULL
31654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31656 if (!SWIG_IsOK(res1
)) {
31657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31659 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31663 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
31664 wxPyEndAllowThreads(__tstate
);
31665 if (PyErr_Occurred()) SWIG_fail
;
31668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31676 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31677 PyObject
*resultobj
= 0;
31678 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31679 wxWindow
*result
= 0 ;
31682 PyObject
*swig_obj
[1] ;
31684 if (!args
) SWIG_fail
;
31685 swig_obj
[0] = args
;
31686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31687 if (!SWIG_IsOK(res1
)) {
31688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31690 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31693 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
31694 wxPyEndAllowThreads(__tstate
);
31695 if (PyErr_Occurred()) SWIG_fail
;
31698 resultobj
= wxPyMake_wxObject(result
, 0);
31706 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31707 PyObject
*resultobj
= 0;
31708 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31709 SwigValueWrapper
<wxVisualAttributes
> result
;
31712 PyObject
* obj0
= 0 ;
31713 char * kwnames
[] = {
31714 (char *) "variant", NULL
31717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
31719 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31720 if (!SWIG_IsOK(ecode1
)) {
31721 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
31723 arg1
= static_cast< wxWindowVariant
>(val1
);
31726 if (!wxPyCheckForApp()) SWIG_fail
;
31727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31728 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
31729 wxPyEndAllowThreads(__tstate
);
31730 if (PyErr_Occurred()) SWIG_fail
;
31732 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
31739 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31741 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31742 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
31743 return SWIG_Py_Void();
31746 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31747 return SWIG_Python_InitShadowInstance(args
);
31750 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31751 PyObject
*resultobj
= 0;
31752 wxWindow
*arg1
= (wxWindow
*) 0 ;
31753 int arg2
= (int) -1 ;
31754 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31755 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31756 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31757 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31758 long arg5
= (long) wxLC_REPORT
;
31759 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31760 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31761 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
31762 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31763 wxListView
*result
= 0 ;
31774 bool temp7
= false ;
31775 PyObject
* obj0
= 0 ;
31776 PyObject
* obj1
= 0 ;
31777 PyObject
* obj2
= 0 ;
31778 PyObject
* obj3
= 0 ;
31779 PyObject
* obj4
= 0 ;
31780 PyObject
* obj5
= 0 ;
31781 PyObject
* obj6
= 0 ;
31782 char * kwnames
[] = {
31783 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31788 if (!SWIG_IsOK(res1
)) {
31789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
31791 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31794 if (!SWIG_IsOK(ecode2
)) {
31795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
31797 arg2
= static_cast< int >(val2
);
31802 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31808 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31812 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
31813 if (!SWIG_IsOK(ecode5
)) {
31814 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
31816 arg5
= static_cast< long >(val5
);
31819 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
31820 if (!SWIG_IsOK(res6
)) {
31821 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31824 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31826 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
31830 arg7
= wxString_in_helper(obj6
);
31831 if (arg7
== NULL
) SWIG_fail
;
31836 if (!wxPyCheckForApp()) SWIG_fail
;
31837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31838 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
31839 wxPyEndAllowThreads(__tstate
);
31840 if (PyErr_Occurred()) SWIG_fail
;
31842 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
31857 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31858 PyObject
*resultobj
= 0;
31859 wxListView
*result
= 0 ;
31861 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
31863 if (!wxPyCheckForApp()) SWIG_fail
;
31864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31865 result
= (wxListView
*)new wxListView();
31866 wxPyEndAllowThreads(__tstate
);
31867 if (PyErr_Occurred()) SWIG_fail
;
31869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
31876 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31877 PyObject
*resultobj
= 0;
31878 wxListView
*arg1
= (wxListView
*) 0 ;
31879 wxWindow
*arg2
= (wxWindow
*) 0 ;
31880 int arg3
= (int) -1 ;
31881 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31882 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31883 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31884 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31885 long arg6
= (long) wxLC_REPORT
;
31886 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
31887 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
31888 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
31889 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31903 bool temp8
= false ;
31904 PyObject
* obj0
= 0 ;
31905 PyObject
* obj1
= 0 ;
31906 PyObject
* obj2
= 0 ;
31907 PyObject
* obj3
= 0 ;
31908 PyObject
* obj4
= 0 ;
31909 PyObject
* obj5
= 0 ;
31910 PyObject
* obj6
= 0 ;
31911 PyObject
* obj7
= 0 ;
31912 char * kwnames
[] = {
31913 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31918 if (!SWIG_IsOK(res1
)) {
31919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
31921 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31922 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31923 if (!SWIG_IsOK(res2
)) {
31924 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
31926 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31928 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31929 if (!SWIG_IsOK(ecode3
)) {
31930 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
31932 arg3
= static_cast< int >(val3
);
31937 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31943 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31947 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31948 if (!SWIG_IsOK(ecode6
)) {
31949 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
31951 arg6
= static_cast< long >(val6
);
31954 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
31955 if (!SWIG_IsOK(res7
)) {
31956 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31959 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31961 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
31965 arg8
= wxString_in_helper(obj7
);
31966 if (arg8
== NULL
) SWIG_fail
;
31971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31972 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
31973 wxPyEndAllowThreads(__tstate
);
31974 if (PyErr_Occurred()) SWIG_fail
;
31977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31993 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31994 PyObject
*resultobj
= 0;
31995 wxListView
*arg1
= (wxListView
*) 0 ;
31997 bool arg3
= (bool) true ;
32004 PyObject
* obj0
= 0 ;
32005 PyObject
* obj1
= 0 ;
32006 PyObject
* obj2
= 0 ;
32007 char * kwnames
[] = {
32008 (char *) "self",(char *) "n",(char *) "on", NULL
32011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32013 if (!SWIG_IsOK(res1
)) {
32014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32016 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32017 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32018 if (!SWIG_IsOK(ecode2
)) {
32019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32021 arg2
= static_cast< long >(val2
);
32023 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32024 if (!SWIG_IsOK(ecode3
)) {
32025 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32027 arg3
= static_cast< bool >(val3
);
32030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32031 (arg1
)->Select(arg2
,arg3
);
32032 wxPyEndAllowThreads(__tstate
);
32033 if (PyErr_Occurred()) SWIG_fail
;
32035 resultobj
= SWIG_Py_Void();
32042 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32043 PyObject
*resultobj
= 0;
32044 wxListView
*arg1
= (wxListView
*) 0 ;
32050 PyObject
* obj0
= 0 ;
32051 PyObject
* obj1
= 0 ;
32052 char * kwnames
[] = {
32053 (char *) "self",(char *) "index", NULL
32056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32058 if (!SWIG_IsOK(res1
)) {
32059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32061 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32062 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32063 if (!SWIG_IsOK(ecode2
)) {
32064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32066 arg2
= static_cast< long >(val2
);
32068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32069 (arg1
)->Focus(arg2
);
32070 wxPyEndAllowThreads(__tstate
);
32071 if (PyErr_Occurred()) SWIG_fail
;
32073 resultobj
= SWIG_Py_Void();
32080 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32081 PyObject
*resultobj
= 0;
32082 wxListView
*arg1
= (wxListView
*) 0 ;
32086 PyObject
*swig_obj
[1] ;
32088 if (!args
) SWIG_fail
;
32089 swig_obj
[0] = args
;
32090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32091 if (!SWIG_IsOK(res1
)) {
32092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32094 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32097 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32098 wxPyEndAllowThreads(__tstate
);
32099 if (PyErr_Occurred()) SWIG_fail
;
32101 resultobj
= SWIG_From_long(static_cast< long >(result
));
32108 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32109 PyObject
*resultobj
= 0;
32110 wxListView
*arg1
= (wxListView
*) 0 ;
32117 PyObject
* obj0
= 0 ;
32118 PyObject
* obj1
= 0 ;
32119 char * kwnames
[] = {
32120 (char *) "self",(char *) "item", NULL
32123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32125 if (!SWIG_IsOK(res1
)) {
32126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32128 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32129 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32130 if (!SWIG_IsOK(ecode2
)) {
32131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32133 arg2
= static_cast< long >(val2
);
32135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32136 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32137 wxPyEndAllowThreads(__tstate
);
32138 if (PyErr_Occurred()) SWIG_fail
;
32140 resultobj
= SWIG_From_long(static_cast< long >(result
));
32147 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32148 PyObject
*resultobj
= 0;
32149 wxListView
*arg1
= (wxListView
*) 0 ;
32153 PyObject
*swig_obj
[1] ;
32155 if (!args
) SWIG_fail
;
32156 swig_obj
[0] = args
;
32157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32158 if (!SWIG_IsOK(res1
)) {
32159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32161 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32164 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32165 wxPyEndAllowThreads(__tstate
);
32166 if (PyErr_Occurred()) SWIG_fail
;
32168 resultobj
= SWIG_From_long(static_cast< long >(result
));
32175 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32176 PyObject
*resultobj
= 0;
32177 wxListView
*arg1
= (wxListView
*) 0 ;
32184 PyObject
* obj0
= 0 ;
32185 PyObject
* obj1
= 0 ;
32186 char * kwnames
[] = {
32187 (char *) "self",(char *) "index", NULL
32190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32192 if (!SWIG_IsOK(res1
)) {
32193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32195 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32196 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32197 if (!SWIG_IsOK(ecode2
)) {
32198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32200 arg2
= static_cast< long >(val2
);
32202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32203 result
= (bool)(arg1
)->IsSelected(arg2
);
32204 wxPyEndAllowThreads(__tstate
);
32205 if (PyErr_Occurred()) SWIG_fail
;
32208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32216 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32217 PyObject
*resultobj
= 0;
32218 wxListView
*arg1
= (wxListView
*) 0 ;
32227 PyObject
* obj0
= 0 ;
32228 PyObject
* obj1
= 0 ;
32229 PyObject
* obj2
= 0 ;
32230 char * kwnames
[] = {
32231 (char *) "self",(char *) "col",(char *) "image", NULL
32234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32236 if (!SWIG_IsOK(res1
)) {
32237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32239 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32241 if (!SWIG_IsOK(ecode2
)) {
32242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32244 arg2
= static_cast< int >(val2
);
32245 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32246 if (!SWIG_IsOK(ecode3
)) {
32247 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32249 arg3
= static_cast< int >(val3
);
32251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32252 (arg1
)->SetColumnImage(arg2
,arg3
);
32253 wxPyEndAllowThreads(__tstate
);
32254 if (PyErr_Occurred()) SWIG_fail
;
32256 resultobj
= SWIG_Py_Void();
32263 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32264 PyObject
*resultobj
= 0;
32265 wxListView
*arg1
= (wxListView
*) 0 ;
32271 PyObject
* obj0
= 0 ;
32272 PyObject
* obj1
= 0 ;
32273 char * kwnames
[] = {
32274 (char *) "self",(char *) "col", NULL
32277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32279 if (!SWIG_IsOK(res1
)) {
32280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32282 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32283 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32284 if (!SWIG_IsOK(ecode2
)) {
32285 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32287 arg2
= static_cast< int >(val2
);
32289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32290 (arg1
)->ClearColumnImage(arg2
);
32291 wxPyEndAllowThreads(__tstate
);
32292 if (PyErr_Occurred()) SWIG_fail
;
32294 resultobj
= SWIG_Py_Void();
32301 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32303 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32304 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32305 return SWIG_Py_Void();
32308 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32309 return SWIG_Python_InitShadowInstance(args
);
32312 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32313 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32318 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32319 PyObject
*pyobj
= 0;
32323 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32325 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32332 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32333 PyObject
*resultobj
= 0;
32334 wxTreeItemId
*result
= 0 ;
32336 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32339 result
= (wxTreeItemId
*)new wxTreeItemId();
32340 wxPyEndAllowThreads(__tstate
);
32341 if (PyErr_Occurred()) SWIG_fail
;
32343 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32350 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32351 PyObject
*resultobj
= 0;
32352 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32355 PyObject
*swig_obj
[1] ;
32357 if (!args
) SWIG_fail
;
32358 swig_obj
[0] = args
;
32359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32360 if (!SWIG_IsOK(res1
)) {
32361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32363 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32368 wxPyEndAllowThreads(__tstate
);
32369 if (PyErr_Occurred()) SWIG_fail
;
32371 resultobj
= SWIG_Py_Void();
32378 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32379 PyObject
*resultobj
= 0;
32380 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32384 PyObject
*swig_obj
[1] ;
32386 if (!args
) SWIG_fail
;
32387 swig_obj
[0] = args
;
32388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32389 if (!SWIG_IsOK(res1
)) {
32390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32392 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32395 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32396 wxPyEndAllowThreads(__tstate
);
32397 if (PyErr_Occurred()) SWIG_fail
;
32400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32408 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32409 PyObject
*resultobj
= 0;
32410 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32411 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32417 PyObject
* obj0
= 0 ;
32418 PyObject
* obj1
= 0 ;
32419 char * kwnames
[] = {
32420 (char *) "self",(char *) "other", NULL
32423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32425 if (!SWIG_IsOK(res1
)) {
32426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32428 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32429 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32430 if (!SWIG_IsOK(res2
)) {
32431 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32433 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32436 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32437 wxPyEndAllowThreads(__tstate
);
32438 if (PyErr_Occurred()) SWIG_fail
;
32441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32449 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32450 PyObject
*resultobj
= 0;
32451 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32452 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32458 PyObject
* obj0
= 0 ;
32459 PyObject
* obj1
= 0 ;
32460 char * kwnames
[] = {
32461 (char *) "self",(char *) "other", NULL
32464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32466 if (!SWIG_IsOK(res1
)) {
32467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32469 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32470 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32471 if (!SWIG_IsOK(res2
)) {
32472 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32474 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32477 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32478 wxPyEndAllowThreads(__tstate
);
32479 if (PyErr_Occurred()) SWIG_fail
;
32482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32490 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32491 PyObject
*resultobj
= 0;
32492 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32493 void *arg2
= (void *) 0 ;
32497 PyObject
*swig_obj
[2] ;
32499 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32501 if (!SWIG_IsOK(res1
)) {
32502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32504 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32505 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32506 if (!SWIG_IsOK(res2
)) {
32507 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32509 if (arg1
) (arg1
)->m_pItem
= arg2
;
32511 resultobj
= SWIG_Py_Void();
32518 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32519 PyObject
*resultobj
= 0;
32520 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32524 PyObject
*swig_obj
[1] ;
32526 if (!args
) SWIG_fail
;
32527 swig_obj
[0] = args
;
32528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32529 if (!SWIG_IsOK(res1
)) {
32530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32532 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32533 result
= (void *) ((arg1
)->m_pItem
);
32534 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32541 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32543 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32544 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32545 return SWIG_Py_Void();
32548 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32549 return SWIG_Python_InitShadowInstance(args
);
32552 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32553 PyObject
*resultobj
= 0;
32554 PyObject
*arg1
= (PyObject
*) NULL
;
32555 wxPyTreeItemData
*result
= 0 ;
32556 PyObject
* obj0
= 0 ;
32557 char * kwnames
[] = {
32558 (char *) "obj", NULL
32561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32567 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32568 wxPyEndAllowThreads(__tstate
);
32569 if (PyErr_Occurred()) SWIG_fail
;
32571 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32578 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32579 PyObject
*resultobj
= 0;
32580 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32583 PyObject
*swig_obj
[1] ;
32585 if (!args
) SWIG_fail
;
32586 swig_obj
[0] = args
;
32587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32588 if (!SWIG_IsOK(res1
)) {
32589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32591 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32596 wxPyEndAllowThreads(__tstate
);
32597 if (PyErr_Occurred()) SWIG_fail
;
32599 resultobj
= SWIG_Py_Void();
32606 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32607 PyObject
*resultobj
= 0;
32608 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32609 PyObject
*result
= 0 ;
32612 PyObject
*swig_obj
[1] ;
32614 if (!args
) SWIG_fail
;
32615 swig_obj
[0] = args
;
32616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32617 if (!SWIG_IsOK(res1
)) {
32618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32620 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32623 result
= (PyObject
*)(arg1
)->GetData();
32624 wxPyEndAllowThreads(__tstate
);
32625 if (PyErr_Occurred()) SWIG_fail
;
32627 resultobj
= result
;
32634 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32635 PyObject
*resultobj
= 0;
32636 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32637 PyObject
*arg2
= (PyObject
*) 0 ;
32640 PyObject
* obj0
= 0 ;
32641 PyObject
* obj1
= 0 ;
32642 char * kwnames
[] = {
32643 (char *) "self",(char *) "obj", NULL
32646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32648 if (!SWIG_IsOK(res1
)) {
32649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32651 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32655 (arg1
)->SetData(arg2
);
32656 wxPyEndAllowThreads(__tstate
);
32657 if (PyErr_Occurred()) SWIG_fail
;
32659 resultobj
= SWIG_Py_Void();
32666 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32667 PyObject
*resultobj
= 0;
32668 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32669 wxTreeItemId
*result
= 0 ;
32672 PyObject
*swig_obj
[1] ;
32674 if (!args
) SWIG_fail
;
32675 swig_obj
[0] = args
;
32676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32677 if (!SWIG_IsOK(res1
)) {
32678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32680 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32684 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
32685 result
= (wxTreeItemId
*) &_result_ref
;
32687 wxPyEndAllowThreads(__tstate
);
32688 if (PyErr_Occurred()) SWIG_fail
;
32690 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32697 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32698 PyObject
*resultobj
= 0;
32699 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32700 wxTreeItemId
*arg2
= 0 ;
32705 PyObject
* obj0
= 0 ;
32706 PyObject
* obj1
= 0 ;
32707 char * kwnames
[] = {
32708 (char *) "self",(char *) "id", NULL
32711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32713 if (!SWIG_IsOK(res1
)) {
32714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32716 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32717 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32718 if (!SWIG_IsOK(res2
)) {
32719 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32722 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32724 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32727 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
32728 wxPyEndAllowThreads(__tstate
);
32729 if (PyErr_Occurred()) SWIG_fail
;
32731 resultobj
= SWIG_Py_Void();
32738 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32739 PyObject
*resultobj
= 0;
32740 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32743 PyObject
*swig_obj
[1] ;
32745 if (!args
) SWIG_fail
;
32746 swig_obj
[0] = args
;
32747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32748 if (!SWIG_IsOK(res1
)) {
32749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32751 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32754 wxPyTreeItemData_Destroy(arg1
);
32755 wxPyEndAllowThreads(__tstate
);
32756 if (PyErr_Occurred()) SWIG_fail
;
32758 resultobj
= SWIG_Py_Void();
32765 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32767 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32768 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
32769 return SWIG_Py_Void();
32772 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32773 return SWIG_Python_InitShadowInstance(args
);
32776 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32777 PyObject
*resultobj
= 0;
32778 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32779 int arg2
= (int) 0 ;
32780 wxTreeEvent
*result
= 0 ;
32785 PyObject
* obj0
= 0 ;
32786 PyObject
* obj1
= 0 ;
32787 char * kwnames
[] = {
32788 (char *) "commandType",(char *) "id", NULL
32791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32793 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32794 if (!SWIG_IsOK(ecode1
)) {
32795 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32797 arg1
= static_cast< wxEventType
>(val1
);
32800 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32801 if (!SWIG_IsOK(ecode2
)) {
32802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
32804 arg2
= static_cast< int >(val2
);
32807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32808 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
32809 wxPyEndAllowThreads(__tstate
);
32810 if (PyErr_Occurred()) SWIG_fail
;
32812 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
32819 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32820 PyObject
*resultobj
= 0;
32821 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32822 wxTreeItemId result
;
32825 PyObject
*swig_obj
[1] ;
32827 if (!args
) SWIG_fail
;
32828 swig_obj
[0] = args
;
32829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32830 if (!SWIG_IsOK(res1
)) {
32831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32833 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32836 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
32837 wxPyEndAllowThreads(__tstate
);
32838 if (PyErr_Occurred()) SWIG_fail
;
32840 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32847 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32848 PyObject
*resultobj
= 0;
32849 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32850 wxTreeItemId
*arg2
= 0 ;
32855 PyObject
* obj0
= 0 ;
32856 PyObject
* obj1
= 0 ;
32857 char * kwnames
[] = {
32858 (char *) "self",(char *) "item", NULL
32861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32863 if (!SWIG_IsOK(res1
)) {
32864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32866 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32867 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32868 if (!SWIG_IsOK(res2
)) {
32869 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32872 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32874 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32877 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
32878 wxPyEndAllowThreads(__tstate
);
32879 if (PyErr_Occurred()) SWIG_fail
;
32881 resultobj
= SWIG_Py_Void();
32888 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32889 PyObject
*resultobj
= 0;
32890 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32891 wxTreeItemId result
;
32894 PyObject
*swig_obj
[1] ;
32896 if (!args
) SWIG_fail
;
32897 swig_obj
[0] = args
;
32898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32899 if (!SWIG_IsOK(res1
)) {
32900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32902 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32905 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
32906 wxPyEndAllowThreads(__tstate
);
32907 if (PyErr_Occurred()) SWIG_fail
;
32909 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32916 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32917 PyObject
*resultobj
= 0;
32918 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32919 wxTreeItemId
*arg2
= 0 ;
32924 PyObject
* obj0
= 0 ;
32925 PyObject
* obj1
= 0 ;
32926 char * kwnames
[] = {
32927 (char *) "self",(char *) "item", NULL
32930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32932 if (!SWIG_IsOK(res1
)) {
32933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32935 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32936 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32937 if (!SWIG_IsOK(res2
)) {
32938 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32941 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32943 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32946 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
32947 wxPyEndAllowThreads(__tstate
);
32948 if (PyErr_Occurred()) SWIG_fail
;
32950 resultobj
= SWIG_Py_Void();
32957 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32958 PyObject
*resultobj
= 0;
32959 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32963 PyObject
*swig_obj
[1] ;
32965 if (!args
) SWIG_fail
;
32966 swig_obj
[0] = args
;
32967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32968 if (!SWIG_IsOK(res1
)) {
32969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32971 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32974 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
32975 wxPyEndAllowThreads(__tstate
);
32976 if (PyErr_Occurred()) SWIG_fail
;
32978 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
32985 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32986 PyObject
*resultobj
= 0;
32987 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32988 wxPoint
*arg2
= 0 ;
32992 PyObject
* obj0
= 0 ;
32993 PyObject
* obj1
= 0 ;
32994 char * kwnames
[] = {
32995 (char *) "self",(char *) "pt", NULL
32998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33000 if (!SWIG_IsOK(res1
)) {
33001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33003 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33006 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33010 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33011 wxPyEndAllowThreads(__tstate
);
33012 if (PyErr_Occurred()) SWIG_fail
;
33014 resultobj
= SWIG_Py_Void();
33021 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33022 PyObject
*resultobj
= 0;
33023 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33024 wxKeyEvent
*result
= 0 ;
33027 PyObject
*swig_obj
[1] ;
33029 if (!args
) SWIG_fail
;
33030 swig_obj
[0] = args
;
33031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33032 if (!SWIG_IsOK(res1
)) {
33033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33035 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33039 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33040 result
= (wxKeyEvent
*) &_result_ref
;
33042 wxPyEndAllowThreads(__tstate
);
33043 if (PyErr_Occurred()) SWIG_fail
;
33045 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33052 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33053 PyObject
*resultobj
= 0;
33054 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33058 PyObject
*swig_obj
[1] ;
33060 if (!args
) SWIG_fail
;
33061 swig_obj
[0] = args
;
33062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33063 if (!SWIG_IsOK(res1
)) {
33064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33066 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33069 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33070 wxPyEndAllowThreads(__tstate
);
33071 if (PyErr_Occurred()) SWIG_fail
;
33073 resultobj
= SWIG_From_int(static_cast< int >(result
));
33080 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33081 PyObject
*resultobj
= 0;
33082 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33083 wxKeyEvent
*arg2
= 0 ;
33088 PyObject
* obj0
= 0 ;
33089 PyObject
* obj1
= 0 ;
33090 char * kwnames
[] = {
33091 (char *) "self",(char *) "evt", NULL
33094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33096 if (!SWIG_IsOK(res1
)) {
33097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33099 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33100 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33101 if (!SWIG_IsOK(res2
)) {
33102 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33105 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33107 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33110 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33111 wxPyEndAllowThreads(__tstate
);
33112 if (PyErr_Occurred()) SWIG_fail
;
33114 resultobj
= SWIG_Py_Void();
33121 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33122 PyObject
*resultobj
= 0;
33123 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33124 wxString
*result
= 0 ;
33127 PyObject
*swig_obj
[1] ;
33129 if (!args
) SWIG_fail
;
33130 swig_obj
[0] = args
;
33131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33132 if (!SWIG_IsOK(res1
)) {
33133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33135 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33139 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33140 result
= (wxString
*) &_result_ref
;
33142 wxPyEndAllowThreads(__tstate
);
33143 if (PyErr_Occurred()) SWIG_fail
;
33147 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33149 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33158 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33159 PyObject
*resultobj
= 0;
33160 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33161 wxString
*arg2
= 0 ;
33164 bool temp2
= false ;
33165 PyObject
* obj0
= 0 ;
33166 PyObject
* obj1
= 0 ;
33167 char * kwnames
[] = {
33168 (char *) "self",(char *) "label", NULL
33171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33173 if (!SWIG_IsOK(res1
)) {
33174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33176 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33178 arg2
= wxString_in_helper(obj1
);
33179 if (arg2
== NULL
) SWIG_fail
;
33183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33184 (arg1
)->SetLabel((wxString
const &)*arg2
);
33185 wxPyEndAllowThreads(__tstate
);
33186 if (PyErr_Occurred()) SWIG_fail
;
33188 resultobj
= SWIG_Py_Void();
33203 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33204 PyObject
*resultobj
= 0;
33205 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33209 PyObject
*swig_obj
[1] ;
33211 if (!args
) SWIG_fail
;
33212 swig_obj
[0] = args
;
33213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33214 if (!SWIG_IsOK(res1
)) {
33215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33217 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33220 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33221 wxPyEndAllowThreads(__tstate
);
33222 if (PyErr_Occurred()) SWIG_fail
;
33225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33233 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33234 PyObject
*resultobj
= 0;
33235 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33241 PyObject
* obj0
= 0 ;
33242 PyObject
* obj1
= 0 ;
33243 char * kwnames
[] = {
33244 (char *) "self",(char *) "editCancelled", NULL
33247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33249 if (!SWIG_IsOK(res1
)) {
33250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33252 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33253 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33254 if (!SWIG_IsOK(ecode2
)) {
33255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33257 arg2
= static_cast< bool >(val2
);
33259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33260 (arg1
)->SetEditCanceled(arg2
);
33261 wxPyEndAllowThreads(__tstate
);
33262 if (PyErr_Occurred()) SWIG_fail
;
33264 resultobj
= SWIG_Py_Void();
33271 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33272 PyObject
*resultobj
= 0;
33273 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33274 wxString
*arg2
= 0 ;
33277 bool temp2
= false ;
33278 PyObject
* obj0
= 0 ;
33279 PyObject
* obj1
= 0 ;
33280 char * kwnames
[] = {
33281 (char *) "self",(char *) "toolTip", NULL
33284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33286 if (!SWIG_IsOK(res1
)) {
33287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33289 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33291 arg2
= wxString_in_helper(obj1
);
33292 if (arg2
== NULL
) SWIG_fail
;
33296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33297 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33298 wxPyEndAllowThreads(__tstate
);
33299 if (PyErr_Occurred()) SWIG_fail
;
33301 resultobj
= SWIG_Py_Void();
33316 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33317 PyObject
*resultobj
= 0;
33318 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33322 PyObject
*swig_obj
[1] ;
33324 if (!args
) SWIG_fail
;
33325 swig_obj
[0] = args
;
33326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33327 if (!SWIG_IsOK(res1
)) {
33328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33330 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33333 result
= (arg1
)->GetToolTip();
33334 wxPyEndAllowThreads(__tstate
);
33335 if (PyErr_Occurred()) SWIG_fail
;
33339 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33341 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33350 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33352 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33353 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33354 return SWIG_Py_Void();
33357 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33358 return SWIG_Python_InitShadowInstance(args
);
33361 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33362 PyObject
*resultobj
= 0;
33363 wxWindow
*arg1
= (wxWindow
*) 0 ;
33364 int arg2
= (int) -1 ;
33365 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33366 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33367 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33368 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33369 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33370 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33371 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33372 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33373 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33374 wxPyTreeCtrl
*result
= 0 ;
33385 bool temp7
= false ;
33386 PyObject
* obj0
= 0 ;
33387 PyObject
* obj1
= 0 ;
33388 PyObject
* obj2
= 0 ;
33389 PyObject
* obj3
= 0 ;
33390 PyObject
* obj4
= 0 ;
33391 PyObject
* obj5
= 0 ;
33392 PyObject
* obj6
= 0 ;
33393 char * kwnames
[] = {
33394 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33399 if (!SWIG_IsOK(res1
)) {
33400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33402 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33404 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33405 if (!SWIG_IsOK(ecode2
)) {
33406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33408 arg2
= static_cast< int >(val2
);
33413 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33419 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33423 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33424 if (!SWIG_IsOK(ecode5
)) {
33425 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33427 arg5
= static_cast< long >(val5
);
33430 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33431 if (!SWIG_IsOK(res6
)) {
33432 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33435 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33437 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33441 arg7
= wxString_in_helper(obj6
);
33442 if (arg7
== NULL
) SWIG_fail
;
33447 if (!wxPyCheckForApp()) SWIG_fail
;
33448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33449 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33450 wxPyEndAllowThreads(__tstate
);
33451 if (PyErr_Occurred()) SWIG_fail
;
33453 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33468 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33469 PyObject
*resultobj
= 0;
33470 wxPyTreeCtrl
*result
= 0 ;
33472 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33474 if (!wxPyCheckForApp()) SWIG_fail
;
33475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33476 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33477 wxPyEndAllowThreads(__tstate
);
33478 if (PyErr_Occurred()) SWIG_fail
;
33480 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33487 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33488 PyObject
*resultobj
= 0;
33489 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33490 wxWindow
*arg2
= (wxWindow
*) 0 ;
33491 int arg3
= (int) -1 ;
33492 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33493 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33494 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33495 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33496 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33497 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33498 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33499 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33500 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33514 bool temp8
= false ;
33515 PyObject
* obj0
= 0 ;
33516 PyObject
* obj1
= 0 ;
33517 PyObject
* obj2
= 0 ;
33518 PyObject
* obj3
= 0 ;
33519 PyObject
* obj4
= 0 ;
33520 PyObject
* obj5
= 0 ;
33521 PyObject
* obj6
= 0 ;
33522 PyObject
* obj7
= 0 ;
33523 char * kwnames
[] = {
33524 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33529 if (!SWIG_IsOK(res1
)) {
33530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33532 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33533 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33534 if (!SWIG_IsOK(res2
)) {
33535 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33537 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33539 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33540 if (!SWIG_IsOK(ecode3
)) {
33541 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33543 arg3
= static_cast< int >(val3
);
33548 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33554 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33558 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33559 if (!SWIG_IsOK(ecode6
)) {
33560 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33562 arg6
= static_cast< long >(val6
);
33565 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
33566 if (!SWIG_IsOK(res7
)) {
33567 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33570 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33572 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
33576 arg8
= wxString_in_helper(obj7
);
33577 if (arg8
== NULL
) SWIG_fail
;
33582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33583 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33584 wxPyEndAllowThreads(__tstate
);
33585 if (PyErr_Occurred()) SWIG_fail
;
33588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33604 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33605 PyObject
*resultobj
= 0;
33606 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33607 PyObject
*arg2
= (PyObject
*) 0 ;
33608 PyObject
*arg3
= (PyObject
*) 0 ;
33611 PyObject
* obj0
= 0 ;
33612 PyObject
* obj1
= 0 ;
33613 PyObject
* obj2
= 0 ;
33614 char * kwnames
[] = {
33615 (char *) "self",(char *) "self",(char *) "_class", NULL
33618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33620 if (!SWIG_IsOK(res1
)) {
33621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33623 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33628 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33629 wxPyEndAllowThreads(__tstate
);
33630 if (PyErr_Occurred()) SWIG_fail
;
33632 resultobj
= SWIG_Py_Void();
33639 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33640 PyObject
*resultobj
= 0;
33641 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33642 unsigned int result
;
33645 PyObject
*swig_obj
[1] ;
33647 if (!args
) SWIG_fail
;
33648 swig_obj
[0] = args
;
33649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33650 if (!SWIG_IsOK(res1
)) {
33651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33653 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33656 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
33657 wxPyEndAllowThreads(__tstate
);
33658 if (PyErr_Occurred()) SWIG_fail
;
33660 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33667 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33668 PyObject
*resultobj
= 0;
33669 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33670 unsigned int result
;
33673 PyObject
*swig_obj
[1] ;
33675 if (!args
) SWIG_fail
;
33676 swig_obj
[0] = args
;
33677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33678 if (!SWIG_IsOK(res1
)) {
33679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33681 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33684 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
33685 wxPyEndAllowThreads(__tstate
);
33686 if (PyErr_Occurred()) SWIG_fail
;
33688 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33695 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33696 PyObject
*resultobj
= 0;
33697 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33698 unsigned int arg2
;
33701 unsigned int val2
;
33703 PyObject
* obj0
= 0 ;
33704 PyObject
* obj1
= 0 ;
33705 char * kwnames
[] = {
33706 (char *) "self",(char *) "indent", NULL
33709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33711 if (!SWIG_IsOK(res1
)) {
33712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33714 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33715 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33716 if (!SWIG_IsOK(ecode2
)) {
33717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
33719 arg2
= static_cast< unsigned int >(val2
);
33721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33722 (arg1
)->SetIndent(arg2
);
33723 wxPyEndAllowThreads(__tstate
);
33724 if (PyErr_Occurred()) SWIG_fail
;
33726 resultobj
= SWIG_Py_Void();
33733 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33734 PyObject
*resultobj
= 0;
33735 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33736 unsigned int result
;
33739 PyObject
*swig_obj
[1] ;
33741 if (!args
) SWIG_fail
;
33742 swig_obj
[0] = args
;
33743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33744 if (!SWIG_IsOK(res1
)) {
33745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33747 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33750 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
33751 wxPyEndAllowThreads(__tstate
);
33752 if (PyErr_Occurred()) SWIG_fail
;
33754 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33761 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33762 PyObject
*resultobj
= 0;
33763 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33764 unsigned int arg2
;
33767 unsigned int val2
;
33769 PyObject
* obj0
= 0 ;
33770 PyObject
* obj1
= 0 ;
33771 char * kwnames
[] = {
33772 (char *) "self",(char *) "spacing", NULL
33775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33777 if (!SWIG_IsOK(res1
)) {
33778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33780 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33781 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33782 if (!SWIG_IsOK(ecode2
)) {
33783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
33785 arg2
= static_cast< unsigned int >(val2
);
33787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33788 (arg1
)->SetSpacing(arg2
);
33789 wxPyEndAllowThreads(__tstate
);
33790 if (PyErr_Occurred()) SWIG_fail
;
33792 resultobj
= SWIG_Py_Void();
33799 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33800 PyObject
*resultobj
= 0;
33801 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33802 wxImageList
*result
= 0 ;
33805 PyObject
*swig_obj
[1] ;
33807 if (!args
) SWIG_fail
;
33808 swig_obj
[0] = args
;
33809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33810 if (!SWIG_IsOK(res1
)) {
33811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33813 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33816 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
33817 wxPyEndAllowThreads(__tstate
);
33818 if (PyErr_Occurred()) SWIG_fail
;
33821 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33829 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33830 PyObject
*resultobj
= 0;
33831 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33832 wxImageList
*result
= 0 ;
33835 PyObject
*swig_obj
[1] ;
33837 if (!args
) SWIG_fail
;
33838 swig_obj
[0] = args
;
33839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33840 if (!SWIG_IsOK(res1
)) {
33841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33843 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33846 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
33847 wxPyEndAllowThreads(__tstate
);
33848 if (PyErr_Occurred()) SWIG_fail
;
33851 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33859 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33860 PyObject
*resultobj
= 0;
33861 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33862 wxImageList
*arg2
= (wxImageList
*) 0 ;
33867 PyObject
* obj0
= 0 ;
33868 PyObject
* obj1
= 0 ;
33869 char * kwnames
[] = {
33870 (char *) "self",(char *) "imageList", NULL
33873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33875 if (!SWIG_IsOK(res1
)) {
33876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33878 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33879 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33880 if (!SWIG_IsOK(res2
)) {
33881 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33883 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
33885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33886 (arg1
)->SetImageList(arg2
);
33887 wxPyEndAllowThreads(__tstate
);
33888 if (PyErr_Occurred()) SWIG_fail
;
33890 resultobj
= SWIG_Py_Void();
33897 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33898 PyObject
*resultobj
= 0;
33899 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33900 wxImageList
*arg2
= (wxImageList
*) 0 ;
33905 PyObject
* obj0
= 0 ;
33906 PyObject
* obj1
= 0 ;
33907 char * kwnames
[] = {
33908 (char *) "self",(char *) "imageList", NULL
33911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33913 if (!SWIG_IsOK(res1
)) {
33914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33916 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33917 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33918 if (!SWIG_IsOK(res2
)) {
33919 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33921 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
33923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33924 (arg1
)->SetStateImageList(arg2
);
33925 wxPyEndAllowThreads(__tstate
);
33926 if (PyErr_Occurred()) SWIG_fail
;
33928 resultobj
= SWIG_Py_Void();
33935 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33936 PyObject
*resultobj
= 0;
33937 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33938 wxImageList
*arg2
= (wxImageList
*) 0 ;
33942 PyObject
* obj0
= 0 ;
33943 PyObject
* obj1
= 0 ;
33944 char * kwnames
[] = {
33945 (char *) "self",(char *) "imageList", NULL
33948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33950 if (!SWIG_IsOK(res1
)) {
33951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33953 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33954 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
33955 if (!SWIG_IsOK(res2
)) {
33956 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33960 (arg1
)->AssignImageList(arg2
);
33961 wxPyEndAllowThreads(__tstate
);
33962 if (PyErr_Occurred()) SWIG_fail
;
33964 resultobj
= SWIG_Py_Void();
33971 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33972 PyObject
*resultobj
= 0;
33973 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33974 wxImageList
*arg2
= (wxImageList
*) 0 ;
33978 PyObject
* obj0
= 0 ;
33979 PyObject
* obj1
= 0 ;
33980 char * kwnames
[] = {
33981 (char *) "self",(char *) "imageList", NULL
33984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33986 if (!SWIG_IsOK(res1
)) {
33987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33989 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33990 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
33991 if (!SWIG_IsOK(res2
)) {
33992 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33996 (arg1
)->AssignStateImageList(arg2
);
33997 wxPyEndAllowThreads(__tstate
);
33998 if (PyErr_Occurred()) SWIG_fail
;
34000 resultobj
= SWIG_Py_Void();
34007 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34008 PyObject
*resultobj
= 0;
34009 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34010 wxTreeItemId
*arg2
= 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_GetItemText",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_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
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_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34033 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34035 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34038 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34039 wxPyEndAllowThreads(__tstate
);
34040 if (PyErr_Occurred()) SWIG_fail
;
34044 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34046 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34055 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34056 PyObject
*resultobj
= 0;
34057 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34058 wxTreeItemId
*arg2
= 0 ;
34059 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34067 PyObject
* obj0
= 0 ;
34068 PyObject
* obj1
= 0 ;
34069 PyObject
* obj2
= 0 ;
34070 char * kwnames
[] = {
34071 (char *) "self",(char *) "item",(char *) "which", NULL
34074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34076 if (!SWIG_IsOK(res1
)) {
34077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34079 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34080 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34081 if (!SWIG_IsOK(res2
)) {
34082 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34085 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34087 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34089 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34090 if (!SWIG_IsOK(ecode3
)) {
34091 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34093 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34097 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34098 wxPyEndAllowThreads(__tstate
);
34099 if (PyErr_Occurred()) SWIG_fail
;
34101 resultobj
= SWIG_From_int(static_cast< int >(result
));
34108 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34109 PyObject
*resultobj
= 0;
34110 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34111 wxTreeItemId
*arg2
= 0 ;
34112 wxPyTreeItemData
*result
= 0 ;
34117 PyObject
* obj0
= 0 ;
34118 PyObject
* obj1
= 0 ;
34119 char * kwnames
[] = {
34120 (char *) "self",(char *) "item", NULL
34123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34125 if (!SWIG_IsOK(res1
)) {
34126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34128 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34129 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34130 if (!SWIG_IsOK(res2
)) {
34131 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34134 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34136 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34139 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34140 wxPyEndAllowThreads(__tstate
);
34141 if (PyErr_Occurred()) SWIG_fail
;
34143 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34150 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34151 PyObject
*resultobj
= 0;
34152 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34153 wxTreeItemId
*arg2
= 0 ;
34154 PyObject
*result
= 0 ;
34159 PyObject
* obj0
= 0 ;
34160 PyObject
* obj1
= 0 ;
34161 char * kwnames
[] = {
34162 (char *) "self",(char *) "item", NULL
34165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34167 if (!SWIG_IsOK(res1
)) {
34168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34170 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34171 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34172 if (!SWIG_IsOK(res2
)) {
34173 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34176 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34178 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34181 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34182 wxPyEndAllowThreads(__tstate
);
34183 if (PyErr_Occurred()) SWIG_fail
;
34185 resultobj
= result
;
34192 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34193 PyObject
*resultobj
= 0;
34194 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34195 wxTreeItemId
*arg2
= 0 ;
34201 PyObject
* obj0
= 0 ;
34202 PyObject
* obj1
= 0 ;
34203 char * kwnames
[] = {
34204 (char *) "self",(char *) "item", NULL
34207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34209 if (!SWIG_IsOK(res1
)) {
34210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34212 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34213 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34214 if (!SWIG_IsOK(res2
)) {
34215 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34218 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34220 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34223 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34224 wxPyEndAllowThreads(__tstate
);
34225 if (PyErr_Occurred()) SWIG_fail
;
34227 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34234 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34235 PyObject
*resultobj
= 0;
34236 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34237 wxTreeItemId
*arg2
= 0 ;
34243 PyObject
* obj0
= 0 ;
34244 PyObject
* obj1
= 0 ;
34245 char * kwnames
[] = {
34246 (char *) "self",(char *) "item", NULL
34249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34251 if (!SWIG_IsOK(res1
)) {
34252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34254 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34255 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34256 if (!SWIG_IsOK(res2
)) {
34257 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34260 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34262 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34265 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34266 wxPyEndAllowThreads(__tstate
);
34267 if (PyErr_Occurred()) SWIG_fail
;
34269 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34276 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34277 PyObject
*resultobj
= 0;
34278 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34279 wxTreeItemId
*arg2
= 0 ;
34285 PyObject
* obj0
= 0 ;
34286 PyObject
* obj1
= 0 ;
34287 char * kwnames
[] = {
34288 (char *) "self",(char *) "item", NULL
34291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34293 if (!SWIG_IsOK(res1
)) {
34294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34296 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34297 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34298 if (!SWIG_IsOK(res2
)) {
34299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34302 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34304 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34307 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34308 wxPyEndAllowThreads(__tstate
);
34309 if (PyErr_Occurred()) SWIG_fail
;
34311 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34318 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34319 PyObject
*resultobj
= 0;
34320 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34321 wxTreeItemId
*arg2
= 0 ;
34322 wxString
*arg3
= 0 ;
34327 bool temp3
= false ;
34328 PyObject
* obj0
= 0 ;
34329 PyObject
* obj1
= 0 ;
34330 PyObject
* obj2
= 0 ;
34331 char * kwnames
[] = {
34332 (char *) "self",(char *) "item",(char *) "text", NULL
34335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34337 if (!SWIG_IsOK(res1
)) {
34338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34340 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34341 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34342 if (!SWIG_IsOK(res2
)) {
34343 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34346 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34348 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34350 arg3
= wxString_in_helper(obj2
);
34351 if (arg3
== NULL
) SWIG_fail
;
34355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34356 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34357 wxPyEndAllowThreads(__tstate
);
34358 if (PyErr_Occurred()) SWIG_fail
;
34360 resultobj
= SWIG_Py_Void();
34375 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34376 PyObject
*resultobj
= 0;
34377 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34378 wxTreeItemId
*arg2
= 0 ;
34380 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34389 PyObject
* obj0
= 0 ;
34390 PyObject
* obj1
= 0 ;
34391 PyObject
* obj2
= 0 ;
34392 PyObject
* obj3
= 0 ;
34393 char * kwnames
[] = {
34394 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34399 if (!SWIG_IsOK(res1
)) {
34400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34402 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34403 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34404 if (!SWIG_IsOK(res2
)) {
34405 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34408 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34410 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34411 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34412 if (!SWIG_IsOK(ecode3
)) {
34413 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34415 arg3
= static_cast< int >(val3
);
34417 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34418 if (!SWIG_IsOK(ecode4
)) {
34419 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34421 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34425 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34426 wxPyEndAllowThreads(__tstate
);
34427 if (PyErr_Occurred()) SWIG_fail
;
34429 resultobj
= SWIG_Py_Void();
34436 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34437 PyObject
*resultobj
= 0;
34438 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34439 wxTreeItemId
*arg2
= 0 ;
34440 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34446 PyObject
* obj0
= 0 ;
34447 PyObject
* obj1
= 0 ;
34448 PyObject
* obj2
= 0 ;
34449 char * kwnames
[] = {
34450 (char *) "self",(char *) "item",(char *) "data", NULL
34453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34455 if (!SWIG_IsOK(res1
)) {
34456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34458 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34459 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34460 if (!SWIG_IsOK(res2
)) {
34461 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34464 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34466 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34467 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34468 if (!SWIG_IsOK(res3
)) {
34469 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34473 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34474 wxPyEndAllowThreads(__tstate
);
34475 if (PyErr_Occurred()) SWIG_fail
;
34477 resultobj
= SWIG_Py_Void();
34484 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34485 PyObject
*resultobj
= 0;
34486 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34487 wxTreeItemId
*arg2
= 0 ;
34488 PyObject
*arg3
= (PyObject
*) 0 ;
34493 PyObject
* obj0
= 0 ;
34494 PyObject
* obj1
= 0 ;
34495 PyObject
* obj2
= 0 ;
34496 char * kwnames
[] = {
34497 (char *) "self",(char *) "item",(char *) "obj", NULL
34500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34502 if (!SWIG_IsOK(res1
)) {
34503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34505 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34506 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34507 if (!SWIG_IsOK(res2
)) {
34508 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34511 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34513 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34517 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34518 wxPyEndAllowThreads(__tstate
);
34519 if (PyErr_Occurred()) SWIG_fail
;
34521 resultobj
= SWIG_Py_Void();
34528 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34529 PyObject
*resultobj
= 0;
34530 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34531 wxTreeItemId
*arg2
= 0 ;
34532 bool arg3
= (bool) true ;
34539 PyObject
* obj0
= 0 ;
34540 PyObject
* obj1
= 0 ;
34541 PyObject
* obj2
= 0 ;
34542 char * kwnames
[] = {
34543 (char *) "self",(char *) "item",(char *) "has", NULL
34546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34548 if (!SWIG_IsOK(res1
)) {
34549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34551 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34552 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34553 if (!SWIG_IsOK(res2
)) {
34554 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34557 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34559 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34561 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34562 if (!SWIG_IsOK(ecode3
)) {
34563 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34565 arg3
= static_cast< bool >(val3
);
34568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34569 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
34570 wxPyEndAllowThreads(__tstate
);
34571 if (PyErr_Occurred()) SWIG_fail
;
34573 resultobj
= SWIG_Py_Void();
34580 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34581 PyObject
*resultobj
= 0;
34582 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34583 wxTreeItemId
*arg2
= 0 ;
34584 bool arg3
= (bool) true ;
34591 PyObject
* obj0
= 0 ;
34592 PyObject
* obj1
= 0 ;
34593 PyObject
* obj2
= 0 ;
34594 char * kwnames
[] = {
34595 (char *) "self",(char *) "item",(char *) "bold", NULL
34598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34600 if (!SWIG_IsOK(res1
)) {
34601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34603 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34604 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34605 if (!SWIG_IsOK(res2
)) {
34606 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34609 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34611 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34613 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34614 if (!SWIG_IsOK(ecode3
)) {
34615 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
34617 arg3
= static_cast< bool >(val3
);
34620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34621 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
34622 wxPyEndAllowThreads(__tstate
);
34623 if (PyErr_Occurred()) SWIG_fail
;
34625 resultobj
= SWIG_Py_Void();
34632 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34633 PyObject
*resultobj
= 0;
34634 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34635 wxTreeItemId
*arg2
= 0 ;
34636 bool arg3
= (bool) true ;
34643 PyObject
* obj0
= 0 ;
34644 PyObject
* obj1
= 0 ;
34645 PyObject
* obj2
= 0 ;
34646 char * kwnames
[] = {
34647 (char *) "self",(char *) "item",(char *) "highlight", NULL
34650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34652 if (!SWIG_IsOK(res1
)) {
34653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34655 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34656 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34657 if (!SWIG_IsOK(res2
)) {
34658 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34661 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34663 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34665 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34666 if (!SWIG_IsOK(ecode3
)) {
34667 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
34669 arg3
= static_cast< bool >(val3
);
34672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34673 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
34674 wxPyEndAllowThreads(__tstate
);
34675 if (PyErr_Occurred()) SWIG_fail
;
34677 resultobj
= SWIG_Py_Void();
34684 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34685 PyObject
*resultobj
= 0;
34686 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34687 wxTreeItemId
*arg2
= 0 ;
34688 wxColour
*arg3
= 0 ;
34694 PyObject
* obj0
= 0 ;
34695 PyObject
* obj1
= 0 ;
34696 PyObject
* obj2
= 0 ;
34697 char * kwnames
[] = {
34698 (char *) "self",(char *) "item",(char *) "col", NULL
34701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34703 if (!SWIG_IsOK(res1
)) {
34704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34706 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34707 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34708 if (!SWIG_IsOK(res2
)) {
34709 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34712 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34714 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34717 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34721 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34722 wxPyEndAllowThreads(__tstate
);
34723 if (PyErr_Occurred()) SWIG_fail
;
34725 resultobj
= SWIG_Py_Void();
34732 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34733 PyObject
*resultobj
= 0;
34734 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34735 wxTreeItemId
*arg2
= 0 ;
34736 wxColour
*arg3
= 0 ;
34742 PyObject
* obj0
= 0 ;
34743 PyObject
* obj1
= 0 ;
34744 PyObject
* obj2
= 0 ;
34745 char * kwnames
[] = {
34746 (char *) "self",(char *) "item",(char *) "col", NULL
34749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) 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_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
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_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34760 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34762 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34765 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34769 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34770 wxPyEndAllowThreads(__tstate
);
34771 if (PyErr_Occurred()) SWIG_fail
;
34773 resultobj
= SWIG_Py_Void();
34780 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34781 PyObject
*resultobj
= 0;
34782 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34783 wxTreeItemId
*arg2
= 0 ;
34791 PyObject
* obj0
= 0 ;
34792 PyObject
* obj1
= 0 ;
34793 PyObject
* obj2
= 0 ;
34794 char * kwnames
[] = {
34795 (char *) "self",(char *) "item",(char *) "font", NULL
34798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34800 if (!SWIG_IsOK(res1
)) {
34801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34803 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34804 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34805 if (!SWIG_IsOK(res2
)) {
34806 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34809 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34811 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34812 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
34813 if (!SWIG_IsOK(res3
)) {
34814 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34817 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34819 arg3
= reinterpret_cast< wxFont
* >(argp3
);
34821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34822 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
34823 wxPyEndAllowThreads(__tstate
);
34824 if (PyErr_Occurred()) SWIG_fail
;
34826 resultobj
= SWIG_Py_Void();
34833 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34834 PyObject
*resultobj
= 0;
34835 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34836 wxTreeItemId
*arg2
= 0 ;
34842 PyObject
* obj0
= 0 ;
34843 PyObject
* obj1
= 0 ;
34844 char * kwnames
[] = {
34845 (char *) "self",(char *) "item", NULL
34848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34850 if (!SWIG_IsOK(res1
)) {
34851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34853 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34854 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34855 if (!SWIG_IsOK(res2
)) {
34856 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34859 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34861 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34864 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
34865 wxPyEndAllowThreads(__tstate
);
34866 if (PyErr_Occurred()) SWIG_fail
;
34869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34877 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34878 PyObject
*resultobj
= 0;
34879 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34880 wxTreeItemId
*arg2
= 0 ;
34886 PyObject
* obj0
= 0 ;
34887 PyObject
* obj1
= 0 ;
34888 char * kwnames
[] = {
34889 (char *) "self",(char *) "item", NULL
34892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34894 if (!SWIG_IsOK(res1
)) {
34895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34897 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34898 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34899 if (!SWIG_IsOK(res2
)) {
34900 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34903 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34905 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34908 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
34909 wxPyEndAllowThreads(__tstate
);
34910 if (PyErr_Occurred()) SWIG_fail
;
34913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34921 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34922 PyObject
*resultobj
= 0;
34923 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34924 wxTreeItemId
*arg2
= 0 ;
34930 PyObject
* obj0
= 0 ;
34931 PyObject
* obj1
= 0 ;
34932 char * kwnames
[] = {
34933 (char *) "self",(char *) "item", NULL
34936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34938 if (!SWIG_IsOK(res1
)) {
34939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34941 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34942 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34943 if (!SWIG_IsOK(res2
)) {
34944 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34947 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34949 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34952 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
34953 wxPyEndAllowThreads(__tstate
);
34954 if (PyErr_Occurred()) SWIG_fail
;
34957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34965 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34966 PyObject
*resultobj
= 0;
34967 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34968 wxTreeItemId
*arg2
= 0 ;
34974 PyObject
* obj0
= 0 ;
34975 PyObject
* obj1
= 0 ;
34976 char * kwnames
[] = {
34977 (char *) "self",(char *) "item", NULL
34980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34982 if (!SWIG_IsOK(res1
)) {
34983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34985 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34986 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34987 if (!SWIG_IsOK(res2
)) {
34988 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34991 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34993 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34996 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
34997 wxPyEndAllowThreads(__tstate
);
34998 if (PyErr_Occurred()) SWIG_fail
;
35001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35009 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35010 PyObject
*resultobj
= 0;
35011 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35012 wxTreeItemId
*arg2
= 0 ;
35018 PyObject
* obj0
= 0 ;
35019 PyObject
* obj1
= 0 ;
35020 char * kwnames
[] = {
35021 (char *) "self",(char *) "item", NULL
35024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35026 if (!SWIG_IsOK(res1
)) {
35027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35029 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35030 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35031 if (!SWIG_IsOK(res2
)) {
35032 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35035 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35037 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35040 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35041 wxPyEndAllowThreads(__tstate
);
35042 if (PyErr_Occurred()) SWIG_fail
;
35045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35053 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35054 PyObject
*resultobj
= 0;
35055 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35056 wxTreeItemId
*arg2
= 0 ;
35057 bool arg3
= (bool) true ;
35065 PyObject
* obj0
= 0 ;
35066 PyObject
* obj1
= 0 ;
35067 PyObject
* obj2
= 0 ;
35068 char * kwnames
[] = {
35069 (char *) "self",(char *) "item",(char *) "recursively", NULL
35072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35074 if (!SWIG_IsOK(res1
)) {
35075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35077 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35078 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35079 if (!SWIG_IsOK(res2
)) {
35080 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35083 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35085 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35087 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35088 if (!SWIG_IsOK(ecode3
)) {
35089 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35091 arg3
= static_cast< bool >(val3
);
35094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35095 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35096 wxPyEndAllowThreads(__tstate
);
35097 if (PyErr_Occurred()) SWIG_fail
;
35099 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35106 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35107 PyObject
*resultobj
= 0;
35108 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35109 wxTreeItemId result
;
35112 PyObject
*swig_obj
[1] ;
35114 if (!args
) SWIG_fail
;
35115 swig_obj
[0] = args
;
35116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35117 if (!SWIG_IsOK(res1
)) {
35118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35120 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35123 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35124 wxPyEndAllowThreads(__tstate
);
35125 if (PyErr_Occurred()) SWIG_fail
;
35127 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35134 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35135 PyObject
*resultobj
= 0;
35136 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35137 wxTreeItemId result
;
35140 PyObject
*swig_obj
[1] ;
35142 if (!args
) SWIG_fail
;
35143 swig_obj
[0] = args
;
35144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35145 if (!SWIG_IsOK(res1
)) {
35146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35148 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35151 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35152 wxPyEndAllowThreads(__tstate
);
35153 if (PyErr_Occurred()) SWIG_fail
;
35155 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35162 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35163 PyObject
*resultobj
= 0;
35164 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35165 PyObject
*result
= 0 ;
35168 PyObject
*swig_obj
[1] ;
35170 if (!args
) SWIG_fail
;
35171 swig_obj
[0] = args
;
35172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35173 if (!SWIG_IsOK(res1
)) {
35174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35176 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35179 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35180 wxPyEndAllowThreads(__tstate
);
35181 if (PyErr_Occurred()) SWIG_fail
;
35183 resultobj
= result
;
35190 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35191 PyObject
*resultobj
= 0;
35192 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35193 wxTreeItemId
*arg2
= 0 ;
35194 wxTreeItemId result
;
35199 PyObject
* obj0
= 0 ;
35200 PyObject
* obj1
= 0 ;
35201 char * kwnames
[] = {
35202 (char *) "self",(char *) "item", NULL
35205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35207 if (!SWIG_IsOK(res1
)) {
35208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35210 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35211 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35212 if (!SWIG_IsOK(res2
)) {
35213 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35216 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35218 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35221 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35222 wxPyEndAllowThreads(__tstate
);
35223 if (PyErr_Occurred()) SWIG_fail
;
35225 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35232 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35233 PyObject
*resultobj
= 0;
35234 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35235 wxTreeItemId
*arg2
= 0 ;
35236 PyObject
*result
= 0 ;
35241 PyObject
* obj0
= 0 ;
35242 PyObject
* obj1
= 0 ;
35243 char * kwnames
[] = {
35244 (char *) "self",(char *) "item", NULL
35247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35249 if (!SWIG_IsOK(res1
)) {
35250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35252 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35253 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35254 if (!SWIG_IsOK(res2
)) {
35255 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35258 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35260 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35263 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35264 wxPyEndAllowThreads(__tstate
);
35265 if (PyErr_Occurred()) SWIG_fail
;
35267 resultobj
= result
;
35274 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35275 PyObject
*resultobj
= 0;
35276 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35277 wxTreeItemId
*arg2
= 0 ;
35278 void *arg3
= (void *) 0 ;
35279 PyObject
*result
= 0 ;
35285 PyObject
* obj0
= 0 ;
35286 PyObject
* obj1
= 0 ;
35287 PyObject
* obj2
= 0 ;
35288 char * kwnames
[] = {
35289 (char *) "self",(char *) "item",(char *) "cookie", NULL
35292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35294 if (!SWIG_IsOK(res1
)) {
35295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35297 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35298 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35299 if (!SWIG_IsOK(res2
)) {
35300 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35303 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35305 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35306 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35307 if (!SWIG_IsOK(res3
)) {
35308 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35312 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35313 wxPyEndAllowThreads(__tstate
);
35314 if (PyErr_Occurred()) SWIG_fail
;
35316 resultobj
= result
;
35323 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35324 PyObject
*resultobj
= 0;
35325 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35326 wxTreeItemId
*arg2
= 0 ;
35327 wxTreeItemId result
;
35332 PyObject
* obj0
= 0 ;
35333 PyObject
* obj1
= 0 ;
35334 char * kwnames
[] = {
35335 (char *) "self",(char *) "item", NULL
35338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35340 if (!SWIG_IsOK(res1
)) {
35341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35343 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35344 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35345 if (!SWIG_IsOK(res2
)) {
35346 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35349 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35351 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35354 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35355 wxPyEndAllowThreads(__tstate
);
35356 if (PyErr_Occurred()) SWIG_fail
;
35358 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35365 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35366 PyObject
*resultobj
= 0;
35367 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35368 wxTreeItemId
*arg2
= 0 ;
35369 wxTreeItemId result
;
35374 PyObject
* obj0
= 0 ;
35375 PyObject
* obj1
= 0 ;
35376 char * kwnames
[] = {
35377 (char *) "self",(char *) "item", NULL
35380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35382 if (!SWIG_IsOK(res1
)) {
35383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35385 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35386 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35387 if (!SWIG_IsOK(res2
)) {
35388 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35391 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35393 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35396 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35397 wxPyEndAllowThreads(__tstate
);
35398 if (PyErr_Occurred()) SWIG_fail
;
35400 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35407 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35408 PyObject
*resultobj
= 0;
35409 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35410 wxTreeItemId
*arg2
= 0 ;
35411 wxTreeItemId result
;
35416 PyObject
* obj0
= 0 ;
35417 PyObject
* obj1
= 0 ;
35418 char * kwnames
[] = {
35419 (char *) "self",(char *) "item", NULL
35422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35424 if (!SWIG_IsOK(res1
)) {
35425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35427 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35428 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35429 if (!SWIG_IsOK(res2
)) {
35430 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35433 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35435 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35438 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35439 wxPyEndAllowThreads(__tstate
);
35440 if (PyErr_Occurred()) SWIG_fail
;
35442 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35449 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35450 PyObject
*resultobj
= 0;
35451 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35452 wxTreeItemId result
;
35455 PyObject
*swig_obj
[1] ;
35457 if (!args
) SWIG_fail
;
35458 swig_obj
[0] = args
;
35459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35460 if (!SWIG_IsOK(res1
)) {
35461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35463 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35466 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35467 wxPyEndAllowThreads(__tstate
);
35468 if (PyErr_Occurred()) SWIG_fail
;
35470 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35477 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35478 PyObject
*resultobj
= 0;
35479 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35480 wxTreeItemId
*arg2
= 0 ;
35481 wxTreeItemId result
;
35486 PyObject
* obj0
= 0 ;
35487 PyObject
* obj1
= 0 ;
35488 char * kwnames
[] = {
35489 (char *) "self",(char *) "item", NULL
35492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35494 if (!SWIG_IsOK(res1
)) {
35495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35497 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35498 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35499 if (!SWIG_IsOK(res2
)) {
35500 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35503 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35505 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35508 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35509 wxPyEndAllowThreads(__tstate
);
35510 if (PyErr_Occurred()) SWIG_fail
;
35512 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35519 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35520 PyObject
*resultobj
= 0;
35521 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35522 wxTreeItemId
*arg2
= 0 ;
35523 wxTreeItemId result
;
35528 PyObject
* obj0
= 0 ;
35529 PyObject
* obj1
= 0 ;
35530 char * kwnames
[] = {
35531 (char *) "self",(char *) "item", NULL
35534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35536 if (!SWIG_IsOK(res1
)) {
35537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35539 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35540 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35541 if (!SWIG_IsOK(res2
)) {
35542 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35545 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35547 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35550 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
35551 wxPyEndAllowThreads(__tstate
);
35552 if (PyErr_Occurred()) SWIG_fail
;
35554 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35561 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35562 PyObject
*resultobj
= 0;
35563 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35564 wxString
*arg2
= 0 ;
35565 int arg3
= (int) -1 ;
35566 int arg4
= (int) -1 ;
35567 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
35568 wxTreeItemId result
;
35571 bool temp2
= false ;
35577 PyObject
* obj0
= 0 ;
35578 PyObject
* obj1
= 0 ;
35579 PyObject
* obj2
= 0 ;
35580 PyObject
* obj3
= 0 ;
35581 PyObject
* obj4
= 0 ;
35582 char * kwnames
[] = {
35583 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35588 if (!SWIG_IsOK(res1
)) {
35589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35591 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35593 arg2
= wxString_in_helper(obj1
);
35594 if (arg2
== NULL
) SWIG_fail
;
35598 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35599 if (!SWIG_IsOK(ecode3
)) {
35600 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
35602 arg3
= static_cast< int >(val3
);
35605 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35606 if (!SWIG_IsOK(ecode4
)) {
35607 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
35609 arg4
= static_cast< int >(val4
);
35612 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35613 if (!SWIG_IsOK(res5
)) {
35614 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
35618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35619 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
35620 wxPyEndAllowThreads(__tstate
);
35621 if (PyErr_Occurred()) SWIG_fail
;
35623 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35638 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35639 PyObject
*resultobj
= 0;
35640 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35641 wxTreeItemId
*arg2
= 0 ;
35642 wxString
*arg3
= 0 ;
35643 int arg4
= (int) -1 ;
35644 int arg5
= (int) -1 ;
35645 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35646 wxTreeItemId result
;
35651 bool temp3
= false ;
35657 PyObject
* obj0
= 0 ;
35658 PyObject
* obj1
= 0 ;
35659 PyObject
* obj2
= 0 ;
35660 PyObject
* obj3
= 0 ;
35661 PyObject
* obj4
= 0 ;
35662 PyObject
* obj5
= 0 ;
35663 char * kwnames
[] = {
35664 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35669 if (!SWIG_IsOK(res1
)) {
35670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35672 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35673 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35674 if (!SWIG_IsOK(res2
)) {
35675 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35678 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35680 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35682 arg3
= wxString_in_helper(obj2
);
35683 if (arg3
== NULL
) SWIG_fail
;
35687 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35688 if (!SWIG_IsOK(ecode4
)) {
35689 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
35691 arg4
= static_cast< int >(val4
);
35694 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35695 if (!SWIG_IsOK(ecode5
)) {
35696 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
35698 arg5
= static_cast< int >(val5
);
35701 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35702 if (!SWIG_IsOK(res6
)) {
35703 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35708 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35709 wxPyEndAllowThreads(__tstate
);
35710 if (PyErr_Occurred()) SWIG_fail
;
35712 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35727 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35728 PyObject
*resultobj
= 0;
35729 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35730 wxTreeItemId
*arg2
= 0 ;
35731 wxTreeItemId
*arg3
= 0 ;
35732 wxString
*arg4
= 0 ;
35733 int arg5
= (int) -1 ;
35734 int arg6
= (int) -1 ;
35735 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35736 wxTreeItemId result
;
35743 bool temp4
= false ;
35749 PyObject
* obj0
= 0 ;
35750 PyObject
* obj1
= 0 ;
35751 PyObject
* obj2
= 0 ;
35752 PyObject
* obj3
= 0 ;
35753 PyObject
* obj4
= 0 ;
35754 PyObject
* obj5
= 0 ;
35755 PyObject
* obj6
= 0 ;
35756 char * kwnames
[] = {
35757 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35762 if (!SWIG_IsOK(res1
)) {
35763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35765 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35766 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35767 if (!SWIG_IsOK(res2
)) {
35768 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35771 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35773 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35774 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35775 if (!SWIG_IsOK(res3
)) {
35776 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35779 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35781 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
35783 arg4
= wxString_in_helper(obj3
);
35784 if (arg4
== NULL
) SWIG_fail
;
35788 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35789 if (!SWIG_IsOK(ecode5
)) {
35790 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
35792 arg5
= static_cast< int >(val5
);
35795 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35796 if (!SWIG_IsOK(ecode6
)) {
35797 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
35799 arg6
= static_cast< int >(val6
);
35802 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35803 if (!SWIG_IsOK(res7
)) {
35804 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35809 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35810 wxPyEndAllowThreads(__tstate
);
35811 if (PyErr_Occurred()) SWIG_fail
;
35813 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35828 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35829 PyObject
*resultobj
= 0;
35830 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35831 wxTreeItemId
*arg2
= 0 ;
35833 wxString
*arg4
= 0 ;
35834 int arg5
= (int) -1 ;
35835 int arg6
= (int) -1 ;
35836 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35837 wxTreeItemId result
;
35844 bool temp4
= false ;
35850 PyObject
* obj0
= 0 ;
35851 PyObject
* obj1
= 0 ;
35852 PyObject
* obj2
= 0 ;
35853 PyObject
* obj3
= 0 ;
35854 PyObject
* obj4
= 0 ;
35855 PyObject
* obj5
= 0 ;
35856 PyObject
* obj6
= 0 ;
35857 char * kwnames
[] = {
35858 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35863 if (!SWIG_IsOK(res1
)) {
35864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35866 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35867 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35868 if (!SWIG_IsOK(res2
)) {
35869 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35872 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35874 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35875 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
35876 if (!SWIG_IsOK(ecode3
)) {
35877 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
35879 arg3
= static_cast< size_t >(val3
);
35881 arg4
= wxString_in_helper(obj3
);
35882 if (arg4
== NULL
) SWIG_fail
;
35886 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35887 if (!SWIG_IsOK(ecode5
)) {
35888 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
35890 arg5
= static_cast< int >(val5
);
35893 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35894 if (!SWIG_IsOK(ecode6
)) {
35895 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
35897 arg6
= static_cast< int >(val6
);
35900 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35901 if (!SWIG_IsOK(res7
)) {
35902 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35907 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35908 wxPyEndAllowThreads(__tstate
);
35909 if (PyErr_Occurred()) SWIG_fail
;
35911 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35926 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35927 PyObject
*resultobj
= 0;
35928 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35929 wxTreeItemId
*arg2
= 0 ;
35930 wxString
*arg3
= 0 ;
35931 int arg4
= (int) -1 ;
35932 int arg5
= (int) -1 ;
35933 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35934 wxTreeItemId result
;
35939 bool temp3
= false ;
35945 PyObject
* obj0
= 0 ;
35946 PyObject
* obj1
= 0 ;
35947 PyObject
* obj2
= 0 ;
35948 PyObject
* obj3
= 0 ;
35949 PyObject
* obj4
= 0 ;
35950 PyObject
* obj5
= 0 ;
35951 char * kwnames
[] = {
35952 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35957 if (!SWIG_IsOK(res1
)) {
35958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35960 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35961 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35962 if (!SWIG_IsOK(res2
)) {
35963 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35966 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35968 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35970 arg3
= wxString_in_helper(obj2
);
35971 if (arg3
== NULL
) SWIG_fail
;
35975 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35976 if (!SWIG_IsOK(ecode4
)) {
35977 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
35979 arg4
= static_cast< int >(val4
);
35982 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35983 if (!SWIG_IsOK(ecode5
)) {
35984 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
35986 arg5
= static_cast< int >(val5
);
35989 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35990 if (!SWIG_IsOK(res6
)) {
35991 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35996 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35997 wxPyEndAllowThreads(__tstate
);
35998 if (PyErr_Occurred()) SWIG_fail
;
36000 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36015 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36016 PyObject
*resultobj
= 0;
36017 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36018 wxTreeItemId
*arg2
= 0 ;
36023 PyObject
* obj0
= 0 ;
36024 PyObject
* obj1
= 0 ;
36025 char * kwnames
[] = {
36026 (char *) "self",(char *) "item", NULL
36029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36031 if (!SWIG_IsOK(res1
)) {
36032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36034 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36035 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36036 if (!SWIG_IsOK(res2
)) {
36037 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36040 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36042 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36045 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36046 wxPyEndAllowThreads(__tstate
);
36047 if (PyErr_Occurred()) SWIG_fail
;
36049 resultobj
= SWIG_Py_Void();
36056 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36057 PyObject
*resultobj
= 0;
36058 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36059 wxTreeItemId
*arg2
= 0 ;
36064 PyObject
* obj0
= 0 ;
36065 PyObject
* obj1
= 0 ;
36066 char * kwnames
[] = {
36067 (char *) "self",(char *) "item", NULL
36070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36072 if (!SWIG_IsOK(res1
)) {
36073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36075 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36076 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36077 if (!SWIG_IsOK(res2
)) {
36078 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36081 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36083 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36086 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36087 wxPyEndAllowThreads(__tstate
);
36088 if (PyErr_Occurred()) SWIG_fail
;
36090 resultobj
= SWIG_Py_Void();
36097 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36098 PyObject
*resultobj
= 0;
36099 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36102 PyObject
*swig_obj
[1] ;
36104 if (!args
) SWIG_fail
;
36105 swig_obj
[0] = args
;
36106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36107 if (!SWIG_IsOK(res1
)) {
36108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36110 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36113 (arg1
)->DeleteAllItems();
36114 wxPyEndAllowThreads(__tstate
);
36115 if (PyErr_Occurred()) SWIG_fail
;
36117 resultobj
= SWIG_Py_Void();
36124 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36125 PyObject
*resultobj
= 0;
36126 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36127 wxTreeItemId
*arg2
= 0 ;
36132 PyObject
* obj0
= 0 ;
36133 PyObject
* obj1
= 0 ;
36134 char * kwnames
[] = {
36135 (char *) "self",(char *) "item", NULL
36138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36140 if (!SWIG_IsOK(res1
)) {
36141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36143 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36144 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36145 if (!SWIG_IsOK(res2
)) {
36146 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36149 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36151 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36154 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36155 wxPyEndAllowThreads(__tstate
);
36156 if (PyErr_Occurred()) SWIG_fail
;
36158 resultobj
= SWIG_Py_Void();
36165 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36166 PyObject
*resultobj
= 0;
36167 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36168 wxTreeItemId
*arg2
= 0 ;
36173 PyObject
* obj0
= 0 ;
36174 PyObject
* obj1
= 0 ;
36175 char * kwnames
[] = {
36176 (char *) "self",(char *) "item", NULL
36179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36181 if (!SWIG_IsOK(res1
)) {
36182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36184 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36185 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36186 if (!SWIG_IsOK(res2
)) {
36187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36190 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36192 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36195 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36196 wxPyEndAllowThreads(__tstate
);
36197 if (PyErr_Occurred()) SWIG_fail
;
36199 resultobj
= SWIG_Py_Void();
36206 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36207 PyObject
*resultobj
= 0;
36208 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36209 wxTreeItemId
*arg2
= 0 ;
36214 PyObject
* obj0
= 0 ;
36215 PyObject
* obj1
= 0 ;
36216 char * kwnames
[] = {
36217 (char *) "self",(char *) "item", NULL
36220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36222 if (!SWIG_IsOK(res1
)) {
36223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36225 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36226 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36227 if (!SWIG_IsOK(res2
)) {
36228 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36231 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36233 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36236 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36237 wxPyEndAllowThreads(__tstate
);
36238 if (PyErr_Occurred()) SWIG_fail
;
36240 resultobj
= SWIG_Py_Void();
36247 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36248 PyObject
*resultobj
= 0;
36249 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36250 wxTreeItemId
*arg2
= 0 ;
36255 PyObject
* obj0
= 0 ;
36256 PyObject
* obj1
= 0 ;
36257 char * kwnames
[] = {
36258 (char *) "self",(char *) "item", NULL
36261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36263 if (!SWIG_IsOK(res1
)) {
36264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36266 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36267 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36268 if (!SWIG_IsOK(res2
)) {
36269 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36272 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36274 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36277 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36278 wxPyEndAllowThreads(__tstate
);
36279 if (PyErr_Occurred()) SWIG_fail
;
36281 resultobj
= SWIG_Py_Void();
36288 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36289 PyObject
*resultobj
= 0;
36290 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36293 PyObject
*swig_obj
[1] ;
36295 if (!args
) SWIG_fail
;
36296 swig_obj
[0] = args
;
36297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36298 if (!SWIG_IsOK(res1
)) {
36299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36301 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36304 (arg1
)->Unselect();
36305 wxPyEndAllowThreads(__tstate
);
36306 if (PyErr_Occurred()) SWIG_fail
;
36308 resultobj
= SWIG_Py_Void();
36315 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36316 PyObject
*resultobj
= 0;
36317 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36318 wxTreeItemId
*arg2
= 0 ;
36323 PyObject
* obj0
= 0 ;
36324 PyObject
* obj1
= 0 ;
36325 char * kwnames
[] = {
36326 (char *) "self",(char *) "item", NULL
36329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36331 if (!SWIG_IsOK(res1
)) {
36332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36334 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36335 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36336 if (!SWIG_IsOK(res2
)) {
36337 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36340 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36342 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36345 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36346 wxPyEndAllowThreads(__tstate
);
36347 if (PyErr_Occurred()) SWIG_fail
;
36349 resultobj
= SWIG_Py_Void();
36356 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36357 PyObject
*resultobj
= 0;
36358 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36361 PyObject
*swig_obj
[1] ;
36363 if (!args
) SWIG_fail
;
36364 swig_obj
[0] = args
;
36365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36366 if (!SWIG_IsOK(res1
)) {
36367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36369 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36372 (arg1
)->UnselectAll();
36373 wxPyEndAllowThreads(__tstate
);
36374 if (PyErr_Occurred()) SWIG_fail
;
36376 resultobj
= SWIG_Py_Void();
36383 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36384 PyObject
*resultobj
= 0;
36385 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36386 wxTreeItemId
*arg2
= 0 ;
36387 bool arg3
= (bool) true ;
36394 PyObject
* obj0
= 0 ;
36395 PyObject
* obj1
= 0 ;
36396 PyObject
* obj2
= 0 ;
36397 char * kwnames
[] = {
36398 (char *) "self",(char *) "item",(char *) "select", NULL
36401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36403 if (!SWIG_IsOK(res1
)) {
36404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36406 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36407 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36408 if (!SWIG_IsOK(res2
)) {
36409 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36412 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36414 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36416 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36417 if (!SWIG_IsOK(ecode3
)) {
36418 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36420 arg3
= static_cast< bool >(val3
);
36423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36424 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36425 wxPyEndAllowThreads(__tstate
);
36426 if (PyErr_Occurred()) SWIG_fail
;
36428 resultobj
= SWIG_Py_Void();
36435 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36436 PyObject
*resultobj
= 0;
36437 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36438 wxTreeItemId
*arg2
= 0 ;
36443 PyObject
* obj0
= 0 ;
36444 PyObject
* obj1
= 0 ;
36445 char * kwnames
[] = {
36446 (char *) "self",(char *) "item", NULL
36449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36451 if (!SWIG_IsOK(res1
)) {
36452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36454 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36455 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36456 if (!SWIG_IsOK(res2
)) {
36457 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36460 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36462 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36465 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
36466 wxPyEndAllowThreads(__tstate
);
36467 if (PyErr_Occurred()) SWIG_fail
;
36469 resultobj
= SWIG_Py_Void();
36476 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36477 PyObject
*resultobj
= 0;
36478 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36479 wxTreeItemId
*arg2
= 0 ;
36484 PyObject
* obj0
= 0 ;
36485 PyObject
* obj1
= 0 ;
36486 char * kwnames
[] = {
36487 (char *) "self",(char *) "item", NULL
36490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36492 if (!SWIG_IsOK(res1
)) {
36493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36495 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36496 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36497 if (!SWIG_IsOK(res2
)) {
36498 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36501 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36503 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36506 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
36507 wxPyEndAllowThreads(__tstate
);
36508 if (PyErr_Occurred()) SWIG_fail
;
36510 resultobj
= SWIG_Py_Void();
36517 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36518 PyObject
*resultobj
= 0;
36519 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36520 wxTreeItemId
*arg2
= 0 ;
36525 PyObject
* obj0
= 0 ;
36526 PyObject
* obj1
= 0 ;
36527 char * kwnames
[] = {
36528 (char *) "self",(char *) "item", NULL
36531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36533 if (!SWIG_IsOK(res1
)) {
36534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36536 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36537 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36538 if (!SWIG_IsOK(res2
)) {
36539 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36542 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36544 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36547 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
36548 wxPyEndAllowThreads(__tstate
);
36549 if (PyErr_Occurred()) SWIG_fail
;
36551 resultobj
= SWIG_Py_Void();
36558 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36559 PyObject
*resultobj
= 0;
36560 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36561 wxTreeItemId
*arg2
= 0 ;
36566 PyObject
* obj0
= 0 ;
36567 PyObject
* obj1
= 0 ;
36568 char * kwnames
[] = {
36569 (char *) "self",(char *) "item", NULL
36572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36574 if (!SWIG_IsOK(res1
)) {
36575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36577 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36578 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36579 if (!SWIG_IsOK(res2
)) {
36580 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36583 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36585 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36588 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
36589 wxPyEndAllowThreads(__tstate
);
36590 if (PyErr_Occurred()) SWIG_fail
;
36592 resultobj
= SWIG_Py_Void();
36599 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36600 PyObject
*resultobj
= 0;
36601 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36602 wxTextCtrl
*result
= 0 ;
36605 PyObject
*swig_obj
[1] ;
36607 if (!args
) SWIG_fail
;
36608 swig_obj
[0] = args
;
36609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36610 if (!SWIG_IsOK(res1
)) {
36611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36613 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36616 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
36617 wxPyEndAllowThreads(__tstate
);
36618 if (PyErr_Occurred()) SWIG_fail
;
36621 resultobj
= wxPyMake_wxObject(result
, 0);
36629 SWIGINTERN PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36630 PyObject
*resultobj
= 0;
36631 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36632 wxTreeItemId
*arg2
= 0 ;
36633 bool arg3
= (bool) false ;
36640 PyObject
* obj0
= 0 ;
36641 PyObject
* obj1
= 0 ;
36642 PyObject
* obj2
= 0 ;
36643 char * kwnames
[] = {
36644 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
36647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36649 if (!SWIG_IsOK(res1
)) {
36650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36652 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36653 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36654 if (!SWIG_IsOK(res2
)) {
36655 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36658 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36660 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36662 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36663 if (!SWIG_IsOK(ecode3
)) {
36664 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "3"" of type '" "bool""'");
36666 arg3
= static_cast< bool >(val3
);
36669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36670 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
36671 wxPyEndAllowThreads(__tstate
);
36672 if (PyErr_Occurred()) SWIG_fail
;
36674 resultobj
= SWIG_Py_Void();
36681 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36682 PyObject
*resultobj
= 0;
36683 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36684 wxTreeItemId
*arg2
= 0 ;
36689 PyObject
* obj0
= 0 ;
36690 PyObject
* obj1
= 0 ;
36691 char * kwnames
[] = {
36692 (char *) "self",(char *) "item", NULL
36695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36697 if (!SWIG_IsOK(res1
)) {
36698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36700 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36701 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36702 if (!SWIG_IsOK(res2
)) {
36703 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36706 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36708 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36711 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
36712 wxPyEndAllowThreads(__tstate
);
36713 if (PyErr_Occurred()) SWIG_fail
;
36715 resultobj
= SWIG_Py_Void();
36722 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36723 PyObject
*resultobj
= 0;
36724 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36725 wxPoint
*arg2
= 0 ;
36727 wxTreeItemId result
;
36732 int res3
= SWIG_TMPOBJ
;
36733 PyObject
* obj0
= 0 ;
36734 PyObject
* obj1
= 0 ;
36735 char * kwnames
[] = {
36736 (char *) "self",(char *) "point", NULL
36740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36742 if (!SWIG_IsOK(res1
)) {
36743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36745 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36748 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36752 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
36753 wxPyEndAllowThreads(__tstate
);
36754 if (PyErr_Occurred()) SWIG_fail
;
36756 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36757 if (SWIG_IsTmpObj(res3
)) {
36758 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
36760 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36761 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
36769 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36770 PyObject
*resultobj
= 0;
36771 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36772 wxTreeItemId
*arg2
= 0 ;
36773 bool arg3
= (bool) false ;
36774 PyObject
*result
= 0 ;
36781 PyObject
* obj0
= 0 ;
36782 PyObject
* obj1
= 0 ;
36783 PyObject
* obj2
= 0 ;
36784 char * kwnames
[] = {
36785 (char *) "self",(char *) "item",(char *) "textOnly", NULL
36788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36790 if (!SWIG_IsOK(res1
)) {
36791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36793 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36794 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36795 if (!SWIG_IsOK(res2
)) {
36796 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36799 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36801 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36803 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36804 if (!SWIG_IsOK(ecode3
)) {
36805 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
36807 arg3
= static_cast< bool >(val3
);
36810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36811 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
36812 wxPyEndAllowThreads(__tstate
);
36813 if (PyErr_Occurred()) SWIG_fail
;
36815 resultobj
= result
;
36822 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36823 PyObject
*resultobj
= 0;
36824 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36825 wxTreeItemId
*arg2
= 0 ;
36833 PyObject
* obj0
= 0 ;
36834 PyObject
* obj1
= 0 ;
36835 PyObject
* obj2
= 0 ;
36836 char * kwnames
[] = {
36837 (char *) "self",(char *) "node",(char *) "state", NULL
36840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36842 if (!SWIG_IsOK(res1
)) {
36843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36845 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36846 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36847 if (!SWIG_IsOK(res2
)) {
36848 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36851 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36853 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36854 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36855 if (!SWIG_IsOK(ecode3
)) {
36856 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetState" "', expected argument " "3"" of type '" "int""'");
36858 arg3
= static_cast< int >(val3
);
36860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36861 (arg1
)->SetState((wxTreeItemId
const &)*arg2
,arg3
);
36862 wxPyEndAllowThreads(__tstate
);
36863 if (PyErr_Occurred()) SWIG_fail
;
36865 resultobj
= SWIG_Py_Void();
36872 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36873 PyObject
*resultobj
= 0;
36874 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36875 wxTreeItemId
*arg2
= 0 ;
36881 PyObject
* obj0
= 0 ;
36882 PyObject
* obj1
= 0 ;
36883 char * kwnames
[] = {
36884 (char *) "self",(char *) "node", NULL
36887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36889 if (!SWIG_IsOK(res1
)) {
36890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36892 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36893 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36894 if (!SWIG_IsOK(res2
)) {
36895 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36898 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36900 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36903 result
= (int)(arg1
)->GetState((wxTreeItemId
const &)*arg2
);
36904 wxPyEndAllowThreads(__tstate
);
36905 if (PyErr_Occurred()) SWIG_fail
;
36907 resultobj
= SWIG_From_int(static_cast< int >(result
));
36914 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36915 PyObject
*resultobj
= 0;
36916 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
36917 SwigValueWrapper
<wxVisualAttributes
> result
;
36920 PyObject
* obj0
= 0 ;
36921 char * kwnames
[] = {
36922 (char *) "variant", NULL
36925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
36927 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
36928 if (!SWIG_IsOK(ecode1
)) {
36929 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
36931 arg1
= static_cast< wxWindowVariant
>(val1
);
36934 if (!wxPyCheckForApp()) SWIG_fail
;
36935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36936 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
36937 wxPyEndAllowThreads(__tstate
);
36938 if (PyErr_Occurred()) SWIG_fail
;
36940 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
36947 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36948 PyObject
*resultobj
= 0;
36949 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36955 PyObject
* obj0
= 0 ;
36956 PyObject
* obj1
= 0 ;
36957 char * kwnames
[] = {
36958 (char *) "self",(char *) "q", NULL
36961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36963 if (!SWIG_IsOK(res1
)) {
36964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36966 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36967 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
36968 if (!SWIG_IsOK(ecode2
)) {
36969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
36971 arg2
= static_cast< bool >(val2
);
36973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36974 (arg1
)->SetQuickBestSize(arg2
);
36975 wxPyEndAllowThreads(__tstate
);
36976 if (PyErr_Occurred()) SWIG_fail
;
36978 resultobj
= SWIG_Py_Void();
36985 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36986 PyObject
*resultobj
= 0;
36987 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36991 PyObject
*swig_obj
[1] ;
36993 if (!args
) SWIG_fail
;
36994 swig_obj
[0] = args
;
36995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36996 if (!SWIG_IsOK(res1
)) {
36997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36999 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37002 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37003 wxPyEndAllowThreads(__tstate
);
37004 if (PyErr_Occurred()) SWIG_fail
;
37007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37015 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37017 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37018 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37019 return SWIG_Py_Void();
37022 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37023 return SWIG_Python_InitShadowInstance(args
);
37026 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37027 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37032 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37033 PyObject
*pyobj
= 0;
37037 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37039 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37046 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37047 PyObject
*resultobj
= 0;
37048 wxWindow
*arg1
= (wxWindow
*) 0 ;
37049 int arg2
= (int) (int)-1 ;
37050 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37051 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37052 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37053 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37054 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37055 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37056 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37057 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37058 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37059 int arg8
= (int) 0 ;
37060 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37061 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37062 wxGenericDirCtrl
*result
= 0 ;
37067 bool temp3
= false ;
37072 bool temp7
= false ;
37075 bool temp9
= false ;
37076 PyObject
* obj0
= 0 ;
37077 PyObject
* obj1
= 0 ;
37078 PyObject
* obj2
= 0 ;
37079 PyObject
* obj3
= 0 ;
37080 PyObject
* obj4
= 0 ;
37081 PyObject
* obj5
= 0 ;
37082 PyObject
* obj6
= 0 ;
37083 PyObject
* obj7
= 0 ;
37084 PyObject
* obj8
= 0 ;
37085 char * kwnames
[] = {
37086 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37091 if (!SWIG_IsOK(res1
)) {
37092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37094 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37097 if (!SWIG_IsOK(ecode2
)) {
37098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37100 arg2
= static_cast< int >(val2
);
37104 arg3
= wxString_in_helper(obj2
);
37105 if (arg3
== NULL
) SWIG_fail
;
37112 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37118 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37122 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37123 if (!SWIG_IsOK(ecode6
)) {
37124 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37126 arg6
= static_cast< long >(val6
);
37130 arg7
= wxString_in_helper(obj6
);
37131 if (arg7
== NULL
) SWIG_fail
;
37136 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37137 if (!SWIG_IsOK(ecode8
)) {
37138 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37140 arg8
= static_cast< int >(val8
);
37144 arg9
= wxString_in_helper(obj8
);
37145 if (arg9
== NULL
) SWIG_fail
;
37150 if (!wxPyCheckForApp()) SWIG_fail
;
37151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37152 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37153 wxPyEndAllowThreads(__tstate
);
37154 if (PyErr_Occurred()) SWIG_fail
;
37156 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37187 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37188 PyObject
*resultobj
= 0;
37189 wxGenericDirCtrl
*result
= 0 ;
37191 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37193 if (!wxPyCheckForApp()) SWIG_fail
;
37194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37195 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37196 wxPyEndAllowThreads(__tstate
);
37197 if (PyErr_Occurred()) SWIG_fail
;
37199 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37206 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37207 PyObject
*resultobj
= 0;
37208 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37209 wxWindow
*arg2
= (wxWindow
*) 0 ;
37210 int arg3
= (int) (int)-1 ;
37211 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37212 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37213 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37214 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37215 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37216 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37217 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37218 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37219 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37220 int arg9
= (int) 0 ;
37221 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37222 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37230 bool temp4
= false ;
37235 bool temp8
= false ;
37238 bool temp10
= false ;
37239 PyObject
* obj0
= 0 ;
37240 PyObject
* obj1
= 0 ;
37241 PyObject
* obj2
= 0 ;
37242 PyObject
* obj3
= 0 ;
37243 PyObject
* obj4
= 0 ;
37244 PyObject
* obj5
= 0 ;
37245 PyObject
* obj6
= 0 ;
37246 PyObject
* obj7
= 0 ;
37247 PyObject
* obj8
= 0 ;
37248 PyObject
* obj9
= 0 ;
37249 char * kwnames
[] = {
37250 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37255 if (!SWIG_IsOK(res1
)) {
37256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37258 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37259 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37260 if (!SWIG_IsOK(res2
)) {
37261 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37263 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37265 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37266 if (!SWIG_IsOK(ecode3
)) {
37267 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37269 arg3
= static_cast< int >(val3
);
37273 arg4
= wxString_in_helper(obj3
);
37274 if (arg4
== NULL
) SWIG_fail
;
37281 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37287 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37291 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37292 if (!SWIG_IsOK(ecode7
)) {
37293 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37295 arg7
= static_cast< long >(val7
);
37299 arg8
= wxString_in_helper(obj7
);
37300 if (arg8
== NULL
) SWIG_fail
;
37305 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37306 if (!SWIG_IsOK(ecode9
)) {
37307 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37309 arg9
= static_cast< int >(val9
);
37313 arg10
= wxString_in_helper(obj9
);
37314 if (arg10
== NULL
) SWIG_fail
;
37319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37320 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37321 wxPyEndAllowThreads(__tstate
);
37322 if (PyErr_Occurred()) SWIG_fail
;
37325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37357 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37358 PyObject
*resultobj
= 0;
37359 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37360 wxString
*arg2
= 0 ;
37364 bool temp2
= false ;
37365 PyObject
* obj0
= 0 ;
37366 PyObject
* obj1
= 0 ;
37367 char * kwnames
[] = {
37368 (char *) "self",(char *) "path", NULL
37371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37373 if (!SWIG_IsOK(res1
)) {
37374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37376 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37378 arg2
= wxString_in_helper(obj1
);
37379 if (arg2
== NULL
) SWIG_fail
;
37383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37384 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37385 wxPyEndAllowThreads(__tstate
);
37386 if (PyErr_Occurred()) SWIG_fail
;
37389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37405 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37406 PyObject
*resultobj
= 0;
37407 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37408 wxString
*arg2
= 0 ;
37412 bool temp2
= false ;
37413 PyObject
* obj0
= 0 ;
37414 PyObject
* obj1
= 0 ;
37415 char * kwnames
[] = {
37416 (char *) "self",(char *) "path", NULL
37419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37421 if (!SWIG_IsOK(res1
)) {
37422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37424 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37426 arg2
= wxString_in_helper(obj1
);
37427 if (arg2
== NULL
) SWIG_fail
;
37431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37432 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
37433 wxPyEndAllowThreads(__tstate
);
37434 if (PyErr_Occurred()) SWIG_fail
;
37437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37453 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37454 PyObject
*resultobj
= 0;
37455 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37459 PyObject
*swig_obj
[1] ;
37461 if (!args
) SWIG_fail
;
37462 swig_obj
[0] = args
;
37463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37464 if (!SWIG_IsOK(res1
)) {
37465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37467 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37470 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37471 wxPyEndAllowThreads(__tstate
);
37472 if (PyErr_Occurred()) SWIG_fail
;
37476 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37478 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37487 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37488 PyObject
*resultobj
= 0;
37489 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37490 wxString
*arg2
= 0 ;
37493 bool temp2
= false ;
37494 PyObject
* obj0
= 0 ;
37495 PyObject
* obj1
= 0 ;
37496 char * kwnames
[] = {
37497 (char *) "self",(char *) "path", NULL
37500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37502 if (!SWIG_IsOK(res1
)) {
37503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37505 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37507 arg2
= wxString_in_helper(obj1
);
37508 if (arg2
== NULL
) SWIG_fail
;
37512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37513 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37514 wxPyEndAllowThreads(__tstate
);
37515 if (PyErr_Occurred()) SWIG_fail
;
37517 resultobj
= SWIG_Py_Void();
37532 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37533 PyObject
*resultobj
= 0;
37534 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37538 PyObject
*swig_obj
[1] ;
37540 if (!args
) SWIG_fail
;
37541 swig_obj
[0] = args
;
37542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37543 if (!SWIG_IsOK(res1
)) {
37544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37546 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37549 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37550 wxPyEndAllowThreads(__tstate
);
37551 if (PyErr_Occurred()) SWIG_fail
;
37555 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37557 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37566 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37567 PyObject
*resultobj
= 0;
37568 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37572 PyObject
*swig_obj
[1] ;
37574 if (!args
) SWIG_fail
;
37575 swig_obj
[0] = args
;
37576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37577 if (!SWIG_IsOK(res1
)) {
37578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37580 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37583 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37584 wxPyEndAllowThreads(__tstate
);
37585 if (PyErr_Occurred()) SWIG_fail
;
37589 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37591 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37600 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37601 PyObject
*resultobj
= 0;
37602 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37603 wxString
*arg2
= 0 ;
37606 bool temp2
= false ;
37607 PyObject
* obj0
= 0 ;
37608 PyObject
* obj1
= 0 ;
37609 char * kwnames
[] = {
37610 (char *) "self",(char *) "path", NULL
37613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37615 if (!SWIG_IsOK(res1
)) {
37616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37618 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37620 arg2
= wxString_in_helper(obj1
);
37621 if (arg2
== NULL
) SWIG_fail
;
37625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37626 (arg1
)->SetPath((wxString
const &)*arg2
);
37627 wxPyEndAllowThreads(__tstate
);
37628 if (PyErr_Occurred()) SWIG_fail
;
37630 resultobj
= SWIG_Py_Void();
37645 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37646 PyObject
*resultobj
= 0;
37647 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37653 PyObject
* obj0
= 0 ;
37654 PyObject
* obj1
= 0 ;
37655 char * kwnames
[] = {
37656 (char *) "self",(char *) "show", NULL
37659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37661 if (!SWIG_IsOK(res1
)) {
37662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37664 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37665 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37666 if (!SWIG_IsOK(ecode2
)) {
37667 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
37669 arg2
= static_cast< bool >(val2
);
37671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37672 (arg1
)->ShowHidden(arg2
);
37673 wxPyEndAllowThreads(__tstate
);
37674 if (PyErr_Occurred()) SWIG_fail
;
37676 resultobj
= SWIG_Py_Void();
37683 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37684 PyObject
*resultobj
= 0;
37685 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37689 PyObject
*swig_obj
[1] ;
37691 if (!args
) SWIG_fail
;
37692 swig_obj
[0] = args
;
37693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37694 if (!SWIG_IsOK(res1
)) {
37695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37697 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37700 result
= (bool)(arg1
)->GetShowHidden();
37701 wxPyEndAllowThreads(__tstate
);
37702 if (PyErr_Occurred()) SWIG_fail
;
37705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37713 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37714 PyObject
*resultobj
= 0;
37715 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37719 PyObject
*swig_obj
[1] ;
37721 if (!args
) SWIG_fail
;
37722 swig_obj
[0] = args
;
37723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37724 if (!SWIG_IsOK(res1
)) {
37725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37727 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37730 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
37731 wxPyEndAllowThreads(__tstate
);
37732 if (PyErr_Occurred()) SWIG_fail
;
37736 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37738 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37747 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37748 PyObject
*resultobj
= 0;
37749 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37750 wxString
*arg2
= 0 ;
37753 bool temp2
= false ;
37754 PyObject
* obj0
= 0 ;
37755 PyObject
* obj1
= 0 ;
37756 char * kwnames
[] = {
37757 (char *) "self",(char *) "filter", NULL
37760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37762 if (!SWIG_IsOK(res1
)) {
37763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37765 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37767 arg2
= wxString_in_helper(obj1
);
37768 if (arg2
== NULL
) SWIG_fail
;
37772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37773 (arg1
)->SetFilter((wxString
const &)*arg2
);
37774 wxPyEndAllowThreads(__tstate
);
37775 if (PyErr_Occurred()) SWIG_fail
;
37777 resultobj
= SWIG_Py_Void();
37792 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37793 PyObject
*resultobj
= 0;
37794 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37798 PyObject
*swig_obj
[1] ;
37800 if (!args
) SWIG_fail
;
37801 swig_obj
[0] = args
;
37802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37803 if (!SWIG_IsOK(res1
)) {
37804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37806 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37809 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
37810 wxPyEndAllowThreads(__tstate
);
37811 if (PyErr_Occurred()) SWIG_fail
;
37813 resultobj
= SWIG_From_int(static_cast< int >(result
));
37820 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37821 PyObject
*resultobj
= 0;
37822 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37828 PyObject
* obj0
= 0 ;
37829 PyObject
* obj1
= 0 ;
37830 char * kwnames
[] = {
37831 (char *) "self",(char *) "n", NULL
37834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37836 if (!SWIG_IsOK(res1
)) {
37837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37839 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37840 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37841 if (!SWIG_IsOK(ecode2
)) {
37842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
37844 arg2
= static_cast< int >(val2
);
37846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37847 (arg1
)->SetFilterIndex(arg2
);
37848 wxPyEndAllowThreads(__tstate
);
37849 if (PyErr_Occurred()) SWIG_fail
;
37851 resultobj
= SWIG_Py_Void();
37858 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37859 PyObject
*resultobj
= 0;
37860 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37861 wxTreeItemId result
;
37864 PyObject
*swig_obj
[1] ;
37866 if (!args
) SWIG_fail
;
37867 swig_obj
[0] = args
;
37868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37869 if (!SWIG_IsOK(res1
)) {
37870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37872 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37875 result
= (arg1
)->GetRootId();
37876 wxPyEndAllowThreads(__tstate
);
37877 if (PyErr_Occurred()) SWIG_fail
;
37879 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37886 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37887 PyObject
*resultobj
= 0;
37888 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37889 wxPyTreeCtrl
*result
= 0 ;
37892 PyObject
*swig_obj
[1] ;
37894 if (!args
) SWIG_fail
;
37895 swig_obj
[0] = args
;
37896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37897 if (!SWIG_IsOK(res1
)) {
37898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37900 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37903 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
37904 wxPyEndAllowThreads(__tstate
);
37905 if (PyErr_Occurred()) SWIG_fail
;
37908 resultobj
= wxPyMake_wxObject(result
, 0);
37916 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37917 PyObject
*resultobj
= 0;
37918 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37919 wxDirFilterListCtrl
*result
= 0 ;
37922 PyObject
*swig_obj
[1] ;
37924 if (!args
) SWIG_fail
;
37925 swig_obj
[0] = args
;
37926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37927 if (!SWIG_IsOK(res1
)) {
37928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37930 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37933 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
37934 wxPyEndAllowThreads(__tstate
);
37935 if (PyErr_Occurred()) SWIG_fail
;
37937 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37944 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37945 PyObject
*resultobj
= 0;
37946 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37947 wxTreeItemId arg2
;
37948 wxString
*arg3
= 0 ;
37950 wxTreeItemId result
;
37955 bool temp3
= false ;
37957 int res4
= SWIG_TMPOBJ
;
37958 PyObject
* obj0
= 0 ;
37959 PyObject
* obj1
= 0 ;
37960 PyObject
* obj2
= 0 ;
37961 char * kwnames
[] = {
37962 (char *) "self",(char *) "parentId",(char *) "path", NULL
37966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37968 if (!SWIG_IsOK(res1
)) {
37969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37971 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37973 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37974 if (!SWIG_IsOK(res2
)) {
37975 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37978 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37980 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37982 if (SWIG_IsNewObj(res2
)) delete temp
;
37986 arg3
= wxString_in_helper(obj2
);
37987 if (arg3
== NULL
) SWIG_fail
;
37991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37992 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
37993 wxPyEndAllowThreads(__tstate
);
37994 if (PyErr_Occurred()) SWIG_fail
;
37996 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37997 if (SWIG_IsTmpObj(res4
)) {
37998 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38000 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38001 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38017 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38018 PyObject
*resultobj
= 0;
38019 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38022 PyObject
*swig_obj
[1] ;
38024 if (!args
) SWIG_fail
;
38025 swig_obj
[0] = args
;
38026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38027 if (!SWIG_IsOK(res1
)) {
38028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38030 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38033 (arg1
)->DoResize();
38034 wxPyEndAllowThreads(__tstate
);
38035 if (PyErr_Occurred()) SWIG_fail
;
38037 resultobj
= SWIG_Py_Void();
38044 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38045 PyObject
*resultobj
= 0;
38046 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38049 PyObject
*swig_obj
[1] ;
38051 if (!args
) SWIG_fail
;
38052 swig_obj
[0] = args
;
38053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38054 if (!SWIG_IsOK(res1
)) {
38055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38057 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38060 (arg1
)->ReCreateTree();
38061 wxPyEndAllowThreads(__tstate
);
38062 if (PyErr_Occurred()) SWIG_fail
;
38064 resultobj
= SWIG_Py_Void();
38071 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38073 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38074 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38075 return SWIG_Py_Void();
38078 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38079 return SWIG_Python_InitShadowInstance(args
);
38082 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38083 PyObject
*resultobj
= 0;
38084 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38085 int arg2
= (int) (int)-1 ;
38086 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38087 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38088 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38089 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38090 long arg5
= (long) 0 ;
38091 wxDirFilterListCtrl
*result
= 0 ;
38100 PyObject
* obj0
= 0 ;
38101 PyObject
* obj1
= 0 ;
38102 PyObject
* obj2
= 0 ;
38103 PyObject
* obj3
= 0 ;
38104 PyObject
* obj4
= 0 ;
38105 char * kwnames
[] = {
38106 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38111 if (!SWIG_IsOK(res1
)) {
38112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38114 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38116 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38117 if (!SWIG_IsOK(ecode2
)) {
38118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38120 arg2
= static_cast< int >(val2
);
38125 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38131 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38135 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38136 if (!SWIG_IsOK(ecode5
)) {
38137 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38139 arg5
= static_cast< long >(val5
);
38142 if (!wxPyCheckForApp()) SWIG_fail
;
38143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38144 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38145 wxPyEndAllowThreads(__tstate
);
38146 if (PyErr_Occurred()) SWIG_fail
;
38148 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38155 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38156 PyObject
*resultobj
= 0;
38157 wxDirFilterListCtrl
*result
= 0 ;
38159 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38161 if (!wxPyCheckForApp()) SWIG_fail
;
38162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38163 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38164 wxPyEndAllowThreads(__tstate
);
38165 if (PyErr_Occurred()) SWIG_fail
;
38167 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38174 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38175 PyObject
*resultobj
= 0;
38176 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38177 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38178 int arg3
= (int) (int)-1 ;
38179 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38180 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38181 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38182 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38183 long arg6
= (long) 0 ;
38195 PyObject
* obj0
= 0 ;
38196 PyObject
* obj1
= 0 ;
38197 PyObject
* obj2
= 0 ;
38198 PyObject
* obj3
= 0 ;
38199 PyObject
* obj4
= 0 ;
38200 PyObject
* obj5
= 0 ;
38201 char * kwnames
[] = {
38202 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38207 if (!SWIG_IsOK(res1
)) {
38208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38210 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38211 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38212 if (!SWIG_IsOK(res2
)) {
38213 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38215 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38217 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38218 if (!SWIG_IsOK(ecode3
)) {
38219 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38221 arg3
= static_cast< int >(val3
);
38226 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38232 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38236 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38237 if (!SWIG_IsOK(ecode6
)) {
38238 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38240 arg6
= static_cast< long >(val6
);
38243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38244 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38245 wxPyEndAllowThreads(__tstate
);
38246 if (PyErr_Occurred()) SWIG_fail
;
38249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38257 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38258 PyObject
*resultobj
= 0;
38259 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38260 wxString
*arg2
= 0 ;
38264 bool temp2
= false ;
38267 PyObject
* obj0
= 0 ;
38268 PyObject
* obj1
= 0 ;
38269 PyObject
* obj2
= 0 ;
38270 char * kwnames
[] = {
38271 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38276 if (!SWIG_IsOK(res1
)) {
38277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38279 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38281 arg2
= wxString_in_helper(obj1
);
38282 if (arg2
== NULL
) SWIG_fail
;
38285 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38286 if (!SWIG_IsOK(ecode3
)) {
38287 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38289 arg3
= static_cast< int >(val3
);
38291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38292 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38293 wxPyEndAllowThreads(__tstate
);
38294 if (PyErr_Occurred()) SWIG_fail
;
38296 resultobj
= SWIG_Py_Void();
38311 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38313 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38314 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38315 return SWIG_Py_Void();
38318 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38319 return SWIG_Python_InitShadowInstance(args
);
38322 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38323 PyObject
*resultobj
= 0;
38324 wxWindow
*arg1
= (wxWindow
*) 0 ;
38325 int arg2
= (int) (int)-1 ;
38326 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38327 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38328 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38329 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38330 long arg5
= (long) 0 ;
38331 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38332 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38333 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38334 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38335 wxPyControl
*result
= 0 ;
38346 bool temp7
= false ;
38347 PyObject
* obj0
= 0 ;
38348 PyObject
* obj1
= 0 ;
38349 PyObject
* obj2
= 0 ;
38350 PyObject
* obj3
= 0 ;
38351 PyObject
* obj4
= 0 ;
38352 PyObject
* obj5
= 0 ;
38353 PyObject
* obj6
= 0 ;
38354 char * kwnames
[] = {
38355 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38360 if (!SWIG_IsOK(res1
)) {
38361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38363 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38365 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38366 if (!SWIG_IsOK(ecode2
)) {
38367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38369 arg2
= static_cast< int >(val2
);
38374 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38380 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38384 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38385 if (!SWIG_IsOK(ecode5
)) {
38386 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38388 arg5
= static_cast< long >(val5
);
38391 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38392 if (!SWIG_IsOK(res6
)) {
38393 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38396 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38398 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38402 arg7
= wxString_in_helper(obj6
);
38403 if (arg7
== NULL
) SWIG_fail
;
38408 if (!wxPyCheckForApp()) SWIG_fail
;
38409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38410 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38411 wxPyEndAllowThreads(__tstate
);
38412 if (PyErr_Occurred()) SWIG_fail
;
38414 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38429 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38430 PyObject
*resultobj
= 0;
38431 wxPyControl
*result
= 0 ;
38433 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38435 if (!wxPyCheckForApp()) SWIG_fail
;
38436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38437 result
= (wxPyControl
*)new wxPyControl();
38438 wxPyEndAllowThreads(__tstate
);
38439 if (PyErr_Occurred()) SWIG_fail
;
38441 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38448 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38449 PyObject
*resultobj
= 0;
38450 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38451 PyObject
*arg2
= (PyObject
*) 0 ;
38452 PyObject
*arg3
= (PyObject
*) 0 ;
38455 PyObject
* obj0
= 0 ;
38456 PyObject
* obj1
= 0 ;
38457 PyObject
* obj2
= 0 ;
38458 char * kwnames
[] = {
38459 (char *) "self",(char *) "self",(char *) "_class", NULL
38462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38464 if (!SWIG_IsOK(res1
)) {
38465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38467 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38472 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38473 wxPyEndAllowThreads(__tstate
);
38474 if (PyErr_Occurred()) SWIG_fail
;
38476 resultobj
= SWIG_Py_Void();
38483 SWIGINTERN PyObject
*_wrap_PyControl_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38484 PyObject
*resultobj
= 0;
38485 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38490 PyObject
* obj0
= 0 ;
38491 PyObject
* obj1
= 0 ;
38492 char * kwnames
[] = {
38493 (char *) "self",(char *) "size", NULL
38496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38498 if (!SWIG_IsOK(res1
)) {
38499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38501 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38504 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38508 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
38509 wxPyEndAllowThreads(__tstate
);
38510 if (PyErr_Occurred()) SWIG_fail
;
38512 resultobj
= SWIG_Py_Void();
38519 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38520 PyObject
*resultobj
= 0;
38521 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38522 wxDC
*arg2
= (wxDC
*) 0 ;
38528 PyObject
* obj0
= 0 ;
38529 PyObject
* obj1
= 0 ;
38530 char * kwnames
[] = {
38531 (char *) "self",(char *) "dc", NULL
38534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38536 if (!SWIG_IsOK(res1
)) {
38537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38539 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38540 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38541 if (!SWIG_IsOK(res2
)) {
38542 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38544 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38547 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38548 wxPyEndAllowThreads(__tstate
);
38549 if (PyErr_Occurred()) SWIG_fail
;
38552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38560 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38561 PyObject
*resultobj
= 0;
38562 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38577 PyObject
* obj0
= 0 ;
38578 PyObject
* obj1
= 0 ;
38579 PyObject
* obj2
= 0 ;
38580 PyObject
* obj3
= 0 ;
38581 PyObject
* obj4
= 0 ;
38582 char * kwnames
[] = {
38583 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38588 if (!SWIG_IsOK(res1
)) {
38589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38591 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38593 if (!SWIG_IsOK(ecode2
)) {
38594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38596 arg2
= static_cast< int >(val2
);
38597 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38598 if (!SWIG_IsOK(ecode3
)) {
38599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38601 arg3
= static_cast< int >(val3
);
38602 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38603 if (!SWIG_IsOK(ecode4
)) {
38604 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38606 arg4
= static_cast< int >(val4
);
38607 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38608 if (!SWIG_IsOK(ecode5
)) {
38609 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38611 arg5
= static_cast< int >(val5
);
38613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38614 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38615 wxPyEndAllowThreads(__tstate
);
38616 if (PyErr_Occurred()) SWIG_fail
;
38618 resultobj
= SWIG_Py_Void();
38625 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38626 PyObject
*resultobj
= 0;
38627 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38632 int arg6
= (int) wxSIZE_AUTO
;
38645 PyObject
* obj0
= 0 ;
38646 PyObject
* obj1
= 0 ;
38647 PyObject
* obj2
= 0 ;
38648 PyObject
* obj3
= 0 ;
38649 PyObject
* obj4
= 0 ;
38650 PyObject
* obj5
= 0 ;
38651 char * kwnames
[] = {
38652 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38657 if (!SWIG_IsOK(res1
)) {
38658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38660 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38662 if (!SWIG_IsOK(ecode2
)) {
38663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
38665 arg2
= static_cast< int >(val2
);
38666 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38667 if (!SWIG_IsOK(ecode3
)) {
38668 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
38670 arg3
= static_cast< int >(val3
);
38671 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38672 if (!SWIG_IsOK(ecode4
)) {
38673 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
38675 arg4
= static_cast< int >(val4
);
38676 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38677 if (!SWIG_IsOK(ecode5
)) {
38678 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
38680 arg5
= static_cast< int >(val5
);
38682 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38683 if (!SWIG_IsOK(ecode6
)) {
38684 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
38686 arg6
= static_cast< int >(val6
);
38689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38690 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
38691 wxPyEndAllowThreads(__tstate
);
38692 if (PyErr_Occurred()) SWIG_fail
;
38694 resultobj
= SWIG_Py_Void();
38701 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38702 PyObject
*resultobj
= 0;
38703 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38712 PyObject
* obj0
= 0 ;
38713 PyObject
* obj1
= 0 ;
38714 PyObject
* obj2
= 0 ;
38715 char * kwnames
[] = {
38716 (char *) "self",(char *) "width",(char *) "height", NULL
38719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38721 if (!SWIG_IsOK(res1
)) {
38722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38724 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38725 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38726 if (!SWIG_IsOK(ecode2
)) {
38727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
38729 arg2
= static_cast< int >(val2
);
38730 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38731 if (!SWIG_IsOK(ecode3
)) {
38732 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
38734 arg3
= static_cast< int >(val3
);
38736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38737 (arg1
)->DoSetClientSize(arg2
,arg3
);
38738 wxPyEndAllowThreads(__tstate
);
38739 if (PyErr_Occurred()) SWIG_fail
;
38741 resultobj
= SWIG_Py_Void();
38748 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38749 PyObject
*resultobj
= 0;
38750 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38759 PyObject
* obj0
= 0 ;
38760 PyObject
* obj1
= 0 ;
38761 PyObject
* obj2
= 0 ;
38762 char * kwnames
[] = {
38763 (char *) "self",(char *) "x",(char *) "y", NULL
38766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38768 if (!SWIG_IsOK(res1
)) {
38769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38771 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38772 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38773 if (!SWIG_IsOK(ecode2
)) {
38774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
38776 arg2
= static_cast< int >(val2
);
38777 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38778 if (!SWIG_IsOK(ecode3
)) {
38779 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
38781 arg3
= static_cast< int >(val3
);
38783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38784 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
38785 wxPyEndAllowThreads(__tstate
);
38786 if (PyErr_Occurred()) SWIG_fail
;
38788 resultobj
= SWIG_Py_Void();
38795 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38796 PyObject
*resultobj
= 0;
38797 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38798 int *arg2
= (int *) 0 ;
38799 int *arg3
= (int *) 0 ;
38803 int res2
= SWIG_TMPOBJ
;
38805 int res3
= SWIG_TMPOBJ
;
38806 PyObject
*swig_obj
[1] ;
38810 if (!args
) SWIG_fail
;
38811 swig_obj
[0] = args
;
38812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38813 if (!SWIG_IsOK(res1
)) {
38814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38816 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38819 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
38820 wxPyEndAllowThreads(__tstate
);
38821 if (PyErr_Occurred()) SWIG_fail
;
38823 resultobj
= SWIG_Py_Void();
38824 if (SWIG_IsTmpObj(res2
)) {
38825 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38827 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38828 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38830 if (SWIG_IsTmpObj(res3
)) {
38831 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38833 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38834 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38842 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38843 PyObject
*resultobj
= 0;
38844 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38845 int *arg2
= (int *) 0 ;
38846 int *arg3
= (int *) 0 ;
38850 int res2
= SWIG_TMPOBJ
;
38852 int res3
= SWIG_TMPOBJ
;
38853 PyObject
*swig_obj
[1] ;
38857 if (!args
) SWIG_fail
;
38858 swig_obj
[0] = args
;
38859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38860 if (!SWIG_IsOK(res1
)) {
38861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38863 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38866 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
38867 wxPyEndAllowThreads(__tstate
);
38868 if (PyErr_Occurred()) SWIG_fail
;
38870 resultobj
= SWIG_Py_Void();
38871 if (SWIG_IsTmpObj(res2
)) {
38872 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38874 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38875 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38877 if (SWIG_IsTmpObj(res3
)) {
38878 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38880 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38881 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38889 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38890 PyObject
*resultobj
= 0;
38891 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38892 int *arg2
= (int *) 0 ;
38893 int *arg3
= (int *) 0 ;
38897 int res2
= SWIG_TMPOBJ
;
38899 int res3
= SWIG_TMPOBJ
;
38900 PyObject
*swig_obj
[1] ;
38904 if (!args
) SWIG_fail
;
38905 swig_obj
[0] = args
;
38906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38907 if (!SWIG_IsOK(res1
)) {
38908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38910 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38913 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
38914 wxPyEndAllowThreads(__tstate
);
38915 if (PyErr_Occurred()) SWIG_fail
;
38917 resultobj
= SWIG_Py_Void();
38918 if (SWIG_IsTmpObj(res2
)) {
38919 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38921 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38922 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38924 if (SWIG_IsTmpObj(res3
)) {
38925 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38927 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38928 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38936 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38937 PyObject
*resultobj
= 0;
38938 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38942 PyObject
*swig_obj
[1] ;
38944 if (!args
) SWIG_fail
;
38945 swig_obj
[0] = args
;
38946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38947 if (!SWIG_IsOK(res1
)) {
38948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38950 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38953 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
38954 wxPyEndAllowThreads(__tstate
);
38955 if (PyErr_Occurred()) SWIG_fail
;
38957 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
38964 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38965 PyObject
*resultobj
= 0;
38966 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38970 PyObject
*swig_obj
[1] ;
38972 if (!args
) SWIG_fail
;
38973 swig_obj
[0] = args
;
38974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38975 if (!SWIG_IsOK(res1
)) {
38976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38978 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38981 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
38982 wxPyEndAllowThreads(__tstate
);
38983 if (PyErr_Occurred()) SWIG_fail
;
38985 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
38992 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38993 PyObject
*resultobj
= 0;
38994 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38995 SwigValueWrapper
<wxVisualAttributes
> result
;
38998 PyObject
*swig_obj
[1] ;
39000 if (!args
) SWIG_fail
;
39001 swig_obj
[0] = args
;
39002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39003 if (!SWIG_IsOK(res1
)) {
39004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39006 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39009 result
= (arg1
)->GetDefaultAttributes();
39010 wxPyEndAllowThreads(__tstate
);
39011 if (PyErr_Occurred()) SWIG_fail
;
39013 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39020 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39021 PyObject
*resultobj
= 0;
39022 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39025 PyObject
*swig_obj
[1] ;
39027 if (!args
) SWIG_fail
;
39028 swig_obj
[0] = args
;
39029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39030 if (!SWIG_IsOK(res1
)) {
39031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39033 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39036 (arg1
)->OnInternalIdle();
39037 wxPyEndAllowThreads(__tstate
);
39038 if (PyErr_Occurred()) SWIG_fail
;
39040 resultobj
= SWIG_Py_Void();
39047 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39049 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39050 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39051 return SWIG_Py_Void();
39054 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39055 return SWIG_Python_InitShadowInstance(args
);
39058 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39059 PyObject
*resultobj
= 0;
39060 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39061 int arg2
= (int) 0 ;
39062 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39063 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39064 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39065 wxHelpEvent
*result
= 0 ;
39073 PyObject
* obj0
= 0 ;
39074 PyObject
* obj1
= 0 ;
39075 PyObject
* obj2
= 0 ;
39076 PyObject
* obj3
= 0 ;
39077 char * kwnames
[] = {
39078 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39083 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39084 if (!SWIG_IsOK(ecode1
)) {
39085 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39087 arg1
= static_cast< wxEventType
>(val1
);
39090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39091 if (!SWIG_IsOK(ecode2
)) {
39092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39094 arg2
= static_cast< int >(val2
);
39099 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39103 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39104 if (!SWIG_IsOK(ecode4
)) {
39105 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39107 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39111 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39112 wxPyEndAllowThreads(__tstate
);
39113 if (PyErr_Occurred()) SWIG_fail
;
39115 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39122 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39123 PyObject
*resultobj
= 0;
39124 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39128 PyObject
*swig_obj
[1] ;
39130 if (!args
) SWIG_fail
;
39131 swig_obj
[0] = args
;
39132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39133 if (!SWIG_IsOK(res1
)) {
39134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39136 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39139 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39140 wxPyEndAllowThreads(__tstate
);
39141 if (PyErr_Occurred()) SWIG_fail
;
39143 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39150 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39151 PyObject
*resultobj
= 0;
39152 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39153 wxPoint
*arg2
= 0 ;
39157 PyObject
* obj0
= 0 ;
39158 PyObject
* obj1
= 0 ;
39159 char * kwnames
[] = {
39160 (char *) "self",(char *) "pos", NULL
39163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39165 if (!SWIG_IsOK(res1
)) {
39166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39168 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39171 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39175 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39176 wxPyEndAllowThreads(__tstate
);
39177 if (PyErr_Occurred()) SWIG_fail
;
39179 resultobj
= SWIG_Py_Void();
39186 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39187 PyObject
*resultobj
= 0;
39188 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39189 wxString
*result
= 0 ;
39192 PyObject
*swig_obj
[1] ;
39194 if (!args
) SWIG_fail
;
39195 swig_obj
[0] = args
;
39196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39197 if (!SWIG_IsOK(res1
)) {
39198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39200 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39204 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39205 result
= (wxString
*) &_result_ref
;
39207 wxPyEndAllowThreads(__tstate
);
39208 if (PyErr_Occurred()) SWIG_fail
;
39212 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39214 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39223 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39224 PyObject
*resultobj
= 0;
39225 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39226 wxString
*arg2
= 0 ;
39229 bool temp2
= false ;
39230 PyObject
* obj0
= 0 ;
39231 PyObject
* obj1
= 0 ;
39232 char * kwnames
[] = {
39233 (char *) "self",(char *) "link", NULL
39236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39238 if (!SWIG_IsOK(res1
)) {
39239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39241 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39243 arg2
= wxString_in_helper(obj1
);
39244 if (arg2
== NULL
) SWIG_fail
;
39248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39249 (arg1
)->SetLink((wxString
const &)*arg2
);
39250 wxPyEndAllowThreads(__tstate
);
39251 if (PyErr_Occurred()) SWIG_fail
;
39253 resultobj
= SWIG_Py_Void();
39268 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39269 PyObject
*resultobj
= 0;
39270 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39271 wxString
*result
= 0 ;
39274 PyObject
*swig_obj
[1] ;
39276 if (!args
) SWIG_fail
;
39277 swig_obj
[0] = args
;
39278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39279 if (!SWIG_IsOK(res1
)) {
39280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39282 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39286 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39287 result
= (wxString
*) &_result_ref
;
39289 wxPyEndAllowThreads(__tstate
);
39290 if (PyErr_Occurred()) SWIG_fail
;
39294 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39296 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39305 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39306 PyObject
*resultobj
= 0;
39307 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39308 wxString
*arg2
= 0 ;
39311 bool temp2
= false ;
39312 PyObject
* obj0
= 0 ;
39313 PyObject
* obj1
= 0 ;
39314 char * kwnames
[] = {
39315 (char *) "self",(char *) "target", NULL
39318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39320 if (!SWIG_IsOK(res1
)) {
39321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39323 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39325 arg2
= wxString_in_helper(obj1
);
39326 if (arg2
== NULL
) SWIG_fail
;
39330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39331 (arg1
)->SetTarget((wxString
const &)*arg2
);
39332 wxPyEndAllowThreads(__tstate
);
39333 if (PyErr_Occurred()) SWIG_fail
;
39335 resultobj
= SWIG_Py_Void();
39350 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39351 PyObject
*resultobj
= 0;
39352 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39353 wxHelpEvent::Origin result
;
39356 PyObject
*swig_obj
[1] ;
39358 if (!args
) SWIG_fail
;
39359 swig_obj
[0] = args
;
39360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39361 if (!SWIG_IsOK(res1
)) {
39362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39364 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39367 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39368 wxPyEndAllowThreads(__tstate
);
39369 if (PyErr_Occurred()) SWIG_fail
;
39371 resultobj
= SWIG_From_int(static_cast< int >(result
));
39378 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39379 PyObject
*resultobj
= 0;
39380 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39381 wxHelpEvent::Origin arg2
;
39386 PyObject
* obj0
= 0 ;
39387 PyObject
* obj1
= 0 ;
39388 char * kwnames
[] = {
39389 (char *) "self",(char *) "origin", NULL
39392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39394 if (!SWIG_IsOK(res1
)) {
39395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39397 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39398 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39399 if (!SWIG_IsOK(ecode2
)) {
39400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39402 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39405 (arg1
)->SetOrigin(arg2
);
39406 wxPyEndAllowThreads(__tstate
);
39407 if (PyErr_Occurred()) SWIG_fail
;
39409 resultobj
= SWIG_Py_Void();
39416 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39418 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39419 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39420 return SWIG_Py_Void();
39423 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39424 return SWIG_Python_InitShadowInstance(args
);
39427 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39428 PyObject
*resultobj
= 0;
39429 wxWindow
*arg1
= (wxWindow
*) NULL
;
39430 bool arg2
= (bool) true ;
39431 wxContextHelp
*result
= 0 ;
39436 PyObject
* obj0
= 0 ;
39437 PyObject
* obj1
= 0 ;
39438 char * kwnames
[] = {
39439 (char *) "window",(char *) "doNow", NULL
39442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39445 if (!SWIG_IsOK(res1
)) {
39446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39448 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39451 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39452 if (!SWIG_IsOK(ecode2
)) {
39453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39455 arg2
= static_cast< bool >(val2
);
39458 if (!wxPyCheckForApp()) SWIG_fail
;
39459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39460 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
39461 wxPyEndAllowThreads(__tstate
);
39462 if (PyErr_Occurred()) SWIG_fail
;
39464 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39471 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39472 PyObject
*resultobj
= 0;
39473 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39476 PyObject
*swig_obj
[1] ;
39478 if (!args
) SWIG_fail
;
39479 swig_obj
[0] = args
;
39480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39481 if (!SWIG_IsOK(res1
)) {
39482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39484 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39489 wxPyEndAllowThreads(__tstate
);
39490 if (PyErr_Occurred()) SWIG_fail
;
39492 resultobj
= SWIG_Py_Void();
39499 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39500 PyObject
*resultobj
= 0;
39501 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39502 wxWindow
*arg2
= (wxWindow
*) NULL
;
39508 PyObject
* obj0
= 0 ;
39509 PyObject
* obj1
= 0 ;
39510 char * kwnames
[] = {
39511 (char *) "self",(char *) "window", NULL
39514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39516 if (!SWIG_IsOK(res1
)) {
39517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39519 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39521 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39522 if (!SWIG_IsOK(res2
)) {
39523 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39525 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39529 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39530 wxPyEndAllowThreads(__tstate
);
39531 if (PyErr_Occurred()) SWIG_fail
;
39534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39542 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39543 PyObject
*resultobj
= 0;
39544 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39548 PyObject
*swig_obj
[1] ;
39550 if (!args
) SWIG_fail
;
39551 swig_obj
[0] = args
;
39552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39553 if (!SWIG_IsOK(res1
)) {
39554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39556 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39559 result
= (bool)(arg1
)->EndContextHelp();
39560 wxPyEndAllowThreads(__tstate
);
39561 if (PyErr_Occurred()) SWIG_fail
;
39564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39572 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39574 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39575 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
39576 return SWIG_Py_Void();
39579 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39580 return SWIG_Python_InitShadowInstance(args
);
39583 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39584 PyObject
*resultobj
= 0;
39585 wxWindow
*arg1
= (wxWindow
*) 0 ;
39586 int arg2
= (int) wxID_CONTEXT_HELP
;
39587 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39588 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39589 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39590 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39591 long arg5
= (long) wxBU_AUTODRAW
;
39592 wxContextHelpButton
*result
= 0 ;
39601 PyObject
* obj0
= 0 ;
39602 PyObject
* obj1
= 0 ;
39603 PyObject
* obj2
= 0 ;
39604 PyObject
* obj3
= 0 ;
39605 PyObject
* obj4
= 0 ;
39606 char * kwnames
[] = {
39607 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39612 if (!SWIG_IsOK(res1
)) {
39613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39615 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39617 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39618 if (!SWIG_IsOK(ecode2
)) {
39619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39621 arg2
= static_cast< int >(val2
);
39626 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39632 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39636 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39637 if (!SWIG_IsOK(ecode5
)) {
39638 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39640 arg5
= static_cast< long >(val5
);
39643 if (!wxPyCheckForApp()) SWIG_fail
;
39644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39645 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
39646 wxPyEndAllowThreads(__tstate
);
39647 if (PyErr_Occurred()) SWIG_fail
;
39649 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
39656 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39658 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39659 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
39660 return SWIG_Py_Void();
39663 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39664 return SWIG_Python_InitShadowInstance(args
);
39667 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39668 PyObject
*resultobj
= 0;
39669 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39672 PyObject
*swig_obj
[1] ;
39674 if (!args
) SWIG_fail
;
39675 swig_obj
[0] = args
;
39676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39677 if (!SWIG_IsOK(res1
)) {
39678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39680 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39685 wxPyEndAllowThreads(__tstate
);
39686 if (PyErr_Occurred()) SWIG_fail
;
39688 resultobj
= SWIG_Py_Void();
39695 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39696 PyObject
*resultobj
= 0;
39697 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39698 wxHelpProvider
*result
= 0 ;
39700 PyObject
* obj0
= 0 ;
39701 char * kwnames
[] = {
39702 (char *) "helpProvider", NULL
39705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
39706 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39707 if (!SWIG_IsOK(res1
)) {
39708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39712 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
39713 wxPyEndAllowThreads(__tstate
);
39714 if (PyErr_Occurred()) SWIG_fail
;
39716 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
39723 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39724 PyObject
*resultobj
= 0;
39725 wxHelpProvider
*result
= 0 ;
39727 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
39729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39730 result
= (wxHelpProvider
*)wxHelpProvider::Get();
39731 wxPyEndAllowThreads(__tstate
);
39732 if (PyErr_Occurred()) SWIG_fail
;
39734 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39741 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39742 PyObject
*resultobj
= 0;
39743 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39744 wxWindow
*arg2
= (wxWindow
*) 0 ;
39750 PyObject
* obj0
= 0 ;
39751 PyObject
* obj1
= 0 ;
39752 char * kwnames
[] = {
39753 (char *) "self",(char *) "window", NULL
39756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39758 if (!SWIG_IsOK(res1
)) {
39759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39761 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39762 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39763 if (!SWIG_IsOK(res2
)) {
39764 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
39766 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39769 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
39770 wxPyEndAllowThreads(__tstate
);
39771 if (PyErr_Occurred()) SWIG_fail
;
39775 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
39777 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
39786 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39787 PyObject
*resultobj
= 0;
39788 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39789 wxWindow
*arg2
= (wxWindow
*) 0 ;
39795 PyObject
* obj0
= 0 ;
39796 PyObject
* obj1
= 0 ;
39797 char * kwnames
[] = {
39798 (char *) "self",(char *) "window", NULL
39801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39803 if (!SWIG_IsOK(res1
)) {
39804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39806 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39807 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39808 if (!SWIG_IsOK(res2
)) {
39809 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39811 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39814 result
= (bool)(arg1
)->ShowHelp(arg2
);
39815 wxPyEndAllowThreads(__tstate
);
39816 if (PyErr_Occurred()) SWIG_fail
;
39819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39827 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39828 PyObject
*resultobj
= 0;
39829 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39830 wxWindow
*arg2
= (wxWindow
*) 0 ;
39831 wxString
*arg3
= 0 ;
39836 bool temp3
= false ;
39837 PyObject
* obj0
= 0 ;
39838 PyObject
* obj1
= 0 ;
39839 PyObject
* obj2
= 0 ;
39840 char * kwnames
[] = {
39841 (char *) "self",(char *) "window",(char *) "text", NULL
39844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39846 if (!SWIG_IsOK(res1
)) {
39847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39849 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39850 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39851 if (!SWIG_IsOK(res2
)) {
39852 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39854 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39856 arg3
= wxString_in_helper(obj2
);
39857 if (arg3
== NULL
) SWIG_fail
;
39861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39862 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39863 wxPyEndAllowThreads(__tstate
);
39864 if (PyErr_Occurred()) SWIG_fail
;
39866 resultobj
= SWIG_Py_Void();
39881 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39882 PyObject
*resultobj
= 0;
39883 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39885 wxString
*arg3
= 0 ;
39890 bool temp3
= false ;
39891 PyObject
* obj0
= 0 ;
39892 PyObject
* obj1
= 0 ;
39893 PyObject
* obj2
= 0 ;
39894 char * kwnames
[] = {
39895 (char *) "self",(char *) "id",(char *) "text", NULL
39898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39900 if (!SWIG_IsOK(res1
)) {
39901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39903 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39905 if (!SWIG_IsOK(ecode2
)) {
39906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
39908 arg2
= static_cast< int >(val2
);
39910 arg3
= wxString_in_helper(obj2
);
39911 if (arg3
== NULL
) SWIG_fail
;
39915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39916 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39917 wxPyEndAllowThreads(__tstate
);
39918 if (PyErr_Occurred()) SWIG_fail
;
39920 resultobj
= SWIG_Py_Void();
39935 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39936 PyObject
*resultobj
= 0;
39937 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39938 wxWindow
*arg2
= (wxWindow
*) 0 ;
39943 PyObject
* obj0
= 0 ;
39944 PyObject
* obj1
= 0 ;
39945 char * kwnames
[] = {
39946 (char *) "self",(char *) "window", NULL
39949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39951 if (!SWIG_IsOK(res1
)) {
39952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39954 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39955 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39956 if (!SWIG_IsOK(res2
)) {
39957 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39959 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39962 (arg1
)->RemoveHelp(arg2
);
39963 wxPyEndAllowThreads(__tstate
);
39964 if (PyErr_Occurred()) SWIG_fail
;
39966 resultobj
= SWIG_Py_Void();
39973 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39974 PyObject
*resultobj
= 0;
39975 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39978 PyObject
*swig_obj
[1] ;
39980 if (!args
) SWIG_fail
;
39981 swig_obj
[0] = args
;
39982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39983 if (!SWIG_IsOK(res1
)) {
39984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39986 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39989 wxHelpProvider_Destroy(arg1
);
39990 wxPyEndAllowThreads(__tstate
);
39991 if (PyErr_Occurred()) SWIG_fail
;
39993 resultobj
= SWIG_Py_Void();
40000 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40002 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40003 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40004 return SWIG_Py_Void();
40007 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40008 PyObject
*resultobj
= 0;
40009 wxSimpleHelpProvider
*result
= 0 ;
40011 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40014 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40015 wxPyEndAllowThreads(__tstate
);
40016 if (PyErr_Occurred()) SWIG_fail
;
40018 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40025 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40027 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40028 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40029 return SWIG_Py_Void();
40032 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40033 return SWIG_Python_InitShadowInstance(args
);
40036 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40037 PyObject
*resultobj
= 0;
40038 wxBitmap
*arg1
= 0 ;
40039 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40040 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40041 wxGenericDragImage
*result
= 0 ;
40046 PyObject
* obj0
= 0 ;
40047 PyObject
* obj1
= 0 ;
40048 char * kwnames
[] = {
40049 (char *) "image",(char *) "cursor", NULL
40052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40053 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40054 if (!SWIG_IsOK(res1
)) {
40055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40058 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40060 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40062 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40063 if (!SWIG_IsOK(res2
)) {
40064 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40067 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40069 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40072 if (!wxPyCheckForApp()) SWIG_fail
;
40073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40074 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40075 wxPyEndAllowThreads(__tstate
);
40076 if (PyErr_Occurred()) SWIG_fail
;
40078 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40085 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40086 PyObject
*resultobj
= 0;
40088 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40089 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40090 wxGenericDragImage
*result
= 0 ;
40095 PyObject
* obj0
= 0 ;
40096 PyObject
* obj1
= 0 ;
40097 char * kwnames
[] = {
40098 (char *) "image",(char *) "cursor", NULL
40101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40102 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40103 if (!SWIG_IsOK(res1
)) {
40104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40107 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40109 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40111 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40112 if (!SWIG_IsOK(res2
)) {
40113 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40116 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40118 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40121 if (!wxPyCheckForApp()) SWIG_fail
;
40122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40123 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40124 wxPyEndAllowThreads(__tstate
);
40125 if (PyErr_Occurred()) SWIG_fail
;
40127 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40134 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40135 PyObject
*resultobj
= 0;
40136 wxString
*arg1
= 0 ;
40137 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40138 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40139 wxGenericDragImage
*result
= 0 ;
40140 bool temp1
= false ;
40143 PyObject
* obj0
= 0 ;
40144 PyObject
* obj1
= 0 ;
40145 char * kwnames
[] = {
40146 (char *) "str",(char *) "cursor", NULL
40149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40151 arg1
= wxString_in_helper(obj0
);
40152 if (arg1
== NULL
) SWIG_fail
;
40156 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40157 if (!SWIG_IsOK(res2
)) {
40158 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40161 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40163 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40166 if (!wxPyCheckForApp()) SWIG_fail
;
40167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40168 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40169 wxPyEndAllowThreads(__tstate
);
40170 if (PyErr_Occurred()) SWIG_fail
;
40172 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40187 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40188 PyObject
*resultobj
= 0;
40189 wxPyTreeCtrl
*arg1
= 0 ;
40190 wxTreeItemId
*arg2
= 0 ;
40191 wxGenericDragImage
*result
= 0 ;
40196 PyObject
* obj0
= 0 ;
40197 PyObject
* obj1
= 0 ;
40198 char * kwnames
[] = {
40199 (char *) "treeCtrl",(char *) "id", NULL
40202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40203 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40204 if (!SWIG_IsOK(res1
)) {
40205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40208 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40210 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40211 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40212 if (!SWIG_IsOK(res2
)) {
40213 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40216 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40218 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40220 if (!wxPyCheckForApp()) SWIG_fail
;
40221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40222 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40223 wxPyEndAllowThreads(__tstate
);
40224 if (PyErr_Occurred()) SWIG_fail
;
40226 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40233 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40234 PyObject
*resultobj
= 0;
40235 wxPyListCtrl
*arg1
= 0 ;
40237 wxGenericDragImage
*result
= 0 ;
40242 PyObject
* obj0
= 0 ;
40243 PyObject
* obj1
= 0 ;
40244 char * kwnames
[] = {
40245 (char *) "listCtrl",(char *) "id", NULL
40248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40249 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40250 if (!SWIG_IsOK(res1
)) {
40251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40254 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40256 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40257 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40258 if (!SWIG_IsOK(ecode2
)) {
40259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40261 arg2
= static_cast< long >(val2
);
40263 if (!wxPyCheckForApp()) SWIG_fail
;
40264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40265 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40266 wxPyEndAllowThreads(__tstate
);
40267 if (PyErr_Occurred()) SWIG_fail
;
40269 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40276 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40277 PyObject
*resultobj
= 0;
40278 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40281 PyObject
*swig_obj
[1] ;
40283 if (!args
) SWIG_fail
;
40284 swig_obj
[0] = args
;
40285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40286 if (!SWIG_IsOK(res1
)) {
40287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40289 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40294 wxPyEndAllowThreads(__tstate
);
40295 if (PyErr_Occurred()) SWIG_fail
;
40297 resultobj
= SWIG_Py_Void();
40304 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40305 PyObject
*resultobj
= 0;
40306 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40307 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40312 PyObject
* obj0
= 0 ;
40313 PyObject
* obj1
= 0 ;
40314 char * kwnames
[] = {
40315 (char *) "self",(char *) "bitmap", NULL
40318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40320 if (!SWIG_IsOK(res1
)) {
40321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40323 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40324 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40325 if (!SWIG_IsOK(res2
)) {
40326 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40328 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40331 (arg1
)->SetBackingBitmap(arg2
);
40332 wxPyEndAllowThreads(__tstate
);
40333 if (PyErr_Occurred()) SWIG_fail
;
40335 resultobj
= SWIG_Py_Void();
40342 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40343 PyObject
*resultobj
= 0;
40344 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40345 wxPoint
*arg2
= 0 ;
40346 wxWindow
*arg3
= (wxWindow
*) 0 ;
40347 bool arg4
= (bool) false ;
40348 wxRect
*arg5
= (wxRect
*) NULL
;
40359 PyObject
* obj0
= 0 ;
40360 PyObject
* obj1
= 0 ;
40361 PyObject
* obj2
= 0 ;
40362 PyObject
* obj3
= 0 ;
40363 PyObject
* obj4
= 0 ;
40364 char * kwnames
[] = {
40365 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40370 if (!SWIG_IsOK(res1
)) {
40371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40373 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40376 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40378 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40379 if (!SWIG_IsOK(res3
)) {
40380 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40382 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40384 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40385 if (!SWIG_IsOK(ecode4
)) {
40386 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40388 arg4
= static_cast< bool >(val4
);
40391 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
40392 if (!SWIG_IsOK(res5
)) {
40393 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40395 arg5
= reinterpret_cast< wxRect
* >(argp5
);
40398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40399 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
40400 wxPyEndAllowThreads(__tstate
);
40401 if (PyErr_Occurred()) SWIG_fail
;
40404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40412 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40413 PyObject
*resultobj
= 0;
40414 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40415 wxPoint
*arg2
= 0 ;
40416 wxWindow
*arg3
= (wxWindow
*) 0 ;
40417 wxWindow
*arg4
= (wxWindow
*) 0 ;
40426 PyObject
* obj0
= 0 ;
40427 PyObject
* obj1
= 0 ;
40428 PyObject
* obj2
= 0 ;
40429 PyObject
* obj3
= 0 ;
40430 char * kwnames
[] = {
40431 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40436 if (!SWIG_IsOK(res1
)) {
40437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40439 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40442 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40444 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40445 if (!SWIG_IsOK(res3
)) {
40446 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40448 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40449 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40450 if (!SWIG_IsOK(res4
)) {
40451 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40453 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
40455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40456 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
40457 wxPyEndAllowThreads(__tstate
);
40458 if (PyErr_Occurred()) SWIG_fail
;
40461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40469 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40470 PyObject
*resultobj
= 0;
40471 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40475 PyObject
*swig_obj
[1] ;
40477 if (!args
) SWIG_fail
;
40478 swig_obj
[0] = args
;
40479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40480 if (!SWIG_IsOK(res1
)) {
40481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40483 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40486 result
= (bool)(arg1
)->EndDrag();
40487 wxPyEndAllowThreads(__tstate
);
40488 if (PyErr_Occurred()) SWIG_fail
;
40491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40499 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40500 PyObject
*resultobj
= 0;
40501 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40502 wxPoint
*arg2
= 0 ;
40507 PyObject
* obj0
= 0 ;
40508 PyObject
* obj1
= 0 ;
40509 char * kwnames
[] = {
40510 (char *) "self",(char *) "pt", NULL
40513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40515 if (!SWIG_IsOK(res1
)) {
40516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40518 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40521 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40525 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
40526 wxPyEndAllowThreads(__tstate
);
40527 if (PyErr_Occurred()) SWIG_fail
;
40530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40538 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40539 PyObject
*resultobj
= 0;
40540 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40544 PyObject
*swig_obj
[1] ;
40546 if (!args
) SWIG_fail
;
40547 swig_obj
[0] = args
;
40548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40549 if (!SWIG_IsOK(res1
)) {
40550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40552 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40555 result
= (bool)(arg1
)->Show();
40556 wxPyEndAllowThreads(__tstate
);
40557 if (PyErr_Occurred()) SWIG_fail
;
40560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40568 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40569 PyObject
*resultobj
= 0;
40570 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40574 PyObject
*swig_obj
[1] ;
40576 if (!args
) SWIG_fail
;
40577 swig_obj
[0] = args
;
40578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40579 if (!SWIG_IsOK(res1
)) {
40580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40582 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40585 result
= (bool)(arg1
)->Hide();
40586 wxPyEndAllowThreads(__tstate
);
40587 if (PyErr_Occurred()) SWIG_fail
;
40590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40598 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40599 PyObject
*resultobj
= 0;
40600 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40601 wxPoint
*arg2
= 0 ;
40606 PyObject
* obj0
= 0 ;
40607 PyObject
* obj1
= 0 ;
40608 char * kwnames
[] = {
40609 (char *) "self",(char *) "pos", NULL
40612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40614 if (!SWIG_IsOK(res1
)) {
40615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40617 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40620 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40624 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
40625 wxPyEndAllowThreads(__tstate
);
40626 if (PyErr_Occurred()) SWIG_fail
;
40628 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
40635 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40636 PyObject
*resultobj
= 0;
40637 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40639 wxPoint
*arg3
= 0 ;
40646 PyObject
* obj0
= 0 ;
40647 PyObject
* obj1
= 0 ;
40648 PyObject
* obj2
= 0 ;
40649 char * kwnames
[] = {
40650 (char *) "self",(char *) "dc",(char *) "pos", NULL
40653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40655 if (!SWIG_IsOK(res1
)) {
40656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40658 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40659 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40660 if (!SWIG_IsOK(res2
)) {
40661 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40664 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40666 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40669 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40673 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
40674 wxPyEndAllowThreads(__tstate
);
40675 if (PyErr_Occurred()) SWIG_fail
;
40678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40686 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40687 PyObject
*resultobj
= 0;
40688 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40690 wxMemoryDC
*arg3
= 0 ;
40702 PyObject
* obj0
= 0 ;
40703 PyObject
* obj1
= 0 ;
40704 PyObject
* obj2
= 0 ;
40705 PyObject
* obj3
= 0 ;
40706 PyObject
* obj4
= 0 ;
40707 char * kwnames
[] = {
40708 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
40711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40713 if (!SWIG_IsOK(res1
)) {
40714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40716 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40717 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40718 if (!SWIG_IsOK(res2
)) {
40719 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40722 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40724 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40725 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
40726 if (!SWIG_IsOK(res3
)) {
40727 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40730 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40732 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
40735 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
40739 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
40742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40743 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
40744 wxPyEndAllowThreads(__tstate
);
40745 if (PyErr_Occurred()) SWIG_fail
;
40748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40756 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40757 PyObject
*resultobj
= 0;
40758 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40759 wxPoint
*arg2
= 0 ;
40760 wxPoint
*arg3
= 0 ;
40772 PyObject
* obj0
= 0 ;
40773 PyObject
* obj1
= 0 ;
40774 PyObject
* obj2
= 0 ;
40775 PyObject
* obj3
= 0 ;
40776 PyObject
* obj4
= 0 ;
40777 char * kwnames
[] = {
40778 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
40781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40783 if (!SWIG_IsOK(res1
)) {
40784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40786 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40789 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40793 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40795 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40796 if (!SWIG_IsOK(ecode4
)) {
40797 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
40799 arg4
= static_cast< bool >(val4
);
40800 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
40801 if (!SWIG_IsOK(ecode5
)) {
40802 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
40804 arg5
= static_cast< bool >(val5
);
40806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40807 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
40808 wxPyEndAllowThreads(__tstate
);
40809 if (PyErr_Occurred()) SWIG_fail
;
40812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40820 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40822 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40823 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
40824 return SWIG_Py_Void();
40827 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40828 return SWIG_Python_InitShadowInstance(args
);
40831 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
40832 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
40837 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
40838 PyObject
*pyobj
= 0;
40842 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40844 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40851 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40852 PyObject
*resultobj
= 0;
40853 wxWindow
*arg1
= (wxWindow
*) 0 ;
40854 int arg2
= (int) -1 ;
40855 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
40856 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
40857 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
40858 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
40859 wxSize
const &arg5_defvalue
= wxDefaultSize
;
40860 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
40861 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
40862 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
40863 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
40864 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
40865 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
40866 wxDatePickerCtrl
*result
= 0 ;
40879 bool temp8
= false ;
40880 PyObject
* obj0
= 0 ;
40881 PyObject
* obj1
= 0 ;
40882 PyObject
* obj2
= 0 ;
40883 PyObject
* obj3
= 0 ;
40884 PyObject
* obj4
= 0 ;
40885 PyObject
* obj5
= 0 ;
40886 PyObject
* obj6
= 0 ;
40887 PyObject
* obj7
= 0 ;
40888 char * kwnames
[] = {
40889 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
40893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40894 if (!SWIG_IsOK(res1
)) {
40895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
40897 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40899 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40900 if (!SWIG_IsOK(ecode2
)) {
40901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
40903 arg2
= static_cast< int >(val2
);
40906 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40907 if (!SWIG_IsOK(res3
)) {
40908 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40911 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40913 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
40918 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
40924 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
40928 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
40929 if (!SWIG_IsOK(ecode6
)) {
40930 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
40932 arg6
= static_cast< long >(val6
);
40935 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
40936 if (!SWIG_IsOK(res7
)) {
40937 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
40940 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
40942 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
40946 arg8
= wxString_in_helper(obj7
);
40947 if (arg8
== NULL
) SWIG_fail
;
40952 if (!wxPyCheckForApp()) SWIG_fail
;
40953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40954 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
40955 wxPyEndAllowThreads(__tstate
);
40956 if (PyErr_Occurred()) SWIG_fail
;
40958 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
40973 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40974 PyObject
*resultobj
= 0;
40975 wxDatePickerCtrl
*result
= 0 ;
40977 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
40979 if (!wxPyCheckForApp()) SWIG_fail
;
40980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40981 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
40982 wxPyEndAllowThreads(__tstate
);
40983 if (PyErr_Occurred()) SWIG_fail
;
40985 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
40992 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40993 PyObject
*resultobj
= 0;
40994 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40995 wxWindow
*arg2
= (wxWindow
*) 0 ;
40996 int arg3
= (int) -1 ;
40997 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
40998 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
40999 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41000 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41001 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41002 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41003 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41004 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41005 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41006 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41007 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41023 bool temp9
= false ;
41024 PyObject
* obj0
= 0 ;
41025 PyObject
* obj1
= 0 ;
41026 PyObject
* obj2
= 0 ;
41027 PyObject
* obj3
= 0 ;
41028 PyObject
* obj4
= 0 ;
41029 PyObject
* obj5
= 0 ;
41030 PyObject
* obj6
= 0 ;
41031 PyObject
* obj7
= 0 ;
41032 PyObject
* obj8
= 0 ;
41033 char * kwnames
[] = {
41034 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41039 if (!SWIG_IsOK(res1
)) {
41040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41042 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41043 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41044 if (!SWIG_IsOK(res2
)) {
41045 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41047 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41049 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41050 if (!SWIG_IsOK(ecode3
)) {
41051 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41053 arg3
= static_cast< int >(val3
);
41056 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41057 if (!SWIG_IsOK(res4
)) {
41058 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41061 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41063 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41068 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41074 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41078 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41079 if (!SWIG_IsOK(ecode7
)) {
41080 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41082 arg7
= static_cast< long >(val7
);
41085 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41086 if (!SWIG_IsOK(res8
)) {
41087 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41090 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41092 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41096 arg9
= wxString_in_helper(obj8
);
41097 if (arg9
== NULL
) SWIG_fail
;
41102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41103 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41104 wxPyEndAllowThreads(__tstate
);
41105 if (PyErr_Occurred()) SWIG_fail
;
41108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41124 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41125 PyObject
*resultobj
= 0;
41126 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41127 wxDateTime
*arg2
= 0 ;
41132 PyObject
* obj0
= 0 ;
41133 PyObject
* obj1
= 0 ;
41134 char * kwnames
[] = {
41135 (char *) "self",(char *) "dt", NULL
41138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41140 if (!SWIG_IsOK(res1
)) {
41141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41143 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41144 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41145 if (!SWIG_IsOK(res2
)) {
41146 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41149 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41151 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41154 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41155 wxPyEndAllowThreads(__tstate
);
41156 if (PyErr_Occurred()) SWIG_fail
;
41158 resultobj
= SWIG_Py_Void();
41165 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41166 PyObject
*resultobj
= 0;
41167 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41171 PyObject
*swig_obj
[1] ;
41173 if (!args
) SWIG_fail
;
41174 swig_obj
[0] = args
;
41175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41176 if (!SWIG_IsOK(res1
)) {
41177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41179 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41182 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41183 wxPyEndAllowThreads(__tstate
);
41184 if (PyErr_Occurred()) SWIG_fail
;
41186 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41193 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41194 PyObject
*resultobj
= 0;
41195 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41196 wxDateTime
*arg2
= 0 ;
41197 wxDateTime
*arg3
= 0 ;
41204 PyObject
* obj0
= 0 ;
41205 PyObject
* obj1
= 0 ;
41206 PyObject
* obj2
= 0 ;
41207 char * kwnames
[] = {
41208 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41213 if (!SWIG_IsOK(res1
)) {
41214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41216 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41217 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41218 if (!SWIG_IsOK(res2
)) {
41219 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41222 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41224 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41225 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41226 if (!SWIG_IsOK(res3
)) {
41227 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41230 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41232 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41235 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41236 wxPyEndAllowThreads(__tstate
);
41237 if (PyErr_Occurred()) SWIG_fail
;
41239 resultobj
= SWIG_Py_Void();
41246 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41247 PyObject
*resultobj
= 0;
41248 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41252 PyObject
*swig_obj
[1] ;
41254 if (!args
) SWIG_fail
;
41255 swig_obj
[0] = args
;
41256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41257 if (!SWIG_IsOK(res1
)) {
41258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41260 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41263 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41264 wxPyEndAllowThreads(__tstate
);
41265 if (PyErr_Occurred()) SWIG_fail
;
41267 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41274 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41275 PyObject
*resultobj
= 0;
41276 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41280 PyObject
*swig_obj
[1] ;
41282 if (!args
) SWIG_fail
;
41283 swig_obj
[0] = args
;
41284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41285 if (!SWIG_IsOK(res1
)) {
41286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41288 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41291 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41292 wxPyEndAllowThreads(__tstate
);
41293 if (PyErr_Occurred()) SWIG_fail
;
41295 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41302 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41304 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41305 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41306 return SWIG_Py_Void();
41309 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41310 return SWIG_Python_InitShadowInstance(args
);
41313 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41314 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41319 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41320 PyObject
*pyobj
= 0;
41324 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41326 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41333 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41334 PyObject
*resultobj
= 0;
41335 wxWindow
*arg1
= (wxWindow
*) 0 ;
41337 wxString
*arg3
= 0 ;
41338 wxString
*arg4
= 0 ;
41339 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41340 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41341 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41342 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41343 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41344 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41345 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41346 wxHyperlinkCtrl
*result
= 0 ;
41351 bool temp3
= false ;
41352 bool temp4
= false ;
41357 bool temp8
= false ;
41358 PyObject
* obj0
= 0 ;
41359 PyObject
* obj1
= 0 ;
41360 PyObject
* obj2
= 0 ;
41361 PyObject
* obj3
= 0 ;
41362 PyObject
* obj4
= 0 ;
41363 PyObject
* obj5
= 0 ;
41364 PyObject
* obj6
= 0 ;
41365 PyObject
* obj7
= 0 ;
41366 char * kwnames
[] = {
41367 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41372 if (!SWIG_IsOK(res1
)) {
41373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41375 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41376 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41377 if (!SWIG_IsOK(ecode2
)) {
41378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41380 arg2
= static_cast< int >(val2
);
41382 arg3
= wxString_in_helper(obj2
);
41383 if (arg3
== NULL
) SWIG_fail
;
41387 arg4
= wxString_in_helper(obj3
);
41388 if (arg4
== NULL
) SWIG_fail
;
41394 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41400 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41404 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41405 if (!SWIG_IsOK(ecode7
)) {
41406 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41408 arg7
= static_cast< long >(val7
);
41412 arg8
= wxString_in_helper(obj7
);
41413 if (arg8
== NULL
) SWIG_fail
;
41418 if (!wxPyCheckForApp()) SWIG_fail
;
41419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41420 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
41421 wxPyEndAllowThreads(__tstate
);
41422 if (PyErr_Occurred()) SWIG_fail
;
41424 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
41455 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41456 PyObject
*resultobj
= 0;
41457 wxHyperlinkCtrl
*result
= 0 ;
41459 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
41461 if (!wxPyCheckForApp()) SWIG_fail
;
41462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41463 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
41464 wxPyEndAllowThreads(__tstate
);
41465 if (PyErr_Occurred()) SWIG_fail
;
41467 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
41474 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41475 PyObject
*resultobj
= 0;
41476 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41477 wxWindow
*arg2
= (wxWindow
*) 0 ;
41479 wxString
*arg4
= 0 ;
41480 wxString
*arg5
= 0 ;
41481 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
41482 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
41483 wxSize
const &arg7_defvalue
= wxDefaultSize
;
41484 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
41485 long arg8
= (long) wxHL_DEFAULT_STYLE
;
41486 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
41487 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41495 bool temp4
= false ;
41496 bool temp5
= false ;
41501 bool temp9
= false ;
41502 PyObject
* obj0
= 0 ;
41503 PyObject
* obj1
= 0 ;
41504 PyObject
* obj2
= 0 ;
41505 PyObject
* obj3
= 0 ;
41506 PyObject
* obj4
= 0 ;
41507 PyObject
* obj5
= 0 ;
41508 PyObject
* obj6
= 0 ;
41509 PyObject
* obj7
= 0 ;
41510 PyObject
* obj8
= 0 ;
41511 char * kwnames
[] = {
41512 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41517 if (!SWIG_IsOK(res1
)) {
41518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41520 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41521 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41522 if (!SWIG_IsOK(res2
)) {
41523 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41525 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41526 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41527 if (!SWIG_IsOK(ecode3
)) {
41528 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41530 arg3
= static_cast< int >(val3
);
41532 arg4
= wxString_in_helper(obj3
);
41533 if (arg4
== NULL
) SWIG_fail
;
41537 arg5
= wxString_in_helper(obj4
);
41538 if (arg5
== NULL
) SWIG_fail
;
41544 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
41550 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
41554 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
41555 if (!SWIG_IsOK(ecode8
)) {
41556 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
41558 arg8
= static_cast< long >(val8
);
41562 arg9
= wxString_in_helper(obj8
);
41563 if (arg9
== NULL
) SWIG_fail
;
41568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41569 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
41570 wxPyEndAllowThreads(__tstate
);
41571 if (PyErr_Occurred()) SWIG_fail
;
41574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41606 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41607 PyObject
*resultobj
= 0;
41608 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41612 PyObject
*swig_obj
[1] ;
41614 if (!args
) SWIG_fail
;
41615 swig_obj
[0] = args
;
41616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41617 if (!SWIG_IsOK(res1
)) {
41618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41620 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41623 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
41624 wxPyEndAllowThreads(__tstate
);
41625 if (PyErr_Occurred()) SWIG_fail
;
41627 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41634 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41635 PyObject
*resultobj
= 0;
41636 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41637 wxColour
*arg2
= 0 ;
41641 PyObject
* obj0
= 0 ;
41642 PyObject
* obj1
= 0 ;
41643 char * kwnames
[] = {
41644 (char *) "self",(char *) "colour", NULL
41647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41649 if (!SWIG_IsOK(res1
)) {
41650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41652 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41655 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41659 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
41660 wxPyEndAllowThreads(__tstate
);
41661 if (PyErr_Occurred()) SWIG_fail
;
41663 resultobj
= SWIG_Py_Void();
41670 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41671 PyObject
*resultobj
= 0;
41672 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41676 PyObject
*swig_obj
[1] ;
41678 if (!args
) SWIG_fail
;
41679 swig_obj
[0] = args
;
41680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41681 if (!SWIG_IsOK(res1
)) {
41682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41684 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41687 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
41688 wxPyEndAllowThreads(__tstate
);
41689 if (PyErr_Occurred()) SWIG_fail
;
41691 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41698 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41699 PyObject
*resultobj
= 0;
41700 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41701 wxColour
*arg2
= 0 ;
41705 PyObject
* obj0
= 0 ;
41706 PyObject
* obj1
= 0 ;
41707 char * kwnames
[] = {
41708 (char *) "self",(char *) "colour", NULL
41711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41713 if (!SWIG_IsOK(res1
)) {
41714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41716 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41719 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41723 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
41724 wxPyEndAllowThreads(__tstate
);
41725 if (PyErr_Occurred()) SWIG_fail
;
41727 resultobj
= SWIG_Py_Void();
41734 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41735 PyObject
*resultobj
= 0;
41736 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41740 PyObject
*swig_obj
[1] ;
41742 if (!args
) SWIG_fail
;
41743 swig_obj
[0] = args
;
41744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41745 if (!SWIG_IsOK(res1
)) {
41746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41748 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41751 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
41752 wxPyEndAllowThreads(__tstate
);
41753 if (PyErr_Occurred()) SWIG_fail
;
41755 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41762 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41763 PyObject
*resultobj
= 0;
41764 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41765 wxColour
*arg2
= 0 ;
41769 PyObject
* obj0
= 0 ;
41770 PyObject
* obj1
= 0 ;
41771 char * kwnames
[] = {
41772 (char *) "self",(char *) "colour", NULL
41775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41777 if (!SWIG_IsOK(res1
)) {
41778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41780 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41783 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41787 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
41788 wxPyEndAllowThreads(__tstate
);
41789 if (PyErr_Occurred()) SWIG_fail
;
41791 resultobj
= SWIG_Py_Void();
41798 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41799 PyObject
*resultobj
= 0;
41800 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41804 PyObject
*swig_obj
[1] ;
41806 if (!args
) SWIG_fail
;
41807 swig_obj
[0] = args
;
41808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41809 if (!SWIG_IsOK(res1
)) {
41810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41812 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41815 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
41816 wxPyEndAllowThreads(__tstate
);
41817 if (PyErr_Occurred()) SWIG_fail
;
41821 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41823 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
41832 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41833 PyObject
*resultobj
= 0;
41834 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41835 wxString
*arg2
= 0 ;
41838 bool temp2
= false ;
41839 PyObject
* obj0
= 0 ;
41840 PyObject
* obj1
= 0 ;
41841 char * kwnames
[] = {
41842 (char *) "self",(char *) "url", NULL
41845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41847 if (!SWIG_IsOK(res1
)) {
41848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41850 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41852 arg2
= wxString_in_helper(obj1
);
41853 if (arg2
== NULL
) SWIG_fail
;
41857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41858 (arg1
)->SetURL((wxString
const &)*arg2
);
41859 wxPyEndAllowThreads(__tstate
);
41860 if (PyErr_Occurred()) SWIG_fail
;
41862 resultobj
= SWIG_Py_Void();
41877 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41878 PyObject
*resultobj
= 0;
41879 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41880 bool arg2
= (bool) true ;
41885 PyObject
* obj0
= 0 ;
41886 PyObject
* obj1
= 0 ;
41887 char * kwnames
[] = {
41888 (char *) "self",(char *) "visited", NULL
41891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41893 if (!SWIG_IsOK(res1
)) {
41894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41896 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41898 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
41899 if (!SWIG_IsOK(ecode2
)) {
41900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
41902 arg2
= static_cast< bool >(val2
);
41905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41906 (arg1
)->SetVisited(arg2
);
41907 wxPyEndAllowThreads(__tstate
);
41908 if (PyErr_Occurred()) SWIG_fail
;
41910 resultobj
= SWIG_Py_Void();
41917 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41918 PyObject
*resultobj
= 0;
41919 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41923 PyObject
*swig_obj
[1] ;
41925 if (!args
) SWIG_fail
;
41926 swig_obj
[0] = args
;
41927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41928 if (!SWIG_IsOK(res1
)) {
41929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41931 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41934 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
41935 wxPyEndAllowThreads(__tstate
);
41936 if (PyErr_Occurred()) SWIG_fail
;
41939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41947 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41949 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41950 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
41951 return SWIG_Py_Void();
41954 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41955 return SWIG_Python_InitShadowInstance(args
);
41958 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41959 PyObject
*resultobj
= 0;
41960 wxObject
*arg1
= (wxObject
*) 0 ;
41962 wxString
*arg3
= 0 ;
41963 wxHyperlinkEvent
*result
= 0 ;
41968 bool temp3
= false ;
41969 PyObject
* obj0
= 0 ;
41970 PyObject
* obj1
= 0 ;
41971 PyObject
* obj2
= 0 ;
41972 char * kwnames
[] = {
41973 (char *) "generator",(char *) "id",(char *) "url", NULL
41976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
41978 if (!SWIG_IsOK(res1
)) {
41979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
41981 arg1
= reinterpret_cast< wxObject
* >(argp1
);
41982 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41983 if (!SWIG_IsOK(ecode2
)) {
41984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
41986 arg2
= static_cast< int >(val2
);
41988 arg3
= wxString_in_helper(obj2
);
41989 if (arg3
== NULL
) SWIG_fail
;
41993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41994 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
41995 wxPyEndAllowThreads(__tstate
);
41996 if (PyErr_Occurred()) SWIG_fail
;
41998 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42013 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42014 PyObject
*resultobj
= 0;
42015 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42019 PyObject
*swig_obj
[1] ;
42021 if (!args
) SWIG_fail
;
42022 swig_obj
[0] = args
;
42023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42024 if (!SWIG_IsOK(res1
)) {
42025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42027 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42030 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42031 wxPyEndAllowThreads(__tstate
);
42032 if (PyErr_Occurred()) SWIG_fail
;
42036 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42038 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42047 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42048 PyObject
*resultobj
= 0;
42049 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42050 wxString
*arg2
= 0 ;
42053 bool temp2
= false ;
42054 PyObject
* obj0
= 0 ;
42055 PyObject
* obj1
= 0 ;
42056 char * kwnames
[] = {
42057 (char *) "self",(char *) "url", NULL
42060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42062 if (!SWIG_IsOK(res1
)) {
42063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42065 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42067 arg2
= wxString_in_helper(obj1
);
42068 if (arg2
== NULL
) SWIG_fail
;
42072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42073 (arg1
)->SetURL((wxString
const &)*arg2
);
42074 wxPyEndAllowThreads(__tstate
);
42075 if (PyErr_Occurred()) SWIG_fail
;
42077 resultobj
= SWIG_Py_Void();
42092 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42094 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42095 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42096 return SWIG_Py_Void();
42099 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42100 return SWIG_Python_InitShadowInstance(args
);
42103 static PyMethodDef SwigMethods
[] = {
42104 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42105 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
42106 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42107 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
42108 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
42109 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42110 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
42111 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
42112 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42113 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
42114 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42115 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
42116 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
42117 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
42118 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
42119 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
42120 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42121 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42122 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42123 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42124 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42125 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42126 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
42127 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
42128 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
42129 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
42130 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42131 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
42132 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42133 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
42134 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
42135 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42136 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
42137 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42138 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
42139 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
42140 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42141 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
42142 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
42143 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42144 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
42145 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42146 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
42147 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42148 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
42149 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
42150 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42151 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
42152 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42153 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
42154 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42155 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
42156 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
42157 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
42158 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42159 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
42160 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
42161 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42162 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42163 { (char *)"ComboBox_GetMark", (PyCFunction
)_wrap_ComboBox_GetMark
, METH_O
, NULL
},
42164 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
42165 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42166 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42167 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42168 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
42169 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42170 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
42171 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
42172 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
42173 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
42174 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
42175 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
42176 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
42177 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
42178 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
42179 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42180 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
42181 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
42182 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42183 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
42184 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42185 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42186 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
42187 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42188 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
42189 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
42190 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42191 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
42192 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42193 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
42194 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42195 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
42196 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
42197 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42198 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
42199 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42200 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42201 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
42202 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
42203 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42204 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
42205 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42206 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
42207 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
42208 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42209 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
42210 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
42211 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42212 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
42213 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42214 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42215 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42216 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
42217 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
42218 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42219 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
42220 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42221 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
42222 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42223 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42224 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42225 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
42226 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
42227 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42228 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
42229 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42230 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42231 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42232 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42233 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42234 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42235 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42236 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42237 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42238 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42239 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
42240 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42241 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42242 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42243 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42244 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
42245 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42246 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42247 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42248 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42249 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42250 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
42251 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
42252 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42253 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
42254 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42255 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42256 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42257 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
)_wrap_CheckListBox_GetItemHeight
, METH_O
, NULL
},
42258 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
42259 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
42260 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42261 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
42262 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
42263 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42264 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42265 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42266 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42267 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42268 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42269 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42270 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42271 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42272 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
42273 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
42274 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
42275 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
42276 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
42277 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
42278 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
42279 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42280 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
42281 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
42282 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
42283 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
42284 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
42285 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
42286 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
42287 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
42288 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
42289 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
42290 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42291 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
42292 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
42293 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42294 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
42295 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42296 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
42297 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42298 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42299 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42300 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42301 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
42302 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
42303 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
42304 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
42305 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
42306 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
42307 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
42308 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
42309 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42310 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42311 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42312 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42313 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
42314 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
42315 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42316 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42317 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42318 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42319 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42320 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42321 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42322 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
42323 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42324 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42325 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42326 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42327 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42328 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
42329 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
42330 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
42331 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
42332 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
42333 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
42334 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
42335 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
42336 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
42337 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
42338 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42339 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
42340 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
42341 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
42342 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42343 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
42344 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42345 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42346 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
)_wrap_TextCtrl_HideNativeCaret
, METH_O
, NULL
},
42347 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42348 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42349 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42350 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
42351 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
42352 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42353 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
42354 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
42355 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
42356 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
42357 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
42358 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42359 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
42360 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42361 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
42362 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
42363 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
42364 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
42365 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
42366 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42367 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42368 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
42369 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
42370 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42371 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
42372 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42373 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
42374 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
42375 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
42376 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42377 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42378 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42379 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42380 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
42381 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42382 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
42383 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
42384 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42385 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
42386 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42387 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
42388 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42389 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42390 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42391 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
42392 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
42393 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42394 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42395 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
42396 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
42397 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42398 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
42399 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42400 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
42401 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
42402 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42403 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
42404 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42405 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42406 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
42407 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
42408 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42409 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
42410 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42411 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42412 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42413 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42414 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42415 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42416 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42417 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
42418 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
42419 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42420 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42421 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42422 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42423 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
42424 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
42425 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42426 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
42427 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42428 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
42429 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42430 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42431 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
42432 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
42433 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42434 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
42435 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42436 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
42437 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42438 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42439 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
42440 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
42441 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42442 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42443 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42444 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42445 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
42446 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
42447 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42448 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
42449 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42450 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
42451 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
42452 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42453 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
42454 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
42455 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
42456 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42457 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42458 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
42459 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
42460 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42461 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
42462 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42463 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42464 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
42465 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42466 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
42467 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
42468 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
42469 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42470 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
42471 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
42472 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42473 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42474 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42475 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42476 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
42477 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42478 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42479 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42480 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42481 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
42482 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42483 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
42484 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42485 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
42486 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42487 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
42488 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
42489 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42490 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42491 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
42492 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42493 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42494 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42495 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42496 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42497 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42498 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
42499 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42500 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
42501 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42502 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
42503 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42504 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
42505 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
42506 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42507 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
42508 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42509 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
42510 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42511 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42512 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
42513 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42514 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
42515 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
42516 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42517 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
42518 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
42519 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42520 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
42521 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42522 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
42523 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
42524 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
42525 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42526 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
42527 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
42528 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42529 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
42530 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42531 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
42532 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
42533 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
42534 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42535 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
42536 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
42537 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42538 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
42539 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42540 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42541 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42542 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42543 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42544 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42545 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42546 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
42547 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
42548 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
42549 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42550 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
42551 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
42552 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42553 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
42554 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42555 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
42556 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
42557 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
42558 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
42559 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42560 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
42561 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
42562 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
42563 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
42564 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
42565 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
42566 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
42567 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
42568 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
42569 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
42570 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
42571 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
42572 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
42573 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
42574 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
42575 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
42576 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
42577 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
42578 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
42579 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42580 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
42581 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42582 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42583 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42584 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42585 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42586 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42587 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
42588 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42589 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
42590 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42591 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
42592 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42593 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42594 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42595 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42596 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42597 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42598 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42599 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
42600 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42601 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42602 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42603 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42604 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
42605 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
42606 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42607 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42608 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42609 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42610 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42611 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42612 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42613 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42614 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42615 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42616 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42617 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42618 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42619 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42620 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42621 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42622 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
42623 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
42624 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
42625 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
42626 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42627 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42628 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
42629 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
42630 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42631 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
42632 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
42633 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42634 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42635 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
42636 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
42637 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
42638 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42639 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
42640 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42641 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42642 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
42643 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
42644 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42645 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
42646 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42647 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42648 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42649 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
42650 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
42651 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
42652 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
42653 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
42654 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
42655 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42656 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
42657 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
42658 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
42659 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
42660 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
42661 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
42662 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
42663 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42664 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42665 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42666 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42667 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42668 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42669 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42670 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42671 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42672 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42673 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42674 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42675 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42676 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
42677 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
42678 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
42679 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
42680 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
42681 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
42682 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
42683 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
42684 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
42685 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
42686 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
42687 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
42688 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
42689 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
42690 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
42691 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
42692 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
42693 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
42694 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
42695 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
42696 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
42697 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
42698 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
42699 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
42700 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
42701 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
42702 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
42703 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
42704 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
42705 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
42706 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
42707 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
42708 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
42709 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
42710 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
42711 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
42712 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42713 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
42714 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
42715 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
42716 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
42717 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
42718 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
42719 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
42720 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
42721 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
42722 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
42723 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
42724 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
42725 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
42726 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
42727 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
42728 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
42729 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
42730 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
42731 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
42732 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
42733 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
42734 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
42735 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
42736 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
42737 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42738 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
42739 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
42740 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42741 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
42742 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42743 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42744 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42745 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42746 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42747 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42748 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
42749 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
42750 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
42751 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42752 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42753 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42754 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42755 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42756 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42757 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42758 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42759 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42760 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42761 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42762 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42763 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42764 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42765 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
42766 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
42767 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
42768 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
42769 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
42770 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42771 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
42772 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42773 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42774 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42775 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42776 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42777 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
42778 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
42779 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42780 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42781 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42782 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42783 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
42784 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42785 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
42786 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
42787 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42788 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42789 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42790 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42791 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42792 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42793 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42794 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42795 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42796 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42797 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42798 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42799 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42800 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42801 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42802 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42803 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42804 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42805 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42806 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42807 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42808 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42809 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42810 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
42811 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42812 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
42813 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
42814 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42815 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
42816 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42817 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42818 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42819 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
42820 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42821 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
42822 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42823 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42824 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42825 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
42826 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
42827 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
42828 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
42829 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
42830 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42831 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42832 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
42833 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
42834 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
42835 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
42836 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42837 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
42838 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
42839 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42840 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
42841 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42842 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
42843 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
42844 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
42845 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42846 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
42847 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42848 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
42849 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42850 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
42851 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42852 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
42853 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
42854 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42855 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
42856 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42857 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
42858 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42859 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42860 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
42861 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
42862 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
42863 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42864 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
42865 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42866 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42867 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
42868 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
42869 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42870 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
42871 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42872 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
42873 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
42874 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42875 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42876 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42877 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42878 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42879 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42880 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42881 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42882 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42883 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42884 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42885 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42886 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42887 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42888 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42889 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42890 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42891 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42892 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42893 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42894 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42895 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42896 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42897 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42898 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42899 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42900 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42901 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
42902 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
42903 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
42904 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42905 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42906 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42907 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42908 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42909 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42910 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
42911 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42912 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42913 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42914 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42915 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42916 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42917 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42918 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42919 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42920 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
42921 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42922 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42923 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42924 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42925 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
42926 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42927 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
42928 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42929 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42930 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42931 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42932 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42933 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
42934 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42935 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42936 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42937 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42938 { (char *)"TreeCtrl_SetState", (PyCFunction
) _wrap_TreeCtrl_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42939 { (char *)"TreeCtrl_GetState", (PyCFunction
) _wrap_TreeCtrl_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42940 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42941 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42942 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
42943 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
42944 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
42945 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42946 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
42947 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42948 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42949 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42950 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
42951 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42952 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
42953 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
42954 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42955 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42956 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
42957 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
42958 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42959 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
42960 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42961 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
42962 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
42963 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
42964 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42965 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
42966 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
42967 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
42968 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
42969 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42970 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
42971 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42972 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42973 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
42974 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
42975 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42976 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
42977 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42978 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42979 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42980 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42981 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42982 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42983 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42984 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
42985 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
42986 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
42987 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
42988 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
42989 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
42990 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
42991 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
42992 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
42993 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42994 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
42995 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42996 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
42997 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42998 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
42999 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43000 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
43001 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43002 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
43003 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
43004 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43005 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
43006 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43007 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
43008 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
43009 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
43010 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43011 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
43012 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
43013 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
43014 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43015 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
43016 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43017 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43018 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43019 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43020 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43021 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
43022 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
43023 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
43024 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
43025 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
43026 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43027 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43028 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43029 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43030 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43031 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
43032 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43033 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43034 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43035 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
43036 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43037 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
43038 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
43039 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43040 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43041 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43042 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43043 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
43044 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
43045 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43046 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
43047 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43048 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43049 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
43050 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43051 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
43052 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
43053 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
43054 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
43055 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43056 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
43057 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43058 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
43059 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43060 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
43061 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43062 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
43063 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43064 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
43065 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43066 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43067 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
43068 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
43069 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
43070 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43071 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
43072 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43073 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
43074 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
43075 { NULL
, NULL
, 0, NULL
}
43079 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
43081 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
43082 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
43084 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
43085 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
43087 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
43088 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
43090 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
43091 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
43093 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
43094 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
43096 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
43097 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
43099 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
43100 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
43102 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
43103 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
43105 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
43106 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
43108 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
43109 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
43111 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
43112 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
43114 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
43115 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
43117 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
43118 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
43120 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
43121 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
43123 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
43124 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
43126 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
43127 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
43129 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
43130 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
43132 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
43133 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
43135 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
43136 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
43138 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
43139 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
43141 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
43142 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
43144 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
43145 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
43147 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
43148 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
43150 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
43151 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
43153 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
43154 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
43156 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
43157 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
43159 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
43160 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
43162 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
43163 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
43165 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
43166 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
43168 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
43169 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
43171 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
43172 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
43174 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
43175 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
43177 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
43178 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
43180 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
43181 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
43183 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
43184 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
43186 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
43187 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
43189 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
43190 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
43192 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
43193 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
43195 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
43196 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
43198 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
43199 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
43201 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
43202 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
43204 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
43205 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
43207 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
43208 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
43210 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
43211 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
43213 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
43214 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
43216 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
43217 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
43219 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
43220 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
43222 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
43223 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
43225 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
43226 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
43228 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
43229 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
43231 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
43232 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
43234 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
43235 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
43237 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
43238 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
43240 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
43241 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
43243 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
43244 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
43246 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
43247 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
43249 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
43250 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
43252 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
43253 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
43255 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
43256 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
43258 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
43259 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
43261 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
43262 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
43264 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
43265 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
43267 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
43268 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
43270 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
43271 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
43273 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
43274 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
43276 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
43277 return (void *)((wxControl
*) ((wxPyControl
*) x
));
43279 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
43280 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
43282 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
43283 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
43285 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
43286 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
43288 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
43289 return (void *)((wxControl
*) ((wxGauge
*) x
));
43291 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
43292 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
43294 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
43295 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
43297 static void *_p_wxListbookTo_p_wxControl(void *x
) {
43298 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
43300 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
43301 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
43303 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
43304 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
43306 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
43307 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
43309 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
43310 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
43312 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
43313 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
43315 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
43316 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
43318 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
43319 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
43321 static void *_p_wxListViewTo_p_wxControl(void *x
) {
43322 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
43324 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
43325 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
43327 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
43328 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
43330 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
43331 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
43333 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
43334 return (void *)((wxControl
*) ((wxStaticText
*) x
));
43336 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
43337 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
43339 static void *_p_wxSliderTo_p_wxControl(void *x
) {
43340 return (void *)((wxControl
*) ((wxSlider
*) x
));
43342 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
43343 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
43345 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
43346 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
43348 static void *_p_wxButtonTo_p_wxControl(void *x
) {
43349 return (void *)((wxControl
*) ((wxButton
*) x
));
43351 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
43352 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
43354 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
43355 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
43357 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
43358 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
43360 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
43361 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
43363 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
43364 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
43366 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
43367 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
43369 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
43370 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
43372 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
43373 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
43375 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
43376 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
43378 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
43379 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
43381 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
43382 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
43384 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
43385 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
43387 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
43388 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
43390 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
43391 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
43393 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
43394 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
43396 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
43397 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
43399 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
43400 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
43402 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
43403 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
43405 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
43406 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
43408 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
43409 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
43411 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
43412 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
43414 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
43415 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
43417 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
43418 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
43420 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
43421 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
43423 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
43424 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
43426 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
43427 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
43429 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
43430 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
43432 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
43433 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
43435 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
43436 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
43438 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
43439 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
43441 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
43442 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
43444 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
43445 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
43447 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
43448 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
43450 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
43451 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
43453 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
43454 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
43456 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
43457 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
43459 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
43460 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
43462 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
43463 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
43465 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
43466 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
43468 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
43469 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
43471 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
43472 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
43474 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
43475 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
43477 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
43478 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
43480 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
43481 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
43483 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
43484 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
43486 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
43487 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
43489 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
43490 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
43492 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
43493 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
43495 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
43496 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
43498 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
43499 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
43501 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
43502 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
43504 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
43505 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
43507 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
43508 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
43510 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
43511 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
43513 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
43514 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
43516 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
43517 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
43519 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
43520 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
43522 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
43523 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
43525 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
43526 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
43528 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
43529 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
43531 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
43532 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
43534 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
43535 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
43537 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
43538 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
43540 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
43541 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
43543 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
43544 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
43546 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
43547 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
43549 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
43550 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
43552 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
43553 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
43555 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
43556 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
43558 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
43559 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
43561 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
43562 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
43564 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
43565 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
43567 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
43568 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
43570 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
43571 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
43573 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
43574 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
43576 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
43577 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
43579 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
43580 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
43582 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
43583 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
43585 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
43586 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
43588 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
43589 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
43591 static void *_p_wxSizerTo_p_wxObject(void *x
) {
43592 return (void *)((wxObject
*) ((wxSizer
*) x
));
43594 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
43595 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
43597 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
43598 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
43600 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
43601 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
43603 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
43604 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
43606 static void *_p_wxEventTo_p_wxObject(void *x
) {
43607 return (void *)((wxObject
*) ((wxEvent
*) x
));
43609 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
43610 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
43612 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
43613 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
43615 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
43616 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
43618 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
43619 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
43621 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
43622 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
43624 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
43625 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
43627 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
43628 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
43630 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
43631 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
43633 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
43634 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
43636 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
43637 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
43639 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
43640 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
43642 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
43643 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
43645 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
43646 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
43648 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
43649 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
43651 static void *_p_wxControlTo_p_wxObject(void *x
) {
43652 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
43654 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
43655 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
43657 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
43658 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
43660 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
43661 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
43663 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
43664 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
43666 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
43667 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
43669 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
43670 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
43672 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
43673 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
43675 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
43676 return (void *)((wxObject
*) ((wxFSFile
*) x
));
43678 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
43679 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
43681 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
43682 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
43684 static void *_p_wxListViewTo_p_wxObject(void *x
) {
43685 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
43687 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
43688 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
43690 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
43691 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
43693 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
43694 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
43696 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
43697 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
43699 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
43700 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
43702 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
43703 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
43705 static void *_p_wxListbookTo_p_wxObject(void *x
) {
43706 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
43708 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
43709 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
43711 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
43712 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
43714 static void *_p_wxSliderTo_p_wxObject(void *x
) {
43715 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
43717 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
43718 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
43720 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
43721 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
43723 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
43724 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
43726 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
43727 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
43729 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
43730 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
43732 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
43733 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
43735 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
43736 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
43738 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
43739 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
43741 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
43742 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
43744 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
43745 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
43747 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
43748 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
43750 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
43751 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
43753 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
43754 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
43756 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
43757 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
43759 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
43760 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
43762 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
43763 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
43765 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
43766 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
43768 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
43769 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
43771 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
43772 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
43774 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
43775 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
43777 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
43778 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
43780 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
43781 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
43783 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
43784 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
43786 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
43787 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
43789 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
43790 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
43792 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
43793 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
43795 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
43796 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
43798 static void *_p_wxListEventTo_p_wxObject(void *x
) {
43799 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
43801 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
43802 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
43804 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
43805 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
43807 static void *_p_wxButtonTo_p_wxObject(void *x
) {
43808 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
43810 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
43811 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
43813 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
43814 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
43816 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
43817 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
43819 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
43820 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
43822 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
43823 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
43825 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
43826 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
43828 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
43829 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
43831 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
43832 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
43834 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
43835 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
43837 static void *_p_wxListItemTo_p_wxObject(void *x
) {
43838 return (void *)((wxObject
*) ((wxListItem
*) x
));
43840 static void *_p_wxImageTo_p_wxObject(void *x
) {
43841 return (void *)((wxObject
*) ((wxImage
*) x
));
43843 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
43844 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
43846 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
43847 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
43849 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
43850 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
43852 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
43853 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
43855 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
43856 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
43858 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
43859 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
43861 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
43862 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
43864 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
43865 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
43867 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
43868 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
43870 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
43871 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
43873 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
43874 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
43876 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
43877 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
43879 static void *_p_wxWindowTo_p_wxObject(void *x
) {
43880 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
43882 static void *_p_wxMenuTo_p_wxObject(void *x
) {
43883 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
43885 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
43886 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
43888 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
43889 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
43891 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
43892 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
43894 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
43895 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
43897 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
43898 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
43900 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
43901 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
43903 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
43904 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
43906 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
43907 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
43909 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
43910 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
43912 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
43913 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
43915 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
43916 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
43918 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
43919 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
43921 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
43922 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
43924 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
43925 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
43927 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
43928 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
43930 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
43931 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
43933 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
43934 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
43936 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
43937 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
43939 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
43940 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
43942 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
43943 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
43945 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
43946 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
43948 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
43949 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
43951 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
43952 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
43954 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
43955 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
43957 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
43958 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
43960 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
43961 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
43963 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
43964 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
43966 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
43967 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
43969 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
43970 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
43972 static void *_p_wxControlTo_p_wxWindow(void *x
) {
43973 return (void *)((wxWindow
*) ((wxControl
*) x
));
43975 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
43976 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
43978 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
43979 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
43981 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
43982 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
43984 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
43985 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
43987 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
43988 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
43990 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
43991 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
43993 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
43994 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
43996 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
43997 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
43999 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
44000 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
44002 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
44003 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
44005 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
44006 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
44008 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
44009 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
44011 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
44012 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
44014 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
44015 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
44017 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
44018 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
44020 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
44021 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
44023 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
44024 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
44026 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
44027 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
44029 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
44030 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
44032 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
44033 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
44035 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
44036 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
44038 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
44039 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
44041 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
44042 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
44044 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
44045 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
44047 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
44048 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
44050 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
44051 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
44053 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
44054 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
44056 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
44057 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
44059 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
44060 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
44062 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
44063 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
44065 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
44066 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
44068 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
44069 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
44071 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
44072 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
44074 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
44075 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
44077 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
44078 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
44080 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
44081 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
44083 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
44084 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
44086 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
44087 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
44089 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
44090 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
44092 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
44093 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
44095 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
44096 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
44098 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
44099 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
44101 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
44102 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
44104 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
44105 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
44107 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
44108 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
44110 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
44111 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
44113 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
44114 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
44116 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
44117 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
44119 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
44120 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
44122 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
44123 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
44125 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
44126 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
44128 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
44129 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
44131 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
44132 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
44134 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
44135 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
44137 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
44138 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
44140 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
44141 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
44143 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
44144 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
44146 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
44147 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
44149 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
44150 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
44152 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
44153 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
44155 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
44156 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
44158 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
44159 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
44161 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
44162 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
44164 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
44165 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
44167 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
44168 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
44170 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
44171 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
44173 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
44174 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
44175 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};
44176 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
44177 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
44178 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
44179 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
44180 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
44181 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
44182 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
44183 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
44184 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
44185 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
44186 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
44187 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
44188 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
44189 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
44190 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
44191 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
44192 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
44193 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
44194 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
44195 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
44196 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
44197 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
44198 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
44199 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
44200 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
44201 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
44202 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
44203 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
44204 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
44205 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
44206 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
44207 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
44208 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
44209 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
44210 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
44211 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
44212 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
44213 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
44214 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
44215 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
44216 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
44217 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
44218 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
44219 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
44220 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
44221 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
44222 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
44223 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
44224 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
44225 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
44226 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
44227 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
44228 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
44229 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
44230 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
44231 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
44232 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
44233 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
44234 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
44235 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
44236 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
44237 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
44238 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
44239 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
44240 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
44241 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
44242 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
44243 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
44244 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
44245 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
44246 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
44247 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
44248 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
44249 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
44250 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
44251 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
44252 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
44253 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
44254 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
44255 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
44256 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
44257 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
44258 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
44259 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
44260 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
44261 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
44262 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
44263 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
44264 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
44265 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
44266 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
44267 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
44268 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
44269 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
44270 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
44271 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
44272 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
44273 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
44274 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
44275 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
44276 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
44277 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
44278 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
44279 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
44280 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
44281 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
44282 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
44283 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
44284 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
44285 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
44286 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
44287 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
44288 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
44289 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
44290 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
44291 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
44292 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
44293 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
44294 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
44295 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
44296 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
44297 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
44298 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
44299 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
44300 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
44301 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
44302 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
44303 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
44304 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
44305 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
44306 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
44307 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
44308 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
44309 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
44310 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
44311 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
44312 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
44313 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
44314 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
44315 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
44316 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
44317 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
44318 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
44319 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
44320 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
44321 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
44322 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
44323 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
44324 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
44325 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
44326 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
44327 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
44328 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
44329 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
44330 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
44331 static swig_type_info _swigt__p_wxTreeCtrl
= {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
44332 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
44333 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
44334 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
44335 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
44336 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
44337 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
44338 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
44340 static swig_type_info
*swig_type_initial
[] = {
44343 &_swigt__p_form_ops_t
,
44346 &_swigt__p_unsigned_char
,
44347 &_swigt__p_unsigned_int
,
44348 &_swigt__p_unsigned_long
,
44350 &_swigt__p_wxANIHandler
,
44351 &_swigt__p_wxAcceleratorTable
,
44352 &_swigt__p_wxActivateEvent
,
44353 &_swigt__p_wxArrayInt
,
44354 &_swigt__p_wxArrayString
,
44355 &_swigt__p_wxBMPHandler
,
44356 &_swigt__p_wxBitmap
,
44357 &_swigt__p_wxBitmapButton
,
44358 &_swigt__p_wxBookCtrlBase
,
44359 &_swigt__p_wxBookCtrlBaseEvent
,
44360 &_swigt__p_wxBoxSizer
,
44361 &_swigt__p_wxButton
,
44362 &_swigt__p_wxCURHandler
,
44363 &_swigt__p_wxCheckBox
,
44364 &_swigt__p_wxCheckListBox
,
44365 &_swigt__p_wxChildFocusEvent
,
44366 &_swigt__p_wxChoice
,
44367 &_swigt__p_wxChoicebook
,
44368 &_swigt__p_wxChoicebookEvent
,
44369 &_swigt__p_wxClipboardTextEvent
,
44370 &_swigt__p_wxCloseEvent
,
44371 &_swigt__p_wxColour
,
44372 &_swigt__p_wxComboBox
,
44373 &_swigt__p_wxCommandEvent
,
44374 &_swigt__p_wxContextHelp
,
44375 &_swigt__p_wxContextHelpButton
,
44376 &_swigt__p_wxContextMenuEvent
,
44377 &_swigt__p_wxControl
,
44378 &_swigt__p_wxControlWithItems
,
44379 &_swigt__p_wxCursor
,
44381 &_swigt__p_wxDateEvent
,
44382 &_swigt__p_wxDatePickerCtrl
,
44383 &_swigt__p_wxDateTime
,
44384 &_swigt__p_wxDirFilterListCtrl
,
44385 &_swigt__p_wxDisplayChangedEvent
,
44386 &_swigt__p_wxDropFilesEvent
,
44387 &_swigt__p_wxDuplexMode
,
44388 &_swigt__p_wxEraseEvent
,
44389 &_swigt__p_wxEvent
,
44390 &_swigt__p_wxEvtHandler
,
44391 &_swigt__p_wxFSFile
,
44392 &_swigt__p_wxFileSystem
,
44393 &_swigt__p_wxFlexGridSizer
,
44394 &_swigt__p_wxFocusEvent
,
44396 &_swigt__p_wxGBSizerItem
,
44397 &_swigt__p_wxGIFHandler
,
44398 &_swigt__p_wxGauge
,
44399 &_swigt__p_wxGenericDirCtrl
,
44400 &_swigt__p_wxGenericDragImage
,
44401 &_swigt__p_wxGridBagSizer
,
44402 &_swigt__p_wxGridSizer
,
44403 &_swigt__p_wxHelpEvent
,
44404 &_swigt__p_wxHelpProvider
,
44405 &_swigt__p_wxHyperlinkCtrl
,
44406 &_swigt__p_wxHyperlinkEvent
,
44407 &_swigt__p_wxICOHandler
,
44409 &_swigt__p_wxIconizeEvent
,
44410 &_swigt__p_wxIdleEvent
,
44411 &_swigt__p_wxImage
,
44412 &_swigt__p_wxImageHandler
,
44413 &_swigt__p_wxImageList
,
44414 &_swigt__p_wxIndividualLayoutConstraint
,
44415 &_swigt__p_wxInitDialogEvent
,
44416 &_swigt__p_wxItemContainer
,
44417 &_swigt__p_wxJPEGHandler
,
44418 &_swigt__p_wxKeyEvent
,
44419 &_swigt__p_wxLayoutConstraints
,
44420 &_swigt__p_wxListBox
,
44421 &_swigt__p_wxListEvent
,
44422 &_swigt__p_wxListItem
,
44423 &_swigt__p_wxListItemAttr
,
44424 &_swigt__p_wxListView
,
44425 &_swigt__p_wxListbook
,
44426 &_swigt__p_wxListbookEvent
,
44427 &_swigt__p_wxMaximizeEvent
,
44428 &_swigt__p_wxMemoryDC
,
44430 &_swigt__p_wxMenuBar
,
44431 &_swigt__p_wxMenuEvent
,
44432 &_swigt__p_wxMenuItem
,
44433 &_swigt__p_wxMouseCaptureChangedEvent
,
44434 &_swigt__p_wxMouseEvent
,
44435 &_swigt__p_wxMoveEvent
,
44436 &_swigt__p_wxNavigationKeyEvent
,
44437 &_swigt__p_wxNcPaintEvent
,
44438 &_swigt__p_wxNotebook
,
44439 &_swigt__p_wxNotebookEvent
,
44440 &_swigt__p_wxNotifyEvent
,
44441 &_swigt__p_wxObject
,
44442 &_swigt__p_wxPCXHandler
,
44443 &_swigt__p_wxPNGHandler
,
44444 &_swigt__p_wxPNMHandler
,
44445 &_swigt__p_wxPaintEvent
,
44446 &_swigt__p_wxPaletteChangedEvent
,
44447 &_swigt__p_wxPaperSize
,
44448 &_swigt__p_wxPoint
,
44449 &_swigt__p_wxPyApp
,
44450 &_swigt__p_wxPyCommandEvent
,
44451 &_swigt__p_wxPyControl
,
44452 &_swigt__p_wxPyEvent
,
44453 &_swigt__p_wxPyImageHandler
,
44454 &_swigt__p_wxPyListCtrl
,
44455 &_swigt__p_wxPySizer
,
44456 &_swigt__p_wxPyTreeCtrl
,
44457 &_swigt__p_wxPyTreeItemData
,
44458 &_swigt__p_wxPyValidator
,
44459 &_swigt__p_wxQueryNewPaletteEvent
,
44460 &_swigt__p_wxRadioBox
,
44461 &_swigt__p_wxRadioButton
,
44463 &_swigt__p_wxScrollBar
,
44464 &_swigt__p_wxScrollEvent
,
44465 &_swigt__p_wxScrollWinEvent
,
44466 &_swigt__p_wxSetCursorEvent
,
44467 &_swigt__p_wxShowEvent
,
44468 &_swigt__p_wxSimpleHelpProvider
,
44470 &_swigt__p_wxSizeEvent
,
44471 &_swigt__p_wxSizer
,
44472 &_swigt__p_wxSizerItem
,
44473 &_swigt__p_wxSlider
,
44474 &_swigt__p_wxSpinButton
,
44475 &_swigt__p_wxSpinCtrl
,
44476 &_swigt__p_wxSpinEvent
,
44477 &_swigt__p_wxStaticBitmap
,
44478 &_swigt__p_wxStaticBox
,
44479 &_swigt__p_wxStaticBoxSizer
,
44480 &_swigt__p_wxStaticLine
,
44481 &_swigt__p_wxStaticText
,
44482 &_swigt__p_wxStdDialogButtonSizer
,
44483 &_swigt__p_wxString
,
44484 &_swigt__p_wxSysColourChangedEvent
,
44485 &_swigt__p_wxTIFFHandler
,
44486 &_swigt__p_wxTextAttr
,
44487 &_swigt__p_wxTextCtrl
,
44488 &_swigt__p_wxTextUrlEvent
,
44489 &_swigt__p_wxToggleButton
,
44490 &_swigt__p_wxToolBar
,
44491 &_swigt__p_wxToolBarBase
,
44492 &_swigt__p_wxToolBarToolBase
,
44493 &_swigt__p_wxToolbook
,
44494 &_swigt__p_wxToolbookEvent
,
44495 &_swigt__p_wxTreeCtrl
,
44496 &_swigt__p_wxTreeEvent
,
44497 &_swigt__p_wxTreeItemId
,
44498 &_swigt__p_wxTreebook
,
44499 &_swigt__p_wxTreebookEvent
,
44500 &_swigt__p_wxUpdateUIEvent
,
44501 &_swigt__p_wxValidator
,
44502 &_swigt__p_wxVisualAttributes
,
44503 &_swigt__p_wxWindow
,
44504 &_swigt__p_wxWindowCreateEvent
,
44505 &_swigt__p_wxWindowDestroyEvent
,
44506 &_swigt__p_wxXPMHandler
,
44509 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
44510 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
44511 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
44512 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
44513 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
44514 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
44515 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
44516 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
44517 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
44518 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
44519 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
44520 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
44521 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}};
44522 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}};
44523 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}};
44524 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}};
44525 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
44526 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
44527 static swig_cast_info _swigc__p_wxChoice
[] = { {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxChoice
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0}, {&_swigt__p_wxChoice
, 0, 0, 0},{0, 0, 0, 0}};
44528 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
44529 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
44530 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
44531 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
44532 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
44533 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
44534 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
44535 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
44536 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
44537 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
44538 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
44539 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
44540 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
44541 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}};
44542 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
44543 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
44544 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}};
44545 static swig_cast_info _swigc__p_wxControlWithItems
[] = { {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxControlWithItems
, 0, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0},{0, 0, 0, 0}};
44546 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
44547 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
44548 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
44549 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
44550 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
44551 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
44552 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
44553 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
44554 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
44555 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
44556 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
44557 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
44558 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
44559 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
44560 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
44561 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
44562 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
44563 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
44564 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
44565 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
44566 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
44567 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
44568 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
44569 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
44570 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
44571 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
44572 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
44573 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
44574 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
44575 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
44576 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}};
44577 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
44578 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
44579 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
44580 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
44581 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}};
44582 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
44583 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
44584 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
44585 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
44586 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
44587 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}};
44588 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
44589 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
44590 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
44591 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
44592 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}};
44593 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
44594 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}};
44595 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
44596 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
44597 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
44598 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
44599 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
44600 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
44601 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
44602 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
44603 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
44604 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
44605 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}};
44606 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
44607 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
44608 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
44609 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
44610 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
44611 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
44612 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
44613 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
44614 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
44615 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
44616 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
44617 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
44618 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
44619 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
44620 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
44621 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
44622 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
44623 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
44624 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
44625 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
44626 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
44627 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
44628 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
44629 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
44630 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
44631 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
44632 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
44633 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
44634 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
44635 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
44636 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}};
44637 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
44638 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
44639 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
44640 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}};
44641 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
44642 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
44643 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
44644 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
44645 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
44646 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
44647 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
44648 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
44649 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
44650 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
44651 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
44652 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
44653 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
44654 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
44655 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
44656 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
44657 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
44658 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
44659 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
44660 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
44661 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
44662 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
44663 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}};
44664 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
44665 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
44666 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
44667 static swig_cast_info _swigc__p_wxTreeCtrl
[] = { {&_swigt__p_wxTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
44668 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
44669 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
44670 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
44671 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
44672 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}};
44673 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
44674 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}};
44676 static swig_cast_info
*swig_cast_initial
[] = {
44679 _swigc__p_form_ops_t
,
44682 _swigc__p_unsigned_char
,
44683 _swigc__p_unsigned_int
,
44684 _swigc__p_unsigned_long
,
44686 _swigc__p_wxANIHandler
,
44687 _swigc__p_wxAcceleratorTable
,
44688 _swigc__p_wxActivateEvent
,
44689 _swigc__p_wxArrayInt
,
44690 _swigc__p_wxArrayString
,
44691 _swigc__p_wxBMPHandler
,
44692 _swigc__p_wxBitmap
,
44693 _swigc__p_wxBitmapButton
,
44694 _swigc__p_wxBookCtrlBase
,
44695 _swigc__p_wxBookCtrlBaseEvent
,
44696 _swigc__p_wxBoxSizer
,
44697 _swigc__p_wxButton
,
44698 _swigc__p_wxCURHandler
,
44699 _swigc__p_wxCheckBox
,
44700 _swigc__p_wxCheckListBox
,
44701 _swigc__p_wxChildFocusEvent
,
44702 _swigc__p_wxChoice
,
44703 _swigc__p_wxChoicebook
,
44704 _swigc__p_wxChoicebookEvent
,
44705 _swigc__p_wxClipboardTextEvent
,
44706 _swigc__p_wxCloseEvent
,
44707 _swigc__p_wxColour
,
44708 _swigc__p_wxComboBox
,
44709 _swigc__p_wxCommandEvent
,
44710 _swigc__p_wxContextHelp
,
44711 _swigc__p_wxContextHelpButton
,
44712 _swigc__p_wxContextMenuEvent
,
44713 _swigc__p_wxControl
,
44714 _swigc__p_wxControlWithItems
,
44715 _swigc__p_wxCursor
,
44717 _swigc__p_wxDateEvent
,
44718 _swigc__p_wxDatePickerCtrl
,
44719 _swigc__p_wxDateTime
,
44720 _swigc__p_wxDirFilterListCtrl
,
44721 _swigc__p_wxDisplayChangedEvent
,
44722 _swigc__p_wxDropFilesEvent
,
44723 _swigc__p_wxDuplexMode
,
44724 _swigc__p_wxEraseEvent
,
44726 _swigc__p_wxEvtHandler
,
44727 _swigc__p_wxFSFile
,
44728 _swigc__p_wxFileSystem
,
44729 _swigc__p_wxFlexGridSizer
,
44730 _swigc__p_wxFocusEvent
,
44732 _swigc__p_wxGBSizerItem
,
44733 _swigc__p_wxGIFHandler
,
44735 _swigc__p_wxGenericDirCtrl
,
44736 _swigc__p_wxGenericDragImage
,
44737 _swigc__p_wxGridBagSizer
,
44738 _swigc__p_wxGridSizer
,
44739 _swigc__p_wxHelpEvent
,
44740 _swigc__p_wxHelpProvider
,
44741 _swigc__p_wxHyperlinkCtrl
,
44742 _swigc__p_wxHyperlinkEvent
,
44743 _swigc__p_wxICOHandler
,
44745 _swigc__p_wxIconizeEvent
,
44746 _swigc__p_wxIdleEvent
,
44748 _swigc__p_wxImageHandler
,
44749 _swigc__p_wxImageList
,
44750 _swigc__p_wxIndividualLayoutConstraint
,
44751 _swigc__p_wxInitDialogEvent
,
44752 _swigc__p_wxItemContainer
,
44753 _swigc__p_wxJPEGHandler
,
44754 _swigc__p_wxKeyEvent
,
44755 _swigc__p_wxLayoutConstraints
,
44756 _swigc__p_wxListBox
,
44757 _swigc__p_wxListEvent
,
44758 _swigc__p_wxListItem
,
44759 _swigc__p_wxListItemAttr
,
44760 _swigc__p_wxListView
,
44761 _swigc__p_wxListbook
,
44762 _swigc__p_wxListbookEvent
,
44763 _swigc__p_wxMaximizeEvent
,
44764 _swigc__p_wxMemoryDC
,
44766 _swigc__p_wxMenuBar
,
44767 _swigc__p_wxMenuEvent
,
44768 _swigc__p_wxMenuItem
,
44769 _swigc__p_wxMouseCaptureChangedEvent
,
44770 _swigc__p_wxMouseEvent
,
44771 _swigc__p_wxMoveEvent
,
44772 _swigc__p_wxNavigationKeyEvent
,
44773 _swigc__p_wxNcPaintEvent
,
44774 _swigc__p_wxNotebook
,
44775 _swigc__p_wxNotebookEvent
,
44776 _swigc__p_wxNotifyEvent
,
44777 _swigc__p_wxObject
,
44778 _swigc__p_wxPCXHandler
,
44779 _swigc__p_wxPNGHandler
,
44780 _swigc__p_wxPNMHandler
,
44781 _swigc__p_wxPaintEvent
,
44782 _swigc__p_wxPaletteChangedEvent
,
44783 _swigc__p_wxPaperSize
,
44786 _swigc__p_wxPyCommandEvent
,
44787 _swigc__p_wxPyControl
,
44788 _swigc__p_wxPyEvent
,
44789 _swigc__p_wxPyImageHandler
,
44790 _swigc__p_wxPyListCtrl
,
44791 _swigc__p_wxPySizer
,
44792 _swigc__p_wxPyTreeCtrl
,
44793 _swigc__p_wxPyTreeItemData
,
44794 _swigc__p_wxPyValidator
,
44795 _swigc__p_wxQueryNewPaletteEvent
,
44796 _swigc__p_wxRadioBox
,
44797 _swigc__p_wxRadioButton
,
44799 _swigc__p_wxScrollBar
,
44800 _swigc__p_wxScrollEvent
,
44801 _swigc__p_wxScrollWinEvent
,
44802 _swigc__p_wxSetCursorEvent
,
44803 _swigc__p_wxShowEvent
,
44804 _swigc__p_wxSimpleHelpProvider
,
44806 _swigc__p_wxSizeEvent
,
44808 _swigc__p_wxSizerItem
,
44809 _swigc__p_wxSlider
,
44810 _swigc__p_wxSpinButton
,
44811 _swigc__p_wxSpinCtrl
,
44812 _swigc__p_wxSpinEvent
,
44813 _swigc__p_wxStaticBitmap
,
44814 _swigc__p_wxStaticBox
,
44815 _swigc__p_wxStaticBoxSizer
,
44816 _swigc__p_wxStaticLine
,
44817 _swigc__p_wxStaticText
,
44818 _swigc__p_wxStdDialogButtonSizer
,
44819 _swigc__p_wxString
,
44820 _swigc__p_wxSysColourChangedEvent
,
44821 _swigc__p_wxTIFFHandler
,
44822 _swigc__p_wxTextAttr
,
44823 _swigc__p_wxTextCtrl
,
44824 _swigc__p_wxTextUrlEvent
,
44825 _swigc__p_wxToggleButton
,
44826 _swigc__p_wxToolBar
,
44827 _swigc__p_wxToolBarBase
,
44828 _swigc__p_wxToolBarToolBase
,
44829 _swigc__p_wxToolbook
,
44830 _swigc__p_wxToolbookEvent
,
44831 _swigc__p_wxTreeCtrl
,
44832 _swigc__p_wxTreeEvent
,
44833 _swigc__p_wxTreeItemId
,
44834 _swigc__p_wxTreebook
,
44835 _swigc__p_wxTreebookEvent
,
44836 _swigc__p_wxUpdateUIEvent
,
44837 _swigc__p_wxValidator
,
44838 _swigc__p_wxVisualAttributes
,
44839 _swigc__p_wxWindow
,
44840 _swigc__p_wxWindowCreateEvent
,
44841 _swigc__p_wxWindowDestroyEvent
,
44842 _swigc__p_wxXPMHandler
,
44846 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
44848 static swig_const_info swig_const_table
[] = {
44849 {0, 0, 0, 0.0, 0, 0}};
44854 /* -----------------------------------------------------------------------------
44855 * Type initialization:
44856 * This problem is tough by the requirement that no dynamic
44857 * memory is used. Also, since swig_type_info structures store pointers to
44858 * swig_cast_info structures and swig_cast_info structures store pointers back
44859 * to swig_type_info structures, we need some lookup code at initialization.
44860 * The idea is that swig generates all the structures that are needed.
44861 * The runtime then collects these partially filled structures.
44862 * The SWIG_InitializeModule function takes these initial arrays out of
44863 * swig_module, and does all the lookup, filling in the swig_module.types
44864 * array with the correct data and linking the correct swig_cast_info
44865 * structures together.
44867 * The generated swig_type_info structures are assigned staticly to an initial
44868 * array. We just loop though that array, and handle each type individually.
44869 * First we lookup if this type has been already loaded, and if so, use the
44870 * loaded structure instead of the generated one. Then we have to fill in the
44871 * cast linked list. The cast data is initially stored in something like a
44872 * two-dimensional array. Each row corresponds to a type (there are the same
44873 * number of rows as there are in the swig_type_initial array). Each entry in
44874 * a column is one of the swig_cast_info structures for that type.
44875 * The cast_initial array is actually an array of arrays, because each row has
44876 * a variable number of columns. So to actually build the cast linked list,
44877 * we find the array of casts associated with the type, and loop through it
44878 * adding the casts to the list. The one last trick we need to do is making
44879 * sure the type pointer in the swig_cast_info struct is correct.
44881 * First off, we lookup the cast->type name to see if it is already loaded.
44882 * There are three cases to handle:
44883 * 1) If the cast->type has already been loaded AND the type we are adding
44884 * casting info to has not been loaded (it is in this module), THEN we
44885 * replace the cast->type pointer with the type pointer that has already
44887 * 2) If BOTH types (the one we are adding casting info to, and the
44888 * cast->type) are loaded, THEN the cast info has already been loaded by
44889 * the previous module so we just ignore it.
44890 * 3) Finally, if cast->type has not already been loaded, then we add that
44891 * swig_cast_info to the linked list (because the cast->type) pointer will
44893 * ----------------------------------------------------------------------------- */
44903 #define SWIGRUNTIME_DEBUG
44907 SWIG_InitializeModule(void *clientdata
) {
44909 swig_module_info
*module_head
;
44910 static int init_run
= 0;
44912 clientdata
= clientdata
;
44914 if (init_run
) return;
44917 /* Initialize the swig_module */
44918 swig_module
.type_initial
= swig_type_initial
;
44919 swig_module
.cast_initial
= swig_cast_initial
;
44921 /* Try and load any already created modules */
44922 module_head
= SWIG_GetModule(clientdata
);
44924 swig_module
.next
= module_head
->next
;
44925 module_head
->next
= &swig_module
;
44927 /* This is the first module loaded */
44928 swig_module
.next
= &swig_module
;
44929 SWIG_SetModule(clientdata
, &swig_module
);
44932 /* Now work on filling in swig_module.types */
44933 #ifdef SWIGRUNTIME_DEBUG
44934 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
44936 for (i
= 0; i
< swig_module
.size
; ++i
) {
44937 swig_type_info
*type
= 0;
44938 swig_type_info
*ret
;
44939 swig_cast_info
*cast
;
44941 #ifdef SWIGRUNTIME_DEBUG
44942 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
44945 /* if there is another module already loaded */
44946 if (swig_module
.next
!= &swig_module
) {
44947 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
44950 /* Overwrite clientdata field */
44951 #ifdef SWIGRUNTIME_DEBUG
44952 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
44954 if (swig_module
.type_initial
[i
]->clientdata
) {
44955 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
44956 #ifdef SWIGRUNTIME_DEBUG
44957 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
44961 type
= swig_module
.type_initial
[i
];
44964 /* Insert casting types */
44965 cast
= swig_module
.cast_initial
[i
];
44966 while (cast
->type
) {
44967 /* Don't need to add information already in the list */
44969 #ifdef SWIGRUNTIME_DEBUG
44970 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
44972 if (swig_module
.next
!= &swig_module
) {
44973 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
44974 #ifdef SWIGRUNTIME_DEBUG
44975 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
44979 if (type
== swig_module
.type_initial
[i
]) {
44980 #ifdef SWIGRUNTIME_DEBUG
44981 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
44986 /* Check for casting already in the list */
44987 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
44988 #ifdef SWIGRUNTIME_DEBUG
44989 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
44991 if (!ocast
) ret
= 0;
44996 #ifdef SWIGRUNTIME_DEBUG
44997 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
45000 type
->cast
->prev
= cast
;
45001 cast
->next
= type
->cast
;
45007 /* Set entry in modules->types array equal to the type */
45008 swig_module
.types
[i
] = type
;
45010 swig_module
.types
[i
] = 0;
45012 #ifdef SWIGRUNTIME_DEBUG
45013 printf("**** SWIG_InitializeModule: Cast List ******\n");
45014 for (i
= 0; i
< swig_module
.size
; ++i
) {
45016 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
45017 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
45018 while (cast
->type
) {
45019 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
45023 printf("---- Total casts: %d\n",j
);
45025 printf("**** SWIG_InitializeModule: Cast List ******\n");
45029 /* This function will propagate the clientdata field of type to
45030 * any new swig_type_info structures that have been added into the list
45031 * of equivalent types. It is like calling
45032 * SWIG_TypeClientData(type, clientdata) a second time.
45035 SWIG_PropagateClientData(void) {
45037 swig_cast_info
*equiv
;
45038 static int init_run
= 0;
45040 if (init_run
) return;
45043 for (i
= 0; i
< swig_module
.size
; i
++) {
45044 if (swig_module
.types
[i
]->clientdata
) {
45045 equiv
= swig_module
.types
[i
]->cast
;
45047 if (!equiv
->converter
) {
45048 if (equiv
->type
&& !equiv
->type
->clientdata
)
45049 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
45051 equiv
= equiv
->next
;
45071 /* Python-specific SWIG API */
45072 #define SWIG_newvarlink() SWIG_Python_newvarlink()
45073 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
45074 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
45076 /* -----------------------------------------------------------------------------
45077 * global variable support code.
45078 * ----------------------------------------------------------------------------- */
45080 typedef struct swig_globalvar
{
45081 char *name
; /* Name of global variable */
45082 PyObject
*(*get_attr
)(void); /* Return the current value */
45083 int (*set_attr
)(PyObject
*); /* Set the value */
45084 struct swig_globalvar
*next
;
45087 typedef struct swig_varlinkobject
{
45089 swig_globalvar
*vars
;
45090 } swig_varlinkobject
;
45092 SWIGINTERN PyObject
*
45093 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
45094 return PyString_FromString("<Swig global variables>");
45097 SWIGINTERN PyObject
*
45098 swig_varlink_str(swig_varlinkobject
*v
) {
45099 PyObject
*str
= PyString_FromString("(");
45100 swig_globalvar
*var
;
45101 for (var
= v
->vars
; var
; var
=var
->next
) {
45102 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
45103 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
45105 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
45110 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
45111 PyObject
*str
= swig_varlink_str(v
);
45112 fprintf(fp
,"Swig global variables ");
45113 fprintf(fp
,"%s\n", PyString_AsString(str
));
45119 swig_varlink_dealloc(swig_varlinkobject
*v
) {
45120 swig_globalvar
*var
= v
->vars
;
45122 swig_globalvar
*n
= var
->next
;
45129 SWIGINTERN PyObject
*
45130 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
45131 PyObject
*res
= NULL
;
45132 swig_globalvar
*var
= v
->vars
;
45134 if (strcmp(var
->name
,n
) == 0) {
45135 res
= (*var
->get_attr
)();
45140 if (res
== NULL
&& !PyErr_Occurred()) {
45141 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
45147 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
45149 swig_globalvar
*var
= v
->vars
;
45151 if (strcmp(var
->name
,n
) == 0) {
45152 res
= (*var
->set_attr
)(p
);
45157 if (res
== 1 && !PyErr_Occurred()) {
45158 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
45163 SWIGINTERN PyTypeObject
*
45164 swig_varlink_type(void) {
45165 static char varlink__doc__
[] = "Swig var link object";
45166 static PyTypeObject varlink_type
;
45167 static int type_init
= 0;
45169 const PyTypeObject tmp
45171 PyObject_HEAD_INIT(NULL
)
45172 0, /* Number of items in variable part (ob_size) */
45173 (char *)"swigvarlink", /* Type name (tp_name) */
45174 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
45175 0, /* Itemsize (tp_itemsize) */
45176 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
45177 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
45178 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
45179 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
45180 0, /* tp_compare */
45181 (reprfunc
) swig_varlink_repr
, /* tp_repr */
45182 0, /* tp_as_number */
45183 0, /* tp_as_sequence */
45184 0, /* tp_as_mapping */
45187 (reprfunc
)swig_varlink_str
, /* tp_str */
45188 0, /* tp_getattro */
45189 0, /* tp_setattro */
45190 0, /* tp_as_buffer */
45192 varlink__doc__
, /* tp_doc */
45193 0, /* tp_traverse */
45195 0, /* tp_richcompare */
45196 0, /* tp_weaklistoffset */
45197 #if PY_VERSION_HEX >= 0x02020000
45198 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
45200 #if PY_VERSION_HEX >= 0x02030000
45203 #ifdef COUNT_ALLOCS
45204 0,0,0,0 /* tp_alloc -> tp_next */
45207 varlink_type
= tmp
;
45208 varlink_type
.ob_type
= &PyType_Type
;
45211 return &varlink_type
;
45214 /* Create a variable linking object for use later */
45215 SWIGINTERN PyObject
*
45216 SWIG_Python_newvarlink(void) {
45217 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
45221 return ((PyObject
*) result
);
45225 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
45226 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
45227 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
45229 size_t size
= strlen(name
)+1;
45230 gv
->name
= (char *)malloc(size
);
45232 strncpy(gv
->name
,name
,size
);
45233 gv
->get_attr
= get_attr
;
45234 gv
->set_attr
= set_attr
;
45235 gv
->next
= v
->vars
;
45241 SWIGINTERN PyObject
*
45243 static PyObject
*_SWIG_globals
= 0;
45244 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
45245 return _SWIG_globals
;
45248 /* -----------------------------------------------------------------------------
45249 * constants/methods manipulation
45250 * ----------------------------------------------------------------------------- */
45252 /* Install Constants */
45254 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
45257 for (i
= 0; constants
[i
].type
; ++i
) {
45258 switch(constants
[i
].type
) {
45259 case SWIG_PY_POINTER
:
45260 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
45262 case SWIG_PY_BINARY
:
45263 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
45270 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
45276 /* -----------------------------------------------------------------------------*/
45277 /* Fix SwigMethods to carry the callback ptrs when needed */
45278 /* -----------------------------------------------------------------------------*/
45281 SWIG_Python_FixMethods(PyMethodDef
*methods
,
45282 swig_const_info
*const_table
,
45283 swig_type_info
**types
,
45284 swig_type_info
**types_initial
) {
45286 for (i
= 0; methods
[i
].ml_name
; ++i
) {
45287 char *c
= methods
[i
].ml_doc
;
45288 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
45290 swig_const_info
*ci
= 0;
45291 char *name
= c
+ 10;
45292 for (j
= 0; const_table
[j
].type
; ++j
) {
45293 if (strncmp(const_table
[j
].name
, name
,
45294 strlen(const_table
[j
].name
)) == 0) {
45295 ci
= &(const_table
[j
]);
45300 size_t shift
= (ci
->ptype
) - types
;
45301 swig_type_info
*ty
= types_initial
[shift
];
45302 size_t ldoc
= (c
- methods
[i
].ml_doc
);
45303 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
45304 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
45307 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
45309 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
45311 strncpy(buff
, "swig_ptr: ", 10);
45313 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
45314 methods
[i
].ml_doc
= ndoc
;
45326 /* -----------------------------------------------------------------------------*
45327 * Partial Init method
45328 * -----------------------------------------------------------------------------*/
45333 SWIGEXPORT
void SWIG_init(void) {
45336 /* Fix SwigMethods to carry the callback ptrs when needed */
45337 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
45339 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
45340 d
= PyModule_GetDict(m
);
45342 SWIG_InitializeModule(0);
45343 SWIG_InstallConstants(d
,swig_const_table
);
45346 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
45347 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
45348 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
45349 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
45350 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
45351 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
45352 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
45353 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
45354 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
45355 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
45356 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
45357 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
45358 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
45359 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
45360 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
45361 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
45362 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
45363 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
45364 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
45365 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
45366 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
45367 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
45368 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
45369 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
45370 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
45371 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
45372 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
45373 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
45374 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
45375 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
45376 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
45377 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
45378 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
45379 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
45380 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
45381 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
45382 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
45383 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
45384 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
45385 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
45386 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
45387 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
45388 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
45389 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
45390 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
45391 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
45392 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
45393 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
45394 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
45395 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
45396 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
45397 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
45398 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
45399 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
45400 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
45401 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
45402 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
45403 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
45404 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
45405 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
45406 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
45407 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
45408 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
45409 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
45410 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
45411 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
45412 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
45413 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
45414 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
45415 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
45416 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
45417 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
45418 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
45419 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
45420 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
45421 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
45422 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
45423 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
45424 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
45425 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
45426 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
45427 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
45428 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
45429 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
45430 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
45431 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
45432 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
45433 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
45434 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
45435 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
45436 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
45437 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
45438 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
45439 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
45440 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
45441 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
45442 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
45443 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
45444 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
45445 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
45446 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
45447 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
45448 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
45449 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
45450 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
45451 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
45452 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
45453 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
45454 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
45455 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
45456 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
45457 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
45458 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
45459 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
45460 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
45461 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
45462 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
45463 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
45464 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
45465 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
45466 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
45467 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
45468 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
45469 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
45470 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
45471 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
45472 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
45473 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
45474 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
45475 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
45476 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
45477 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
45478 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
45479 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
45480 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
45481 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
45482 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
45483 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
45484 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
45485 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
45486 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
45487 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
45488 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
45489 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
45490 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
45491 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
45492 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
45493 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
45494 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
45495 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
45496 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
45497 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
45498 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
45499 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
45500 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
45501 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
45502 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
45503 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
45504 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
45505 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
45506 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
45507 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
45508 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
45509 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
45510 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
45511 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
45512 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
45513 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
45514 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
45515 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
45516 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
45517 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
45518 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
45519 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
45520 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
45521 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
45522 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
45523 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
45524 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
45525 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
45526 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
45527 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
45528 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
45529 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
45530 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
45531 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
45532 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
45533 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
45534 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
45535 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
45536 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
45537 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
45538 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
45539 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
45540 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
45541 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
45542 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
45543 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
45544 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
45545 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
45546 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
45547 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
45548 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
45549 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
45550 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
45551 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
45552 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
45553 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
45554 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
45555 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
45556 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
45557 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
45558 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
45559 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
45560 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
45561 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
45562 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
45563 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
45564 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
45565 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
45566 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
45567 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
45568 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
45569 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
45570 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
45571 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
45572 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
45573 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
45574 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
45575 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
45576 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
45577 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
45578 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
45579 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
45580 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
45581 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
45582 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
45583 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
45584 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
45585 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
45586 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
45587 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
45588 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
45589 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
45590 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
45591 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
45592 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
45593 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
45594 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
45596 // Map renamed classes back to their common name for OOR
45597 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
45599 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
45600 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
45601 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
45602 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
45603 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
45604 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
45605 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
45606 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
45607 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
45608 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
45609 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
45610 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
45611 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
45612 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
45613 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
45614 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
45615 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
45616 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
45617 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
45618 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
45619 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
45620 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
45621 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
45622 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
45623 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
45624 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
45625 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
45626 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
45627 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
45628 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
45629 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
45630 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
45631 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
45632 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
45633 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
45634 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
45635 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
45636 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
45637 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
45638 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
45639 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
45640 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
45641 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
45642 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
45643 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
45644 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
45645 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
45646 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
45647 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
45648 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
45649 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
45650 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
45651 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
45652 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
45653 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
45655 // Map renamed classes back to their common name for OOR
45656 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
45657 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
45659 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
45660 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
45661 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
45662 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
45663 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
45664 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
45665 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
45666 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
45667 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
45668 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
45669 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
45670 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
45671 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
45673 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
45675 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
45676 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
45677 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
45678 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
45679 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
45680 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
45681 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
45682 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
45683 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
45684 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));