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
);
3351 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3355 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3356 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3361 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3362 PyObject
*pyobj
= 0;
3366 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3368 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3375 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3376 PyObject
*resultobj
= 0;
3377 wxWindow
*arg1
= (wxWindow
*) 0 ;
3378 int arg2
= (int) -1 ;
3379 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3380 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3381 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3382 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3383 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3384 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3385 long arg6
= (long) 0 ;
3386 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3387 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3388 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3389 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3390 wxButton
*result
= 0 ;
3395 bool temp3
= false ;
3402 bool temp8
= false ;
3403 PyObject
* obj0
= 0 ;
3404 PyObject
* obj1
= 0 ;
3405 PyObject
* obj2
= 0 ;
3406 PyObject
* obj3
= 0 ;
3407 PyObject
* obj4
= 0 ;
3408 PyObject
* obj5
= 0 ;
3409 PyObject
* obj6
= 0 ;
3410 PyObject
* obj7
= 0 ;
3411 char * kwnames
[] = {
3412 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3417 if (!SWIG_IsOK(res1
)) {
3418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3420 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3422 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3423 if (!SWIG_IsOK(ecode2
)) {
3424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3426 arg2
= static_cast< int >(val2
);
3430 arg3
= wxString_in_helper(obj2
);
3431 if (arg3
== NULL
) SWIG_fail
;
3438 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3444 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3448 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3449 if (!SWIG_IsOK(ecode6
)) {
3450 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3452 arg6
= static_cast< long >(val6
);
3455 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3456 if (!SWIG_IsOK(res7
)) {
3457 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3460 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3462 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3466 arg8
= wxString_in_helper(obj7
);
3467 if (arg8
== NULL
) SWIG_fail
;
3472 if (!wxPyCheckForApp()) SWIG_fail
;
3473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3474 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3475 wxPyEndAllowThreads(__tstate
);
3476 if (PyErr_Occurred()) SWIG_fail
;
3478 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3501 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3502 PyObject
*resultobj
= 0;
3503 wxButton
*result
= 0 ;
3505 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3507 if (!wxPyCheckForApp()) SWIG_fail
;
3508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3509 result
= (wxButton
*)new wxButton();
3510 wxPyEndAllowThreads(__tstate
);
3511 if (PyErr_Occurred()) SWIG_fail
;
3513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3520 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3521 PyObject
*resultobj
= 0;
3522 wxButton
*arg1
= (wxButton
*) 0 ;
3523 wxWindow
*arg2
= (wxWindow
*) 0 ;
3524 int arg3
= (int) -1 ;
3525 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3526 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3527 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3528 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3529 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3530 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3531 long arg7
= (long) 0 ;
3532 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3533 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3534 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3535 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3543 bool temp4
= false ;
3550 bool temp9
= false ;
3551 PyObject
* obj0
= 0 ;
3552 PyObject
* obj1
= 0 ;
3553 PyObject
* obj2
= 0 ;
3554 PyObject
* obj3
= 0 ;
3555 PyObject
* obj4
= 0 ;
3556 PyObject
* obj5
= 0 ;
3557 PyObject
* obj6
= 0 ;
3558 PyObject
* obj7
= 0 ;
3559 PyObject
* obj8
= 0 ;
3560 char * kwnames
[] = {
3561 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3566 if (!SWIG_IsOK(res1
)) {
3567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3569 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3570 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3571 if (!SWIG_IsOK(res2
)) {
3572 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3574 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3576 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3577 if (!SWIG_IsOK(ecode3
)) {
3578 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3580 arg3
= static_cast< int >(val3
);
3584 arg4
= wxString_in_helper(obj3
);
3585 if (arg4
== NULL
) SWIG_fail
;
3592 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3598 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3602 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3603 if (!SWIG_IsOK(ecode7
)) {
3604 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3606 arg7
= static_cast< long >(val7
);
3609 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3610 if (!SWIG_IsOK(res8
)) {
3611 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3614 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3616 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3620 arg9
= wxString_in_helper(obj8
);
3621 if (arg9
== NULL
) SWIG_fail
;
3626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3627 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3628 wxPyEndAllowThreads(__tstate
);
3629 if (PyErr_Occurred()) SWIG_fail
;
3632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3656 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3657 PyObject
*resultobj
= 0;
3658 wxButton
*arg1
= (wxButton
*) 0 ;
3661 PyObject
*swig_obj
[1] ;
3663 if (!args
) SWIG_fail
;
3665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3666 if (!SWIG_IsOK(res1
)) {
3667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3669 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3672 (arg1
)->SetDefault();
3673 wxPyEndAllowThreads(__tstate
);
3674 if (PyErr_Occurred()) SWIG_fail
;
3676 resultobj
= SWIG_Py_Void();
3683 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3684 PyObject
*resultobj
= 0;
3687 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3690 result
= wxButton::GetDefaultSize();
3691 wxPyEndAllowThreads(__tstate
);
3692 if (PyErr_Occurred()) SWIG_fail
;
3694 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3701 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3702 PyObject
*resultobj
= 0;
3703 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3704 SwigValueWrapper
<wxVisualAttributes
> result
;
3707 PyObject
* obj0
= 0 ;
3708 char * kwnames
[] = {
3709 (char *) "variant", NULL
3712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3714 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3715 if (!SWIG_IsOK(ecode1
)) {
3716 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3718 arg1
= static_cast< wxWindowVariant
>(val1
);
3721 if (!wxPyCheckForApp()) SWIG_fail
;
3722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3723 result
= wxButton::GetClassDefaultAttributes(arg1
);
3724 wxPyEndAllowThreads(__tstate
);
3725 if (PyErr_Occurred()) SWIG_fail
;
3727 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3734 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3736 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3737 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3738 return SWIG_Py_Void();
3741 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3742 return SWIG_Python_InitShadowInstance(args
);
3745 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3746 PyObject
*resultobj
= 0;
3747 wxWindow
*arg1
= (wxWindow
*) 0 ;
3748 int arg2
= (int) -1 ;
3749 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3750 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3751 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3752 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3753 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3754 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3755 long arg6
= (long) wxBU_AUTODRAW
;
3756 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3757 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3758 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3759 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3760 wxBitmapButton
*result
= 0 ;
3773 bool temp8
= false ;
3774 PyObject
* obj0
= 0 ;
3775 PyObject
* obj1
= 0 ;
3776 PyObject
* obj2
= 0 ;
3777 PyObject
* obj3
= 0 ;
3778 PyObject
* obj4
= 0 ;
3779 PyObject
* obj5
= 0 ;
3780 PyObject
* obj6
= 0 ;
3781 PyObject
* obj7
= 0 ;
3782 char * kwnames
[] = {
3783 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3788 if (!SWIG_IsOK(res1
)) {
3789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3791 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3794 if (!SWIG_IsOK(ecode2
)) {
3795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3797 arg2
= static_cast< int >(val2
);
3800 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3801 if (!SWIG_IsOK(res3
)) {
3802 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3805 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3807 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3812 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3818 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3822 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3823 if (!SWIG_IsOK(ecode6
)) {
3824 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3826 arg6
= static_cast< long >(val6
);
3829 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3830 if (!SWIG_IsOK(res7
)) {
3831 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3834 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3836 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3840 arg8
= wxString_in_helper(obj7
);
3841 if (arg8
== NULL
) SWIG_fail
;
3846 if (!wxPyCheckForApp()) SWIG_fail
;
3847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3848 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3849 wxPyEndAllowThreads(__tstate
);
3850 if (PyErr_Occurred()) SWIG_fail
;
3852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3867 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3868 PyObject
*resultobj
= 0;
3869 wxBitmapButton
*result
= 0 ;
3871 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3873 if (!wxPyCheckForApp()) SWIG_fail
;
3874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3875 result
= (wxBitmapButton
*)new wxBitmapButton();
3876 wxPyEndAllowThreads(__tstate
);
3877 if (PyErr_Occurred()) SWIG_fail
;
3879 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3886 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3887 PyObject
*resultobj
= 0;
3888 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3889 wxWindow
*arg2
= (wxWindow
*) 0 ;
3890 int arg3
= (int) -1 ;
3891 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3892 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3893 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3894 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3895 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3896 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3897 long arg7
= (long) wxBU_AUTODRAW
;
3898 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3899 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3900 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3901 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3917 bool temp9
= false ;
3918 PyObject
* obj0
= 0 ;
3919 PyObject
* obj1
= 0 ;
3920 PyObject
* obj2
= 0 ;
3921 PyObject
* obj3
= 0 ;
3922 PyObject
* obj4
= 0 ;
3923 PyObject
* obj5
= 0 ;
3924 PyObject
* obj6
= 0 ;
3925 PyObject
* obj7
= 0 ;
3926 PyObject
* obj8
= 0 ;
3927 char * kwnames
[] = {
3928 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3933 if (!SWIG_IsOK(res1
)) {
3934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3936 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3937 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3938 if (!SWIG_IsOK(res2
)) {
3939 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3941 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3943 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3944 if (!SWIG_IsOK(ecode3
)) {
3945 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3947 arg3
= static_cast< int >(val3
);
3950 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3951 if (!SWIG_IsOK(res4
)) {
3952 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3955 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3957 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3962 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3968 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3972 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3973 if (!SWIG_IsOK(ecode7
)) {
3974 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
3976 arg7
= static_cast< long >(val7
);
3979 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3980 if (!SWIG_IsOK(res8
)) {
3981 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3984 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3986 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3990 arg9
= wxString_in_helper(obj8
);
3991 if (arg9
== NULL
) SWIG_fail
;
3996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3997 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3998 wxPyEndAllowThreads(__tstate
);
3999 if (PyErr_Occurred()) SWIG_fail
;
4002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4018 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4019 PyObject
*resultobj
= 0;
4020 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4024 PyObject
*swig_obj
[1] ;
4026 if (!args
) SWIG_fail
;
4028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4029 if (!SWIG_IsOK(res1
)) {
4030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4032 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4035 result
= (arg1
)->GetBitmapLabel();
4036 wxPyEndAllowThreads(__tstate
);
4037 if (PyErr_Occurred()) SWIG_fail
;
4039 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4046 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4047 PyObject
*resultobj
= 0;
4048 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4052 PyObject
*swig_obj
[1] ;
4054 if (!args
) SWIG_fail
;
4056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4057 if (!SWIG_IsOK(res1
)) {
4058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4060 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4063 result
= (arg1
)->GetBitmapDisabled();
4064 wxPyEndAllowThreads(__tstate
);
4065 if (PyErr_Occurred()) SWIG_fail
;
4067 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4074 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4075 PyObject
*resultobj
= 0;
4076 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4080 PyObject
*swig_obj
[1] ;
4082 if (!args
) SWIG_fail
;
4084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4085 if (!SWIG_IsOK(res1
)) {
4086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4088 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4091 result
= (arg1
)->GetBitmapFocus();
4092 wxPyEndAllowThreads(__tstate
);
4093 if (PyErr_Occurred()) SWIG_fail
;
4095 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4102 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4103 PyObject
*resultobj
= 0;
4104 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4108 PyObject
*swig_obj
[1] ;
4110 if (!args
) SWIG_fail
;
4112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4113 if (!SWIG_IsOK(res1
)) {
4114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4116 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4119 result
= (arg1
)->GetBitmapSelected();
4120 wxPyEndAllowThreads(__tstate
);
4121 if (PyErr_Occurred()) SWIG_fail
;
4123 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4130 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4131 PyObject
*resultobj
= 0;
4132 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4136 PyObject
*swig_obj
[1] ;
4138 if (!args
) SWIG_fail
;
4140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4141 if (!SWIG_IsOK(res1
)) {
4142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4144 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4147 result
= (arg1
)->GetBitmapHover();
4148 wxPyEndAllowThreads(__tstate
);
4149 if (PyErr_Occurred()) SWIG_fail
;
4151 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4158 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4159 PyObject
*resultobj
= 0;
4160 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4161 wxBitmap
*arg2
= 0 ;
4166 PyObject
* obj0
= 0 ;
4167 PyObject
* obj1
= 0 ;
4168 char * kwnames
[] = {
4169 (char *) "self",(char *) "bitmap", NULL
4172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4174 if (!SWIG_IsOK(res1
)) {
4175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4177 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4178 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4179 if (!SWIG_IsOK(res2
)) {
4180 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4183 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4185 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4188 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4189 wxPyEndAllowThreads(__tstate
);
4190 if (PyErr_Occurred()) SWIG_fail
;
4192 resultobj
= SWIG_Py_Void();
4199 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4200 PyObject
*resultobj
= 0;
4201 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4202 wxBitmap
*arg2
= 0 ;
4207 PyObject
* obj0
= 0 ;
4208 PyObject
* obj1
= 0 ;
4209 char * kwnames
[] = {
4210 (char *) "self",(char *) "bitmap", NULL
4213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4215 if (!SWIG_IsOK(res1
)) {
4216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4218 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4219 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4220 if (!SWIG_IsOK(res2
)) {
4221 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4224 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4226 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4229 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4230 wxPyEndAllowThreads(__tstate
);
4231 if (PyErr_Occurred()) SWIG_fail
;
4233 resultobj
= SWIG_Py_Void();
4240 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4241 PyObject
*resultobj
= 0;
4242 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4243 wxBitmap
*arg2
= 0 ;
4248 PyObject
* obj0
= 0 ;
4249 PyObject
* obj1
= 0 ;
4250 char * kwnames
[] = {
4251 (char *) "self",(char *) "bitmap", NULL
4254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4256 if (!SWIG_IsOK(res1
)) {
4257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4259 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4260 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4261 if (!SWIG_IsOK(res2
)) {
4262 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4265 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4267 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4270 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4271 wxPyEndAllowThreads(__tstate
);
4272 if (PyErr_Occurred()) SWIG_fail
;
4274 resultobj
= SWIG_Py_Void();
4281 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4282 PyObject
*resultobj
= 0;
4283 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4284 wxBitmap
*arg2
= 0 ;
4289 PyObject
* obj0
= 0 ;
4290 PyObject
* obj1
= 0 ;
4291 char * kwnames
[] = {
4292 (char *) "self",(char *) "bitmap", NULL
4295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4297 if (!SWIG_IsOK(res1
)) {
4298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4300 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4301 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4302 if (!SWIG_IsOK(res2
)) {
4303 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4306 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4308 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4311 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4312 wxPyEndAllowThreads(__tstate
);
4313 if (PyErr_Occurred()) SWIG_fail
;
4315 resultobj
= SWIG_Py_Void();
4322 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4323 PyObject
*resultobj
= 0;
4324 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4325 wxBitmap
*arg2
= 0 ;
4330 PyObject
* obj0
= 0 ;
4331 PyObject
* obj1
= 0 ;
4332 char * kwnames
[] = {
4333 (char *) "self",(char *) "hover", NULL
4336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4338 if (!SWIG_IsOK(res1
)) {
4339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4341 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4342 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4343 if (!SWIG_IsOK(res2
)) {
4344 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4347 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4349 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4352 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4353 wxPyEndAllowThreads(__tstate
);
4354 if (PyErr_Occurred()) SWIG_fail
;
4356 resultobj
= SWIG_Py_Void();
4363 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4364 PyObject
*resultobj
= 0;
4365 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4374 PyObject
* obj0
= 0 ;
4375 PyObject
* obj1
= 0 ;
4376 PyObject
* obj2
= 0 ;
4377 char * kwnames
[] = {
4378 (char *) "self",(char *) "x",(char *) "y", NULL
4381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4383 if (!SWIG_IsOK(res1
)) {
4384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4386 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4387 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4388 if (!SWIG_IsOK(ecode2
)) {
4389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4391 arg2
= static_cast< int >(val2
);
4392 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4393 if (!SWIG_IsOK(ecode3
)) {
4394 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4396 arg3
= static_cast< int >(val3
);
4398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4399 (arg1
)->SetMargins(arg2
,arg3
);
4400 wxPyEndAllowThreads(__tstate
);
4401 if (PyErr_Occurred()) SWIG_fail
;
4403 resultobj
= SWIG_Py_Void();
4410 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4411 PyObject
*resultobj
= 0;
4412 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4416 PyObject
*swig_obj
[1] ;
4418 if (!args
) SWIG_fail
;
4420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4421 if (!SWIG_IsOK(res1
)) {
4422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4424 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4427 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4428 wxPyEndAllowThreads(__tstate
);
4429 if (PyErr_Occurred()) SWIG_fail
;
4431 resultobj
= SWIG_From_int(static_cast< int >(result
));
4438 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4439 PyObject
*resultobj
= 0;
4440 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4444 PyObject
*swig_obj
[1] ;
4446 if (!args
) SWIG_fail
;
4448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4449 if (!SWIG_IsOK(res1
)) {
4450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4452 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4455 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4456 wxPyEndAllowThreads(__tstate
);
4457 if (PyErr_Occurred()) SWIG_fail
;
4459 resultobj
= SWIG_From_int(static_cast< int >(result
));
4466 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4468 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4469 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4470 return SWIG_Py_Void();
4473 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4474 return SWIG_Python_InitShadowInstance(args
);
4477 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4478 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4483 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4484 PyObject
*pyobj
= 0;
4488 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4490 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4497 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4498 PyObject
*resultobj
= 0;
4499 wxWindow
*arg1
= (wxWindow
*) 0 ;
4500 int arg2
= (int) -1 ;
4501 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4502 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4503 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4504 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4505 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4506 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4507 long arg6
= (long) 0 ;
4508 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4509 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4510 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4511 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4512 wxCheckBox
*result
= 0 ;
4517 bool temp3
= false ;
4524 bool temp8
= false ;
4525 PyObject
* obj0
= 0 ;
4526 PyObject
* obj1
= 0 ;
4527 PyObject
* obj2
= 0 ;
4528 PyObject
* obj3
= 0 ;
4529 PyObject
* obj4
= 0 ;
4530 PyObject
* obj5
= 0 ;
4531 PyObject
* obj6
= 0 ;
4532 PyObject
* obj7
= 0 ;
4533 char * kwnames
[] = {
4534 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4539 if (!SWIG_IsOK(res1
)) {
4540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4542 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4544 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4545 if (!SWIG_IsOK(ecode2
)) {
4546 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4548 arg2
= static_cast< int >(val2
);
4552 arg3
= wxString_in_helper(obj2
);
4553 if (arg3
== NULL
) SWIG_fail
;
4560 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4566 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4570 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4571 if (!SWIG_IsOK(ecode6
)) {
4572 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4574 arg6
= static_cast< long >(val6
);
4577 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4578 if (!SWIG_IsOK(res7
)) {
4579 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4584 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4588 arg8
= wxString_in_helper(obj7
);
4589 if (arg8
== NULL
) SWIG_fail
;
4594 if (!wxPyCheckForApp()) SWIG_fail
;
4595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4596 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4597 wxPyEndAllowThreads(__tstate
);
4598 if (PyErr_Occurred()) SWIG_fail
;
4600 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4623 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4624 PyObject
*resultobj
= 0;
4625 wxCheckBox
*result
= 0 ;
4627 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4629 if (!wxPyCheckForApp()) SWIG_fail
;
4630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4631 result
= (wxCheckBox
*)new wxCheckBox();
4632 wxPyEndAllowThreads(__tstate
);
4633 if (PyErr_Occurred()) SWIG_fail
;
4635 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4642 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4643 PyObject
*resultobj
= 0;
4644 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4645 wxWindow
*arg2
= (wxWindow
*) 0 ;
4646 int arg3
= (int) -1 ;
4647 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4648 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4649 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4650 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4651 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4652 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4653 long arg7
= (long) 0 ;
4654 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4655 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4656 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4657 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4665 bool temp4
= false ;
4672 bool temp9
= false ;
4673 PyObject
* obj0
= 0 ;
4674 PyObject
* obj1
= 0 ;
4675 PyObject
* obj2
= 0 ;
4676 PyObject
* obj3
= 0 ;
4677 PyObject
* obj4
= 0 ;
4678 PyObject
* obj5
= 0 ;
4679 PyObject
* obj6
= 0 ;
4680 PyObject
* obj7
= 0 ;
4681 PyObject
* obj8
= 0 ;
4682 char * kwnames
[] = {
4683 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4688 if (!SWIG_IsOK(res1
)) {
4689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4691 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4692 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4693 if (!SWIG_IsOK(res2
)) {
4694 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4696 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4698 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4699 if (!SWIG_IsOK(ecode3
)) {
4700 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4702 arg3
= static_cast< int >(val3
);
4706 arg4
= wxString_in_helper(obj3
);
4707 if (arg4
== NULL
) SWIG_fail
;
4714 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4720 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4724 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4725 if (!SWIG_IsOK(ecode7
)) {
4726 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4728 arg7
= static_cast< long >(val7
);
4731 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4732 if (!SWIG_IsOK(res8
)) {
4733 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4736 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4738 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4742 arg9
= wxString_in_helper(obj8
);
4743 if (arg9
== NULL
) SWIG_fail
;
4748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4749 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4750 wxPyEndAllowThreads(__tstate
);
4751 if (PyErr_Occurred()) SWIG_fail
;
4754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4778 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4779 PyObject
*resultobj
= 0;
4780 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4784 PyObject
*swig_obj
[1] ;
4786 if (!args
) SWIG_fail
;
4788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4789 if (!SWIG_IsOK(res1
)) {
4790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4792 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4795 result
= (bool)(arg1
)->GetValue();
4796 wxPyEndAllowThreads(__tstate
);
4797 if (PyErr_Occurred()) SWIG_fail
;
4800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4808 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4809 PyObject
*resultobj
= 0;
4810 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4814 PyObject
*swig_obj
[1] ;
4816 if (!args
) SWIG_fail
;
4818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4819 if (!SWIG_IsOK(res1
)) {
4820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4822 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4825 result
= (bool)(arg1
)->IsChecked();
4826 wxPyEndAllowThreads(__tstate
);
4827 if (PyErr_Occurred()) SWIG_fail
;
4830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4838 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4839 PyObject
*resultobj
= 0;
4840 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4846 PyObject
* obj0
= 0 ;
4847 PyObject
* obj1
= 0 ;
4848 char * kwnames
[] = {
4849 (char *) "self",(char *) "state", NULL
4852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4854 if (!SWIG_IsOK(res1
)) {
4855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4857 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4858 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4859 if (!SWIG_IsOK(ecode2
)) {
4860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4862 arg2
= static_cast< bool >(val2
);
4864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4865 (arg1
)->SetValue(arg2
);
4866 wxPyEndAllowThreads(__tstate
);
4867 if (PyErr_Occurred()) SWIG_fail
;
4869 resultobj
= SWIG_Py_Void();
4876 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4877 PyObject
*resultobj
= 0;
4878 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4879 wxCheckBoxState result
;
4882 PyObject
*swig_obj
[1] ;
4884 if (!args
) SWIG_fail
;
4886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4887 if (!SWIG_IsOK(res1
)) {
4888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4890 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4893 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4894 wxPyEndAllowThreads(__tstate
);
4895 if (PyErr_Occurred()) SWIG_fail
;
4897 resultobj
= SWIG_From_int(static_cast< int >(result
));
4904 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4905 PyObject
*resultobj
= 0;
4906 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4907 wxCheckBoxState arg2
;
4912 PyObject
* obj0
= 0 ;
4913 PyObject
* obj1
= 0 ;
4914 char * kwnames
[] = {
4915 (char *) "self",(char *) "state", NULL
4918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4920 if (!SWIG_IsOK(res1
)) {
4921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4923 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4924 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4925 if (!SWIG_IsOK(ecode2
)) {
4926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4928 arg2
= static_cast< wxCheckBoxState
>(val2
);
4930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4931 (arg1
)->Set3StateValue(arg2
);
4932 wxPyEndAllowThreads(__tstate
);
4933 if (PyErr_Occurred()) SWIG_fail
;
4935 resultobj
= SWIG_Py_Void();
4942 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4943 PyObject
*resultobj
= 0;
4944 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4948 PyObject
*swig_obj
[1] ;
4950 if (!args
) SWIG_fail
;
4952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4953 if (!SWIG_IsOK(res1
)) {
4954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4956 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4959 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4960 wxPyEndAllowThreads(__tstate
);
4961 if (PyErr_Occurred()) SWIG_fail
;
4964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4972 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4973 PyObject
*resultobj
= 0;
4974 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4978 PyObject
*swig_obj
[1] ;
4980 if (!args
) SWIG_fail
;
4982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4983 if (!SWIG_IsOK(res1
)) {
4984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4986 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4989 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
4990 wxPyEndAllowThreads(__tstate
);
4991 if (PyErr_Occurred()) SWIG_fail
;
4994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5002 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5003 PyObject
*resultobj
= 0;
5004 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5005 SwigValueWrapper
<wxVisualAttributes
> result
;
5008 PyObject
* obj0
= 0 ;
5009 char * kwnames
[] = {
5010 (char *) "variant", NULL
5013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5015 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5016 if (!SWIG_IsOK(ecode1
)) {
5017 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5019 arg1
= static_cast< wxWindowVariant
>(val1
);
5022 if (!wxPyCheckForApp()) SWIG_fail
;
5023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5024 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5025 wxPyEndAllowThreads(__tstate
);
5026 if (PyErr_Occurred()) SWIG_fail
;
5028 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5035 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5037 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5038 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5039 return SWIG_Py_Void();
5042 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5043 return SWIG_Python_InitShadowInstance(args
);
5046 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5047 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5052 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5053 PyObject
*pyobj
= 0;
5057 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5059 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5066 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5067 PyObject
*resultobj
= 0;
5068 wxWindow
*arg1
= (wxWindow
*) 0 ;
5069 int arg2
= (int) -1 ;
5070 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5071 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5072 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5073 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5074 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5075 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5076 long arg6
= (long) 0 ;
5077 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5078 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5079 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5080 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5081 wxChoice
*result
= 0 ;
5088 bool temp5
= false ;
5093 bool temp8
= false ;
5094 PyObject
* obj0
= 0 ;
5095 PyObject
* obj1
= 0 ;
5096 PyObject
* obj2
= 0 ;
5097 PyObject
* obj3
= 0 ;
5098 PyObject
* obj4
= 0 ;
5099 PyObject
* obj5
= 0 ;
5100 PyObject
* obj6
= 0 ;
5101 PyObject
* obj7
= 0 ;
5102 char * kwnames
[] = {
5103 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5108 if (!SWIG_IsOK(res1
)) {
5109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5111 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5113 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5114 if (!SWIG_IsOK(ecode2
)) {
5115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5117 arg2
= static_cast< int >(val2
);
5122 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5128 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5133 if (! PySequence_Check(obj4
)) {
5134 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5137 arg5
= new wxArrayString
;
5139 int i
, len
=PySequence_Length(obj4
);
5140 for (i
=0; i
<len
; i
++) {
5141 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5142 wxString
* s
= wxString_in_helper(item
);
5143 if (PyErr_Occurred()) SWIG_fail
;
5151 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5152 if (!SWIG_IsOK(ecode6
)) {
5153 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5155 arg6
= static_cast< long >(val6
);
5158 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5159 if (!SWIG_IsOK(res7
)) {
5160 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5163 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5165 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5169 arg8
= wxString_in_helper(obj7
);
5170 if (arg8
== NULL
) SWIG_fail
;
5175 if (!wxPyCheckForApp()) SWIG_fail
;
5176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5177 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5178 wxPyEndAllowThreads(__tstate
);
5179 if (PyErr_Occurred()) SWIG_fail
;
5181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5183 if (temp5
) delete arg5
;
5192 if (temp5
) delete arg5
;
5202 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5203 PyObject
*resultobj
= 0;
5204 wxChoice
*result
= 0 ;
5206 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5208 if (!wxPyCheckForApp()) SWIG_fail
;
5209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5210 result
= (wxChoice
*)new wxChoice();
5211 wxPyEndAllowThreads(__tstate
);
5212 if (PyErr_Occurred()) SWIG_fail
;
5214 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5221 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5222 PyObject
*resultobj
= 0;
5223 wxChoice
*arg1
= (wxChoice
*) 0 ;
5224 wxWindow
*arg2
= (wxWindow
*) 0 ;
5225 int arg3
= (int) -1 ;
5226 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5227 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5228 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5229 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5230 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5231 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5232 long arg7
= (long) 0 ;
5233 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5234 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5235 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5236 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5246 bool temp6
= false ;
5251 bool temp9
= false ;
5252 PyObject
* obj0
= 0 ;
5253 PyObject
* obj1
= 0 ;
5254 PyObject
* obj2
= 0 ;
5255 PyObject
* obj3
= 0 ;
5256 PyObject
* obj4
= 0 ;
5257 PyObject
* obj5
= 0 ;
5258 PyObject
* obj6
= 0 ;
5259 PyObject
* obj7
= 0 ;
5260 PyObject
* obj8
= 0 ;
5261 char * kwnames
[] = {
5262 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5267 if (!SWIG_IsOK(res1
)) {
5268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5270 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5271 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5272 if (!SWIG_IsOK(res2
)) {
5273 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5275 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5277 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5278 if (!SWIG_IsOK(ecode3
)) {
5279 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5281 arg3
= static_cast< int >(val3
);
5286 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5292 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5297 if (! PySequence_Check(obj5
)) {
5298 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5301 arg6
= new wxArrayString
;
5303 int i
, len
=PySequence_Length(obj5
);
5304 for (i
=0; i
<len
; i
++) {
5305 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5306 wxString
* s
= wxString_in_helper(item
);
5307 if (PyErr_Occurred()) SWIG_fail
;
5315 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5316 if (!SWIG_IsOK(ecode7
)) {
5317 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5319 arg7
= static_cast< long >(val7
);
5322 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5323 if (!SWIG_IsOK(res8
)) {
5324 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5327 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5329 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5333 arg9
= wxString_in_helper(obj8
);
5334 if (arg9
== NULL
) SWIG_fail
;
5339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5340 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5341 wxPyEndAllowThreads(__tstate
);
5342 if (PyErr_Occurred()) SWIG_fail
;
5345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5348 if (temp6
) delete arg6
;
5357 if (temp6
) delete arg6
;
5367 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5368 PyObject
*resultobj
= 0;
5369 wxChoice
*arg1
= (wxChoice
*) 0 ;
5373 PyObject
*swig_obj
[1] ;
5375 if (!args
) SWIG_fail
;
5377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5378 if (!SWIG_IsOK(res1
)) {
5379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5381 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5384 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5385 wxPyEndAllowThreads(__tstate
);
5386 if (PyErr_Occurred()) SWIG_fail
;
5388 resultobj
= SWIG_From_int(static_cast< int >(result
));
5395 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5396 PyObject
*resultobj
= 0;
5397 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5398 SwigValueWrapper
<wxVisualAttributes
> result
;
5401 PyObject
* obj0
= 0 ;
5402 char * kwnames
[] = {
5403 (char *) "variant", NULL
5406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5408 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5409 if (!SWIG_IsOK(ecode1
)) {
5410 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5412 arg1
= static_cast< wxWindowVariant
>(val1
);
5415 if (!wxPyCheckForApp()) SWIG_fail
;
5416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5417 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5418 wxPyEndAllowThreads(__tstate
);
5419 if (PyErr_Occurred()) SWIG_fail
;
5421 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5428 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5430 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5431 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5432 return SWIG_Py_Void();
5435 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5436 return SWIG_Python_InitShadowInstance(args
);
5439 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5440 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5445 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5446 PyObject
*pyobj
= 0;
5450 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5452 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5459 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5460 PyObject
*resultobj
= 0;
5461 wxWindow
*arg1
= (wxWindow
*) 0 ;
5462 int arg2
= (int) -1 ;
5463 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5464 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5465 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5466 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5467 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5468 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5469 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5470 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5471 long arg7
= (long) 0 ;
5472 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5473 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5474 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5475 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5476 wxComboBox
*result
= 0 ;
5481 bool temp3
= false ;
5484 bool temp6
= false ;
5489 bool temp9
= false ;
5490 PyObject
* obj0
= 0 ;
5491 PyObject
* obj1
= 0 ;
5492 PyObject
* obj2
= 0 ;
5493 PyObject
* obj3
= 0 ;
5494 PyObject
* obj4
= 0 ;
5495 PyObject
* obj5
= 0 ;
5496 PyObject
* obj6
= 0 ;
5497 PyObject
* obj7
= 0 ;
5498 PyObject
* obj8
= 0 ;
5499 char * kwnames
[] = {
5500 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5505 if (!SWIG_IsOK(res1
)) {
5506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5508 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5510 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5511 if (!SWIG_IsOK(ecode2
)) {
5512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5514 arg2
= static_cast< int >(val2
);
5518 arg3
= wxString_in_helper(obj2
);
5519 if (arg3
== NULL
) SWIG_fail
;
5526 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5532 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5537 if (! PySequence_Check(obj5
)) {
5538 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5541 arg6
= new wxArrayString
;
5543 int i
, len
=PySequence_Length(obj5
);
5544 for (i
=0; i
<len
; i
++) {
5545 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5546 wxString
* s
= wxString_in_helper(item
);
5547 if (PyErr_Occurred()) SWIG_fail
;
5555 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5556 if (!SWIG_IsOK(ecode7
)) {
5557 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5559 arg7
= static_cast< long >(val7
);
5562 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5563 if (!SWIG_IsOK(res8
)) {
5564 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5567 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5569 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5573 arg9
= wxString_in_helper(obj8
);
5574 if (arg9
== NULL
) SWIG_fail
;
5579 if (!wxPyCheckForApp()) SWIG_fail
;
5580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5581 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5582 wxPyEndAllowThreads(__tstate
);
5583 if (PyErr_Occurred()) SWIG_fail
;
5585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5591 if (temp6
) delete arg6
;
5604 if (temp6
) delete arg6
;
5614 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5615 PyObject
*resultobj
= 0;
5616 wxComboBox
*result
= 0 ;
5618 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5620 if (!wxPyCheckForApp()) SWIG_fail
;
5621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5622 result
= (wxComboBox
*)new wxComboBox();
5623 wxPyEndAllowThreads(__tstate
);
5624 if (PyErr_Occurred()) SWIG_fail
;
5626 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5633 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5634 PyObject
*resultobj
= 0;
5635 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5636 wxWindow
*arg2
= (wxWindow
*) 0 ;
5637 int arg3
= (int) -1 ;
5638 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5639 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5640 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5641 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5642 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5643 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5644 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5645 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5646 long arg8
= (long) 0 ;
5647 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5648 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5649 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5650 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5658 bool temp4
= false ;
5661 bool temp7
= false ;
5666 bool temp10
= false ;
5667 PyObject
* obj0
= 0 ;
5668 PyObject
* obj1
= 0 ;
5669 PyObject
* obj2
= 0 ;
5670 PyObject
* obj3
= 0 ;
5671 PyObject
* obj4
= 0 ;
5672 PyObject
* obj5
= 0 ;
5673 PyObject
* obj6
= 0 ;
5674 PyObject
* obj7
= 0 ;
5675 PyObject
* obj8
= 0 ;
5676 PyObject
* obj9
= 0 ;
5677 char * kwnames
[] = {
5678 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5683 if (!SWIG_IsOK(res1
)) {
5684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5686 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5687 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5688 if (!SWIG_IsOK(res2
)) {
5689 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5691 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5693 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5694 if (!SWIG_IsOK(ecode3
)) {
5695 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5697 arg3
= static_cast< int >(val3
);
5701 arg4
= wxString_in_helper(obj3
);
5702 if (arg4
== NULL
) SWIG_fail
;
5709 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5715 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5720 if (! PySequence_Check(obj6
)) {
5721 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5724 arg7
= new wxArrayString
;
5726 int i
, len
=PySequence_Length(obj6
);
5727 for (i
=0; i
<len
; i
++) {
5728 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5729 wxString
* s
= wxString_in_helper(item
);
5730 if (PyErr_Occurred()) SWIG_fail
;
5738 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5739 if (!SWIG_IsOK(ecode8
)) {
5740 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5742 arg8
= static_cast< long >(val8
);
5745 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5746 if (!SWIG_IsOK(res9
)) {
5747 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5750 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5752 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5756 arg10
= wxString_in_helper(obj9
);
5757 if (arg10
== NULL
) SWIG_fail
;
5762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5763 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
5764 wxPyEndAllowThreads(__tstate
);
5765 if (PyErr_Occurred()) SWIG_fail
;
5768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5775 if (temp7
) delete arg7
;
5788 if (temp7
) delete arg7
;
5798 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5799 PyObject
*resultobj
= 0;
5800 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5804 PyObject
*swig_obj
[1] ;
5806 if (!args
) SWIG_fail
;
5808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5809 if (!SWIG_IsOK(res1
)) {
5810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5812 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5815 result
= ((wxComboBox
const *)arg1
)->GetValue();
5816 wxPyEndAllowThreads(__tstate
);
5817 if (PyErr_Occurred()) SWIG_fail
;
5821 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5823 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5832 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5833 PyObject
*resultobj
= 0;
5834 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5835 wxString
*arg2
= 0 ;
5838 bool temp2
= false ;
5839 PyObject
* obj0
= 0 ;
5840 PyObject
* obj1
= 0 ;
5841 char * kwnames
[] = {
5842 (char *) "self",(char *) "value", NULL
5845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5847 if (!SWIG_IsOK(res1
)) {
5848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5850 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5852 arg2
= wxString_in_helper(obj1
);
5853 if (arg2
== NULL
) SWIG_fail
;
5857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5858 (arg1
)->SetValue((wxString
const &)*arg2
);
5859 wxPyEndAllowThreads(__tstate
);
5860 if (PyErr_Occurred()) SWIG_fail
;
5862 resultobj
= SWIG_Py_Void();
5877 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5878 PyObject
*resultobj
= 0;
5879 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5882 PyObject
*swig_obj
[1] ;
5884 if (!args
) SWIG_fail
;
5886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5887 if (!SWIG_IsOK(res1
)) {
5888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5890 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5894 wxPyEndAllowThreads(__tstate
);
5895 if (PyErr_Occurred()) SWIG_fail
;
5897 resultobj
= SWIG_Py_Void();
5904 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5905 PyObject
*resultobj
= 0;
5906 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5909 PyObject
*swig_obj
[1] ;
5911 if (!args
) SWIG_fail
;
5913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5914 if (!SWIG_IsOK(res1
)) {
5915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5917 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5921 wxPyEndAllowThreads(__tstate
);
5922 if (PyErr_Occurred()) SWIG_fail
;
5924 resultobj
= SWIG_Py_Void();
5931 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5932 PyObject
*resultobj
= 0;
5933 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5936 PyObject
*swig_obj
[1] ;
5938 if (!args
) SWIG_fail
;
5940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5941 if (!SWIG_IsOK(res1
)) {
5942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5944 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5948 wxPyEndAllowThreads(__tstate
);
5949 if (PyErr_Occurred()) SWIG_fail
;
5951 resultobj
= SWIG_Py_Void();
5958 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5959 PyObject
*resultobj
= 0;
5960 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5966 PyObject
* obj0
= 0 ;
5967 PyObject
* obj1
= 0 ;
5968 char * kwnames
[] = {
5969 (char *) "self",(char *) "pos", NULL
5972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5974 if (!SWIG_IsOK(res1
)) {
5975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
5977 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5978 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
5979 if (!SWIG_IsOK(ecode2
)) {
5980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
5982 arg2
= static_cast< long >(val2
);
5984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5985 (arg1
)->SetInsertionPoint(arg2
);
5986 wxPyEndAllowThreads(__tstate
);
5987 if (PyErr_Occurred()) SWIG_fail
;
5989 resultobj
= SWIG_Py_Void();
5996 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5997 PyObject
*resultobj
= 0;
5998 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6002 PyObject
*swig_obj
[1] ;
6004 if (!args
) SWIG_fail
;
6006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6007 if (!SWIG_IsOK(res1
)) {
6008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6010 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6013 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6014 wxPyEndAllowThreads(__tstate
);
6015 if (PyErr_Occurred()) SWIG_fail
;
6017 resultobj
= SWIG_From_long(static_cast< long >(result
));
6024 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6025 PyObject
*resultobj
= 0;
6026 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6030 PyObject
*swig_obj
[1] ;
6032 if (!args
) SWIG_fail
;
6034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6035 if (!SWIG_IsOK(res1
)) {
6036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6038 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6041 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6042 wxPyEndAllowThreads(__tstate
);
6043 if (PyErr_Occurred()) SWIG_fail
;
6045 resultobj
= SWIG_From_long(static_cast< long >(result
));
6052 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6053 PyObject
*resultobj
= 0;
6054 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6057 wxString
*arg4
= 0 ;
6064 bool temp4
= false ;
6065 PyObject
* obj0
= 0 ;
6066 PyObject
* obj1
= 0 ;
6067 PyObject
* obj2
= 0 ;
6068 PyObject
* obj3
= 0 ;
6069 char * kwnames
[] = {
6070 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6075 if (!SWIG_IsOK(res1
)) {
6076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6078 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6079 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6080 if (!SWIG_IsOK(ecode2
)) {
6081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6083 arg2
= static_cast< long >(val2
);
6084 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6085 if (!SWIG_IsOK(ecode3
)) {
6086 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6088 arg3
= static_cast< long >(val3
);
6090 arg4
= wxString_in_helper(obj3
);
6091 if (arg4
== NULL
) SWIG_fail
;
6095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6096 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6097 wxPyEndAllowThreads(__tstate
);
6098 if (PyErr_Occurred()) SWIG_fail
;
6100 resultobj
= SWIG_Py_Void();
6115 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6116 PyObject
*resultobj
= 0;
6117 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6126 PyObject
* obj0
= 0 ;
6127 PyObject
* obj1
= 0 ;
6128 PyObject
* obj2
= 0 ;
6129 char * kwnames
[] = {
6130 (char *) "self",(char *) "from",(char *) "to", NULL
6133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6135 if (!SWIG_IsOK(res1
)) {
6136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6138 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6139 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6140 if (!SWIG_IsOK(ecode2
)) {
6141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6143 arg2
= static_cast< long >(val2
);
6144 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6145 if (!SWIG_IsOK(ecode3
)) {
6146 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6148 arg3
= static_cast< long >(val3
);
6150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6151 (arg1
)->SetSelection(arg2
,arg3
);
6152 wxPyEndAllowThreads(__tstate
);
6153 if (PyErr_Occurred()) SWIG_fail
;
6155 resultobj
= SWIG_Py_Void();
6162 SWIGINTERN PyObject
*_wrap_ComboBox_GetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6163 PyObject
*resultobj
= 0;
6164 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6165 long *arg2
= (long *) 0 ;
6166 long *arg3
= (long *) 0 ;
6170 int res2
= SWIG_TMPOBJ
;
6172 int res3
= SWIG_TMPOBJ
;
6173 PyObject
*swig_obj
[1] ;
6177 if (!args
) SWIG_fail
;
6179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6180 if (!SWIG_IsOK(res1
)) {
6181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6183 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6186 (arg1
)->GetSelection(arg2
,arg3
);
6187 wxPyEndAllowThreads(__tstate
);
6188 if (PyErr_Occurred()) SWIG_fail
;
6190 resultobj
= SWIG_Py_Void();
6191 if (SWIG_IsTmpObj(res2
)) {
6192 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6194 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6195 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6197 if (SWIG_IsTmpObj(res3
)) {
6198 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6200 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6201 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6209 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6210 PyObject
*resultobj
= 0;
6211 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6215 PyObject
*swig_obj
[1] ;
6217 if (!args
) SWIG_fail
;
6219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6220 if (!SWIG_IsOK(res1
)) {
6221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6223 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6226 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6227 wxPyEndAllowThreads(__tstate
);
6228 if (PyErr_Occurred()) SWIG_fail
;
6230 resultobj
= SWIG_From_int(static_cast< int >(result
));
6237 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6238 PyObject
*resultobj
= 0;
6239 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6240 wxString
*arg2
= 0 ;
6244 bool temp2
= false ;
6245 PyObject
* obj0
= 0 ;
6246 PyObject
* obj1
= 0 ;
6247 char * kwnames
[] = {
6248 (char *) "self",(char *) "string", NULL
6251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6253 if (!SWIG_IsOK(res1
)) {
6254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6256 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6258 arg2
= wxString_in_helper(obj1
);
6259 if (arg2
== NULL
) SWIG_fail
;
6263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6264 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6265 wxPyEndAllowThreads(__tstate
);
6266 if (PyErr_Occurred()) SWIG_fail
;
6269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6285 SWIGINTERN PyObject
*_wrap_ComboBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6286 PyObject
*resultobj
= 0;
6287 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6289 wxString
*arg3
= 0 ;
6294 bool temp3
= false ;
6295 PyObject
* obj0
= 0 ;
6296 PyObject
* obj1
= 0 ;
6297 PyObject
* obj2
= 0 ;
6298 char * kwnames
[] = {
6299 (char *) "self",(char *) "n",(char *) "string", NULL
6302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6304 if (!SWIG_IsOK(res1
)) {
6305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6307 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6309 if (!SWIG_IsOK(ecode2
)) {
6310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6312 arg2
= static_cast< int >(val2
);
6314 arg3
= wxString_in_helper(obj2
);
6315 if (arg3
== NULL
) SWIG_fail
;
6319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6320 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
6321 wxPyEndAllowThreads(__tstate
);
6322 if (PyErr_Occurred()) SWIG_fail
;
6324 resultobj
= SWIG_Py_Void();
6339 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6340 PyObject
*resultobj
= 0;
6341 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6347 PyObject
* obj0
= 0 ;
6348 PyObject
* obj1
= 0 ;
6349 char * kwnames
[] = {
6350 (char *) "self",(char *) "editable", NULL
6353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6355 if (!SWIG_IsOK(res1
)) {
6356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6358 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6359 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6360 if (!SWIG_IsOK(ecode2
)) {
6361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6363 arg2
= static_cast< bool >(val2
);
6365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6366 (arg1
)->SetEditable(arg2
);
6367 wxPyEndAllowThreads(__tstate
);
6368 if (PyErr_Occurred()) SWIG_fail
;
6370 resultobj
= SWIG_Py_Void();
6377 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6378 PyObject
*resultobj
= 0;
6379 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6382 PyObject
*swig_obj
[1] ;
6384 if (!args
) SWIG_fail
;
6386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6387 if (!SWIG_IsOK(res1
)) {
6388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6390 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6393 (arg1
)->SetInsertionPointEnd();
6394 wxPyEndAllowThreads(__tstate
);
6395 if (PyErr_Occurred()) SWIG_fail
;
6397 resultobj
= SWIG_Py_Void();
6404 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6405 PyObject
*resultobj
= 0;
6406 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6415 PyObject
* obj0
= 0 ;
6416 PyObject
* obj1
= 0 ;
6417 PyObject
* obj2
= 0 ;
6418 char * kwnames
[] = {
6419 (char *) "self",(char *) "from",(char *) "to", NULL
6422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6424 if (!SWIG_IsOK(res1
)) {
6425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6427 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6428 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6429 if (!SWIG_IsOK(ecode2
)) {
6430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6432 arg2
= static_cast< long >(val2
);
6433 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6434 if (!SWIG_IsOK(ecode3
)) {
6435 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6437 arg3
= static_cast< long >(val3
);
6439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6440 (arg1
)->Remove(arg2
,arg3
);
6441 wxPyEndAllowThreads(__tstate
);
6442 if (PyErr_Occurred()) SWIG_fail
;
6444 resultobj
= SWIG_Py_Void();
6451 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6452 PyObject
*resultobj
= 0;
6453 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6457 PyObject
*swig_obj
[1] ;
6459 if (!args
) SWIG_fail
;
6461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6462 if (!SWIG_IsOK(res1
)) {
6463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6465 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6468 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6469 wxPyEndAllowThreads(__tstate
);
6470 if (PyErr_Occurred()) SWIG_fail
;
6473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6481 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6482 PyObject
*resultobj
= 0;
6483 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6486 PyObject
*swig_obj
[1] ;
6488 if (!args
) SWIG_fail
;
6490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6491 if (!SWIG_IsOK(res1
)) {
6492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6494 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6498 wxPyEndAllowThreads(__tstate
);
6499 if (PyErr_Occurred()) SWIG_fail
;
6501 resultobj
= SWIG_Py_Void();
6508 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6509 PyObject
*resultobj
= 0;
6510 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6513 PyObject
*swig_obj
[1] ;
6515 if (!args
) SWIG_fail
;
6517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6518 if (!SWIG_IsOK(res1
)) {
6519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6521 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6525 wxPyEndAllowThreads(__tstate
);
6526 if (PyErr_Occurred()) SWIG_fail
;
6528 resultobj
= SWIG_Py_Void();
6535 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6536 PyObject
*resultobj
= 0;
6537 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6540 PyObject
*swig_obj
[1] ;
6542 if (!args
) SWIG_fail
;
6544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6545 if (!SWIG_IsOK(res1
)) {
6546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6548 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6551 (arg1
)->SelectAll();
6552 wxPyEndAllowThreads(__tstate
);
6553 if (PyErr_Occurred()) SWIG_fail
;
6555 resultobj
= SWIG_Py_Void();
6562 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6563 PyObject
*resultobj
= 0;
6564 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6568 PyObject
*swig_obj
[1] ;
6570 if (!args
) SWIG_fail
;
6572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6573 if (!SWIG_IsOK(res1
)) {
6574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6576 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6579 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6580 wxPyEndAllowThreads(__tstate
);
6581 if (PyErr_Occurred()) SWIG_fail
;
6584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6592 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6593 PyObject
*resultobj
= 0;
6594 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6598 PyObject
*swig_obj
[1] ;
6600 if (!args
) SWIG_fail
;
6602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6603 if (!SWIG_IsOK(res1
)) {
6604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6606 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6609 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6610 wxPyEndAllowThreads(__tstate
);
6611 if (PyErr_Occurred()) SWIG_fail
;
6614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6622 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6623 PyObject
*resultobj
= 0;
6624 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6628 PyObject
*swig_obj
[1] ;
6630 if (!args
) SWIG_fail
;
6632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6633 if (!SWIG_IsOK(res1
)) {
6634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6636 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6639 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6640 wxPyEndAllowThreads(__tstate
);
6641 if (PyErr_Occurred()) SWIG_fail
;
6644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6652 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6653 PyObject
*resultobj
= 0;
6654 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6658 PyObject
*swig_obj
[1] ;
6660 if (!args
) SWIG_fail
;
6662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6663 if (!SWIG_IsOK(res1
)) {
6664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6666 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6669 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6670 wxPyEndAllowThreads(__tstate
);
6671 if (PyErr_Occurred()) SWIG_fail
;
6674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6682 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6683 PyObject
*resultobj
= 0;
6684 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6688 PyObject
*swig_obj
[1] ;
6690 if (!args
) SWIG_fail
;
6692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6693 if (!SWIG_IsOK(res1
)) {
6694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6696 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6699 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6700 wxPyEndAllowThreads(__tstate
);
6701 if (PyErr_Occurred()) SWIG_fail
;
6704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6712 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6713 PyObject
*resultobj
= 0;
6714 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6715 SwigValueWrapper
<wxVisualAttributes
> result
;
6718 PyObject
* obj0
= 0 ;
6719 char * kwnames
[] = {
6720 (char *) "variant", NULL
6723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6725 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6726 if (!SWIG_IsOK(ecode1
)) {
6727 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6729 arg1
= static_cast< wxWindowVariant
>(val1
);
6732 if (!wxPyCheckForApp()) SWIG_fail
;
6733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6734 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6735 wxPyEndAllowThreads(__tstate
);
6736 if (PyErr_Occurred()) SWIG_fail
;
6738 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6745 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6747 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6748 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6749 return SWIG_Py_Void();
6752 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6753 return SWIG_Python_InitShadowInstance(args
);
6756 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6757 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6762 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6763 PyObject
*pyobj
= 0;
6767 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6769 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6776 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6777 PyObject
*resultobj
= 0;
6778 wxWindow
*arg1
= (wxWindow
*) 0 ;
6779 int arg2
= (int) -1 ;
6780 int arg3
= (int) 100 ;
6781 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6782 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6783 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6784 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6785 long arg6
= (long) wxGA_HORIZONTAL
;
6786 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6787 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6788 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6789 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6790 wxGauge
*result
= 0 ;
6803 bool temp8
= false ;
6804 PyObject
* obj0
= 0 ;
6805 PyObject
* obj1
= 0 ;
6806 PyObject
* obj2
= 0 ;
6807 PyObject
* obj3
= 0 ;
6808 PyObject
* obj4
= 0 ;
6809 PyObject
* obj5
= 0 ;
6810 PyObject
* obj6
= 0 ;
6811 PyObject
* obj7
= 0 ;
6812 char * kwnames
[] = {
6813 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6818 if (!SWIG_IsOK(res1
)) {
6819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6821 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6823 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6824 if (!SWIG_IsOK(ecode2
)) {
6825 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6827 arg2
= static_cast< int >(val2
);
6830 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6831 if (!SWIG_IsOK(ecode3
)) {
6832 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6834 arg3
= static_cast< int >(val3
);
6839 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6845 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6849 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6850 if (!SWIG_IsOK(ecode6
)) {
6851 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6853 arg6
= static_cast< long >(val6
);
6856 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6857 if (!SWIG_IsOK(res7
)) {
6858 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6861 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6863 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6867 arg8
= wxString_in_helper(obj7
);
6868 if (arg8
== NULL
) SWIG_fail
;
6873 if (!wxPyCheckForApp()) SWIG_fail
;
6874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6875 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6876 wxPyEndAllowThreads(__tstate
);
6877 if (PyErr_Occurred()) SWIG_fail
;
6879 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6894 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6895 PyObject
*resultobj
= 0;
6896 wxGauge
*result
= 0 ;
6898 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6900 if (!wxPyCheckForApp()) SWIG_fail
;
6901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6902 result
= (wxGauge
*)new wxGauge();
6903 wxPyEndAllowThreads(__tstate
);
6904 if (PyErr_Occurred()) SWIG_fail
;
6906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6913 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6914 PyObject
*resultobj
= 0;
6915 wxGauge
*arg1
= (wxGauge
*) 0 ;
6916 wxWindow
*arg2
= (wxWindow
*) 0 ;
6917 int arg3
= (int) -1 ;
6918 int arg4
= (int) 100 ;
6919 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6920 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6921 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6922 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6923 long arg7
= (long) wxGA_HORIZONTAL
;
6924 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6925 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6926 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6927 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6943 bool temp9
= false ;
6944 PyObject
* obj0
= 0 ;
6945 PyObject
* obj1
= 0 ;
6946 PyObject
* obj2
= 0 ;
6947 PyObject
* obj3
= 0 ;
6948 PyObject
* obj4
= 0 ;
6949 PyObject
* obj5
= 0 ;
6950 PyObject
* obj6
= 0 ;
6951 PyObject
* obj7
= 0 ;
6952 PyObject
* obj8
= 0 ;
6953 char * kwnames
[] = {
6954 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6959 if (!SWIG_IsOK(res1
)) {
6960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6962 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6963 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6964 if (!SWIG_IsOK(res2
)) {
6965 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6967 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6969 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6970 if (!SWIG_IsOK(ecode3
)) {
6971 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6973 arg3
= static_cast< int >(val3
);
6976 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6977 if (!SWIG_IsOK(ecode4
)) {
6978 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6980 arg4
= static_cast< int >(val4
);
6985 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6991 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6995 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6996 if (!SWIG_IsOK(ecode7
)) {
6997 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6999 arg7
= static_cast< long >(val7
);
7002 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
7003 if (!SWIG_IsOK(res8
)) {
7004 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7007 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7009 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
7013 arg9
= wxString_in_helper(obj8
);
7014 if (arg9
== NULL
) SWIG_fail
;
7019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7020 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7021 wxPyEndAllowThreads(__tstate
);
7022 if (PyErr_Occurred()) SWIG_fail
;
7025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7041 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7042 PyObject
*resultobj
= 0;
7043 wxGauge
*arg1
= (wxGauge
*) 0 ;
7049 PyObject
* obj0
= 0 ;
7050 PyObject
* obj1
= 0 ;
7051 char * kwnames
[] = {
7052 (char *) "self",(char *) "range", NULL
7055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7057 if (!SWIG_IsOK(res1
)) {
7058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7060 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7061 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7062 if (!SWIG_IsOK(ecode2
)) {
7063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7065 arg2
= static_cast< int >(val2
);
7067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7068 (arg1
)->SetRange(arg2
);
7069 wxPyEndAllowThreads(__tstate
);
7070 if (PyErr_Occurred()) SWIG_fail
;
7072 resultobj
= SWIG_Py_Void();
7079 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7080 PyObject
*resultobj
= 0;
7081 wxGauge
*arg1
= (wxGauge
*) 0 ;
7085 PyObject
*swig_obj
[1] ;
7087 if (!args
) SWIG_fail
;
7089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7090 if (!SWIG_IsOK(res1
)) {
7091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7093 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7096 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7097 wxPyEndAllowThreads(__tstate
);
7098 if (PyErr_Occurred()) SWIG_fail
;
7100 resultobj
= SWIG_From_int(static_cast< int >(result
));
7107 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7108 PyObject
*resultobj
= 0;
7109 wxGauge
*arg1
= (wxGauge
*) 0 ;
7115 PyObject
* obj0
= 0 ;
7116 PyObject
* obj1
= 0 ;
7117 char * kwnames
[] = {
7118 (char *) "self",(char *) "pos", NULL
7121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7123 if (!SWIG_IsOK(res1
)) {
7124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7126 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7127 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7128 if (!SWIG_IsOK(ecode2
)) {
7129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7131 arg2
= static_cast< int >(val2
);
7133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7134 (arg1
)->SetValue(arg2
);
7135 wxPyEndAllowThreads(__tstate
);
7136 if (PyErr_Occurred()) SWIG_fail
;
7138 resultobj
= SWIG_Py_Void();
7145 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7146 PyObject
*resultobj
= 0;
7147 wxGauge
*arg1
= (wxGauge
*) 0 ;
7151 PyObject
*swig_obj
[1] ;
7153 if (!args
) SWIG_fail
;
7155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7156 if (!SWIG_IsOK(res1
)) {
7157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7159 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7162 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7163 wxPyEndAllowThreads(__tstate
);
7164 if (PyErr_Occurred()) SWIG_fail
;
7166 resultobj
= SWIG_From_int(static_cast< int >(result
));
7173 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7174 PyObject
*resultobj
= 0;
7175 wxGauge
*arg1
= (wxGauge
*) 0 ;
7179 PyObject
*swig_obj
[1] ;
7181 if (!args
) SWIG_fail
;
7183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7184 if (!SWIG_IsOK(res1
)) {
7185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7187 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7190 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7191 wxPyEndAllowThreads(__tstate
);
7192 if (PyErr_Occurred()) SWIG_fail
;
7195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7203 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7204 PyObject
*resultobj
= 0;
7205 wxGauge
*arg1
= (wxGauge
*) 0 ;
7211 PyObject
* obj0
= 0 ;
7212 PyObject
* obj1
= 0 ;
7213 char * kwnames
[] = {
7214 (char *) "self",(char *) "w", NULL
7217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7219 if (!SWIG_IsOK(res1
)) {
7220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7222 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7223 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7224 if (!SWIG_IsOK(ecode2
)) {
7225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7227 arg2
= static_cast< int >(val2
);
7229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7230 (arg1
)->SetShadowWidth(arg2
);
7231 wxPyEndAllowThreads(__tstate
);
7232 if (PyErr_Occurred()) SWIG_fail
;
7234 resultobj
= SWIG_Py_Void();
7241 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7242 PyObject
*resultobj
= 0;
7243 wxGauge
*arg1
= (wxGauge
*) 0 ;
7247 PyObject
*swig_obj
[1] ;
7249 if (!args
) SWIG_fail
;
7251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7252 if (!SWIG_IsOK(res1
)) {
7253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7255 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7258 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7259 wxPyEndAllowThreads(__tstate
);
7260 if (PyErr_Occurred()) SWIG_fail
;
7262 resultobj
= SWIG_From_int(static_cast< int >(result
));
7269 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7270 PyObject
*resultobj
= 0;
7271 wxGauge
*arg1
= (wxGauge
*) 0 ;
7277 PyObject
* obj0
= 0 ;
7278 PyObject
* obj1
= 0 ;
7279 char * kwnames
[] = {
7280 (char *) "self",(char *) "w", NULL
7283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7285 if (!SWIG_IsOK(res1
)) {
7286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7288 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7290 if (!SWIG_IsOK(ecode2
)) {
7291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7293 arg2
= static_cast< int >(val2
);
7295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7296 (arg1
)->SetBezelFace(arg2
);
7297 wxPyEndAllowThreads(__tstate
);
7298 if (PyErr_Occurred()) SWIG_fail
;
7300 resultobj
= SWIG_Py_Void();
7307 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7308 PyObject
*resultobj
= 0;
7309 wxGauge
*arg1
= (wxGauge
*) 0 ;
7313 PyObject
*swig_obj
[1] ;
7315 if (!args
) SWIG_fail
;
7317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7318 if (!SWIG_IsOK(res1
)) {
7319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7321 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7324 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7325 wxPyEndAllowThreads(__tstate
);
7326 if (PyErr_Occurred()) SWIG_fail
;
7328 resultobj
= SWIG_From_int(static_cast< int >(result
));
7335 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7336 PyObject
*resultobj
= 0;
7337 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7338 SwigValueWrapper
<wxVisualAttributes
> result
;
7341 PyObject
* obj0
= 0 ;
7342 char * kwnames
[] = {
7343 (char *) "variant", NULL
7346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7348 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7349 if (!SWIG_IsOK(ecode1
)) {
7350 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7352 arg1
= static_cast< wxWindowVariant
>(val1
);
7355 if (!wxPyCheckForApp()) SWIG_fail
;
7356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7357 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7358 wxPyEndAllowThreads(__tstate
);
7359 if (PyErr_Occurred()) SWIG_fail
;
7361 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7368 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7370 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7371 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7372 return SWIG_Py_Void();
7375 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7376 return SWIG_Python_InitShadowInstance(args
);
7379 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7380 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7385 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7386 PyObject
*pyobj
= 0;
7390 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7392 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7399 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7400 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7405 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7406 PyObject
*pyobj
= 0;
7410 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7412 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7419 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7420 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7425 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7426 PyObject
*pyobj
= 0;
7430 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7432 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7439 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7440 PyObject
*resultobj
= 0;
7441 wxWindow
*arg1
= (wxWindow
*) 0 ;
7442 int arg2
= (int) -1 ;
7443 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7444 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7445 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7446 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7447 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7448 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7449 long arg6
= (long) 0 ;
7450 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7451 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7452 wxStaticBox
*result
= 0 ;
7457 bool temp3
= false ;
7462 bool temp7
= false ;
7463 PyObject
* obj0
= 0 ;
7464 PyObject
* obj1
= 0 ;
7465 PyObject
* obj2
= 0 ;
7466 PyObject
* obj3
= 0 ;
7467 PyObject
* obj4
= 0 ;
7468 PyObject
* obj5
= 0 ;
7469 PyObject
* obj6
= 0 ;
7470 char * kwnames
[] = {
7471 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7476 if (!SWIG_IsOK(res1
)) {
7477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7479 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7482 if (!SWIG_IsOK(ecode2
)) {
7483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7485 arg2
= static_cast< int >(val2
);
7489 arg3
= wxString_in_helper(obj2
);
7490 if (arg3
== NULL
) SWIG_fail
;
7497 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7503 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7507 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7508 if (!SWIG_IsOK(ecode6
)) {
7509 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7511 arg6
= static_cast< long >(val6
);
7515 arg7
= wxString_in_helper(obj6
);
7516 if (arg7
== NULL
) SWIG_fail
;
7521 if (!wxPyCheckForApp()) SWIG_fail
;
7522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7523 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7524 wxPyEndAllowThreads(__tstate
);
7525 if (PyErr_Occurred()) SWIG_fail
;
7527 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7550 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7551 PyObject
*resultobj
= 0;
7552 wxStaticBox
*result
= 0 ;
7554 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7556 if (!wxPyCheckForApp()) SWIG_fail
;
7557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7558 result
= (wxStaticBox
*)new wxStaticBox();
7559 wxPyEndAllowThreads(__tstate
);
7560 if (PyErr_Occurred()) SWIG_fail
;
7562 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7569 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7570 PyObject
*resultobj
= 0;
7571 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7572 wxWindow
*arg2
= (wxWindow
*) 0 ;
7573 int arg3
= (int) -1 ;
7574 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7575 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7576 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7577 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7578 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7579 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7580 long arg7
= (long) 0 ;
7581 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7582 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7590 bool temp4
= false ;
7595 bool temp8
= false ;
7596 PyObject
* obj0
= 0 ;
7597 PyObject
* obj1
= 0 ;
7598 PyObject
* obj2
= 0 ;
7599 PyObject
* obj3
= 0 ;
7600 PyObject
* obj4
= 0 ;
7601 PyObject
* obj5
= 0 ;
7602 PyObject
* obj6
= 0 ;
7603 PyObject
* obj7
= 0 ;
7604 char * kwnames
[] = {
7605 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7610 if (!SWIG_IsOK(res1
)) {
7611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7613 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7614 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7615 if (!SWIG_IsOK(res2
)) {
7616 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7618 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7620 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7621 if (!SWIG_IsOK(ecode3
)) {
7622 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7624 arg3
= static_cast< int >(val3
);
7628 arg4
= wxString_in_helper(obj3
);
7629 if (arg4
== NULL
) SWIG_fail
;
7636 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7642 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7646 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7647 if (!SWIG_IsOK(ecode7
)) {
7648 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7650 arg7
= static_cast< long >(val7
);
7654 arg8
= wxString_in_helper(obj7
);
7655 if (arg8
== NULL
) SWIG_fail
;
7660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7661 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7662 wxPyEndAllowThreads(__tstate
);
7663 if (PyErr_Occurred()) SWIG_fail
;
7666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7690 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7691 PyObject
*resultobj
= 0;
7692 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7693 SwigValueWrapper
<wxVisualAttributes
> result
;
7696 PyObject
* obj0
= 0 ;
7697 char * kwnames
[] = {
7698 (char *) "variant", NULL
7701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7703 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7704 if (!SWIG_IsOK(ecode1
)) {
7705 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7707 arg1
= static_cast< wxWindowVariant
>(val1
);
7710 if (!wxPyCheckForApp()) SWIG_fail
;
7711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7712 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7713 wxPyEndAllowThreads(__tstate
);
7714 if (PyErr_Occurred()) SWIG_fail
;
7716 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7723 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7725 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7726 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7727 return SWIG_Py_Void();
7730 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7731 return SWIG_Python_InitShadowInstance(args
);
7734 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7735 PyObject
*resultobj
= 0;
7736 wxWindow
*arg1
= (wxWindow
*) 0 ;
7737 int arg2
= (int) -1 ;
7738 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7739 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7740 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7741 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7742 long arg5
= (long) wxLI_HORIZONTAL
;
7743 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7744 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7745 wxStaticLine
*result
= 0 ;
7754 bool temp6
= false ;
7755 PyObject
* obj0
= 0 ;
7756 PyObject
* obj1
= 0 ;
7757 PyObject
* obj2
= 0 ;
7758 PyObject
* obj3
= 0 ;
7759 PyObject
* obj4
= 0 ;
7760 PyObject
* obj5
= 0 ;
7761 char * kwnames
[] = {
7762 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7767 if (!SWIG_IsOK(res1
)) {
7768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7770 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7772 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7773 if (!SWIG_IsOK(ecode2
)) {
7774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7776 arg2
= static_cast< int >(val2
);
7781 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7787 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7791 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7792 if (!SWIG_IsOK(ecode5
)) {
7793 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7795 arg5
= static_cast< long >(val5
);
7799 arg6
= wxString_in_helper(obj5
);
7800 if (arg6
== NULL
) SWIG_fail
;
7805 if (!wxPyCheckForApp()) SWIG_fail
;
7806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7807 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7808 wxPyEndAllowThreads(__tstate
);
7809 if (PyErr_Occurred()) SWIG_fail
;
7811 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7826 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7827 PyObject
*resultobj
= 0;
7828 wxStaticLine
*result
= 0 ;
7830 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7832 if (!wxPyCheckForApp()) SWIG_fail
;
7833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7834 result
= (wxStaticLine
*)new wxStaticLine();
7835 wxPyEndAllowThreads(__tstate
);
7836 if (PyErr_Occurred()) SWIG_fail
;
7838 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7845 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7846 PyObject
*resultobj
= 0;
7847 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7848 wxWindow
*arg2
= (wxWindow
*) 0 ;
7849 int arg3
= (int) -1 ;
7850 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7851 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7852 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7853 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7854 long arg6
= (long) wxLI_HORIZONTAL
;
7855 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7856 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7868 bool temp7
= false ;
7869 PyObject
* obj0
= 0 ;
7870 PyObject
* obj1
= 0 ;
7871 PyObject
* obj2
= 0 ;
7872 PyObject
* obj3
= 0 ;
7873 PyObject
* obj4
= 0 ;
7874 PyObject
* obj5
= 0 ;
7875 PyObject
* obj6
= 0 ;
7876 char * kwnames
[] = {
7877 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7882 if (!SWIG_IsOK(res1
)) {
7883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7885 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7886 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7887 if (!SWIG_IsOK(res2
)) {
7888 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7890 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7892 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7893 if (!SWIG_IsOK(ecode3
)) {
7894 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7896 arg3
= static_cast< int >(val3
);
7901 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7907 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7911 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7912 if (!SWIG_IsOK(ecode6
)) {
7913 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7915 arg6
= static_cast< long >(val6
);
7919 arg7
= wxString_in_helper(obj6
);
7920 if (arg7
== NULL
) SWIG_fail
;
7925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7926 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7927 wxPyEndAllowThreads(__tstate
);
7928 if (PyErr_Occurred()) SWIG_fail
;
7931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7947 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7948 PyObject
*resultobj
= 0;
7949 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7953 PyObject
*swig_obj
[1] ;
7955 if (!args
) SWIG_fail
;
7957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7958 if (!SWIG_IsOK(res1
)) {
7959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7961 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7964 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7965 wxPyEndAllowThreads(__tstate
);
7966 if (PyErr_Occurred()) SWIG_fail
;
7969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7977 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7978 PyObject
*resultobj
= 0;
7981 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
7983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7984 result
= (int)wxStaticLine::GetDefaultSize();
7985 wxPyEndAllowThreads(__tstate
);
7986 if (PyErr_Occurred()) SWIG_fail
;
7988 resultobj
= SWIG_From_int(static_cast< int >(result
));
7995 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7996 PyObject
*resultobj
= 0;
7997 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7998 SwigValueWrapper
<wxVisualAttributes
> result
;
8001 PyObject
* obj0
= 0 ;
8002 char * kwnames
[] = {
8003 (char *) "variant", NULL
8006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8008 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8009 if (!SWIG_IsOK(ecode1
)) {
8010 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8012 arg1
= static_cast< wxWindowVariant
>(val1
);
8015 if (!wxPyCheckForApp()) SWIG_fail
;
8016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8017 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8018 wxPyEndAllowThreads(__tstate
);
8019 if (PyErr_Occurred()) SWIG_fail
;
8021 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8028 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8030 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8031 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8032 return SWIG_Py_Void();
8035 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8036 return SWIG_Python_InitShadowInstance(args
);
8039 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8040 PyObject
*resultobj
= 0;
8041 wxWindow
*arg1
= (wxWindow
*) 0 ;
8042 int arg2
= (int) -1 ;
8043 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8044 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8045 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8046 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8047 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8048 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8049 long arg6
= (long) 0 ;
8050 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8051 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8052 wxStaticText
*result
= 0 ;
8057 bool temp3
= false ;
8062 bool temp7
= false ;
8063 PyObject
* obj0
= 0 ;
8064 PyObject
* obj1
= 0 ;
8065 PyObject
* obj2
= 0 ;
8066 PyObject
* obj3
= 0 ;
8067 PyObject
* obj4
= 0 ;
8068 PyObject
* obj5
= 0 ;
8069 PyObject
* obj6
= 0 ;
8070 char * kwnames
[] = {
8071 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8076 if (!SWIG_IsOK(res1
)) {
8077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8079 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8082 if (!SWIG_IsOK(ecode2
)) {
8083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8085 arg2
= static_cast< int >(val2
);
8089 arg3
= wxString_in_helper(obj2
);
8090 if (arg3
== NULL
) SWIG_fail
;
8097 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8103 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8107 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8108 if (!SWIG_IsOK(ecode6
)) {
8109 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8111 arg6
= static_cast< long >(val6
);
8115 arg7
= wxString_in_helper(obj6
);
8116 if (arg7
== NULL
) SWIG_fail
;
8121 if (!wxPyCheckForApp()) SWIG_fail
;
8122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8123 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8124 wxPyEndAllowThreads(__tstate
);
8125 if (PyErr_Occurred()) SWIG_fail
;
8127 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8150 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8151 PyObject
*resultobj
= 0;
8152 wxStaticText
*result
= 0 ;
8154 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8156 if (!wxPyCheckForApp()) SWIG_fail
;
8157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8158 result
= (wxStaticText
*)new wxStaticText();
8159 wxPyEndAllowThreads(__tstate
);
8160 if (PyErr_Occurred()) SWIG_fail
;
8162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8169 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8170 PyObject
*resultobj
= 0;
8171 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8172 wxWindow
*arg2
= (wxWindow
*) 0 ;
8173 int arg3
= (int) -1 ;
8174 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8175 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8176 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8177 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8178 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8179 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8180 long arg7
= (long) 0 ;
8181 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8182 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8190 bool temp4
= false ;
8195 bool temp8
= false ;
8196 PyObject
* obj0
= 0 ;
8197 PyObject
* obj1
= 0 ;
8198 PyObject
* obj2
= 0 ;
8199 PyObject
* obj3
= 0 ;
8200 PyObject
* obj4
= 0 ;
8201 PyObject
* obj5
= 0 ;
8202 PyObject
* obj6
= 0 ;
8203 PyObject
* obj7
= 0 ;
8204 char * kwnames
[] = {
8205 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8210 if (!SWIG_IsOK(res1
)) {
8211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8213 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8214 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8215 if (!SWIG_IsOK(res2
)) {
8216 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8218 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8220 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8221 if (!SWIG_IsOK(ecode3
)) {
8222 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8224 arg3
= static_cast< int >(val3
);
8228 arg4
= wxString_in_helper(obj3
);
8229 if (arg4
== NULL
) SWIG_fail
;
8236 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8242 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8246 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8247 if (!SWIG_IsOK(ecode7
)) {
8248 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8250 arg7
= static_cast< long >(val7
);
8254 arg8
= wxString_in_helper(obj7
);
8255 if (arg8
== NULL
) SWIG_fail
;
8260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8261 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8262 wxPyEndAllowThreads(__tstate
);
8263 if (PyErr_Occurred()) SWIG_fail
;
8266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8290 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8291 PyObject
*resultobj
= 0;
8292 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8298 PyObject
* obj0
= 0 ;
8299 PyObject
* obj1
= 0 ;
8300 char * kwnames
[] = {
8301 (char *) "self",(char *) "width", NULL
8304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8306 if (!SWIG_IsOK(res1
)) {
8307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8309 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8310 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8311 if (!SWIG_IsOK(ecode2
)) {
8312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8314 arg2
= static_cast< int >(val2
);
8316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8318 wxPyEndAllowThreads(__tstate
);
8319 if (PyErr_Occurred()) SWIG_fail
;
8321 resultobj
= SWIG_Py_Void();
8328 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8329 PyObject
*resultobj
= 0;
8330 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8331 SwigValueWrapper
<wxVisualAttributes
> result
;
8334 PyObject
* obj0
= 0 ;
8335 char * kwnames
[] = {
8336 (char *) "variant", NULL
8339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8341 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8342 if (!SWIG_IsOK(ecode1
)) {
8343 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8345 arg1
= static_cast< wxWindowVariant
>(val1
);
8348 if (!wxPyCheckForApp()) SWIG_fail
;
8349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8350 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8351 wxPyEndAllowThreads(__tstate
);
8352 if (PyErr_Occurred()) SWIG_fail
;
8354 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8361 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8363 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8364 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8365 return SWIG_Py_Void();
8368 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8369 return SWIG_Python_InitShadowInstance(args
);
8372 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8373 PyObject
*resultobj
= 0;
8374 wxWindow
*arg1
= (wxWindow
*) 0 ;
8375 int arg2
= (int) -1 ;
8376 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8377 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8378 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8379 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8380 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8381 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8382 long arg6
= (long) 0 ;
8383 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8384 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8385 wxStaticBitmap
*result
= 0 ;
8396 bool temp7
= false ;
8397 PyObject
* obj0
= 0 ;
8398 PyObject
* obj1
= 0 ;
8399 PyObject
* obj2
= 0 ;
8400 PyObject
* obj3
= 0 ;
8401 PyObject
* obj4
= 0 ;
8402 PyObject
* obj5
= 0 ;
8403 PyObject
* obj6
= 0 ;
8404 char * kwnames
[] = {
8405 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8410 if (!SWIG_IsOK(res1
)) {
8411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8413 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8415 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8416 if (!SWIG_IsOK(ecode2
)) {
8417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8419 arg2
= static_cast< int >(val2
);
8422 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8423 if (!SWIG_IsOK(res3
)) {
8424 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8427 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8429 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8434 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8440 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8444 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8445 if (!SWIG_IsOK(ecode6
)) {
8446 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8448 arg6
= static_cast< long >(val6
);
8452 arg7
= wxString_in_helper(obj6
);
8453 if (arg7
== NULL
) SWIG_fail
;
8458 if (!wxPyCheckForApp()) SWIG_fail
;
8459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8460 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8461 wxPyEndAllowThreads(__tstate
);
8462 if (PyErr_Occurred()) SWIG_fail
;
8464 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8479 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8480 PyObject
*resultobj
= 0;
8481 wxStaticBitmap
*result
= 0 ;
8483 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8485 if (!wxPyCheckForApp()) SWIG_fail
;
8486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8487 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8488 wxPyEndAllowThreads(__tstate
);
8489 if (PyErr_Occurred()) SWIG_fail
;
8491 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8498 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8499 PyObject
*resultobj
= 0;
8500 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8501 wxWindow
*arg2
= (wxWindow
*) 0 ;
8502 int arg3
= (int) -1 ;
8503 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8504 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8505 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8506 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8507 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8508 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8509 long arg7
= (long) 0 ;
8510 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8511 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8525 bool temp8
= false ;
8526 PyObject
* obj0
= 0 ;
8527 PyObject
* obj1
= 0 ;
8528 PyObject
* obj2
= 0 ;
8529 PyObject
* obj3
= 0 ;
8530 PyObject
* obj4
= 0 ;
8531 PyObject
* obj5
= 0 ;
8532 PyObject
* obj6
= 0 ;
8533 PyObject
* obj7
= 0 ;
8534 char * kwnames
[] = {
8535 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8540 if (!SWIG_IsOK(res1
)) {
8541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8543 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8544 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8545 if (!SWIG_IsOK(res2
)) {
8546 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8548 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8550 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8551 if (!SWIG_IsOK(ecode3
)) {
8552 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8554 arg3
= static_cast< int >(val3
);
8557 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8558 if (!SWIG_IsOK(res4
)) {
8559 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8562 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8564 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8569 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8575 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8579 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8580 if (!SWIG_IsOK(ecode7
)) {
8581 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8583 arg7
= static_cast< long >(val7
);
8587 arg8
= wxString_in_helper(obj7
);
8588 if (arg8
== NULL
) SWIG_fail
;
8593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8594 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8595 wxPyEndAllowThreads(__tstate
);
8596 if (PyErr_Occurred()) SWIG_fail
;
8599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8615 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8616 PyObject
*resultobj
= 0;
8617 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8621 PyObject
*swig_obj
[1] ;
8623 if (!args
) SWIG_fail
;
8625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8626 if (!SWIG_IsOK(res1
)) {
8627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8629 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8632 result
= (arg1
)->GetBitmap();
8633 wxPyEndAllowThreads(__tstate
);
8634 if (PyErr_Occurred()) SWIG_fail
;
8636 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8643 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8644 PyObject
*resultobj
= 0;
8645 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8646 wxBitmap
*arg2
= 0 ;
8651 PyObject
* obj0
= 0 ;
8652 PyObject
* obj1
= 0 ;
8653 char * kwnames
[] = {
8654 (char *) "self",(char *) "bitmap", NULL
8657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8659 if (!SWIG_IsOK(res1
)) {
8660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8662 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8663 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8664 if (!SWIG_IsOK(res2
)) {
8665 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8668 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8670 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8673 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8674 wxPyEndAllowThreads(__tstate
);
8675 if (PyErr_Occurred()) SWIG_fail
;
8677 resultobj
= SWIG_Py_Void();
8684 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8685 PyObject
*resultobj
= 0;
8686 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8692 PyObject
* obj0
= 0 ;
8693 PyObject
* obj1
= 0 ;
8694 char * kwnames
[] = {
8695 (char *) "self",(char *) "icon", NULL
8698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8700 if (!SWIG_IsOK(res1
)) {
8701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8703 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8704 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8705 if (!SWIG_IsOK(res2
)) {
8706 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8709 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8711 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8714 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8715 wxPyEndAllowThreads(__tstate
);
8716 if (PyErr_Occurred()) SWIG_fail
;
8718 resultobj
= SWIG_Py_Void();
8725 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8726 PyObject
*resultobj
= 0;
8727 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8728 SwigValueWrapper
<wxVisualAttributes
> result
;
8731 PyObject
* obj0
= 0 ;
8732 char * kwnames
[] = {
8733 (char *) "variant", NULL
8736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8738 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8739 if (!SWIG_IsOK(ecode1
)) {
8740 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8742 arg1
= static_cast< wxWindowVariant
>(val1
);
8745 if (!wxPyCheckForApp()) SWIG_fail
;
8746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8747 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8748 wxPyEndAllowThreads(__tstate
);
8749 if (PyErr_Occurred()) SWIG_fail
;
8751 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8758 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8760 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8761 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8762 return SWIG_Py_Void();
8765 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8766 return SWIG_Python_InitShadowInstance(args
);
8769 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8770 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8775 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8776 PyObject
*pyobj
= 0;
8780 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8782 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8789 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8790 PyObject
*resultobj
= 0;
8791 wxWindow
*arg1
= (wxWindow
*) 0 ;
8792 int arg2
= (int) -1 ;
8793 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8794 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8795 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8796 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8797 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8798 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8799 long arg6
= (long) 0 ;
8800 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8801 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8802 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8803 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8804 wxListBox
*result
= 0 ;
8811 bool temp5
= false ;
8816 bool temp8
= false ;
8817 PyObject
* obj0
= 0 ;
8818 PyObject
* obj1
= 0 ;
8819 PyObject
* obj2
= 0 ;
8820 PyObject
* obj3
= 0 ;
8821 PyObject
* obj4
= 0 ;
8822 PyObject
* obj5
= 0 ;
8823 PyObject
* obj6
= 0 ;
8824 PyObject
* obj7
= 0 ;
8825 char * kwnames
[] = {
8826 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8831 if (!SWIG_IsOK(res1
)) {
8832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8834 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8836 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8837 if (!SWIG_IsOK(ecode2
)) {
8838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8840 arg2
= static_cast< int >(val2
);
8845 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8851 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8856 if (! PySequence_Check(obj4
)) {
8857 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8860 arg5
= new wxArrayString
;
8862 int i
, len
=PySequence_Length(obj4
);
8863 for (i
=0; i
<len
; i
++) {
8864 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8865 wxString
* s
= wxString_in_helper(item
);
8866 if (PyErr_Occurred()) SWIG_fail
;
8874 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8875 if (!SWIG_IsOK(ecode6
)) {
8876 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8878 arg6
= static_cast< long >(val6
);
8881 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8882 if (!SWIG_IsOK(res7
)) {
8883 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8886 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8888 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8892 arg8
= wxString_in_helper(obj7
);
8893 if (arg8
== NULL
) SWIG_fail
;
8898 if (!wxPyCheckForApp()) SWIG_fail
;
8899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8900 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8901 wxPyEndAllowThreads(__tstate
);
8902 if (PyErr_Occurred()) SWIG_fail
;
8904 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8906 if (temp5
) delete arg5
;
8915 if (temp5
) delete arg5
;
8925 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8926 PyObject
*resultobj
= 0;
8927 wxListBox
*result
= 0 ;
8929 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8931 if (!wxPyCheckForApp()) SWIG_fail
;
8932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8933 result
= (wxListBox
*)new wxListBox();
8934 wxPyEndAllowThreads(__tstate
);
8935 if (PyErr_Occurred()) SWIG_fail
;
8937 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8944 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8945 PyObject
*resultobj
= 0;
8946 wxListBox
*arg1
= (wxListBox
*) 0 ;
8947 wxWindow
*arg2
= (wxWindow
*) 0 ;
8948 int arg3
= (int) -1 ;
8949 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8950 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8951 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8952 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8953 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8954 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8955 long arg7
= (long) 0 ;
8956 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8957 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8958 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8959 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8969 bool temp6
= false ;
8974 bool temp9
= false ;
8975 PyObject
* obj0
= 0 ;
8976 PyObject
* obj1
= 0 ;
8977 PyObject
* obj2
= 0 ;
8978 PyObject
* obj3
= 0 ;
8979 PyObject
* obj4
= 0 ;
8980 PyObject
* obj5
= 0 ;
8981 PyObject
* obj6
= 0 ;
8982 PyObject
* obj7
= 0 ;
8983 PyObject
* obj8
= 0 ;
8984 char * kwnames
[] = {
8985 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
8989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
8990 if (!SWIG_IsOK(res1
)) {
8991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
8993 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
8994 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8995 if (!SWIG_IsOK(res2
)) {
8996 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8998 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9000 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9001 if (!SWIG_IsOK(ecode3
)) {
9002 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9004 arg3
= static_cast< int >(val3
);
9009 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9015 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9020 if (! PySequence_Check(obj5
)) {
9021 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9024 arg6
= new wxArrayString
;
9026 int i
, len
=PySequence_Length(obj5
);
9027 for (i
=0; i
<len
; i
++) {
9028 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9029 wxString
* s
= wxString_in_helper(item
);
9030 if (PyErr_Occurred()) SWIG_fail
;
9038 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9039 if (!SWIG_IsOK(ecode7
)) {
9040 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9042 arg7
= static_cast< long >(val7
);
9045 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9046 if (!SWIG_IsOK(res8
)) {
9047 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9050 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9052 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9056 arg9
= wxString_in_helper(obj8
);
9057 if (arg9
== NULL
) SWIG_fail
;
9062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9063 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9064 wxPyEndAllowThreads(__tstate
);
9065 if (PyErr_Occurred()) SWIG_fail
;
9068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9071 if (temp6
) delete arg6
;
9080 if (temp6
) delete arg6
;
9090 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9091 PyObject
*resultobj
= 0;
9092 wxListBox
*arg1
= (wxListBox
*) 0 ;
9093 wxString
*arg2
= 0 ;
9095 PyObject
*arg4
= (PyObject
*) NULL
;
9098 bool temp2
= false ;
9101 PyObject
* obj0
= 0 ;
9102 PyObject
* obj1
= 0 ;
9103 PyObject
* obj2
= 0 ;
9104 PyObject
* obj3
= 0 ;
9105 char * kwnames
[] = {
9106 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9111 if (!SWIG_IsOK(res1
)) {
9112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9114 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9116 arg2
= wxString_in_helper(obj1
);
9117 if (arg2
== NULL
) SWIG_fail
;
9120 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9121 if (!SWIG_IsOK(ecode3
)) {
9122 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9124 arg3
= static_cast< int >(val3
);
9129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9130 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9131 wxPyEndAllowThreads(__tstate
);
9132 if (PyErr_Occurred()) SWIG_fail
;
9134 resultobj
= SWIG_Py_Void();
9149 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9150 PyObject
*resultobj
= 0;
9151 wxListBox
*arg1
= (wxListBox
*) 0 ;
9152 wxArrayString
*arg2
= 0 ;
9156 bool temp2
= false ;
9159 PyObject
* obj0
= 0 ;
9160 PyObject
* obj1
= 0 ;
9161 PyObject
* obj2
= 0 ;
9162 char * kwnames
[] = {
9163 (char *) "self",(char *) "items",(char *) "pos", NULL
9166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9168 if (!SWIG_IsOK(res1
)) {
9169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9171 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9173 if (! PySequence_Check(obj1
)) {
9174 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9177 arg2
= new wxArrayString
;
9179 int i
, len
=PySequence_Length(obj1
);
9180 for (i
=0; i
<len
; i
++) {
9181 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9182 wxString
* s
= wxString_in_helper(item
);
9183 if (PyErr_Occurred()) SWIG_fail
;
9189 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9190 if (!SWIG_IsOK(ecode3
)) {
9191 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9193 arg3
= static_cast< unsigned int >(val3
);
9195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9196 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9197 wxPyEndAllowThreads(__tstate
);
9198 if (PyErr_Occurred()) SWIG_fail
;
9200 resultobj
= SWIG_Py_Void();
9202 if (temp2
) delete arg2
;
9207 if (temp2
) delete arg2
;
9213 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9214 PyObject
*resultobj
= 0;
9215 wxListBox
*arg1
= (wxListBox
*) 0 ;
9216 wxArrayString
*arg2
= 0 ;
9219 bool temp2
= false ;
9220 PyObject
* obj0
= 0 ;
9221 PyObject
* obj1
= 0 ;
9222 char * kwnames
[] = {
9223 (char *) "self",(char *) "items", NULL
9226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9228 if (!SWIG_IsOK(res1
)) {
9229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9231 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9233 if (! PySequence_Check(obj1
)) {
9234 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9237 arg2
= new wxArrayString
;
9239 int i
, len
=PySequence_Length(obj1
);
9240 for (i
=0; i
<len
; i
++) {
9241 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9242 wxString
* s
= wxString_in_helper(item
);
9243 if (PyErr_Occurred()) SWIG_fail
;
9250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9251 (arg1
)->Set((wxArrayString
const &)*arg2
);
9252 wxPyEndAllowThreads(__tstate
);
9253 if (PyErr_Occurred()) SWIG_fail
;
9255 resultobj
= SWIG_Py_Void();
9257 if (temp2
) delete arg2
;
9262 if (temp2
) delete arg2
;
9268 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9269 PyObject
*resultobj
= 0;
9270 wxListBox
*arg1
= (wxListBox
*) 0 ;
9277 PyObject
* obj0
= 0 ;
9278 PyObject
* obj1
= 0 ;
9279 char * kwnames
[] = {
9280 (char *) "self",(char *) "n", NULL
9283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9285 if (!SWIG_IsOK(res1
)) {
9286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9288 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9290 if (!SWIG_IsOK(ecode2
)) {
9291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9293 arg2
= static_cast< int >(val2
);
9295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9296 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9297 wxPyEndAllowThreads(__tstate
);
9298 if (PyErr_Occurred()) SWIG_fail
;
9301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9309 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9310 PyObject
*resultobj
= 0;
9311 wxListBox
*arg1
= (wxListBox
*) 0 ;
9313 bool arg3
= (bool) true ;
9320 PyObject
* obj0
= 0 ;
9321 PyObject
* obj1
= 0 ;
9322 PyObject
* obj2
= 0 ;
9323 char * kwnames
[] = {
9324 (char *) "self",(char *) "n",(char *) "select", NULL
9327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9329 if (!SWIG_IsOK(res1
)) {
9330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9332 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9333 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9334 if (!SWIG_IsOK(ecode2
)) {
9335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9337 arg2
= static_cast< int >(val2
);
9339 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9340 if (!SWIG_IsOK(ecode3
)) {
9341 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9343 arg3
= static_cast< bool >(val3
);
9346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9347 (arg1
)->SetSelection(arg2
,arg3
);
9348 wxPyEndAllowThreads(__tstate
);
9349 if (PyErr_Occurred()) SWIG_fail
;
9351 resultobj
= SWIG_Py_Void();
9358 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9359 PyObject
*resultobj
= 0;
9360 wxListBox
*arg1
= (wxListBox
*) 0 ;
9366 PyObject
* obj0
= 0 ;
9367 PyObject
* obj1
= 0 ;
9368 char * kwnames
[] = {
9369 (char *) "self",(char *) "n", NULL
9372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9374 if (!SWIG_IsOK(res1
)) {
9375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9377 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9379 if (!SWIG_IsOK(ecode2
)) {
9380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9382 arg2
= static_cast< int >(val2
);
9384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9385 (arg1
)->Select(arg2
);
9386 wxPyEndAllowThreads(__tstate
);
9387 if (PyErr_Occurred()) SWIG_fail
;
9389 resultobj
= SWIG_Py_Void();
9396 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9397 PyObject
*resultobj
= 0;
9398 wxListBox
*arg1
= (wxListBox
*) 0 ;
9404 PyObject
* obj0
= 0 ;
9405 PyObject
* obj1
= 0 ;
9406 char * kwnames
[] = {
9407 (char *) "self",(char *) "n", NULL
9410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9412 if (!SWIG_IsOK(res1
)) {
9413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9415 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9416 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9417 if (!SWIG_IsOK(ecode2
)) {
9418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9420 arg2
= static_cast< int >(val2
);
9422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9423 (arg1
)->Deselect(arg2
);
9424 wxPyEndAllowThreads(__tstate
);
9425 if (PyErr_Occurred()) SWIG_fail
;
9427 resultobj
= SWIG_Py_Void();
9434 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9435 PyObject
*resultobj
= 0;
9436 wxListBox
*arg1
= (wxListBox
*) 0 ;
9437 int arg2
= (int) -1 ;
9442 PyObject
* obj0
= 0 ;
9443 PyObject
* obj1
= 0 ;
9444 char * kwnames
[] = {
9445 (char *) "self",(char *) "itemToLeaveSelected", NULL
9448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9450 if (!SWIG_IsOK(res1
)) {
9451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9453 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9455 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9456 if (!SWIG_IsOK(ecode2
)) {
9457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9459 arg2
= static_cast< int >(val2
);
9462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9463 (arg1
)->DeselectAll(arg2
);
9464 wxPyEndAllowThreads(__tstate
);
9465 if (PyErr_Occurred()) SWIG_fail
;
9467 resultobj
= SWIG_Py_Void();
9474 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9475 PyObject
*resultobj
= 0;
9476 wxListBox
*arg1
= (wxListBox
*) 0 ;
9477 wxString
*arg2
= 0 ;
9478 bool arg3
= (bool) true ;
9482 bool temp2
= false ;
9485 PyObject
* obj0
= 0 ;
9486 PyObject
* obj1
= 0 ;
9487 PyObject
* obj2
= 0 ;
9488 char * kwnames
[] = {
9489 (char *) "self",(char *) "s",(char *) "select", NULL
9492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9494 if (!SWIG_IsOK(res1
)) {
9495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9497 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9499 arg2
= wxString_in_helper(obj1
);
9500 if (arg2
== NULL
) SWIG_fail
;
9504 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9505 if (!SWIG_IsOK(ecode3
)) {
9506 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9508 arg3
= static_cast< bool >(val3
);
9511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9512 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9513 wxPyEndAllowThreads(__tstate
);
9514 if (PyErr_Occurred()) SWIG_fail
;
9517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9533 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9534 PyObject
*resultobj
= 0;
9535 wxListBox
*arg1
= (wxListBox
*) 0 ;
9536 PyObject
*result
= 0 ;
9539 PyObject
*swig_obj
[1] ;
9541 if (!args
) SWIG_fail
;
9543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9544 if (!SWIG_IsOK(res1
)) {
9545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9547 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9550 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9551 wxPyEndAllowThreads(__tstate
);
9552 if (PyErr_Occurred()) SWIG_fail
;
9561 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9562 PyObject
*resultobj
= 0;
9563 wxListBox
*arg1
= (wxListBox
*) 0 ;
9569 PyObject
* obj0
= 0 ;
9570 PyObject
* obj1
= 0 ;
9571 char * kwnames
[] = {
9572 (char *) "self",(char *) "n", NULL
9575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9577 if (!SWIG_IsOK(res1
)) {
9578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9580 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9581 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9582 if (!SWIG_IsOK(ecode2
)) {
9583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9585 arg2
= static_cast< int >(val2
);
9587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9588 (arg1
)->SetFirstItem(arg2
);
9589 wxPyEndAllowThreads(__tstate
);
9590 if (PyErr_Occurred()) SWIG_fail
;
9592 resultobj
= SWIG_Py_Void();
9599 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9600 PyObject
*resultobj
= 0;
9601 wxListBox
*arg1
= (wxListBox
*) 0 ;
9602 wxString
*arg2
= 0 ;
9605 bool temp2
= false ;
9606 PyObject
* obj0
= 0 ;
9607 PyObject
* obj1
= 0 ;
9608 char * kwnames
[] = {
9609 (char *) "self",(char *) "s", NULL
9612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9614 if (!SWIG_IsOK(res1
)) {
9615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9617 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9619 arg2
= wxString_in_helper(obj1
);
9620 if (arg2
== NULL
) SWIG_fail
;
9624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9625 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9626 wxPyEndAllowThreads(__tstate
);
9627 if (PyErr_Occurred()) SWIG_fail
;
9629 resultobj
= SWIG_Py_Void();
9644 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9645 PyObject
*resultobj
= 0;
9646 wxListBox
*arg1
= (wxListBox
*) 0 ;
9652 PyObject
* obj0
= 0 ;
9653 PyObject
* obj1
= 0 ;
9654 char * kwnames
[] = {
9655 (char *) "self",(char *) "n", NULL
9658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9660 if (!SWIG_IsOK(res1
)) {
9661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9663 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9665 if (!SWIG_IsOK(ecode2
)) {
9666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9668 arg2
= static_cast< int >(val2
);
9670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9671 (arg1
)->EnsureVisible(arg2
);
9672 wxPyEndAllowThreads(__tstate
);
9673 if (PyErr_Occurred()) SWIG_fail
;
9675 resultobj
= SWIG_Py_Void();
9682 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9683 PyObject
*resultobj
= 0;
9684 wxListBox
*arg1
= (wxListBox
*) 0 ;
9685 wxString
*arg2
= 0 ;
9688 bool temp2
= false ;
9689 PyObject
* obj0
= 0 ;
9690 PyObject
* obj1
= 0 ;
9691 char * kwnames
[] = {
9692 (char *) "self",(char *) "s", NULL
9695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9697 if (!SWIG_IsOK(res1
)) {
9698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9700 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9702 arg2
= wxString_in_helper(obj1
);
9703 if (arg2
== NULL
) SWIG_fail
;
9707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9708 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9709 wxPyEndAllowThreads(__tstate
);
9710 if (PyErr_Occurred()) SWIG_fail
;
9712 resultobj
= SWIG_Py_Void();
9727 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9728 PyObject
*resultobj
= 0;
9729 wxListBox
*arg1
= (wxListBox
*) 0 ;
9733 PyObject
*swig_obj
[1] ;
9735 if (!args
) SWIG_fail
;
9737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9738 if (!SWIG_IsOK(res1
)) {
9739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9741 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9744 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9745 wxPyEndAllowThreads(__tstate
);
9746 if (PyErr_Occurred()) SWIG_fail
;
9749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9757 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9758 PyObject
*resultobj
= 0;
9759 wxListBox
*arg1
= (wxListBox
*) 0 ;
9765 PyObject
* obj0
= 0 ;
9766 PyObject
* obj1
= 0 ;
9767 char * kwnames
[] = {
9768 (char *) "self",(char *) "pt", NULL
9771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9773 if (!SWIG_IsOK(res1
)) {
9774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9776 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9779 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9783 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9784 wxPyEndAllowThreads(__tstate
);
9785 if (PyErr_Occurred()) SWIG_fail
;
9787 resultobj
= SWIG_From_int(static_cast< int >(result
));
9794 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9795 PyObject
*resultobj
= 0;
9796 wxListBox
*arg1
= (wxListBox
*) 0 ;
9798 wxColour
*arg3
= 0 ;
9804 PyObject
* obj0
= 0 ;
9805 PyObject
* obj1
= 0 ;
9806 PyObject
* obj2
= 0 ;
9807 char * kwnames
[] = {
9808 (char *) "self",(char *) "item",(char *) "c", NULL
9811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9813 if (!SWIG_IsOK(res1
)) {
9814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9816 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9817 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9818 if (!SWIG_IsOK(ecode2
)) {
9819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9821 arg2
= static_cast< int >(val2
);
9824 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9828 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9829 wxPyEndAllowThreads(__tstate
);
9830 if (PyErr_Occurred()) SWIG_fail
;
9832 resultobj
= SWIG_Py_Void();
9839 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9840 PyObject
*resultobj
= 0;
9841 wxListBox
*arg1
= (wxListBox
*) 0 ;
9843 wxColour
*arg3
= 0 ;
9849 PyObject
* obj0
= 0 ;
9850 PyObject
* obj1
= 0 ;
9851 PyObject
* obj2
= 0 ;
9852 char * kwnames
[] = {
9853 (char *) "self",(char *) "item",(char *) "c", NULL
9856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9858 if (!SWIG_IsOK(res1
)) {
9859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9861 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9863 if (!SWIG_IsOK(ecode2
)) {
9864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9866 arg2
= static_cast< int >(val2
);
9869 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9873 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9874 wxPyEndAllowThreads(__tstate
);
9875 if (PyErr_Occurred()) SWIG_fail
;
9877 resultobj
= SWIG_Py_Void();
9884 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9885 PyObject
*resultobj
= 0;
9886 wxListBox
*arg1
= (wxListBox
*) 0 ;
9895 PyObject
* obj0
= 0 ;
9896 PyObject
* obj1
= 0 ;
9897 PyObject
* obj2
= 0 ;
9898 char * kwnames
[] = {
9899 (char *) "self",(char *) "item",(char *) "f", NULL
9902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9904 if (!SWIG_IsOK(res1
)) {
9905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9907 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9909 if (!SWIG_IsOK(ecode2
)) {
9910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9912 arg2
= static_cast< int >(val2
);
9913 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9914 if (!SWIG_IsOK(res3
)) {
9915 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9918 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9920 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9923 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9924 wxPyEndAllowThreads(__tstate
);
9925 if (PyErr_Occurred()) SWIG_fail
;
9927 resultobj
= SWIG_Py_Void();
9934 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9935 PyObject
*resultobj
= 0;
9936 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9937 SwigValueWrapper
<wxVisualAttributes
> result
;
9940 PyObject
* obj0
= 0 ;
9941 char * kwnames
[] = {
9942 (char *) "variant", NULL
9945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9947 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9948 if (!SWIG_IsOK(ecode1
)) {
9949 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9951 arg1
= static_cast< wxWindowVariant
>(val1
);
9954 if (!wxPyCheckForApp()) SWIG_fail
;
9955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9956 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9957 wxPyEndAllowThreads(__tstate
);
9958 if (PyErr_Occurred()) SWIG_fail
;
9960 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9967 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9969 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9970 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9971 return SWIG_Py_Void();
9974 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9975 return SWIG_Python_InitShadowInstance(args
);
9978 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9979 PyObject
*resultobj
= 0;
9980 wxWindow
*arg1
= (wxWindow
*) 0 ;
9981 int arg2
= (int) -1 ;
9982 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9983 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9984 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9985 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9986 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
9987 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
9988 long arg6
= (long) 0 ;
9989 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9990 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9991 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
9992 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9993 wxCheckListBox
*result
= 0 ;
10000 bool temp5
= false ;
10005 bool temp8
= false ;
10006 PyObject
* obj0
= 0 ;
10007 PyObject
* obj1
= 0 ;
10008 PyObject
* obj2
= 0 ;
10009 PyObject
* obj3
= 0 ;
10010 PyObject
* obj4
= 0 ;
10011 PyObject
* obj5
= 0 ;
10012 PyObject
* obj6
= 0 ;
10013 PyObject
* obj7
= 0 ;
10014 char * kwnames
[] = {
10015 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10020 if (!SWIG_IsOK(res1
)) {
10021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10023 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10025 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10026 if (!SWIG_IsOK(ecode2
)) {
10027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10029 arg2
= static_cast< int >(val2
);
10034 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10040 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10045 if (! PySequence_Check(obj4
)) {
10046 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10049 arg5
= new wxArrayString
;
10051 int i
, len
=PySequence_Length(obj4
);
10052 for (i
=0; i
<len
; i
++) {
10053 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10054 wxString
* s
= wxString_in_helper(item
);
10055 if (PyErr_Occurred()) SWIG_fail
;
10063 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10064 if (!SWIG_IsOK(ecode6
)) {
10065 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10067 arg6
= static_cast< long >(val6
);
10070 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10071 if (!SWIG_IsOK(res7
)) {
10072 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10075 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10077 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10081 arg8
= wxString_in_helper(obj7
);
10082 if (arg8
== NULL
) SWIG_fail
;
10087 if (!wxPyCheckForApp()) SWIG_fail
;
10088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10089 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10090 wxPyEndAllowThreads(__tstate
);
10091 if (PyErr_Occurred()) SWIG_fail
;
10093 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10095 if (temp5
) delete arg5
;
10104 if (temp5
) delete arg5
;
10114 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10115 PyObject
*resultobj
= 0;
10116 wxCheckListBox
*result
= 0 ;
10118 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10120 if (!wxPyCheckForApp()) SWIG_fail
;
10121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10122 result
= (wxCheckListBox
*)new wxCheckListBox();
10123 wxPyEndAllowThreads(__tstate
);
10124 if (PyErr_Occurred()) SWIG_fail
;
10126 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10133 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10134 PyObject
*resultobj
= 0;
10135 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10136 wxWindow
*arg2
= (wxWindow
*) 0 ;
10137 int arg3
= (int) -1 ;
10138 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10139 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10140 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10141 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10142 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10143 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10144 long arg7
= (long) 0 ;
10145 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10146 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10147 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10148 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10158 bool temp6
= false ;
10163 bool temp9
= false ;
10164 PyObject
* obj0
= 0 ;
10165 PyObject
* obj1
= 0 ;
10166 PyObject
* obj2
= 0 ;
10167 PyObject
* obj3
= 0 ;
10168 PyObject
* obj4
= 0 ;
10169 PyObject
* obj5
= 0 ;
10170 PyObject
* obj6
= 0 ;
10171 PyObject
* obj7
= 0 ;
10172 PyObject
* obj8
= 0 ;
10173 char * kwnames
[] = {
10174 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10179 if (!SWIG_IsOK(res1
)) {
10180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10182 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10183 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10184 if (!SWIG_IsOK(res2
)) {
10185 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10187 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10189 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10190 if (!SWIG_IsOK(ecode3
)) {
10191 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10193 arg3
= static_cast< int >(val3
);
10198 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10204 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10209 if (! PySequence_Check(obj5
)) {
10210 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10213 arg6
= new wxArrayString
;
10215 int i
, len
=PySequence_Length(obj5
);
10216 for (i
=0; i
<len
; i
++) {
10217 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10218 wxString
* s
= wxString_in_helper(item
);
10219 if (PyErr_Occurred()) SWIG_fail
;
10227 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10228 if (!SWIG_IsOK(ecode7
)) {
10229 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10231 arg7
= static_cast< long >(val7
);
10234 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10235 if (!SWIG_IsOK(res8
)) {
10236 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10239 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10241 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10245 arg9
= wxString_in_helper(obj8
);
10246 if (arg9
== NULL
) SWIG_fail
;
10251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10252 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10253 wxPyEndAllowThreads(__tstate
);
10254 if (PyErr_Occurred()) SWIG_fail
;
10257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10260 if (temp6
) delete arg6
;
10269 if (temp6
) delete arg6
;
10279 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10280 PyObject
*resultobj
= 0;
10281 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10282 unsigned int arg2
;
10286 unsigned int val2
;
10288 PyObject
* obj0
= 0 ;
10289 PyObject
* obj1
= 0 ;
10290 char * kwnames
[] = {
10291 (char *) "self",(char *) "index", NULL
10294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10296 if (!SWIG_IsOK(res1
)) {
10297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10299 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10300 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10301 if (!SWIG_IsOK(ecode2
)) {
10302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10304 arg2
= static_cast< unsigned int >(val2
);
10306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10307 result
= (bool)(arg1
)->IsChecked(arg2
);
10308 wxPyEndAllowThreads(__tstate
);
10309 if (PyErr_Occurred()) SWIG_fail
;
10312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10320 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10321 PyObject
*resultobj
= 0;
10322 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10323 unsigned int arg2
;
10324 int arg3
= (int) true ;
10327 unsigned int val2
;
10331 PyObject
* obj0
= 0 ;
10332 PyObject
* obj1
= 0 ;
10333 PyObject
* obj2
= 0 ;
10334 char * kwnames
[] = {
10335 (char *) "self",(char *) "index",(char *) "check", NULL
10338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10340 if (!SWIG_IsOK(res1
)) {
10341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10343 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10344 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10345 if (!SWIG_IsOK(ecode2
)) {
10346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10348 arg2
= static_cast< unsigned int >(val2
);
10350 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10351 if (!SWIG_IsOK(ecode3
)) {
10352 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10354 arg3
= static_cast< int >(val3
);
10357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10358 (arg1
)->Check(arg2
,arg3
);
10359 wxPyEndAllowThreads(__tstate
);
10360 if (PyErr_Occurred()) SWIG_fail
;
10362 resultobj
= SWIG_Py_Void();
10369 SWIGINTERN PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10370 PyObject
*resultobj
= 0;
10371 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10375 PyObject
*swig_obj
[1] ;
10377 if (!args
) SWIG_fail
;
10378 swig_obj
[0] = args
;
10379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10380 if (!SWIG_IsOK(res1
)) {
10381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10383 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10386 result
= (int)(arg1
)->GetItemHeight();
10387 wxPyEndAllowThreads(__tstate
);
10388 if (PyErr_Occurred()) SWIG_fail
;
10390 resultobj
= SWIG_From_int(static_cast< int >(result
));
10397 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10399 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10400 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10401 return SWIG_Py_Void();
10404 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10405 return SWIG_Python_InitShadowInstance(args
);
10408 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10409 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10414 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10415 PyObject
*pyobj
= 0;
10419 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10421 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10428 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10429 PyObject
*resultobj
= 0;
10430 wxColour
const &arg1_defvalue
= wxNullColour
;
10431 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10432 wxColour
const &arg2_defvalue
= wxNullColour
;
10433 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10434 wxFont
const &arg3_defvalue
= wxNullFont
;
10435 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10436 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10437 wxTextAttr
*result
= 0 ;
10444 PyObject
* obj0
= 0 ;
10445 PyObject
* obj1
= 0 ;
10446 PyObject
* obj2
= 0 ;
10447 PyObject
* obj3
= 0 ;
10448 char * kwnames
[] = {
10449 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10456 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10462 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10466 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10467 if (!SWIG_IsOK(res3
)) {
10468 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10471 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10473 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10476 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10477 if (!SWIG_IsOK(ecode4
)) {
10478 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10480 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10484 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10485 wxPyEndAllowThreads(__tstate
);
10486 if (PyErr_Occurred()) SWIG_fail
;
10488 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10495 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10496 PyObject
*resultobj
= 0;
10497 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10500 PyObject
*swig_obj
[1] ;
10502 if (!args
) SWIG_fail
;
10503 swig_obj
[0] = args
;
10504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10505 if (!SWIG_IsOK(res1
)) {
10506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10508 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10513 wxPyEndAllowThreads(__tstate
);
10514 if (PyErr_Occurred()) SWIG_fail
;
10516 resultobj
= SWIG_Py_Void();
10523 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10524 PyObject
*resultobj
= 0;
10525 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10528 PyObject
*swig_obj
[1] ;
10530 if (!args
) SWIG_fail
;
10531 swig_obj
[0] = args
;
10532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10533 if (!SWIG_IsOK(res1
)) {
10534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10536 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10540 wxPyEndAllowThreads(__tstate
);
10541 if (PyErr_Occurred()) SWIG_fail
;
10543 resultobj
= SWIG_Py_Void();
10550 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10551 PyObject
*resultobj
= 0;
10552 wxTextAttr
*arg1
= 0 ;
10553 wxTextAttr
*arg2
= 0 ;
10559 PyObject
* obj0
= 0 ;
10560 PyObject
* obj1
= 0 ;
10561 char * kwnames
[] = {
10562 (char *) "base",(char *) "overlay", NULL
10565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10566 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10567 if (!SWIG_IsOK(res1
)) {
10568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10571 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10573 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10574 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10575 if (!SWIG_IsOK(res2
)) {
10576 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10579 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10581 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10584 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10585 wxPyEndAllowThreads(__tstate
);
10586 if (PyErr_Occurred()) SWIG_fail
;
10588 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10595 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10596 PyObject
*resultobj
= 0;
10597 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10598 wxColour
*arg2
= 0 ;
10602 PyObject
* obj0
= 0 ;
10603 PyObject
* obj1
= 0 ;
10604 char * kwnames
[] = {
10605 (char *) "self",(char *) "colText", NULL
10608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10610 if (!SWIG_IsOK(res1
)) {
10611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10613 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10616 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10620 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10621 wxPyEndAllowThreads(__tstate
);
10622 if (PyErr_Occurred()) SWIG_fail
;
10624 resultobj
= SWIG_Py_Void();
10631 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10632 PyObject
*resultobj
= 0;
10633 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10634 wxColour
*arg2
= 0 ;
10638 PyObject
* obj0
= 0 ;
10639 PyObject
* obj1
= 0 ;
10640 char * kwnames
[] = {
10641 (char *) "self",(char *) "colBack", NULL
10644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10646 if (!SWIG_IsOK(res1
)) {
10647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10649 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10652 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10656 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10657 wxPyEndAllowThreads(__tstate
);
10658 if (PyErr_Occurred()) SWIG_fail
;
10660 resultobj
= SWIG_Py_Void();
10667 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10668 PyObject
*resultobj
= 0;
10669 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10671 long arg3
= (long) wxTEXT_ATTR_FONT
;
10678 PyObject
* obj0
= 0 ;
10679 PyObject
* obj1
= 0 ;
10680 PyObject
* obj2
= 0 ;
10681 char * kwnames
[] = {
10682 (char *) "self",(char *) "font",(char *) "flags", NULL
10685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10687 if (!SWIG_IsOK(res1
)) {
10688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10690 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10691 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10692 if (!SWIG_IsOK(res2
)) {
10693 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10696 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10698 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10700 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10701 if (!SWIG_IsOK(ecode3
)) {
10702 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10704 arg3
= static_cast< long >(val3
);
10707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10708 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10709 wxPyEndAllowThreads(__tstate
);
10710 if (PyErr_Occurred()) SWIG_fail
;
10712 resultobj
= SWIG_Py_Void();
10719 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10720 PyObject
*resultobj
= 0;
10721 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10722 wxTextAttrAlignment arg2
;
10727 PyObject
* obj0
= 0 ;
10728 PyObject
* obj1
= 0 ;
10729 char * kwnames
[] = {
10730 (char *) "self",(char *) "alignment", NULL
10733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10735 if (!SWIG_IsOK(res1
)) {
10736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10738 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10739 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10740 if (!SWIG_IsOK(ecode2
)) {
10741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10743 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10746 (arg1
)->SetAlignment(arg2
);
10747 wxPyEndAllowThreads(__tstate
);
10748 if (PyErr_Occurred()) SWIG_fail
;
10750 resultobj
= SWIG_Py_Void();
10757 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10758 PyObject
*resultobj
= 0;
10759 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10760 wxArrayInt
*arg2
= 0 ;
10763 bool temp2
= false ;
10764 PyObject
* obj0
= 0 ;
10765 PyObject
* obj1
= 0 ;
10766 char * kwnames
[] = {
10767 (char *) "self",(char *) "tabs", NULL
10770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10772 if (!SWIG_IsOK(res1
)) {
10773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10775 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10777 if (! PySequence_Check(obj1
)) {
10778 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10781 arg2
= new wxArrayInt
;
10783 int i
, len
=PySequence_Length(obj1
);
10784 for (i
=0; i
<len
; i
++) {
10785 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10786 PyObject
* number
= PyNumber_Int(item
);
10787 arg2
->Add(PyInt_AS_LONG(number
));
10793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10794 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10795 wxPyEndAllowThreads(__tstate
);
10796 if (PyErr_Occurred()) SWIG_fail
;
10798 resultobj
= SWIG_Py_Void();
10800 if (temp2
) delete arg2
;
10805 if (temp2
) delete arg2
;
10811 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10812 PyObject
*resultobj
= 0;
10813 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10815 int arg3
= (int) 0 ;
10822 PyObject
* obj0
= 0 ;
10823 PyObject
* obj1
= 0 ;
10824 PyObject
* obj2
= 0 ;
10825 char * kwnames
[] = {
10826 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10831 if (!SWIG_IsOK(res1
)) {
10832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10834 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10835 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10836 if (!SWIG_IsOK(ecode2
)) {
10837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10839 arg2
= static_cast< int >(val2
);
10841 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10842 if (!SWIG_IsOK(ecode3
)) {
10843 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10845 arg3
= static_cast< int >(val3
);
10848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10849 (arg1
)->SetLeftIndent(arg2
,arg3
);
10850 wxPyEndAllowThreads(__tstate
);
10851 if (PyErr_Occurred()) SWIG_fail
;
10853 resultobj
= SWIG_Py_Void();
10860 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10861 PyObject
*resultobj
= 0;
10862 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10868 PyObject
* obj0
= 0 ;
10869 PyObject
* obj1
= 0 ;
10870 char * kwnames
[] = {
10871 (char *) "self",(char *) "indent", NULL
10874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10876 if (!SWIG_IsOK(res1
)) {
10877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10879 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10880 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10881 if (!SWIG_IsOK(ecode2
)) {
10882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10884 arg2
= static_cast< int >(val2
);
10886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10887 (arg1
)->SetRightIndent(arg2
);
10888 wxPyEndAllowThreads(__tstate
);
10889 if (PyErr_Occurred()) SWIG_fail
;
10891 resultobj
= SWIG_Py_Void();
10898 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10899 PyObject
*resultobj
= 0;
10900 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10906 PyObject
* obj0
= 0 ;
10907 PyObject
* obj1
= 0 ;
10908 char * kwnames
[] = {
10909 (char *) "self",(char *) "flags", NULL
10912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10914 if (!SWIG_IsOK(res1
)) {
10915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10917 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10918 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10919 if (!SWIG_IsOK(ecode2
)) {
10920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10922 arg2
= static_cast< long >(val2
);
10924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10925 (arg1
)->SetFlags(arg2
);
10926 wxPyEndAllowThreads(__tstate
);
10927 if (PyErr_Occurred()) SWIG_fail
;
10929 resultobj
= SWIG_Py_Void();
10936 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10937 PyObject
*resultobj
= 0;
10938 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10942 PyObject
*swig_obj
[1] ;
10944 if (!args
) SWIG_fail
;
10945 swig_obj
[0] = args
;
10946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10947 if (!SWIG_IsOK(res1
)) {
10948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10950 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10953 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10954 wxPyEndAllowThreads(__tstate
);
10955 if (PyErr_Occurred()) SWIG_fail
;
10958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10966 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10967 PyObject
*resultobj
= 0;
10968 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10972 PyObject
*swig_obj
[1] ;
10974 if (!args
) SWIG_fail
;
10975 swig_obj
[0] = args
;
10976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10977 if (!SWIG_IsOK(res1
)) {
10978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10980 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10983 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
10984 wxPyEndAllowThreads(__tstate
);
10985 if (PyErr_Occurred()) SWIG_fail
;
10988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10996 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10997 PyObject
*resultobj
= 0;
10998 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11002 PyObject
*swig_obj
[1] ;
11004 if (!args
) SWIG_fail
;
11005 swig_obj
[0] = args
;
11006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11007 if (!SWIG_IsOK(res1
)) {
11008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11010 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11013 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
11014 wxPyEndAllowThreads(__tstate
);
11015 if (PyErr_Occurred()) SWIG_fail
;
11018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11026 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11027 PyObject
*resultobj
= 0;
11028 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11032 PyObject
*swig_obj
[1] ;
11034 if (!args
) SWIG_fail
;
11035 swig_obj
[0] = args
;
11036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11037 if (!SWIG_IsOK(res1
)) {
11038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11040 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11043 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11044 wxPyEndAllowThreads(__tstate
);
11045 if (PyErr_Occurred()) SWIG_fail
;
11048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11056 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11057 PyObject
*resultobj
= 0;
11058 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11062 PyObject
*swig_obj
[1] ;
11064 if (!args
) SWIG_fail
;
11065 swig_obj
[0] = args
;
11066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11067 if (!SWIG_IsOK(res1
)) {
11068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11070 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11073 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11074 wxPyEndAllowThreads(__tstate
);
11075 if (PyErr_Occurred()) SWIG_fail
;
11078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11086 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11087 PyObject
*resultobj
= 0;
11088 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11092 PyObject
*swig_obj
[1] ;
11094 if (!args
) SWIG_fail
;
11095 swig_obj
[0] = args
;
11096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11097 if (!SWIG_IsOK(res1
)) {
11098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11100 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11103 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11104 wxPyEndAllowThreads(__tstate
);
11105 if (PyErr_Occurred()) SWIG_fail
;
11108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11116 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11117 PyObject
*resultobj
= 0;
11118 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11122 PyObject
*swig_obj
[1] ;
11124 if (!args
) SWIG_fail
;
11125 swig_obj
[0] = args
;
11126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11127 if (!SWIG_IsOK(res1
)) {
11128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11130 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11133 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11134 wxPyEndAllowThreads(__tstate
);
11135 if (PyErr_Occurred()) SWIG_fail
;
11138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11146 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11147 PyObject
*resultobj
= 0;
11148 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11155 PyObject
* obj0
= 0 ;
11156 PyObject
* obj1
= 0 ;
11157 char * kwnames
[] = {
11158 (char *) "self",(char *) "flag", NULL
11161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11163 if (!SWIG_IsOK(res1
)) {
11164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11166 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11167 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11168 if (!SWIG_IsOK(ecode2
)) {
11169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11171 arg2
= static_cast< long >(val2
);
11173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11174 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11175 wxPyEndAllowThreads(__tstate
);
11176 if (PyErr_Occurred()) SWIG_fail
;
11179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11187 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11188 PyObject
*resultobj
= 0;
11189 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11190 wxColour
*result
= 0 ;
11193 PyObject
*swig_obj
[1] ;
11195 if (!args
) SWIG_fail
;
11196 swig_obj
[0] = args
;
11197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11198 if (!SWIG_IsOK(res1
)) {
11199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11201 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11205 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11206 result
= (wxColour
*) &_result_ref
;
11208 wxPyEndAllowThreads(__tstate
);
11209 if (PyErr_Occurred()) SWIG_fail
;
11211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11218 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11219 PyObject
*resultobj
= 0;
11220 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11221 wxColour
*result
= 0 ;
11224 PyObject
*swig_obj
[1] ;
11226 if (!args
) SWIG_fail
;
11227 swig_obj
[0] = args
;
11228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11229 if (!SWIG_IsOK(res1
)) {
11230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11232 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11236 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11237 result
= (wxColour
*) &_result_ref
;
11239 wxPyEndAllowThreads(__tstate
);
11240 if (PyErr_Occurred()) SWIG_fail
;
11242 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11249 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11250 PyObject
*resultobj
= 0;
11251 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11252 wxFont
*result
= 0 ;
11255 PyObject
*swig_obj
[1] ;
11257 if (!args
) SWIG_fail
;
11258 swig_obj
[0] = args
;
11259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11260 if (!SWIG_IsOK(res1
)) {
11261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11263 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11267 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11268 result
= (wxFont
*) &_result_ref
;
11270 wxPyEndAllowThreads(__tstate
);
11271 if (PyErr_Occurred()) SWIG_fail
;
11274 wxFont
* resultptr
= new wxFont(*result
);
11275 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11283 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11284 PyObject
*resultobj
= 0;
11285 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11286 wxTextAttrAlignment result
;
11289 PyObject
*swig_obj
[1] ;
11291 if (!args
) SWIG_fail
;
11292 swig_obj
[0] = args
;
11293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11294 if (!SWIG_IsOK(res1
)) {
11295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11297 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11300 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11301 wxPyEndAllowThreads(__tstate
);
11302 if (PyErr_Occurred()) SWIG_fail
;
11304 resultobj
= SWIG_From_int(static_cast< int >(result
));
11311 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11312 PyObject
*resultobj
= 0;
11313 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11314 wxArrayInt
*result
= 0 ;
11317 PyObject
*swig_obj
[1] ;
11319 if (!args
) SWIG_fail
;
11320 swig_obj
[0] = args
;
11321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11322 if (!SWIG_IsOK(res1
)) {
11323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11325 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11329 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11330 result
= (wxArrayInt
*) &_result_ref
;
11332 wxPyEndAllowThreads(__tstate
);
11333 if (PyErr_Occurred()) SWIG_fail
;
11336 resultobj
= PyList_New(0);
11338 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
11339 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
11340 PyList_Append(resultobj
, val
);
11350 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11351 PyObject
*resultobj
= 0;
11352 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11356 PyObject
*swig_obj
[1] ;
11358 if (!args
) SWIG_fail
;
11359 swig_obj
[0] = args
;
11360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11361 if (!SWIG_IsOK(res1
)) {
11362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11364 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11367 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11368 wxPyEndAllowThreads(__tstate
);
11369 if (PyErr_Occurred()) SWIG_fail
;
11371 resultobj
= SWIG_From_long(static_cast< long >(result
));
11378 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11379 PyObject
*resultobj
= 0;
11380 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11384 PyObject
*swig_obj
[1] ;
11386 if (!args
) SWIG_fail
;
11387 swig_obj
[0] = args
;
11388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11389 if (!SWIG_IsOK(res1
)) {
11390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11392 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11395 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11396 wxPyEndAllowThreads(__tstate
);
11397 if (PyErr_Occurred()) SWIG_fail
;
11399 resultobj
= SWIG_From_long(static_cast< long >(result
));
11406 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11407 PyObject
*resultobj
= 0;
11408 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11412 PyObject
*swig_obj
[1] ;
11414 if (!args
) SWIG_fail
;
11415 swig_obj
[0] = args
;
11416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11417 if (!SWIG_IsOK(res1
)) {
11418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11420 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11423 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11424 wxPyEndAllowThreads(__tstate
);
11425 if (PyErr_Occurred()) SWIG_fail
;
11427 resultobj
= SWIG_From_long(static_cast< long >(result
));
11434 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11435 PyObject
*resultobj
= 0;
11436 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11440 PyObject
*swig_obj
[1] ;
11442 if (!args
) SWIG_fail
;
11443 swig_obj
[0] = args
;
11444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11445 if (!SWIG_IsOK(res1
)) {
11446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11448 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11451 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11452 wxPyEndAllowThreads(__tstate
);
11453 if (PyErr_Occurred()) SWIG_fail
;
11455 resultobj
= SWIG_From_long(static_cast< long >(result
));
11462 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11463 PyObject
*resultobj
= 0;
11464 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11468 PyObject
*swig_obj
[1] ;
11470 if (!args
) SWIG_fail
;
11471 swig_obj
[0] = args
;
11472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11473 if (!SWIG_IsOK(res1
)) {
11474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11476 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11479 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11480 wxPyEndAllowThreads(__tstate
);
11481 if (PyErr_Occurred()) SWIG_fail
;
11484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11492 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11493 PyObject
*resultobj
= 0;
11494 wxTextAttr
*arg1
= 0 ;
11495 wxTextAttr
*arg2
= 0 ;
11496 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11504 PyObject
* obj0
= 0 ;
11505 PyObject
* obj1
= 0 ;
11506 PyObject
* obj2
= 0 ;
11507 char * kwnames
[] = {
11508 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11512 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11513 if (!SWIG_IsOK(res1
)) {
11514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11517 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11519 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11520 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11521 if (!SWIG_IsOK(res2
)) {
11522 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11525 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11527 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11528 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11529 if (!SWIG_IsOK(res3
)) {
11530 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11532 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11535 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11536 wxPyEndAllowThreads(__tstate
);
11537 if (PyErr_Occurred()) SWIG_fail
;
11539 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11546 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11548 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11549 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11550 return SWIG_Py_Void();
11553 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11554 return SWIG_Python_InitShadowInstance(args
);
11557 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11558 PyObject
*resultobj
= 0;
11559 wxWindow
*arg1
= (wxWindow
*) 0 ;
11560 int arg2
= (int) -1 ;
11561 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11562 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11563 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11564 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11565 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11566 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11567 long arg6
= (long) 0 ;
11568 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11569 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11570 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11571 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11572 wxTextCtrl
*result
= 0 ;
11577 bool temp3
= false ;
11584 bool temp8
= false ;
11585 PyObject
* obj0
= 0 ;
11586 PyObject
* obj1
= 0 ;
11587 PyObject
* obj2
= 0 ;
11588 PyObject
* obj3
= 0 ;
11589 PyObject
* obj4
= 0 ;
11590 PyObject
* obj5
= 0 ;
11591 PyObject
* obj6
= 0 ;
11592 PyObject
* obj7
= 0 ;
11593 char * kwnames
[] = {
11594 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11599 if (!SWIG_IsOK(res1
)) {
11600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11602 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11604 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11605 if (!SWIG_IsOK(ecode2
)) {
11606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11608 arg2
= static_cast< int >(val2
);
11612 arg3
= wxString_in_helper(obj2
);
11613 if (arg3
== NULL
) SWIG_fail
;
11620 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11626 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11630 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11631 if (!SWIG_IsOK(ecode6
)) {
11632 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11634 arg6
= static_cast< long >(val6
);
11637 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11638 if (!SWIG_IsOK(res7
)) {
11639 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11642 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11644 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11648 arg8
= wxString_in_helper(obj7
);
11649 if (arg8
== NULL
) SWIG_fail
;
11654 if (!wxPyCheckForApp()) SWIG_fail
;
11655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11656 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11657 wxPyEndAllowThreads(__tstate
);
11658 if (PyErr_Occurred()) SWIG_fail
;
11660 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11683 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11684 PyObject
*resultobj
= 0;
11685 wxTextCtrl
*result
= 0 ;
11687 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11689 if (!wxPyCheckForApp()) SWIG_fail
;
11690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11691 result
= (wxTextCtrl
*)new wxTextCtrl();
11692 wxPyEndAllowThreads(__tstate
);
11693 if (PyErr_Occurred()) SWIG_fail
;
11695 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11702 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11703 PyObject
*resultobj
= 0;
11704 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11705 wxWindow
*arg2
= (wxWindow
*) 0 ;
11706 int arg3
= (int) -1 ;
11707 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11708 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11709 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11710 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11711 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11712 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11713 long arg7
= (long) 0 ;
11714 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11715 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11716 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11717 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11725 bool temp4
= false ;
11732 bool temp9
= false ;
11733 PyObject
* obj0
= 0 ;
11734 PyObject
* obj1
= 0 ;
11735 PyObject
* obj2
= 0 ;
11736 PyObject
* obj3
= 0 ;
11737 PyObject
* obj4
= 0 ;
11738 PyObject
* obj5
= 0 ;
11739 PyObject
* obj6
= 0 ;
11740 PyObject
* obj7
= 0 ;
11741 PyObject
* obj8
= 0 ;
11742 char * kwnames
[] = {
11743 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11748 if (!SWIG_IsOK(res1
)) {
11749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11751 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11752 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11753 if (!SWIG_IsOK(res2
)) {
11754 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11756 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11758 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11759 if (!SWIG_IsOK(ecode3
)) {
11760 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11762 arg3
= static_cast< int >(val3
);
11766 arg4
= wxString_in_helper(obj3
);
11767 if (arg4
== NULL
) SWIG_fail
;
11774 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11780 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11784 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11785 if (!SWIG_IsOK(ecode7
)) {
11786 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11788 arg7
= static_cast< long >(val7
);
11791 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11792 if (!SWIG_IsOK(res8
)) {
11793 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11796 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11798 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11802 arg9
= wxString_in_helper(obj8
);
11803 if (arg9
== NULL
) SWIG_fail
;
11808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11809 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11810 wxPyEndAllowThreads(__tstate
);
11811 if (PyErr_Occurred()) SWIG_fail
;
11814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11838 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11839 PyObject
*resultobj
= 0;
11840 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11844 PyObject
*swig_obj
[1] ;
11846 if (!args
) SWIG_fail
;
11847 swig_obj
[0] = args
;
11848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11849 if (!SWIG_IsOK(res1
)) {
11850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11852 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11855 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11856 wxPyEndAllowThreads(__tstate
);
11857 if (PyErr_Occurred()) SWIG_fail
;
11861 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11863 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11872 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11873 PyObject
*resultobj
= 0;
11874 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11875 wxString
*arg2
= 0 ;
11878 bool temp2
= false ;
11879 PyObject
* obj0
= 0 ;
11880 PyObject
* obj1
= 0 ;
11881 char * kwnames
[] = {
11882 (char *) "self",(char *) "value", NULL
11885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11887 if (!SWIG_IsOK(res1
)) {
11888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11890 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11892 arg2
= wxString_in_helper(obj1
);
11893 if (arg2
== NULL
) SWIG_fail
;
11897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11898 (arg1
)->SetValue((wxString
const &)*arg2
);
11899 wxPyEndAllowThreads(__tstate
);
11900 if (PyErr_Occurred()) SWIG_fail
;
11902 resultobj
= SWIG_Py_Void();
11917 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11918 PyObject
*resultobj
= 0;
11919 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11929 PyObject
* obj0
= 0 ;
11930 PyObject
* obj1
= 0 ;
11931 PyObject
* obj2
= 0 ;
11932 char * kwnames
[] = {
11933 (char *) "self",(char *) "from",(char *) "to", NULL
11936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11938 if (!SWIG_IsOK(res1
)) {
11939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11941 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11942 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11943 if (!SWIG_IsOK(ecode2
)) {
11944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11946 arg2
= static_cast< long >(val2
);
11947 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11948 if (!SWIG_IsOK(ecode3
)) {
11949 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
11951 arg3
= static_cast< long >(val3
);
11953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11954 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
11955 wxPyEndAllowThreads(__tstate
);
11956 if (PyErr_Occurred()) SWIG_fail
;
11960 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11962 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11971 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11972 PyObject
*resultobj
= 0;
11973 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11980 PyObject
* obj0
= 0 ;
11981 PyObject
* obj1
= 0 ;
11982 char * kwnames
[] = {
11983 (char *) "self",(char *) "lineNo", NULL
11986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11988 if (!SWIG_IsOK(res1
)) {
11989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11991 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11992 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11993 if (!SWIG_IsOK(ecode2
)) {
11994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
11996 arg2
= static_cast< long >(val2
);
11998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11999 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
12000 wxPyEndAllowThreads(__tstate
);
12001 if (PyErr_Occurred()) SWIG_fail
;
12003 resultobj
= SWIG_From_int(static_cast< int >(result
));
12010 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12011 PyObject
*resultobj
= 0;
12012 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12019 PyObject
* obj0
= 0 ;
12020 PyObject
* obj1
= 0 ;
12021 char * kwnames
[] = {
12022 (char *) "self",(char *) "lineNo", NULL
12025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12027 if (!SWIG_IsOK(res1
)) {
12028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12030 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12031 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12032 if (!SWIG_IsOK(ecode2
)) {
12033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12035 arg2
= static_cast< long >(val2
);
12037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12038 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12039 wxPyEndAllowThreads(__tstate
);
12040 if (PyErr_Occurred()) SWIG_fail
;
12044 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12046 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12055 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12056 PyObject
*resultobj
= 0;
12057 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12061 PyObject
*swig_obj
[1] ;
12063 if (!args
) SWIG_fail
;
12064 swig_obj
[0] = args
;
12065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12066 if (!SWIG_IsOK(res1
)) {
12067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12069 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12072 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12073 wxPyEndAllowThreads(__tstate
);
12074 if (PyErr_Occurred()) SWIG_fail
;
12076 resultobj
= SWIG_From_int(static_cast< int >(result
));
12083 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12084 PyObject
*resultobj
= 0;
12085 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12089 PyObject
*swig_obj
[1] ;
12091 if (!args
) SWIG_fail
;
12092 swig_obj
[0] = args
;
12093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12094 if (!SWIG_IsOK(res1
)) {
12095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12097 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12100 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12101 wxPyEndAllowThreads(__tstate
);
12102 if (PyErr_Occurred()) SWIG_fail
;
12105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12113 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12114 PyObject
*resultobj
= 0;
12115 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12119 PyObject
*swig_obj
[1] ;
12121 if (!args
) SWIG_fail
;
12122 swig_obj
[0] = args
;
12123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12124 if (!SWIG_IsOK(res1
)) {
12125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12127 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12130 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12131 wxPyEndAllowThreads(__tstate
);
12132 if (PyErr_Occurred()) SWIG_fail
;
12135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12143 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12144 PyObject
*resultobj
= 0;
12145 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12149 PyObject
*swig_obj
[1] ;
12151 if (!args
) SWIG_fail
;
12152 swig_obj
[0] = args
;
12153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12154 if (!SWIG_IsOK(res1
)) {
12155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12157 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12160 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12161 wxPyEndAllowThreads(__tstate
);
12162 if (PyErr_Occurred()) SWIG_fail
;
12165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12173 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12174 PyObject
*resultobj
= 0;
12175 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12179 PyObject
*swig_obj
[1] ;
12181 if (!args
) SWIG_fail
;
12182 swig_obj
[0] = args
;
12183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12184 if (!SWIG_IsOK(res1
)) {
12185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12187 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12190 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12191 wxPyEndAllowThreads(__tstate
);
12192 if (PyErr_Occurred()) SWIG_fail
;
12195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12203 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12204 PyObject
*resultobj
= 0;
12205 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12206 long *arg2
= (long *) 0 ;
12207 long *arg3
= (long *) 0 ;
12211 int res2
= SWIG_TMPOBJ
;
12213 int res3
= SWIG_TMPOBJ
;
12214 PyObject
*swig_obj
[1] ;
12218 if (!args
) SWIG_fail
;
12219 swig_obj
[0] = args
;
12220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12221 if (!SWIG_IsOK(res1
)) {
12222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12224 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12227 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12228 wxPyEndAllowThreads(__tstate
);
12229 if (PyErr_Occurred()) SWIG_fail
;
12231 resultobj
= SWIG_Py_Void();
12232 if (SWIG_IsTmpObj(res2
)) {
12233 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12235 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12236 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12238 if (SWIG_IsTmpObj(res3
)) {
12239 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12241 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12242 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12250 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12251 PyObject
*resultobj
= 0;
12252 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12256 PyObject
*swig_obj
[1] ;
12258 if (!args
) SWIG_fail
;
12259 swig_obj
[0] = args
;
12260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12261 if (!SWIG_IsOK(res1
)) {
12262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12264 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12267 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12268 wxPyEndAllowThreads(__tstate
);
12269 if (PyErr_Occurred()) SWIG_fail
;
12273 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12275 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12284 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12285 PyObject
*resultobj
= 0;
12286 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12289 PyObject
*swig_obj
[1] ;
12291 if (!args
) SWIG_fail
;
12292 swig_obj
[0] = args
;
12293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12294 if (!SWIG_IsOK(res1
)) {
12295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12297 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12301 wxPyEndAllowThreads(__tstate
);
12302 if (PyErr_Occurred()) SWIG_fail
;
12304 resultobj
= SWIG_Py_Void();
12311 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12312 PyObject
*resultobj
= 0;
12313 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12316 wxString
*arg4
= 0 ;
12323 bool temp4
= false ;
12324 PyObject
* obj0
= 0 ;
12325 PyObject
* obj1
= 0 ;
12326 PyObject
* obj2
= 0 ;
12327 PyObject
* obj3
= 0 ;
12328 char * kwnames
[] = {
12329 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12334 if (!SWIG_IsOK(res1
)) {
12335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12337 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12338 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12339 if (!SWIG_IsOK(ecode2
)) {
12340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12342 arg2
= static_cast< long >(val2
);
12343 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12344 if (!SWIG_IsOK(ecode3
)) {
12345 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12347 arg3
= static_cast< long >(val3
);
12349 arg4
= wxString_in_helper(obj3
);
12350 if (arg4
== NULL
) SWIG_fail
;
12354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12355 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12356 wxPyEndAllowThreads(__tstate
);
12357 if (PyErr_Occurred()) SWIG_fail
;
12359 resultobj
= SWIG_Py_Void();
12374 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12375 PyObject
*resultobj
= 0;
12376 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12385 PyObject
* obj0
= 0 ;
12386 PyObject
* obj1
= 0 ;
12387 PyObject
* obj2
= 0 ;
12388 char * kwnames
[] = {
12389 (char *) "self",(char *) "from",(char *) "to", NULL
12392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12394 if (!SWIG_IsOK(res1
)) {
12395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12397 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12398 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12399 if (!SWIG_IsOK(ecode2
)) {
12400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12402 arg2
= static_cast< long >(val2
);
12403 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12404 if (!SWIG_IsOK(ecode3
)) {
12405 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12407 arg3
= static_cast< long >(val3
);
12409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12410 (arg1
)->Remove(arg2
,arg3
);
12411 wxPyEndAllowThreads(__tstate
);
12412 if (PyErr_Occurred()) SWIG_fail
;
12414 resultobj
= SWIG_Py_Void();
12421 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12422 PyObject
*resultobj
= 0;
12423 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12424 wxString
*arg2
= 0 ;
12428 bool temp2
= false ;
12429 PyObject
* obj0
= 0 ;
12430 PyObject
* obj1
= 0 ;
12431 char * kwnames
[] = {
12432 (char *) "self",(char *) "file", NULL
12435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12437 if (!SWIG_IsOK(res1
)) {
12438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12440 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12442 arg2
= wxString_in_helper(obj1
);
12443 if (arg2
== NULL
) SWIG_fail
;
12447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12448 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
12449 wxPyEndAllowThreads(__tstate
);
12450 if (PyErr_Occurred()) SWIG_fail
;
12453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12469 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12470 PyObject
*resultobj
= 0;
12471 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12472 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12473 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12477 bool temp2
= false ;
12478 PyObject
* obj0
= 0 ;
12479 PyObject
* obj1
= 0 ;
12480 char * kwnames
[] = {
12481 (char *) "self",(char *) "file", NULL
12484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12486 if (!SWIG_IsOK(res1
)) {
12487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12489 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12492 arg2
= wxString_in_helper(obj1
);
12493 if (arg2
== NULL
) SWIG_fail
;
12498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12499 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
12500 wxPyEndAllowThreads(__tstate
);
12501 if (PyErr_Occurred()) SWIG_fail
;
12504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12520 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12521 PyObject
*resultobj
= 0;
12522 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12525 PyObject
*swig_obj
[1] ;
12527 if (!args
) SWIG_fail
;
12528 swig_obj
[0] = args
;
12529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12530 if (!SWIG_IsOK(res1
)) {
12531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12533 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12536 (arg1
)->MarkDirty();
12537 wxPyEndAllowThreads(__tstate
);
12538 if (PyErr_Occurred()) SWIG_fail
;
12540 resultobj
= SWIG_Py_Void();
12547 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12548 PyObject
*resultobj
= 0;
12549 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12552 PyObject
*swig_obj
[1] ;
12554 if (!args
) SWIG_fail
;
12555 swig_obj
[0] = args
;
12556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12557 if (!SWIG_IsOK(res1
)) {
12558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12560 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12563 (arg1
)->DiscardEdits();
12564 wxPyEndAllowThreads(__tstate
);
12565 if (PyErr_Occurred()) SWIG_fail
;
12567 resultobj
= SWIG_Py_Void();
12574 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12575 PyObject
*resultobj
= 0;
12576 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12577 unsigned long arg2
;
12580 unsigned long val2
;
12582 PyObject
* obj0
= 0 ;
12583 PyObject
* obj1
= 0 ;
12584 char * kwnames
[] = {
12585 (char *) "self",(char *) "len", NULL
12588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12590 if (!SWIG_IsOK(res1
)) {
12591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12593 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12594 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12595 if (!SWIG_IsOK(ecode2
)) {
12596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12598 arg2
= static_cast< unsigned long >(val2
);
12600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12601 (arg1
)->SetMaxLength(arg2
);
12602 wxPyEndAllowThreads(__tstate
);
12603 if (PyErr_Occurred()) SWIG_fail
;
12605 resultobj
= SWIG_Py_Void();
12612 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12613 PyObject
*resultobj
= 0;
12614 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12615 wxString
*arg2
= 0 ;
12618 bool temp2
= false ;
12619 PyObject
* obj0
= 0 ;
12620 PyObject
* obj1
= 0 ;
12621 char * kwnames
[] = {
12622 (char *) "self",(char *) "text", NULL
12625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12627 if (!SWIG_IsOK(res1
)) {
12628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12630 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12632 arg2
= wxString_in_helper(obj1
);
12633 if (arg2
== NULL
) SWIG_fail
;
12637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12638 (arg1
)->WriteText((wxString
const &)*arg2
);
12639 wxPyEndAllowThreads(__tstate
);
12640 if (PyErr_Occurred()) SWIG_fail
;
12642 resultobj
= SWIG_Py_Void();
12657 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12658 PyObject
*resultobj
= 0;
12659 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12660 wxString
*arg2
= 0 ;
12663 bool temp2
= false ;
12664 PyObject
* obj0
= 0 ;
12665 PyObject
* obj1
= 0 ;
12666 char * kwnames
[] = {
12667 (char *) "self",(char *) "text", NULL
12670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12672 if (!SWIG_IsOK(res1
)) {
12673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12675 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12677 arg2
= wxString_in_helper(obj1
);
12678 if (arg2
== NULL
) SWIG_fail
;
12682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12683 (arg1
)->AppendText((wxString
const &)*arg2
);
12684 wxPyEndAllowThreads(__tstate
);
12685 if (PyErr_Occurred()) SWIG_fail
;
12687 resultobj
= SWIG_Py_Void();
12702 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12703 PyObject
*resultobj
= 0;
12704 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12705 wxKeyEvent
*arg2
= 0 ;
12711 PyObject
* obj0
= 0 ;
12712 PyObject
* obj1
= 0 ;
12713 char * kwnames
[] = {
12714 (char *) "self",(char *) "event", NULL
12717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12719 if (!SWIG_IsOK(res1
)) {
12720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12722 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12723 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12724 if (!SWIG_IsOK(res2
)) {
12725 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12728 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12730 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12733 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12734 wxPyEndAllowThreads(__tstate
);
12735 if (PyErr_Occurred()) SWIG_fail
;
12738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12746 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12747 PyObject
*resultobj
= 0;
12748 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12751 wxTextAttr
*arg4
= 0 ;
12761 PyObject
* obj0
= 0 ;
12762 PyObject
* obj1
= 0 ;
12763 PyObject
* obj2
= 0 ;
12764 PyObject
* obj3
= 0 ;
12765 char * kwnames
[] = {
12766 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12771 if (!SWIG_IsOK(res1
)) {
12772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12774 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12775 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12776 if (!SWIG_IsOK(ecode2
)) {
12777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12779 arg2
= static_cast< long >(val2
);
12780 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12781 if (!SWIG_IsOK(ecode3
)) {
12782 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12784 arg3
= static_cast< long >(val3
);
12785 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12786 if (!SWIG_IsOK(res4
)) {
12787 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12790 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12792 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12795 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12796 wxPyEndAllowThreads(__tstate
);
12797 if (PyErr_Occurred()) SWIG_fail
;
12800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12808 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12809 PyObject
*resultobj
= 0;
12810 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12812 wxTextAttr
*arg3
= 0 ;
12820 PyObject
* obj0
= 0 ;
12821 PyObject
* obj1
= 0 ;
12822 PyObject
* obj2
= 0 ;
12823 char * kwnames
[] = {
12824 (char *) "self",(char *) "position",(char *) "style", NULL
12827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12829 if (!SWIG_IsOK(res1
)) {
12830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12832 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12833 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12834 if (!SWIG_IsOK(ecode2
)) {
12835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12837 arg2
= static_cast< long >(val2
);
12838 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12839 if (!SWIG_IsOK(res3
)) {
12840 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12843 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12845 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12848 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12849 wxPyEndAllowThreads(__tstate
);
12850 if (PyErr_Occurred()) SWIG_fail
;
12853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12861 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12862 PyObject
*resultobj
= 0;
12863 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12864 wxTextAttr
*arg2
= 0 ;
12870 PyObject
* obj0
= 0 ;
12871 PyObject
* obj1
= 0 ;
12872 char * kwnames
[] = {
12873 (char *) "self",(char *) "style", NULL
12876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12878 if (!SWIG_IsOK(res1
)) {
12879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12881 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12882 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12883 if (!SWIG_IsOK(res2
)) {
12884 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12887 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12889 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
12891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12892 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
12893 wxPyEndAllowThreads(__tstate
);
12894 if (PyErr_Occurred()) SWIG_fail
;
12897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12905 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12906 PyObject
*resultobj
= 0;
12907 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12908 wxTextAttr
*result
= 0 ;
12911 PyObject
*swig_obj
[1] ;
12913 if (!args
) SWIG_fail
;
12914 swig_obj
[0] = args
;
12915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12916 if (!SWIG_IsOK(res1
)) {
12917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12919 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12923 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
12924 result
= (wxTextAttr
*) &_result_ref
;
12926 wxPyEndAllowThreads(__tstate
);
12927 if (PyErr_Occurred()) SWIG_fail
;
12929 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
12936 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12937 PyObject
*resultobj
= 0;
12938 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12948 PyObject
* obj0
= 0 ;
12949 PyObject
* obj1
= 0 ;
12950 PyObject
* obj2
= 0 ;
12951 char * kwnames
[] = {
12952 (char *) "self",(char *) "x",(char *) "y", NULL
12955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12957 if (!SWIG_IsOK(res1
)) {
12958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12960 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12961 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12962 if (!SWIG_IsOK(ecode2
)) {
12963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
12965 arg2
= static_cast< long >(val2
);
12966 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12967 if (!SWIG_IsOK(ecode3
)) {
12968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
12970 arg3
= static_cast< long >(val3
);
12972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12973 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
12974 wxPyEndAllowThreads(__tstate
);
12975 if (PyErr_Occurred()) SWIG_fail
;
12977 resultobj
= SWIG_From_long(static_cast< long >(result
));
12984 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12985 PyObject
*resultobj
= 0;
12986 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12988 long *arg3
= (long *) 0 ;
12989 long *arg4
= (long *) 0 ;
12995 int res3
= SWIG_TMPOBJ
;
12997 int res4
= SWIG_TMPOBJ
;
12998 PyObject
* obj0
= 0 ;
12999 PyObject
* obj1
= 0 ;
13000 char * kwnames
[] = {
13001 (char *) "self",(char *) "pos", NULL
13006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13008 if (!SWIG_IsOK(res1
)) {
13009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13011 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13012 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13013 if (!SWIG_IsOK(ecode2
)) {
13014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13016 arg2
= static_cast< long >(val2
);
13018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13019 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13020 wxPyEndAllowThreads(__tstate
);
13021 if (PyErr_Occurred()) SWIG_fail
;
13023 resultobj
= SWIG_Py_Void();
13024 if (SWIG_IsTmpObj(res3
)) {
13025 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13027 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13028 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13030 if (SWIG_IsTmpObj(res4
)) {
13031 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13033 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13034 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13042 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13043 PyObject
*resultobj
= 0;
13044 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13050 PyObject
* obj0
= 0 ;
13051 PyObject
* obj1
= 0 ;
13052 char * kwnames
[] = {
13053 (char *) "self",(char *) "pos", NULL
13056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13058 if (!SWIG_IsOK(res1
)) {
13059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13061 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13062 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13063 if (!SWIG_IsOK(ecode2
)) {
13064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13066 arg2
= static_cast< long >(val2
);
13068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13069 (arg1
)->ShowPosition(arg2
);
13070 wxPyEndAllowThreads(__tstate
);
13071 if (PyErr_Occurred()) SWIG_fail
;
13073 resultobj
= SWIG_Py_Void();
13080 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13081 PyObject
*resultobj
= 0;
13082 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13083 wxPoint
*arg2
= 0 ;
13084 long *arg3
= (long *) 0 ;
13085 long *arg4
= (long *) 0 ;
13086 wxTextCtrlHitTestResult result
;
13091 int res3
= SWIG_TMPOBJ
;
13093 int res4
= SWIG_TMPOBJ
;
13094 PyObject
* obj0
= 0 ;
13095 PyObject
* obj1
= 0 ;
13096 char * kwnames
[] = {
13097 (char *) "self",(char *) "pt", NULL
13102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13104 if (!SWIG_IsOK(res1
)) {
13105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13107 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13110 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13114 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13115 wxPyEndAllowThreads(__tstate
);
13116 if (PyErr_Occurred()) SWIG_fail
;
13118 resultobj
= SWIG_From_int(static_cast< int >(result
));
13119 if (SWIG_IsTmpObj(res3
)) {
13120 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13122 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13123 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13125 if (SWIG_IsTmpObj(res4
)) {
13126 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13128 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13129 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13137 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13138 PyObject
*resultobj
= 0;
13139 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13140 wxPoint
*arg2
= 0 ;
13141 long *arg3
= (long *) 0 ;
13142 wxTextCtrlHitTestResult result
;
13147 int res3
= SWIG_TMPOBJ
;
13148 PyObject
* obj0
= 0 ;
13149 PyObject
* obj1
= 0 ;
13150 char * kwnames
[] = {
13151 (char *) "self",(char *) "pt", NULL
13155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13157 if (!SWIG_IsOK(res1
)) {
13158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13160 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13163 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13167 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13168 wxPyEndAllowThreads(__tstate
);
13169 if (PyErr_Occurred()) SWIG_fail
;
13171 resultobj
= SWIG_From_int(static_cast< int >(result
));
13172 if (SWIG_IsTmpObj(res3
)) {
13173 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13175 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13176 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13184 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13185 PyObject
*resultobj
= 0;
13186 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13189 PyObject
*swig_obj
[1] ;
13191 if (!args
) SWIG_fail
;
13192 swig_obj
[0] = args
;
13193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13194 if (!SWIG_IsOK(res1
)) {
13195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13197 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13201 wxPyEndAllowThreads(__tstate
);
13202 if (PyErr_Occurred()) SWIG_fail
;
13204 resultobj
= SWIG_Py_Void();
13211 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13212 PyObject
*resultobj
= 0;
13213 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13216 PyObject
*swig_obj
[1] ;
13218 if (!args
) SWIG_fail
;
13219 swig_obj
[0] = args
;
13220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13221 if (!SWIG_IsOK(res1
)) {
13222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13224 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13228 wxPyEndAllowThreads(__tstate
);
13229 if (PyErr_Occurred()) SWIG_fail
;
13231 resultobj
= SWIG_Py_Void();
13238 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13239 PyObject
*resultobj
= 0;
13240 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13243 PyObject
*swig_obj
[1] ;
13245 if (!args
) SWIG_fail
;
13246 swig_obj
[0] = args
;
13247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13248 if (!SWIG_IsOK(res1
)) {
13249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13251 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13255 wxPyEndAllowThreads(__tstate
);
13256 if (PyErr_Occurred()) SWIG_fail
;
13258 resultobj
= SWIG_Py_Void();
13265 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13266 PyObject
*resultobj
= 0;
13267 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13271 PyObject
*swig_obj
[1] ;
13273 if (!args
) SWIG_fail
;
13274 swig_obj
[0] = args
;
13275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13276 if (!SWIG_IsOK(res1
)) {
13277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13279 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13282 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13283 wxPyEndAllowThreads(__tstate
);
13284 if (PyErr_Occurred()) SWIG_fail
;
13287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13295 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13296 PyObject
*resultobj
= 0;
13297 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13301 PyObject
*swig_obj
[1] ;
13303 if (!args
) SWIG_fail
;
13304 swig_obj
[0] = args
;
13305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13306 if (!SWIG_IsOK(res1
)) {
13307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13309 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13312 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13313 wxPyEndAllowThreads(__tstate
);
13314 if (PyErr_Occurred()) SWIG_fail
;
13317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13325 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13326 PyObject
*resultobj
= 0;
13327 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13331 PyObject
*swig_obj
[1] ;
13333 if (!args
) SWIG_fail
;
13334 swig_obj
[0] = args
;
13335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13336 if (!SWIG_IsOK(res1
)) {
13337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13339 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13342 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13343 wxPyEndAllowThreads(__tstate
);
13344 if (PyErr_Occurred()) SWIG_fail
;
13347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13355 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13356 PyObject
*resultobj
= 0;
13357 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13360 PyObject
*swig_obj
[1] ;
13362 if (!args
) SWIG_fail
;
13363 swig_obj
[0] = args
;
13364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13365 if (!SWIG_IsOK(res1
)) {
13366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13368 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13372 wxPyEndAllowThreads(__tstate
);
13373 if (PyErr_Occurred()) SWIG_fail
;
13375 resultobj
= SWIG_Py_Void();
13382 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13383 PyObject
*resultobj
= 0;
13384 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13387 PyObject
*swig_obj
[1] ;
13389 if (!args
) SWIG_fail
;
13390 swig_obj
[0] = args
;
13391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13392 if (!SWIG_IsOK(res1
)) {
13393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13395 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13399 wxPyEndAllowThreads(__tstate
);
13400 if (PyErr_Occurred()) SWIG_fail
;
13402 resultobj
= SWIG_Py_Void();
13409 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13410 PyObject
*resultobj
= 0;
13411 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13415 PyObject
*swig_obj
[1] ;
13417 if (!args
) SWIG_fail
;
13418 swig_obj
[0] = args
;
13419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13420 if (!SWIG_IsOK(res1
)) {
13421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13423 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13426 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13427 wxPyEndAllowThreads(__tstate
);
13428 if (PyErr_Occurred()) SWIG_fail
;
13431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13439 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13440 PyObject
*resultobj
= 0;
13441 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13445 PyObject
*swig_obj
[1] ;
13447 if (!args
) SWIG_fail
;
13448 swig_obj
[0] = args
;
13449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13450 if (!SWIG_IsOK(res1
)) {
13451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13453 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13456 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13457 wxPyEndAllowThreads(__tstate
);
13458 if (PyErr_Occurred()) SWIG_fail
;
13461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13469 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13470 PyObject
*resultobj
= 0;
13471 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13477 PyObject
* obj0
= 0 ;
13478 PyObject
* obj1
= 0 ;
13479 char * kwnames
[] = {
13480 (char *) "self",(char *) "pos", NULL
13483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13485 if (!SWIG_IsOK(res1
)) {
13486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13488 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13489 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13490 if (!SWIG_IsOK(ecode2
)) {
13491 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13493 arg2
= static_cast< long >(val2
);
13495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13496 (arg1
)->SetInsertionPoint(arg2
);
13497 wxPyEndAllowThreads(__tstate
);
13498 if (PyErr_Occurred()) SWIG_fail
;
13500 resultobj
= SWIG_Py_Void();
13507 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13508 PyObject
*resultobj
= 0;
13509 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13512 PyObject
*swig_obj
[1] ;
13514 if (!args
) SWIG_fail
;
13515 swig_obj
[0] = args
;
13516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13517 if (!SWIG_IsOK(res1
)) {
13518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13520 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13523 (arg1
)->SetInsertionPointEnd();
13524 wxPyEndAllowThreads(__tstate
);
13525 if (PyErr_Occurred()) SWIG_fail
;
13527 resultobj
= SWIG_Py_Void();
13534 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13535 PyObject
*resultobj
= 0;
13536 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13540 PyObject
*swig_obj
[1] ;
13542 if (!args
) SWIG_fail
;
13543 swig_obj
[0] = args
;
13544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13545 if (!SWIG_IsOK(res1
)) {
13546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13548 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13551 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13552 wxPyEndAllowThreads(__tstate
);
13553 if (PyErr_Occurred()) SWIG_fail
;
13555 resultobj
= SWIG_From_long(static_cast< long >(result
));
13562 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13563 PyObject
*resultobj
= 0;
13564 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13568 PyObject
*swig_obj
[1] ;
13570 if (!args
) SWIG_fail
;
13571 swig_obj
[0] = args
;
13572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13573 if (!SWIG_IsOK(res1
)) {
13574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13576 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13579 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13580 wxPyEndAllowThreads(__tstate
);
13581 if (PyErr_Occurred()) SWIG_fail
;
13583 resultobj
= SWIG_From_long(static_cast< long >(result
));
13590 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13591 PyObject
*resultobj
= 0;
13592 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13601 PyObject
* obj0
= 0 ;
13602 PyObject
* obj1
= 0 ;
13603 PyObject
* obj2
= 0 ;
13604 char * kwnames
[] = {
13605 (char *) "self",(char *) "from",(char *) "to", NULL
13608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13610 if (!SWIG_IsOK(res1
)) {
13611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13613 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13614 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13615 if (!SWIG_IsOK(ecode2
)) {
13616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13618 arg2
= static_cast< long >(val2
);
13619 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13620 if (!SWIG_IsOK(ecode3
)) {
13621 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13623 arg3
= static_cast< long >(val3
);
13625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13626 (arg1
)->SetSelection(arg2
,arg3
);
13627 wxPyEndAllowThreads(__tstate
);
13628 if (PyErr_Occurred()) SWIG_fail
;
13630 resultobj
= SWIG_Py_Void();
13637 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13638 PyObject
*resultobj
= 0;
13639 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13642 PyObject
*swig_obj
[1] ;
13644 if (!args
) SWIG_fail
;
13645 swig_obj
[0] = args
;
13646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13647 if (!SWIG_IsOK(res1
)) {
13648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13650 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13653 (arg1
)->SelectAll();
13654 wxPyEndAllowThreads(__tstate
);
13655 if (PyErr_Occurred()) SWIG_fail
;
13657 resultobj
= SWIG_Py_Void();
13664 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13665 PyObject
*resultobj
= 0;
13666 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13672 PyObject
* obj0
= 0 ;
13673 PyObject
* obj1
= 0 ;
13674 char * kwnames
[] = {
13675 (char *) "self",(char *) "editable", NULL
13678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13680 if (!SWIG_IsOK(res1
)) {
13681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13683 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13684 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13685 if (!SWIG_IsOK(ecode2
)) {
13686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13688 arg2
= static_cast< bool >(val2
);
13690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13691 (arg1
)->SetEditable(arg2
);
13692 wxPyEndAllowThreads(__tstate
);
13693 if (PyErr_Occurred()) SWIG_fail
;
13695 resultobj
= SWIG_Py_Void();
13702 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13703 PyObject
*resultobj
= 0;
13704 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13705 bool arg2
= (bool) true ;
13711 PyObject
* obj0
= 0 ;
13712 PyObject
* obj1
= 0 ;
13713 char * kwnames
[] = {
13714 (char *) "self",(char *) "show", NULL
13717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13719 if (!SWIG_IsOK(res1
)) {
13720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13722 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13724 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13725 if (!SWIG_IsOK(ecode2
)) {
13726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "2"" of type '" "bool""'");
13728 arg2
= static_cast< bool >(val2
);
13731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13732 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
13733 wxPyEndAllowThreads(__tstate
);
13734 if (PyErr_Occurred()) SWIG_fail
;
13737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13745 SWIGINTERN PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13746 PyObject
*resultobj
= 0;
13747 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13751 PyObject
*swig_obj
[1] ;
13753 if (!args
) SWIG_fail
;
13754 swig_obj
[0] = args
;
13755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13756 if (!SWIG_IsOK(res1
)) {
13757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HideNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13759 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13762 result
= (bool)(arg1
)->HideNativeCaret();
13763 wxPyEndAllowThreads(__tstate
);
13764 if (PyErr_Occurred()) SWIG_fail
;
13767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13775 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13776 PyObject
*resultobj
= 0;
13777 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13778 wxString
*arg2
= 0 ;
13781 bool temp2
= false ;
13782 PyObject
* obj0
= 0 ;
13783 PyObject
* obj1
= 0 ;
13784 char * kwnames
[] = {
13785 (char *) "self",(char *) "text", NULL
13788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13790 if (!SWIG_IsOK(res1
)) {
13791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13793 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13795 arg2
= wxString_in_helper(obj1
);
13796 if (arg2
== NULL
) SWIG_fail
;
13800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13801 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13802 wxPyEndAllowThreads(__tstate
);
13803 if (PyErr_Occurred()) SWIG_fail
;
13805 resultobj
= SWIG_Py_Void();
13820 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13821 PyObject
*resultobj
= 0;
13822 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13832 PyObject
* obj0
= 0 ;
13833 PyObject
* obj1
= 0 ;
13834 PyObject
* obj2
= 0 ;
13835 char * kwnames
[] = {
13836 (char *) "self",(char *) "from",(char *) "to", NULL
13839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13841 if (!SWIG_IsOK(res1
)) {
13842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13844 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13845 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13846 if (!SWIG_IsOK(ecode2
)) {
13847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13849 arg2
= static_cast< long >(val2
);
13850 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13851 if (!SWIG_IsOK(ecode3
)) {
13852 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13854 arg3
= static_cast< long >(val3
);
13856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13857 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13858 wxPyEndAllowThreads(__tstate
);
13859 if (PyErr_Occurred()) SWIG_fail
;
13863 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13865 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13874 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13875 PyObject
*resultobj
= 0;
13876 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13877 SwigValueWrapper
<wxVisualAttributes
> result
;
13880 PyObject
* obj0
= 0 ;
13881 char * kwnames
[] = {
13882 (char *) "variant", NULL
13885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
13887 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13888 if (!SWIG_IsOK(ecode1
)) {
13889 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13891 arg1
= static_cast< wxWindowVariant
>(val1
);
13894 if (!wxPyCheckForApp()) SWIG_fail
;
13895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13896 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
13897 wxPyEndAllowThreads(__tstate
);
13898 if (PyErr_Occurred()) SWIG_fail
;
13900 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
13907 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13909 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13910 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
13911 return SWIG_Py_Void();
13914 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13915 return SWIG_Python_InitShadowInstance(args
);
13918 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13919 PyObject
*resultobj
= 0;
13921 wxMouseEvent
*arg2
= 0 ;
13924 wxTextUrlEvent
*result
= 0 ;
13933 PyObject
* obj0
= 0 ;
13934 PyObject
* obj1
= 0 ;
13935 PyObject
* obj2
= 0 ;
13936 PyObject
* obj3
= 0 ;
13937 char * kwnames
[] = {
13938 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
13941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13942 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13943 if (!SWIG_IsOK(ecode1
)) {
13944 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
13946 arg1
= static_cast< int >(val1
);
13947 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
13948 if (!SWIG_IsOK(res2
)) {
13949 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13952 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13954 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
13955 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13956 if (!SWIG_IsOK(ecode3
)) {
13957 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
13959 arg3
= static_cast< long >(val3
);
13960 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
13961 if (!SWIG_IsOK(ecode4
)) {
13962 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
13964 arg4
= static_cast< long >(val4
);
13966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13967 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
13968 wxPyEndAllowThreads(__tstate
);
13969 if (PyErr_Occurred()) SWIG_fail
;
13971 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
13978 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13979 PyObject
*resultobj
= 0;
13980 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13981 wxMouseEvent
*result
= 0 ;
13984 PyObject
*swig_obj
[1] ;
13986 if (!args
) SWIG_fail
;
13987 swig_obj
[0] = args
;
13988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13989 if (!SWIG_IsOK(res1
)) {
13990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
13992 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13996 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
13997 result
= (wxMouseEvent
*) &_result_ref
;
13999 wxPyEndAllowThreads(__tstate
);
14000 if (PyErr_Occurred()) SWIG_fail
;
14002 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
14009 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14010 PyObject
*resultobj
= 0;
14011 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14015 PyObject
*swig_obj
[1] ;
14017 if (!args
) SWIG_fail
;
14018 swig_obj
[0] = args
;
14019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14020 if (!SWIG_IsOK(res1
)) {
14021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14023 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14026 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14027 wxPyEndAllowThreads(__tstate
);
14028 if (PyErr_Occurred()) SWIG_fail
;
14030 resultobj
= SWIG_From_long(static_cast< long >(result
));
14037 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14038 PyObject
*resultobj
= 0;
14039 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14043 PyObject
*swig_obj
[1] ;
14045 if (!args
) SWIG_fail
;
14046 swig_obj
[0] = args
;
14047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14048 if (!SWIG_IsOK(res1
)) {
14049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14051 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14054 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14055 wxPyEndAllowThreads(__tstate
);
14056 if (PyErr_Occurred()) SWIG_fail
;
14058 resultobj
= SWIG_From_long(static_cast< long >(result
));
14065 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14067 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14068 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14069 return SWIG_Py_Void();
14072 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14073 return SWIG_Python_InitShadowInstance(args
);
14076 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14077 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14082 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14083 PyObject
*pyobj
= 0;
14087 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14089 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14096 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14097 PyObject
*resultobj
= 0;
14098 wxWindow
*arg1
= (wxWindow
*) 0 ;
14099 int arg2
= (int) -1 ;
14100 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14101 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14102 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14103 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14104 long arg5
= (long) wxSB_HORIZONTAL
;
14105 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14106 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14107 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14108 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14109 wxScrollBar
*result
= 0 ;
14120 bool temp7
= false ;
14121 PyObject
* obj0
= 0 ;
14122 PyObject
* obj1
= 0 ;
14123 PyObject
* obj2
= 0 ;
14124 PyObject
* obj3
= 0 ;
14125 PyObject
* obj4
= 0 ;
14126 PyObject
* obj5
= 0 ;
14127 PyObject
* obj6
= 0 ;
14128 char * kwnames
[] = {
14129 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14134 if (!SWIG_IsOK(res1
)) {
14135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14137 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14139 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14140 if (!SWIG_IsOK(ecode2
)) {
14141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14143 arg2
= static_cast< int >(val2
);
14148 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14154 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14158 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14159 if (!SWIG_IsOK(ecode5
)) {
14160 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14162 arg5
= static_cast< long >(val5
);
14165 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14166 if (!SWIG_IsOK(res6
)) {
14167 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14170 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14172 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14176 arg7
= wxString_in_helper(obj6
);
14177 if (arg7
== NULL
) SWIG_fail
;
14182 if (!wxPyCheckForApp()) SWIG_fail
;
14183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14184 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14185 wxPyEndAllowThreads(__tstate
);
14186 if (PyErr_Occurred()) SWIG_fail
;
14188 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14203 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14204 PyObject
*resultobj
= 0;
14205 wxScrollBar
*result
= 0 ;
14207 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14209 if (!wxPyCheckForApp()) SWIG_fail
;
14210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14211 result
= (wxScrollBar
*)new wxScrollBar();
14212 wxPyEndAllowThreads(__tstate
);
14213 if (PyErr_Occurred()) SWIG_fail
;
14215 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14222 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14223 PyObject
*resultobj
= 0;
14224 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14225 wxWindow
*arg2
= (wxWindow
*) 0 ;
14226 int arg3
= (int) -1 ;
14227 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14228 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14229 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14230 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14231 long arg6
= (long) wxSB_HORIZONTAL
;
14232 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14233 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14234 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14235 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14249 bool temp8
= false ;
14250 PyObject
* obj0
= 0 ;
14251 PyObject
* obj1
= 0 ;
14252 PyObject
* obj2
= 0 ;
14253 PyObject
* obj3
= 0 ;
14254 PyObject
* obj4
= 0 ;
14255 PyObject
* obj5
= 0 ;
14256 PyObject
* obj6
= 0 ;
14257 PyObject
* obj7
= 0 ;
14258 char * kwnames
[] = {
14259 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14264 if (!SWIG_IsOK(res1
)) {
14265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14267 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14268 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14269 if (!SWIG_IsOK(res2
)) {
14270 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14272 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14274 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14275 if (!SWIG_IsOK(ecode3
)) {
14276 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14278 arg3
= static_cast< int >(val3
);
14283 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14289 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14293 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14294 if (!SWIG_IsOK(ecode6
)) {
14295 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14297 arg6
= static_cast< long >(val6
);
14300 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14301 if (!SWIG_IsOK(res7
)) {
14302 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14305 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14307 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14311 arg8
= wxString_in_helper(obj7
);
14312 if (arg8
== NULL
) SWIG_fail
;
14317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14318 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14319 wxPyEndAllowThreads(__tstate
);
14320 if (PyErr_Occurred()) SWIG_fail
;
14323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14339 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14340 PyObject
*resultobj
= 0;
14341 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14345 PyObject
*swig_obj
[1] ;
14347 if (!args
) SWIG_fail
;
14348 swig_obj
[0] = args
;
14349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14350 if (!SWIG_IsOK(res1
)) {
14351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14353 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14356 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14357 wxPyEndAllowThreads(__tstate
);
14358 if (PyErr_Occurred()) SWIG_fail
;
14360 resultobj
= SWIG_From_int(static_cast< int >(result
));
14367 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14368 PyObject
*resultobj
= 0;
14369 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14373 PyObject
*swig_obj
[1] ;
14375 if (!args
) SWIG_fail
;
14376 swig_obj
[0] = args
;
14377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14378 if (!SWIG_IsOK(res1
)) {
14379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14381 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14384 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14385 wxPyEndAllowThreads(__tstate
);
14386 if (PyErr_Occurred()) SWIG_fail
;
14388 resultobj
= SWIG_From_int(static_cast< int >(result
));
14395 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14396 PyObject
*resultobj
= 0;
14397 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14401 PyObject
*swig_obj
[1] ;
14403 if (!args
) SWIG_fail
;
14404 swig_obj
[0] = args
;
14405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14406 if (!SWIG_IsOK(res1
)) {
14407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14409 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14412 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14413 wxPyEndAllowThreads(__tstate
);
14414 if (PyErr_Occurred()) SWIG_fail
;
14416 resultobj
= SWIG_From_int(static_cast< int >(result
));
14423 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14424 PyObject
*resultobj
= 0;
14425 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14429 PyObject
*swig_obj
[1] ;
14431 if (!args
) SWIG_fail
;
14432 swig_obj
[0] = args
;
14433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14434 if (!SWIG_IsOK(res1
)) {
14435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14437 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14440 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14441 wxPyEndAllowThreads(__tstate
);
14442 if (PyErr_Occurred()) SWIG_fail
;
14444 resultobj
= SWIG_From_int(static_cast< int >(result
));
14451 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14452 PyObject
*resultobj
= 0;
14453 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14457 PyObject
*swig_obj
[1] ;
14459 if (!args
) SWIG_fail
;
14460 swig_obj
[0] = args
;
14461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14462 if (!SWIG_IsOK(res1
)) {
14463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14465 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14468 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14469 wxPyEndAllowThreads(__tstate
);
14470 if (PyErr_Occurred()) SWIG_fail
;
14473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14481 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14482 PyObject
*resultobj
= 0;
14483 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14489 PyObject
* obj0
= 0 ;
14490 PyObject
* obj1
= 0 ;
14491 char * kwnames
[] = {
14492 (char *) "self",(char *) "viewStart", NULL
14495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14497 if (!SWIG_IsOK(res1
)) {
14498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14500 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14502 if (!SWIG_IsOK(ecode2
)) {
14503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14505 arg2
= static_cast< int >(val2
);
14507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14508 (arg1
)->SetThumbPosition(arg2
);
14509 wxPyEndAllowThreads(__tstate
);
14510 if (PyErr_Occurred()) SWIG_fail
;
14512 resultobj
= SWIG_Py_Void();
14519 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14520 PyObject
*resultobj
= 0;
14521 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14522 SwigValueWrapper
<wxVisualAttributes
> result
;
14525 PyObject
* obj0
= 0 ;
14526 char * kwnames
[] = {
14527 (char *) "variant", NULL
14530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14532 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14533 if (!SWIG_IsOK(ecode1
)) {
14534 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14536 arg1
= static_cast< wxWindowVariant
>(val1
);
14539 if (!wxPyCheckForApp()) SWIG_fail
;
14540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14541 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14542 wxPyEndAllowThreads(__tstate
);
14543 if (PyErr_Occurred()) SWIG_fail
;
14545 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14552 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14554 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14555 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14556 return SWIG_Py_Void();
14559 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14560 return SWIG_Python_InitShadowInstance(args
);
14563 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14564 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14569 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14570 PyObject
*pyobj
= 0;
14574 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14576 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14583 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14584 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14589 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14590 PyObject
*pyobj
= 0;
14594 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14596 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14603 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14604 PyObject
*resultobj
= 0;
14605 wxWindow
*arg1
= (wxWindow
*) 0 ;
14606 int arg2
= (int) -1 ;
14607 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14608 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14609 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14610 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14611 long arg5
= (long) wxSP_HORIZONTAL
;
14612 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14613 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14614 wxSpinButton
*result
= 0 ;
14623 bool temp6
= false ;
14624 PyObject
* obj0
= 0 ;
14625 PyObject
* obj1
= 0 ;
14626 PyObject
* obj2
= 0 ;
14627 PyObject
* obj3
= 0 ;
14628 PyObject
* obj4
= 0 ;
14629 PyObject
* obj5
= 0 ;
14630 char * kwnames
[] = {
14631 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14636 if (!SWIG_IsOK(res1
)) {
14637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14639 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14641 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14642 if (!SWIG_IsOK(ecode2
)) {
14643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14645 arg2
= static_cast< int >(val2
);
14650 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14656 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14660 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14661 if (!SWIG_IsOK(ecode5
)) {
14662 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14664 arg5
= static_cast< long >(val5
);
14668 arg6
= wxString_in_helper(obj5
);
14669 if (arg6
== NULL
) SWIG_fail
;
14674 if (!wxPyCheckForApp()) SWIG_fail
;
14675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14676 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14677 wxPyEndAllowThreads(__tstate
);
14678 if (PyErr_Occurred()) SWIG_fail
;
14680 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14695 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14696 PyObject
*resultobj
= 0;
14697 wxSpinButton
*result
= 0 ;
14699 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14701 if (!wxPyCheckForApp()) SWIG_fail
;
14702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14703 result
= (wxSpinButton
*)new wxSpinButton();
14704 wxPyEndAllowThreads(__tstate
);
14705 if (PyErr_Occurred()) SWIG_fail
;
14707 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14714 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14715 PyObject
*resultobj
= 0;
14716 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14717 wxWindow
*arg2
= (wxWindow
*) 0 ;
14718 int arg3
= (int) -1 ;
14719 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14720 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14721 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14722 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14723 long arg6
= (long) wxSP_HORIZONTAL
;
14724 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14725 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14737 bool temp7
= false ;
14738 PyObject
* obj0
= 0 ;
14739 PyObject
* obj1
= 0 ;
14740 PyObject
* obj2
= 0 ;
14741 PyObject
* obj3
= 0 ;
14742 PyObject
* obj4
= 0 ;
14743 PyObject
* obj5
= 0 ;
14744 PyObject
* obj6
= 0 ;
14745 char * kwnames
[] = {
14746 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14751 if (!SWIG_IsOK(res1
)) {
14752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14754 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14755 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14756 if (!SWIG_IsOK(res2
)) {
14757 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14759 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14761 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14762 if (!SWIG_IsOK(ecode3
)) {
14763 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14765 arg3
= static_cast< int >(val3
);
14770 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14776 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14780 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14781 if (!SWIG_IsOK(ecode6
)) {
14782 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14784 arg6
= static_cast< long >(val6
);
14788 arg7
= wxString_in_helper(obj6
);
14789 if (arg7
== NULL
) SWIG_fail
;
14794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14795 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14796 wxPyEndAllowThreads(__tstate
);
14797 if (PyErr_Occurred()) SWIG_fail
;
14800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14816 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14817 PyObject
*resultobj
= 0;
14818 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14822 PyObject
*swig_obj
[1] ;
14824 if (!args
) SWIG_fail
;
14825 swig_obj
[0] = args
;
14826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14827 if (!SWIG_IsOK(res1
)) {
14828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14830 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14833 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14834 wxPyEndAllowThreads(__tstate
);
14835 if (PyErr_Occurred()) SWIG_fail
;
14837 resultobj
= SWIG_From_int(static_cast< int >(result
));
14844 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14845 PyObject
*resultobj
= 0;
14846 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14850 PyObject
*swig_obj
[1] ;
14852 if (!args
) SWIG_fail
;
14853 swig_obj
[0] = args
;
14854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14855 if (!SWIG_IsOK(res1
)) {
14856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14858 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14861 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14862 wxPyEndAllowThreads(__tstate
);
14863 if (PyErr_Occurred()) SWIG_fail
;
14865 resultobj
= SWIG_From_int(static_cast< int >(result
));
14872 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14873 PyObject
*resultobj
= 0;
14874 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14878 PyObject
*swig_obj
[1] ;
14880 if (!args
) SWIG_fail
;
14881 swig_obj
[0] = args
;
14882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14883 if (!SWIG_IsOK(res1
)) {
14884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14886 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14889 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
14890 wxPyEndAllowThreads(__tstate
);
14891 if (PyErr_Occurred()) SWIG_fail
;
14893 resultobj
= SWIG_From_int(static_cast< int >(result
));
14900 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14901 PyObject
*resultobj
= 0;
14902 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14908 PyObject
* obj0
= 0 ;
14909 PyObject
* obj1
= 0 ;
14910 char * kwnames
[] = {
14911 (char *) "self",(char *) "val", NULL
14914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14916 if (!SWIG_IsOK(res1
)) {
14917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14919 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14920 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14921 if (!SWIG_IsOK(ecode2
)) {
14922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
14924 arg2
= static_cast< int >(val2
);
14926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14927 (arg1
)->SetValue(arg2
);
14928 wxPyEndAllowThreads(__tstate
);
14929 if (PyErr_Occurred()) SWIG_fail
;
14931 resultobj
= SWIG_Py_Void();
14938 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14939 PyObject
*resultobj
= 0;
14940 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14946 PyObject
* obj0
= 0 ;
14947 PyObject
* obj1
= 0 ;
14948 char * kwnames
[] = {
14949 (char *) "self",(char *) "minVal", NULL
14952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14954 if (!SWIG_IsOK(res1
)) {
14955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14957 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14958 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14959 if (!SWIG_IsOK(ecode2
)) {
14960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
14962 arg2
= static_cast< int >(val2
);
14964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14965 (arg1
)->SetMin(arg2
);
14966 wxPyEndAllowThreads(__tstate
);
14967 if (PyErr_Occurred()) SWIG_fail
;
14969 resultobj
= SWIG_Py_Void();
14976 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14977 PyObject
*resultobj
= 0;
14978 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14984 PyObject
* obj0
= 0 ;
14985 PyObject
* obj1
= 0 ;
14986 char * kwnames
[] = {
14987 (char *) "self",(char *) "maxVal", NULL
14990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14992 if (!SWIG_IsOK(res1
)) {
14993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14995 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14996 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14997 if (!SWIG_IsOK(ecode2
)) {
14998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15000 arg2
= static_cast< int >(val2
);
15002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15003 (arg1
)->SetMax(arg2
);
15004 wxPyEndAllowThreads(__tstate
);
15005 if (PyErr_Occurred()) SWIG_fail
;
15007 resultobj
= SWIG_Py_Void();
15014 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15015 PyObject
*resultobj
= 0;
15016 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15025 PyObject
* obj0
= 0 ;
15026 PyObject
* obj1
= 0 ;
15027 PyObject
* obj2
= 0 ;
15028 char * kwnames
[] = {
15029 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15034 if (!SWIG_IsOK(res1
)) {
15035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15037 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15038 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15039 if (!SWIG_IsOK(ecode2
)) {
15040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15042 arg2
= static_cast< int >(val2
);
15043 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15044 if (!SWIG_IsOK(ecode3
)) {
15045 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15047 arg3
= static_cast< int >(val3
);
15049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15050 (arg1
)->SetRange(arg2
,arg3
);
15051 wxPyEndAllowThreads(__tstate
);
15052 if (PyErr_Occurred()) SWIG_fail
;
15054 resultobj
= SWIG_Py_Void();
15061 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15062 PyObject
*resultobj
= 0;
15063 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15067 PyObject
*swig_obj
[1] ;
15069 if (!args
) SWIG_fail
;
15070 swig_obj
[0] = args
;
15071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15072 if (!SWIG_IsOK(res1
)) {
15073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15075 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15078 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15079 wxPyEndAllowThreads(__tstate
);
15080 if (PyErr_Occurred()) SWIG_fail
;
15083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15091 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15092 PyObject
*resultobj
= 0;
15093 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15094 SwigValueWrapper
<wxVisualAttributes
> result
;
15097 PyObject
* obj0
= 0 ;
15098 char * kwnames
[] = {
15099 (char *) "variant", NULL
15102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15104 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15105 if (!SWIG_IsOK(ecode1
)) {
15106 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15108 arg1
= static_cast< wxWindowVariant
>(val1
);
15111 if (!wxPyCheckForApp()) SWIG_fail
;
15112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15113 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15114 wxPyEndAllowThreads(__tstate
);
15115 if (PyErr_Occurred()) SWIG_fail
;
15117 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15124 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15126 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15127 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15128 return SWIG_Py_Void();
15131 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15132 return SWIG_Python_InitShadowInstance(args
);
15135 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15136 PyObject
*resultobj
= 0;
15137 wxWindow
*arg1
= (wxWindow
*) 0 ;
15138 int arg2
= (int) -1 ;
15139 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15140 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15141 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15142 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15143 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15144 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15145 long arg6
= (long) wxSP_ARROW_KEYS
;
15146 int arg7
= (int) 0 ;
15147 int arg8
= (int) 100 ;
15148 int arg9
= (int) 0 ;
15149 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15150 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15151 wxSpinCtrl
*result
= 0 ;
15156 bool temp3
= false ;
15167 bool temp10
= false ;
15168 PyObject
* obj0
= 0 ;
15169 PyObject
* obj1
= 0 ;
15170 PyObject
* obj2
= 0 ;
15171 PyObject
* obj3
= 0 ;
15172 PyObject
* obj4
= 0 ;
15173 PyObject
* obj5
= 0 ;
15174 PyObject
* obj6
= 0 ;
15175 PyObject
* obj7
= 0 ;
15176 PyObject
* obj8
= 0 ;
15177 PyObject
* obj9
= 0 ;
15178 char * kwnames
[] = {
15179 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15184 if (!SWIG_IsOK(res1
)) {
15185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15187 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15189 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15190 if (!SWIG_IsOK(ecode2
)) {
15191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15193 arg2
= static_cast< int >(val2
);
15197 arg3
= wxString_in_helper(obj2
);
15198 if (arg3
== NULL
) SWIG_fail
;
15205 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15211 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15215 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15216 if (!SWIG_IsOK(ecode6
)) {
15217 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15219 arg6
= static_cast< long >(val6
);
15222 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15223 if (!SWIG_IsOK(ecode7
)) {
15224 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15226 arg7
= static_cast< int >(val7
);
15229 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15230 if (!SWIG_IsOK(ecode8
)) {
15231 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15233 arg8
= static_cast< int >(val8
);
15236 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15237 if (!SWIG_IsOK(ecode9
)) {
15238 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15240 arg9
= static_cast< int >(val9
);
15244 arg10
= wxString_in_helper(obj9
);
15245 if (arg10
== NULL
) SWIG_fail
;
15250 if (!wxPyCheckForApp()) SWIG_fail
;
15251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15252 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15253 wxPyEndAllowThreads(__tstate
);
15254 if (PyErr_Occurred()) SWIG_fail
;
15256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15279 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15280 PyObject
*resultobj
= 0;
15281 wxSpinCtrl
*result
= 0 ;
15283 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15285 if (!wxPyCheckForApp()) SWIG_fail
;
15286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15287 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15288 wxPyEndAllowThreads(__tstate
);
15289 if (PyErr_Occurred()) SWIG_fail
;
15291 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15298 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15299 PyObject
*resultobj
= 0;
15300 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15301 wxWindow
*arg2
= (wxWindow
*) 0 ;
15302 int arg3
= (int) -1 ;
15303 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15304 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15305 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15306 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15307 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15308 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15309 long arg7
= (long) wxSP_ARROW_KEYS
;
15310 int arg8
= (int) 0 ;
15311 int arg9
= (int) 100 ;
15312 int arg10
= (int) 0 ;
15313 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15314 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15322 bool temp4
= false ;
15333 bool temp11
= false ;
15334 PyObject
* obj0
= 0 ;
15335 PyObject
* obj1
= 0 ;
15336 PyObject
* obj2
= 0 ;
15337 PyObject
* obj3
= 0 ;
15338 PyObject
* obj4
= 0 ;
15339 PyObject
* obj5
= 0 ;
15340 PyObject
* obj6
= 0 ;
15341 PyObject
* obj7
= 0 ;
15342 PyObject
* obj8
= 0 ;
15343 PyObject
* obj9
= 0 ;
15344 PyObject
* obj10
= 0 ;
15345 char * kwnames
[] = {
15346 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15351 if (!SWIG_IsOK(res1
)) {
15352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15354 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15355 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15356 if (!SWIG_IsOK(res2
)) {
15357 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15359 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15361 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15362 if (!SWIG_IsOK(ecode3
)) {
15363 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15365 arg3
= static_cast< int >(val3
);
15369 arg4
= wxString_in_helper(obj3
);
15370 if (arg4
== NULL
) SWIG_fail
;
15377 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15383 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15387 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15388 if (!SWIG_IsOK(ecode7
)) {
15389 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15391 arg7
= static_cast< long >(val7
);
15394 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15395 if (!SWIG_IsOK(ecode8
)) {
15396 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15398 arg8
= static_cast< int >(val8
);
15401 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15402 if (!SWIG_IsOK(ecode9
)) {
15403 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15405 arg9
= static_cast< int >(val9
);
15408 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15409 if (!SWIG_IsOK(ecode10
)) {
15410 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15412 arg10
= static_cast< int >(val10
);
15416 arg11
= wxString_in_helper(obj10
);
15417 if (arg11
== NULL
) SWIG_fail
;
15422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15423 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15424 wxPyEndAllowThreads(__tstate
);
15425 if (PyErr_Occurred()) SWIG_fail
;
15428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15452 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15453 PyObject
*resultobj
= 0;
15454 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15458 PyObject
*swig_obj
[1] ;
15460 if (!args
) SWIG_fail
;
15461 swig_obj
[0] = args
;
15462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15463 if (!SWIG_IsOK(res1
)) {
15464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15466 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15469 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15470 wxPyEndAllowThreads(__tstate
);
15471 if (PyErr_Occurred()) SWIG_fail
;
15473 resultobj
= SWIG_From_int(static_cast< int >(result
));
15480 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15481 PyObject
*resultobj
= 0;
15482 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15488 PyObject
* obj0
= 0 ;
15489 PyObject
* obj1
= 0 ;
15490 char * kwnames
[] = {
15491 (char *) "self",(char *) "value", NULL
15494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15496 if (!SWIG_IsOK(res1
)) {
15497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15499 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15501 if (!SWIG_IsOK(ecode2
)) {
15502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15504 arg2
= static_cast< int >(val2
);
15506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15507 (arg1
)->SetValue(arg2
);
15508 wxPyEndAllowThreads(__tstate
);
15509 if (PyErr_Occurred()) SWIG_fail
;
15511 resultobj
= SWIG_Py_Void();
15518 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15519 PyObject
*resultobj
= 0;
15520 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15521 wxString
*arg2
= 0 ;
15524 bool temp2
= false ;
15525 PyObject
* obj0
= 0 ;
15526 PyObject
* obj1
= 0 ;
15527 char * kwnames
[] = {
15528 (char *) "self",(char *) "text", NULL
15531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15533 if (!SWIG_IsOK(res1
)) {
15534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15536 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15538 arg2
= wxString_in_helper(obj1
);
15539 if (arg2
== NULL
) SWIG_fail
;
15543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15544 (arg1
)->SetValue((wxString
const &)*arg2
);
15545 wxPyEndAllowThreads(__tstate
);
15546 if (PyErr_Occurred()) SWIG_fail
;
15548 resultobj
= SWIG_Py_Void();
15563 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15564 PyObject
*resultobj
= 0;
15565 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15574 PyObject
* obj0
= 0 ;
15575 PyObject
* obj1
= 0 ;
15576 PyObject
* obj2
= 0 ;
15577 char * kwnames
[] = {
15578 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15583 if (!SWIG_IsOK(res1
)) {
15584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15586 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15587 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15588 if (!SWIG_IsOK(ecode2
)) {
15589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15591 arg2
= static_cast< int >(val2
);
15592 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15593 if (!SWIG_IsOK(ecode3
)) {
15594 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15596 arg3
= static_cast< int >(val3
);
15598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15599 (arg1
)->SetRange(arg2
,arg3
);
15600 wxPyEndAllowThreads(__tstate
);
15601 if (PyErr_Occurred()) SWIG_fail
;
15603 resultobj
= SWIG_Py_Void();
15610 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15611 PyObject
*resultobj
= 0;
15612 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15616 PyObject
*swig_obj
[1] ;
15618 if (!args
) SWIG_fail
;
15619 swig_obj
[0] = args
;
15620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15621 if (!SWIG_IsOK(res1
)) {
15622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15624 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15627 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15628 wxPyEndAllowThreads(__tstate
);
15629 if (PyErr_Occurred()) SWIG_fail
;
15631 resultobj
= SWIG_From_int(static_cast< int >(result
));
15638 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15639 PyObject
*resultobj
= 0;
15640 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15644 PyObject
*swig_obj
[1] ;
15646 if (!args
) SWIG_fail
;
15647 swig_obj
[0] = args
;
15648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15649 if (!SWIG_IsOK(res1
)) {
15650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15652 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15655 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15656 wxPyEndAllowThreads(__tstate
);
15657 if (PyErr_Occurred()) SWIG_fail
;
15659 resultobj
= SWIG_From_int(static_cast< int >(result
));
15666 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15667 PyObject
*resultobj
= 0;
15668 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15677 PyObject
* obj0
= 0 ;
15678 PyObject
* obj1
= 0 ;
15679 PyObject
* obj2
= 0 ;
15680 char * kwnames
[] = {
15681 (char *) "self",(char *) "from",(char *) "to", NULL
15684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15686 if (!SWIG_IsOK(res1
)) {
15687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15689 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15690 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15691 if (!SWIG_IsOK(ecode2
)) {
15692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15694 arg2
= static_cast< long >(val2
);
15695 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15696 if (!SWIG_IsOK(ecode3
)) {
15697 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15699 arg3
= static_cast< long >(val3
);
15701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15702 (arg1
)->SetSelection(arg2
,arg3
);
15703 wxPyEndAllowThreads(__tstate
);
15704 if (PyErr_Occurred()) SWIG_fail
;
15706 resultobj
= SWIG_Py_Void();
15713 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15714 PyObject
*resultobj
= 0;
15715 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15716 SwigValueWrapper
<wxVisualAttributes
> result
;
15719 PyObject
* obj0
= 0 ;
15720 char * kwnames
[] = {
15721 (char *) "variant", NULL
15724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15726 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15727 if (!SWIG_IsOK(ecode1
)) {
15728 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15730 arg1
= static_cast< wxWindowVariant
>(val1
);
15733 if (!wxPyCheckForApp()) SWIG_fail
;
15734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15735 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15736 wxPyEndAllowThreads(__tstate
);
15737 if (PyErr_Occurred()) SWIG_fail
;
15739 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15746 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15748 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15749 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15750 return SWIG_Py_Void();
15753 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15754 return SWIG_Python_InitShadowInstance(args
);
15757 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15758 PyObject
*resultobj
= 0;
15759 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15760 int arg2
= (int) 0 ;
15761 wxSpinEvent
*result
= 0 ;
15766 PyObject
* obj0
= 0 ;
15767 PyObject
* obj1
= 0 ;
15768 char * kwnames
[] = {
15769 (char *) "commandType",(char *) "winid", NULL
15772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15774 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15775 if (!SWIG_IsOK(ecode1
)) {
15776 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15778 arg1
= static_cast< wxEventType
>(val1
);
15781 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15782 if (!SWIG_IsOK(ecode2
)) {
15783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15785 arg2
= static_cast< int >(val2
);
15788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15789 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15790 wxPyEndAllowThreads(__tstate
);
15791 if (PyErr_Occurred()) SWIG_fail
;
15793 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15800 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15801 PyObject
*resultobj
= 0;
15802 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15806 PyObject
*swig_obj
[1] ;
15808 if (!args
) SWIG_fail
;
15809 swig_obj
[0] = args
;
15810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15811 if (!SWIG_IsOK(res1
)) {
15812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15814 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15817 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15818 wxPyEndAllowThreads(__tstate
);
15819 if (PyErr_Occurred()) SWIG_fail
;
15821 resultobj
= SWIG_From_int(static_cast< int >(result
));
15828 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15829 PyObject
*resultobj
= 0;
15830 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15836 PyObject
* obj0
= 0 ;
15837 PyObject
* obj1
= 0 ;
15838 char * kwnames
[] = {
15839 (char *) "self",(char *) "pos", NULL
15842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15844 if (!SWIG_IsOK(res1
)) {
15845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15847 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15848 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15849 if (!SWIG_IsOK(ecode2
)) {
15850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15852 arg2
= static_cast< int >(val2
);
15854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15855 (arg1
)->SetPosition(arg2
);
15856 wxPyEndAllowThreads(__tstate
);
15857 if (PyErr_Occurred()) SWIG_fail
;
15859 resultobj
= SWIG_Py_Void();
15866 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15868 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15869 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15870 return SWIG_Py_Void();
15873 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15874 return SWIG_Python_InitShadowInstance(args
);
15877 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15878 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
15883 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
15884 PyObject
*pyobj
= 0;
15888 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15890 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15897 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
15898 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
15903 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
15904 PyObject
*pyobj
= 0;
15908 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15910 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15917 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15918 PyObject
*resultobj
= 0;
15919 wxWindow
*arg1
= (wxWindow
*) 0 ;
15920 int arg2
= (int) -1 ;
15921 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15922 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15923 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15924 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15925 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15926 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15927 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
15928 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
15929 int arg7
= (int) 0 ;
15930 long arg8
= (long) wxRA_HORIZONTAL
;
15931 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
15932 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
15933 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
15934 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15935 wxRadioBox
*result
= 0 ;
15940 bool temp3
= false ;
15943 bool temp6
= false ;
15950 bool temp10
= false ;
15951 PyObject
* obj0
= 0 ;
15952 PyObject
* obj1
= 0 ;
15953 PyObject
* obj2
= 0 ;
15954 PyObject
* obj3
= 0 ;
15955 PyObject
* obj4
= 0 ;
15956 PyObject
* obj5
= 0 ;
15957 PyObject
* obj6
= 0 ;
15958 PyObject
* obj7
= 0 ;
15959 PyObject
* obj8
= 0 ;
15960 PyObject
* obj9
= 0 ;
15961 char * kwnames
[] = {
15962 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
15965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15967 if (!SWIG_IsOK(res1
)) {
15968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15970 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15972 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15973 if (!SWIG_IsOK(ecode2
)) {
15974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
15976 arg2
= static_cast< int >(val2
);
15980 arg3
= wxString_in_helper(obj2
);
15981 if (arg3
== NULL
) SWIG_fail
;
15988 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15994 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15999 if (! PySequence_Check(obj5
)) {
16000 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16003 arg6
= new wxArrayString
;
16005 int i
, len
=PySequence_Length(obj5
);
16006 for (i
=0; i
<len
; i
++) {
16007 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16008 wxString
* s
= wxString_in_helper(item
);
16009 if (PyErr_Occurred()) SWIG_fail
;
16017 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16018 if (!SWIG_IsOK(ecode7
)) {
16019 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16021 arg7
= static_cast< int >(val7
);
16024 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16025 if (!SWIG_IsOK(ecode8
)) {
16026 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16028 arg8
= static_cast< long >(val8
);
16031 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16032 if (!SWIG_IsOK(res9
)) {
16033 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16036 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16038 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16042 arg10
= wxString_in_helper(obj9
);
16043 if (arg10
== NULL
) SWIG_fail
;
16048 if (!wxPyCheckForApp()) SWIG_fail
;
16049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16050 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
);
16051 wxPyEndAllowThreads(__tstate
);
16052 if (PyErr_Occurred()) SWIG_fail
;
16054 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16060 if (temp6
) delete arg6
;
16073 if (temp6
) delete arg6
;
16083 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16084 PyObject
*resultobj
= 0;
16085 wxRadioBox
*result
= 0 ;
16087 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16089 if (!wxPyCheckForApp()) SWIG_fail
;
16090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16091 result
= (wxRadioBox
*)new wxRadioBox();
16092 wxPyEndAllowThreads(__tstate
);
16093 if (PyErr_Occurred()) SWIG_fail
;
16095 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16102 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16103 PyObject
*resultobj
= 0;
16104 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16105 wxWindow
*arg2
= (wxWindow
*) 0 ;
16106 int arg3
= (int) -1 ;
16107 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16108 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16109 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16110 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16111 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16112 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16113 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16114 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16115 int arg8
= (int) 0 ;
16116 long arg9
= (long) wxRA_HORIZONTAL
;
16117 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16118 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16119 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16120 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16128 bool temp4
= false ;
16131 bool temp7
= false ;
16138 bool temp11
= false ;
16139 PyObject
* obj0
= 0 ;
16140 PyObject
* obj1
= 0 ;
16141 PyObject
* obj2
= 0 ;
16142 PyObject
* obj3
= 0 ;
16143 PyObject
* obj4
= 0 ;
16144 PyObject
* obj5
= 0 ;
16145 PyObject
* obj6
= 0 ;
16146 PyObject
* obj7
= 0 ;
16147 PyObject
* obj8
= 0 ;
16148 PyObject
* obj9
= 0 ;
16149 PyObject
* obj10
= 0 ;
16150 char * kwnames
[] = {
16151 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16156 if (!SWIG_IsOK(res1
)) {
16157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16159 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16160 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16161 if (!SWIG_IsOK(res2
)) {
16162 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16164 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16166 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16167 if (!SWIG_IsOK(ecode3
)) {
16168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16170 arg3
= static_cast< int >(val3
);
16174 arg4
= wxString_in_helper(obj3
);
16175 if (arg4
== NULL
) SWIG_fail
;
16182 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16188 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16193 if (! PySequence_Check(obj6
)) {
16194 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16197 arg7
= new wxArrayString
;
16199 int i
, len
=PySequence_Length(obj6
);
16200 for (i
=0; i
<len
; i
++) {
16201 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16202 wxString
* s
= wxString_in_helper(item
);
16203 if (PyErr_Occurred()) SWIG_fail
;
16211 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16212 if (!SWIG_IsOK(ecode8
)) {
16213 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16215 arg8
= static_cast< int >(val8
);
16218 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16219 if (!SWIG_IsOK(ecode9
)) {
16220 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16222 arg9
= static_cast< long >(val9
);
16225 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16226 if (!SWIG_IsOK(res10
)) {
16227 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16230 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16232 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16236 arg11
= wxString_in_helper(obj10
);
16237 if (arg11
== NULL
) SWIG_fail
;
16242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16243 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
);
16244 wxPyEndAllowThreads(__tstate
);
16245 if (PyErr_Occurred()) SWIG_fail
;
16248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16255 if (temp7
) delete arg7
;
16268 if (temp7
) delete arg7
;
16278 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16279 PyObject
*resultobj
= 0;
16280 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16286 PyObject
* obj0
= 0 ;
16287 PyObject
* obj1
= 0 ;
16288 char * kwnames
[] = {
16289 (char *) "self",(char *) "n", NULL
16292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16294 if (!SWIG_IsOK(res1
)) {
16295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16297 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16298 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16299 if (!SWIG_IsOK(ecode2
)) {
16300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16302 arg2
= static_cast< int >(val2
);
16304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16305 (arg1
)->SetSelection(arg2
);
16306 wxPyEndAllowThreads(__tstate
);
16307 if (PyErr_Occurred()) SWIG_fail
;
16309 resultobj
= SWIG_Py_Void();
16316 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16317 PyObject
*resultobj
= 0;
16318 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16322 PyObject
*swig_obj
[1] ;
16324 if (!args
) SWIG_fail
;
16325 swig_obj
[0] = args
;
16326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16327 if (!SWIG_IsOK(res1
)) {
16328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16330 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16333 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16334 wxPyEndAllowThreads(__tstate
);
16335 if (PyErr_Occurred()) SWIG_fail
;
16337 resultobj
= SWIG_From_int(static_cast< int >(result
));
16344 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16345 PyObject
*resultobj
= 0;
16346 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16350 PyObject
*swig_obj
[1] ;
16352 if (!args
) SWIG_fail
;
16353 swig_obj
[0] = args
;
16354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16355 if (!SWIG_IsOK(res1
)) {
16356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16358 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16361 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16362 wxPyEndAllowThreads(__tstate
);
16363 if (PyErr_Occurred()) SWIG_fail
;
16367 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16369 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16378 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16379 PyObject
*resultobj
= 0;
16380 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16381 wxString
*arg2
= 0 ;
16385 bool temp2
= false ;
16386 PyObject
* obj0
= 0 ;
16387 PyObject
* obj1
= 0 ;
16388 char * kwnames
[] = {
16389 (char *) "self",(char *) "s", NULL
16392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16394 if (!SWIG_IsOK(res1
)) {
16395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16397 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16399 arg2
= wxString_in_helper(obj1
);
16400 if (arg2
== NULL
) SWIG_fail
;
16404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16405 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16406 wxPyEndAllowThreads(__tstate
);
16407 if (PyErr_Occurred()) SWIG_fail
;
16410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16426 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16427 PyObject
*resultobj
= 0;
16428 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16432 PyObject
*swig_obj
[1] ;
16434 if (!args
) SWIG_fail
;
16435 swig_obj
[0] = args
;
16436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16437 if (!SWIG_IsOK(res1
)) {
16438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16440 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16443 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16444 wxPyEndAllowThreads(__tstate
);
16445 if (PyErr_Occurred()) SWIG_fail
;
16447 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16454 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16455 PyObject
*resultobj
= 0;
16456 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16457 wxString
*arg2
= 0 ;
16461 bool temp2
= false ;
16462 PyObject
* obj0
= 0 ;
16463 PyObject
* obj1
= 0 ;
16464 char * kwnames
[] = {
16465 (char *) "self",(char *) "s", NULL
16468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16470 if (!SWIG_IsOK(res1
)) {
16471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16473 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16475 arg2
= wxString_in_helper(obj1
);
16476 if (arg2
== NULL
) SWIG_fail
;
16480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16481 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16482 wxPyEndAllowThreads(__tstate
);
16483 if (PyErr_Occurred()) SWIG_fail
;
16485 resultobj
= SWIG_From_int(static_cast< int >(result
));
16500 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16501 PyObject
*resultobj
= 0;
16502 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16509 PyObject
* obj0
= 0 ;
16510 PyObject
* obj1
= 0 ;
16511 char * kwnames
[] = {
16512 (char *) "self",(char *) "n", NULL
16515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16517 if (!SWIG_IsOK(res1
)) {
16518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16520 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16522 if (!SWIG_IsOK(ecode2
)) {
16523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16525 arg2
= static_cast< int >(val2
);
16527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16528 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16529 wxPyEndAllowThreads(__tstate
);
16530 if (PyErr_Occurred()) SWIG_fail
;
16534 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16536 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16545 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16546 PyObject
*resultobj
= 0;
16547 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16549 wxString
*arg3
= 0 ;
16554 bool temp3
= false ;
16555 PyObject
* obj0
= 0 ;
16556 PyObject
* obj1
= 0 ;
16557 PyObject
* obj2
= 0 ;
16558 char * kwnames
[] = {
16559 (char *) "self",(char *) "n",(char *) "label", NULL
16562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16564 if (!SWIG_IsOK(res1
)) {
16565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16567 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16568 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16569 if (!SWIG_IsOK(ecode2
)) {
16570 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16572 arg2
= static_cast< int >(val2
);
16574 arg3
= wxString_in_helper(obj2
);
16575 if (arg3
== NULL
) SWIG_fail
;
16579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16580 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16581 wxPyEndAllowThreads(__tstate
);
16582 if (PyErr_Occurred()) SWIG_fail
;
16584 resultobj
= SWIG_Py_Void();
16599 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16600 PyObject
*resultobj
= 0;
16601 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16602 unsigned int arg2
;
16603 bool arg3
= (bool) true ;
16606 unsigned int val2
;
16610 PyObject
* obj0
= 0 ;
16611 PyObject
* obj1
= 0 ;
16612 PyObject
* obj2
= 0 ;
16613 char * kwnames
[] = {
16614 (char *) "self",(char *) "n",(char *) "enable", NULL
16617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16619 if (!SWIG_IsOK(res1
)) {
16620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16622 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16623 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16624 if (!SWIG_IsOK(ecode2
)) {
16625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16627 arg2
= static_cast< unsigned int >(val2
);
16629 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16630 if (!SWIG_IsOK(ecode3
)) {
16631 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16633 arg3
= static_cast< bool >(val3
);
16636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16637 (arg1
)->Enable(arg2
,arg3
);
16638 wxPyEndAllowThreads(__tstate
);
16639 if (PyErr_Occurred()) SWIG_fail
;
16641 resultobj
= SWIG_Py_Void();
16648 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16649 PyObject
*resultobj
= 0;
16650 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16651 unsigned int arg2
;
16652 bool arg3
= (bool) true ;
16655 unsigned int val2
;
16659 PyObject
* obj0
= 0 ;
16660 PyObject
* obj1
= 0 ;
16661 PyObject
* obj2
= 0 ;
16662 char * kwnames
[] = {
16663 (char *) "self",(char *) "n",(char *) "show", NULL
16666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16668 if (!SWIG_IsOK(res1
)) {
16669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16671 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16672 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16673 if (!SWIG_IsOK(ecode2
)) {
16674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16676 arg2
= static_cast< unsigned int >(val2
);
16678 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16679 if (!SWIG_IsOK(ecode3
)) {
16680 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16682 arg3
= static_cast< bool >(val3
);
16685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16686 (arg1
)->Show(arg2
,arg3
);
16687 wxPyEndAllowThreads(__tstate
);
16688 if (PyErr_Occurred()) SWIG_fail
;
16690 resultobj
= SWIG_Py_Void();
16697 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16698 PyObject
*resultobj
= 0;
16699 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16700 unsigned int arg2
;
16704 unsigned int val2
;
16706 PyObject
* obj0
= 0 ;
16707 PyObject
* obj1
= 0 ;
16708 char * kwnames
[] = {
16709 (char *) "self",(char *) "n", NULL
16712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16714 if (!SWIG_IsOK(res1
)) {
16715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16717 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16718 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16719 if (!SWIG_IsOK(ecode2
)) {
16720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16722 arg2
= static_cast< unsigned int >(val2
);
16724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16725 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16726 wxPyEndAllowThreads(__tstate
);
16727 if (PyErr_Occurred()) SWIG_fail
;
16730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16738 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16739 PyObject
*resultobj
= 0;
16740 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16741 unsigned int arg2
;
16745 unsigned int val2
;
16747 PyObject
* obj0
= 0 ;
16748 PyObject
* obj1
= 0 ;
16749 char * kwnames
[] = {
16750 (char *) "self",(char *) "n", NULL
16753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16755 if (!SWIG_IsOK(res1
)) {
16756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16758 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16759 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16760 if (!SWIG_IsOK(ecode2
)) {
16761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16763 arg2
= static_cast< unsigned int >(val2
);
16765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16766 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16767 wxPyEndAllowThreads(__tstate
);
16768 if (PyErr_Occurred()) SWIG_fail
;
16771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16779 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16780 PyObject
*resultobj
= 0;
16781 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16782 unsigned int result
;
16785 PyObject
*swig_obj
[1] ;
16787 if (!args
) SWIG_fail
;
16788 swig_obj
[0] = args
;
16789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16790 if (!SWIG_IsOK(res1
)) {
16791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16793 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16796 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16797 wxPyEndAllowThreads(__tstate
);
16798 if (PyErr_Occurred()) SWIG_fail
;
16800 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16807 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16808 PyObject
*resultobj
= 0;
16809 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16810 unsigned int result
;
16813 PyObject
*swig_obj
[1] ;
16815 if (!args
) SWIG_fail
;
16816 swig_obj
[0] = args
;
16817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16818 if (!SWIG_IsOK(res1
)) {
16819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16821 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16824 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16825 wxPyEndAllowThreads(__tstate
);
16826 if (PyErr_Occurred()) SWIG_fail
;
16828 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16835 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16836 PyObject
*resultobj
= 0;
16837 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16850 PyObject
* obj0
= 0 ;
16851 PyObject
* obj1
= 0 ;
16852 PyObject
* obj2
= 0 ;
16853 PyObject
* obj3
= 0 ;
16854 char * kwnames
[] = {
16855 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16860 if (!SWIG_IsOK(res1
)) {
16861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16863 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16864 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16865 if (!SWIG_IsOK(ecode2
)) {
16866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16868 arg2
= static_cast< int >(val2
);
16869 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16870 if (!SWIG_IsOK(ecode3
)) {
16871 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16873 arg3
= static_cast< wxDirection
>(val3
);
16874 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16875 if (!SWIG_IsOK(ecode4
)) {
16876 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16878 arg4
= static_cast< long >(val4
);
16880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16881 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
16882 wxPyEndAllowThreads(__tstate
);
16883 if (PyErr_Occurred()) SWIG_fail
;
16885 resultobj
= SWIG_From_int(static_cast< int >(result
));
16892 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16893 PyObject
*resultobj
= 0;
16894 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16895 unsigned int arg2
;
16896 wxString
*arg3
= 0 ;
16899 unsigned int val2
;
16901 bool temp3
= false ;
16902 PyObject
* obj0
= 0 ;
16903 PyObject
* obj1
= 0 ;
16904 PyObject
* obj2
= 0 ;
16905 char * kwnames
[] = {
16906 (char *) "self",(char *) "item",(char *) "text", NULL
16909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16911 if (!SWIG_IsOK(res1
)) {
16912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16914 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16915 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16916 if (!SWIG_IsOK(ecode2
)) {
16917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16919 arg2
= static_cast< unsigned int >(val2
);
16921 arg3
= wxString_in_helper(obj2
);
16922 if (arg3
== NULL
) SWIG_fail
;
16926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16927 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
16928 wxPyEndAllowThreads(__tstate
);
16929 if (PyErr_Occurred()) SWIG_fail
;
16931 resultobj
= SWIG_Py_Void();
16946 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16947 PyObject
*resultobj
= 0;
16948 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16949 unsigned int arg2
;
16950 wxToolTip
*result
= 0 ;
16953 unsigned int val2
;
16955 PyObject
* obj0
= 0 ;
16956 PyObject
* obj1
= 0 ;
16957 char * kwnames
[] = {
16958 (char *) "self",(char *) "item", NULL
16961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16963 if (!SWIG_IsOK(res1
)) {
16964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16966 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16967 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16968 if (!SWIG_IsOK(ecode2
)) {
16969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16971 arg2
= static_cast< unsigned int >(val2
);
16973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16974 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
16975 wxPyEndAllowThreads(__tstate
);
16976 if (PyErr_Occurred()) SWIG_fail
;
16979 resultobj
= wxPyMake_wxObject(result
, (bool)0);
16987 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16988 PyObject
*resultobj
= 0;
16989 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16990 SwigValueWrapper
<wxVisualAttributes
> result
;
16993 PyObject
* obj0
= 0 ;
16994 char * kwnames
[] = {
16995 (char *) "variant", NULL
16998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17000 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17001 if (!SWIG_IsOK(ecode1
)) {
17002 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17004 arg1
= static_cast< wxWindowVariant
>(val1
);
17007 if (!wxPyCheckForApp()) SWIG_fail
;
17008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17009 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17010 wxPyEndAllowThreads(__tstate
);
17011 if (PyErr_Occurred()) SWIG_fail
;
17013 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17020 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17022 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17023 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17024 return SWIG_Py_Void();
17027 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17028 return SWIG_Python_InitShadowInstance(args
);
17031 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17032 PyObject
*resultobj
= 0;
17033 wxWindow
*arg1
= (wxWindow
*) 0 ;
17034 int arg2
= (int) -1 ;
17035 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17036 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17037 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17038 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17039 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17040 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17041 long arg6
= (long) 0 ;
17042 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17043 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17044 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17045 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17046 wxRadioButton
*result
= 0 ;
17051 bool temp3
= false ;
17058 bool temp8
= false ;
17059 PyObject
* obj0
= 0 ;
17060 PyObject
* obj1
= 0 ;
17061 PyObject
* obj2
= 0 ;
17062 PyObject
* obj3
= 0 ;
17063 PyObject
* obj4
= 0 ;
17064 PyObject
* obj5
= 0 ;
17065 PyObject
* obj6
= 0 ;
17066 PyObject
* obj7
= 0 ;
17067 char * kwnames
[] = {
17068 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17073 if (!SWIG_IsOK(res1
)) {
17074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17076 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17078 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17079 if (!SWIG_IsOK(ecode2
)) {
17080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17082 arg2
= static_cast< int >(val2
);
17086 arg3
= wxString_in_helper(obj2
);
17087 if (arg3
== NULL
) SWIG_fail
;
17094 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17100 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17104 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17105 if (!SWIG_IsOK(ecode6
)) {
17106 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17108 arg6
= static_cast< long >(val6
);
17111 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17112 if (!SWIG_IsOK(res7
)) {
17113 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17116 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17118 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17122 arg8
= wxString_in_helper(obj7
);
17123 if (arg8
== NULL
) SWIG_fail
;
17128 if (!wxPyCheckForApp()) SWIG_fail
;
17129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17130 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17131 wxPyEndAllowThreads(__tstate
);
17132 if (PyErr_Occurred()) SWIG_fail
;
17134 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17157 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17158 PyObject
*resultobj
= 0;
17159 wxRadioButton
*result
= 0 ;
17161 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17163 if (!wxPyCheckForApp()) SWIG_fail
;
17164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17165 result
= (wxRadioButton
*)new wxRadioButton();
17166 wxPyEndAllowThreads(__tstate
);
17167 if (PyErr_Occurred()) SWIG_fail
;
17169 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17176 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17177 PyObject
*resultobj
= 0;
17178 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17179 wxWindow
*arg2
= (wxWindow
*) 0 ;
17180 int arg3
= (int) -1 ;
17181 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17182 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17183 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17184 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17185 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17186 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17187 long arg7
= (long) 0 ;
17188 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17189 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17190 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17191 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17199 bool temp4
= false ;
17206 bool temp9
= false ;
17207 PyObject
* obj0
= 0 ;
17208 PyObject
* obj1
= 0 ;
17209 PyObject
* obj2
= 0 ;
17210 PyObject
* obj3
= 0 ;
17211 PyObject
* obj4
= 0 ;
17212 PyObject
* obj5
= 0 ;
17213 PyObject
* obj6
= 0 ;
17214 PyObject
* obj7
= 0 ;
17215 PyObject
* obj8
= 0 ;
17216 char * kwnames
[] = {
17217 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17222 if (!SWIG_IsOK(res1
)) {
17223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17225 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17226 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17227 if (!SWIG_IsOK(res2
)) {
17228 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17230 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17232 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17233 if (!SWIG_IsOK(ecode3
)) {
17234 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17236 arg3
= static_cast< int >(val3
);
17240 arg4
= wxString_in_helper(obj3
);
17241 if (arg4
== NULL
) SWIG_fail
;
17248 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17254 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17258 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17259 if (!SWIG_IsOK(ecode7
)) {
17260 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17262 arg7
= static_cast< long >(val7
);
17265 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17266 if (!SWIG_IsOK(res8
)) {
17267 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17270 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17272 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17276 arg9
= wxString_in_helper(obj8
);
17277 if (arg9
== NULL
) SWIG_fail
;
17282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17283 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17284 wxPyEndAllowThreads(__tstate
);
17285 if (PyErr_Occurred()) SWIG_fail
;
17288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17312 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17313 PyObject
*resultobj
= 0;
17314 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17318 PyObject
*swig_obj
[1] ;
17320 if (!args
) SWIG_fail
;
17321 swig_obj
[0] = args
;
17322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17323 if (!SWIG_IsOK(res1
)) {
17324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17326 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17329 result
= (bool)(arg1
)->GetValue();
17330 wxPyEndAllowThreads(__tstate
);
17331 if (PyErr_Occurred()) SWIG_fail
;
17334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17342 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17343 PyObject
*resultobj
= 0;
17344 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17350 PyObject
* obj0
= 0 ;
17351 PyObject
* obj1
= 0 ;
17352 char * kwnames
[] = {
17353 (char *) "self",(char *) "value", NULL
17356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17358 if (!SWIG_IsOK(res1
)) {
17359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17361 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17362 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17363 if (!SWIG_IsOK(ecode2
)) {
17364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17366 arg2
= static_cast< bool >(val2
);
17368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17369 (arg1
)->SetValue(arg2
);
17370 wxPyEndAllowThreads(__tstate
);
17371 if (PyErr_Occurred()) SWIG_fail
;
17373 resultobj
= SWIG_Py_Void();
17380 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17381 PyObject
*resultobj
= 0;
17382 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17383 SwigValueWrapper
<wxVisualAttributes
> result
;
17386 PyObject
* obj0
= 0 ;
17387 char * kwnames
[] = {
17388 (char *) "variant", NULL
17391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17393 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17394 if (!SWIG_IsOK(ecode1
)) {
17395 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17397 arg1
= static_cast< wxWindowVariant
>(val1
);
17400 if (!wxPyCheckForApp()) SWIG_fail
;
17401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17402 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17403 wxPyEndAllowThreads(__tstate
);
17404 if (PyErr_Occurred()) SWIG_fail
;
17406 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17413 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17415 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17416 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17417 return SWIG_Py_Void();
17420 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17421 return SWIG_Python_InitShadowInstance(args
);
17424 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17425 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17430 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17431 PyObject
*pyobj
= 0;
17435 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17437 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17444 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17445 PyObject
*resultobj
= 0;
17446 wxWindow
*arg1
= (wxWindow
*) 0 ;
17447 int arg2
= (int) -1 ;
17448 int arg3
= (int) 0 ;
17449 int arg4
= (int) 0 ;
17450 int arg5
= (int) 100 ;
17451 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17452 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17453 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17454 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17455 long arg8
= (long) wxSL_HORIZONTAL
;
17456 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17457 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17458 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17459 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17460 wxSlider
*result
= 0 ;
17477 bool temp10
= false ;
17478 PyObject
* obj0
= 0 ;
17479 PyObject
* obj1
= 0 ;
17480 PyObject
* obj2
= 0 ;
17481 PyObject
* obj3
= 0 ;
17482 PyObject
* obj4
= 0 ;
17483 PyObject
* obj5
= 0 ;
17484 PyObject
* obj6
= 0 ;
17485 PyObject
* obj7
= 0 ;
17486 PyObject
* obj8
= 0 ;
17487 PyObject
* obj9
= 0 ;
17488 char * kwnames
[] = {
17489 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17494 if (!SWIG_IsOK(res1
)) {
17495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17497 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17500 if (!SWIG_IsOK(ecode2
)) {
17501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17503 arg2
= static_cast< int >(val2
);
17506 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17507 if (!SWIG_IsOK(ecode3
)) {
17508 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17510 arg3
= static_cast< int >(val3
);
17513 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17514 if (!SWIG_IsOK(ecode4
)) {
17515 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17517 arg4
= static_cast< int >(val4
);
17520 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17521 if (!SWIG_IsOK(ecode5
)) {
17522 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17524 arg5
= static_cast< int >(val5
);
17529 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17535 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17539 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17540 if (!SWIG_IsOK(ecode8
)) {
17541 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17543 arg8
= static_cast< long >(val8
);
17546 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17547 if (!SWIG_IsOK(res9
)) {
17548 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17551 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17553 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17557 arg10
= wxString_in_helper(obj9
);
17558 if (arg10
== NULL
) SWIG_fail
;
17563 if (!wxPyCheckForApp()) SWIG_fail
;
17564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17565 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17566 wxPyEndAllowThreads(__tstate
);
17567 if (PyErr_Occurred()) SWIG_fail
;
17569 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17584 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17585 PyObject
*resultobj
= 0;
17586 wxSlider
*result
= 0 ;
17588 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17590 if (!wxPyCheckForApp()) SWIG_fail
;
17591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17592 result
= (wxSlider
*)new wxSlider();
17593 wxPyEndAllowThreads(__tstate
);
17594 if (PyErr_Occurred()) SWIG_fail
;
17596 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17603 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17604 PyObject
*resultobj
= 0;
17605 wxSlider
*arg1
= (wxSlider
*) 0 ;
17606 wxWindow
*arg2
= (wxWindow
*) 0 ;
17607 int arg3
= (int) -1 ;
17608 int arg4
= (int) 0 ;
17609 int arg5
= (int) 0 ;
17610 int arg6
= (int) 100 ;
17611 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17612 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17613 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17614 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17615 long arg9
= (long) wxSL_HORIZONTAL
;
17616 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17617 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17618 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17619 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17639 bool temp11
= false ;
17640 PyObject
* obj0
= 0 ;
17641 PyObject
* obj1
= 0 ;
17642 PyObject
* obj2
= 0 ;
17643 PyObject
* obj3
= 0 ;
17644 PyObject
* obj4
= 0 ;
17645 PyObject
* obj5
= 0 ;
17646 PyObject
* obj6
= 0 ;
17647 PyObject
* obj7
= 0 ;
17648 PyObject
* obj8
= 0 ;
17649 PyObject
* obj9
= 0 ;
17650 PyObject
* obj10
= 0 ;
17651 char * kwnames
[] = {
17652 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17657 if (!SWIG_IsOK(res1
)) {
17658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17660 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17661 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17662 if (!SWIG_IsOK(res2
)) {
17663 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17665 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17667 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17668 if (!SWIG_IsOK(ecode3
)) {
17669 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17671 arg3
= static_cast< int >(val3
);
17674 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17675 if (!SWIG_IsOK(ecode4
)) {
17676 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17678 arg4
= static_cast< int >(val4
);
17681 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17682 if (!SWIG_IsOK(ecode5
)) {
17683 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17685 arg5
= static_cast< int >(val5
);
17688 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17689 if (!SWIG_IsOK(ecode6
)) {
17690 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17692 arg6
= static_cast< int >(val6
);
17697 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17703 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17707 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17708 if (!SWIG_IsOK(ecode9
)) {
17709 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17711 arg9
= static_cast< long >(val9
);
17714 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17715 if (!SWIG_IsOK(res10
)) {
17716 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17719 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17721 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17725 arg11
= wxString_in_helper(obj10
);
17726 if (arg11
== NULL
) SWIG_fail
;
17731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17732 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17733 wxPyEndAllowThreads(__tstate
);
17734 if (PyErr_Occurred()) SWIG_fail
;
17737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17753 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17754 PyObject
*resultobj
= 0;
17755 wxSlider
*arg1
= (wxSlider
*) 0 ;
17759 PyObject
*swig_obj
[1] ;
17761 if (!args
) SWIG_fail
;
17762 swig_obj
[0] = args
;
17763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17764 if (!SWIG_IsOK(res1
)) {
17765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17767 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17770 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17771 wxPyEndAllowThreads(__tstate
);
17772 if (PyErr_Occurred()) SWIG_fail
;
17774 resultobj
= SWIG_From_int(static_cast< int >(result
));
17781 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17782 PyObject
*resultobj
= 0;
17783 wxSlider
*arg1
= (wxSlider
*) 0 ;
17789 PyObject
* obj0
= 0 ;
17790 PyObject
* obj1
= 0 ;
17791 char * kwnames
[] = {
17792 (char *) "self",(char *) "value", NULL
17795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17797 if (!SWIG_IsOK(res1
)) {
17798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17800 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17801 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17802 if (!SWIG_IsOK(ecode2
)) {
17803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17805 arg2
= static_cast< int >(val2
);
17807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17808 (arg1
)->SetValue(arg2
);
17809 wxPyEndAllowThreads(__tstate
);
17810 if (PyErr_Occurred()) SWIG_fail
;
17812 resultobj
= SWIG_Py_Void();
17819 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17820 PyObject
*resultobj
= 0;
17821 wxSlider
*arg1
= (wxSlider
*) 0 ;
17830 PyObject
* obj0
= 0 ;
17831 PyObject
* obj1
= 0 ;
17832 PyObject
* obj2
= 0 ;
17833 char * kwnames
[] = {
17834 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
17837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17839 if (!SWIG_IsOK(res1
)) {
17840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
17842 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17843 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17844 if (!SWIG_IsOK(ecode2
)) {
17845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
17847 arg2
= static_cast< int >(val2
);
17848 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17849 if (!SWIG_IsOK(ecode3
)) {
17850 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
17852 arg3
= static_cast< int >(val3
);
17854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17855 (arg1
)->SetRange(arg2
,arg3
);
17856 wxPyEndAllowThreads(__tstate
);
17857 if (PyErr_Occurred()) SWIG_fail
;
17859 resultobj
= SWIG_Py_Void();
17866 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17867 PyObject
*resultobj
= 0;
17868 wxSlider
*arg1
= (wxSlider
*) 0 ;
17872 PyObject
*swig_obj
[1] ;
17874 if (!args
) SWIG_fail
;
17875 swig_obj
[0] = args
;
17876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17877 if (!SWIG_IsOK(res1
)) {
17878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
17880 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17883 result
= (int)((wxSlider
const *)arg1
)->GetMin();
17884 wxPyEndAllowThreads(__tstate
);
17885 if (PyErr_Occurred()) SWIG_fail
;
17887 resultobj
= SWIG_From_int(static_cast< int >(result
));
17894 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17895 PyObject
*resultobj
= 0;
17896 wxSlider
*arg1
= (wxSlider
*) 0 ;
17900 PyObject
*swig_obj
[1] ;
17902 if (!args
) SWIG_fail
;
17903 swig_obj
[0] = args
;
17904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17905 if (!SWIG_IsOK(res1
)) {
17906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
17908 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17911 result
= (int)((wxSlider
const *)arg1
)->GetMax();
17912 wxPyEndAllowThreads(__tstate
);
17913 if (PyErr_Occurred()) SWIG_fail
;
17915 resultobj
= SWIG_From_int(static_cast< int >(result
));
17922 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17923 PyObject
*resultobj
= 0;
17924 wxSlider
*arg1
= (wxSlider
*) 0 ;
17930 PyObject
* obj0
= 0 ;
17931 PyObject
* obj1
= 0 ;
17932 char * kwnames
[] = {
17933 (char *) "self",(char *) "minValue", NULL
17936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17938 if (!SWIG_IsOK(res1
)) {
17939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
17941 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17943 if (!SWIG_IsOK(ecode2
)) {
17944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
17946 arg2
= static_cast< int >(val2
);
17948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17949 (arg1
)->SetMin(arg2
);
17950 wxPyEndAllowThreads(__tstate
);
17951 if (PyErr_Occurred()) SWIG_fail
;
17953 resultobj
= SWIG_Py_Void();
17960 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17961 PyObject
*resultobj
= 0;
17962 wxSlider
*arg1
= (wxSlider
*) 0 ;
17968 PyObject
* obj0
= 0 ;
17969 PyObject
* obj1
= 0 ;
17970 char * kwnames
[] = {
17971 (char *) "self",(char *) "maxValue", NULL
17974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17976 if (!SWIG_IsOK(res1
)) {
17977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
17979 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17980 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17981 if (!SWIG_IsOK(ecode2
)) {
17982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
17984 arg2
= static_cast< int >(val2
);
17986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17987 (arg1
)->SetMax(arg2
);
17988 wxPyEndAllowThreads(__tstate
);
17989 if (PyErr_Occurred()) SWIG_fail
;
17991 resultobj
= SWIG_Py_Void();
17998 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17999 PyObject
*resultobj
= 0;
18000 wxSlider
*arg1
= (wxSlider
*) 0 ;
18006 PyObject
* obj0
= 0 ;
18007 PyObject
* obj1
= 0 ;
18008 char * kwnames
[] = {
18009 (char *) "self",(char *) "lineSize", NULL
18012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18014 if (!SWIG_IsOK(res1
)) {
18015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18017 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18018 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18019 if (!SWIG_IsOK(ecode2
)) {
18020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18022 arg2
= static_cast< int >(val2
);
18024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18025 (arg1
)->SetLineSize(arg2
);
18026 wxPyEndAllowThreads(__tstate
);
18027 if (PyErr_Occurred()) SWIG_fail
;
18029 resultobj
= SWIG_Py_Void();
18036 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18037 PyObject
*resultobj
= 0;
18038 wxSlider
*arg1
= (wxSlider
*) 0 ;
18044 PyObject
* obj0
= 0 ;
18045 PyObject
* obj1
= 0 ;
18046 char * kwnames
[] = {
18047 (char *) "self",(char *) "pageSize", NULL
18050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18052 if (!SWIG_IsOK(res1
)) {
18053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18055 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18056 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18057 if (!SWIG_IsOK(ecode2
)) {
18058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18060 arg2
= static_cast< int >(val2
);
18062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18063 (arg1
)->SetPageSize(arg2
);
18064 wxPyEndAllowThreads(__tstate
);
18065 if (PyErr_Occurred()) SWIG_fail
;
18067 resultobj
= SWIG_Py_Void();
18074 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18075 PyObject
*resultobj
= 0;
18076 wxSlider
*arg1
= (wxSlider
*) 0 ;
18080 PyObject
*swig_obj
[1] ;
18082 if (!args
) SWIG_fail
;
18083 swig_obj
[0] = args
;
18084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18085 if (!SWIG_IsOK(res1
)) {
18086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18088 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18091 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18092 wxPyEndAllowThreads(__tstate
);
18093 if (PyErr_Occurred()) SWIG_fail
;
18095 resultobj
= SWIG_From_int(static_cast< int >(result
));
18102 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18103 PyObject
*resultobj
= 0;
18104 wxSlider
*arg1
= (wxSlider
*) 0 ;
18108 PyObject
*swig_obj
[1] ;
18110 if (!args
) SWIG_fail
;
18111 swig_obj
[0] = args
;
18112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18113 if (!SWIG_IsOK(res1
)) {
18114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18116 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18119 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18120 wxPyEndAllowThreads(__tstate
);
18121 if (PyErr_Occurred()) SWIG_fail
;
18123 resultobj
= SWIG_From_int(static_cast< int >(result
));
18130 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18131 PyObject
*resultobj
= 0;
18132 wxSlider
*arg1
= (wxSlider
*) 0 ;
18138 PyObject
* obj0
= 0 ;
18139 PyObject
* obj1
= 0 ;
18140 char * kwnames
[] = {
18141 (char *) "self",(char *) "lenPixels", NULL
18144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18146 if (!SWIG_IsOK(res1
)) {
18147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18149 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18151 if (!SWIG_IsOK(ecode2
)) {
18152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18154 arg2
= static_cast< int >(val2
);
18156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18157 (arg1
)->SetThumbLength(arg2
);
18158 wxPyEndAllowThreads(__tstate
);
18159 if (PyErr_Occurred()) SWIG_fail
;
18161 resultobj
= SWIG_Py_Void();
18168 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18169 PyObject
*resultobj
= 0;
18170 wxSlider
*arg1
= (wxSlider
*) 0 ;
18174 PyObject
*swig_obj
[1] ;
18176 if (!args
) SWIG_fail
;
18177 swig_obj
[0] = args
;
18178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18179 if (!SWIG_IsOK(res1
)) {
18180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18182 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18185 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18186 wxPyEndAllowThreads(__tstate
);
18187 if (PyErr_Occurred()) SWIG_fail
;
18189 resultobj
= SWIG_From_int(static_cast< int >(result
));
18196 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18197 PyObject
*resultobj
= 0;
18198 wxSlider
*arg1
= (wxSlider
*) 0 ;
18200 int arg3
= (int) 1 ;
18207 PyObject
* obj0
= 0 ;
18208 PyObject
* obj1
= 0 ;
18209 PyObject
* obj2
= 0 ;
18210 char * kwnames
[] = {
18211 (char *) "self",(char *) "n",(char *) "pos", NULL
18214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18216 if (!SWIG_IsOK(res1
)) {
18217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18219 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18220 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18221 if (!SWIG_IsOK(ecode2
)) {
18222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18224 arg2
= static_cast< int >(val2
);
18226 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18227 if (!SWIG_IsOK(ecode3
)) {
18228 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18230 arg3
= static_cast< int >(val3
);
18233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18234 (arg1
)->SetTickFreq(arg2
,arg3
);
18235 wxPyEndAllowThreads(__tstate
);
18236 if (PyErr_Occurred()) SWIG_fail
;
18238 resultobj
= SWIG_Py_Void();
18245 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18246 PyObject
*resultobj
= 0;
18247 wxSlider
*arg1
= (wxSlider
*) 0 ;
18251 PyObject
*swig_obj
[1] ;
18253 if (!args
) SWIG_fail
;
18254 swig_obj
[0] = args
;
18255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18256 if (!SWIG_IsOK(res1
)) {
18257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18259 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18262 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18263 wxPyEndAllowThreads(__tstate
);
18264 if (PyErr_Occurred()) SWIG_fail
;
18266 resultobj
= SWIG_From_int(static_cast< int >(result
));
18273 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18274 PyObject
*resultobj
= 0;
18275 wxSlider
*arg1
= (wxSlider
*) 0 ;
18278 PyObject
*swig_obj
[1] ;
18280 if (!args
) SWIG_fail
;
18281 swig_obj
[0] = args
;
18282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18283 if (!SWIG_IsOK(res1
)) {
18284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18286 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18289 (arg1
)->ClearTicks();
18290 wxPyEndAllowThreads(__tstate
);
18291 if (PyErr_Occurred()) SWIG_fail
;
18293 resultobj
= SWIG_Py_Void();
18300 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18301 PyObject
*resultobj
= 0;
18302 wxSlider
*arg1
= (wxSlider
*) 0 ;
18308 PyObject
* obj0
= 0 ;
18309 PyObject
* obj1
= 0 ;
18310 char * kwnames
[] = {
18311 (char *) "self",(char *) "tickPos", NULL
18314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18316 if (!SWIG_IsOK(res1
)) {
18317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18319 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18320 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18321 if (!SWIG_IsOK(ecode2
)) {
18322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18324 arg2
= static_cast< int >(val2
);
18326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18327 (arg1
)->SetTick(arg2
);
18328 wxPyEndAllowThreads(__tstate
);
18329 if (PyErr_Occurred()) SWIG_fail
;
18331 resultobj
= SWIG_Py_Void();
18338 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18339 PyObject
*resultobj
= 0;
18340 wxSlider
*arg1
= (wxSlider
*) 0 ;
18343 PyObject
*swig_obj
[1] ;
18345 if (!args
) SWIG_fail
;
18346 swig_obj
[0] = args
;
18347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18348 if (!SWIG_IsOK(res1
)) {
18349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18351 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18354 (arg1
)->ClearSel();
18355 wxPyEndAllowThreads(__tstate
);
18356 if (PyErr_Occurred()) SWIG_fail
;
18358 resultobj
= SWIG_Py_Void();
18365 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18366 PyObject
*resultobj
= 0;
18367 wxSlider
*arg1
= (wxSlider
*) 0 ;
18371 PyObject
*swig_obj
[1] ;
18373 if (!args
) SWIG_fail
;
18374 swig_obj
[0] = args
;
18375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18376 if (!SWIG_IsOK(res1
)) {
18377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18379 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18382 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18383 wxPyEndAllowThreads(__tstate
);
18384 if (PyErr_Occurred()) SWIG_fail
;
18386 resultobj
= SWIG_From_int(static_cast< int >(result
));
18393 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18394 PyObject
*resultobj
= 0;
18395 wxSlider
*arg1
= (wxSlider
*) 0 ;
18399 PyObject
*swig_obj
[1] ;
18401 if (!args
) SWIG_fail
;
18402 swig_obj
[0] = args
;
18403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18404 if (!SWIG_IsOK(res1
)) {
18405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18407 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18410 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18411 wxPyEndAllowThreads(__tstate
);
18412 if (PyErr_Occurred()) SWIG_fail
;
18414 resultobj
= SWIG_From_int(static_cast< int >(result
));
18421 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18422 PyObject
*resultobj
= 0;
18423 wxSlider
*arg1
= (wxSlider
*) 0 ;
18432 PyObject
* obj0
= 0 ;
18433 PyObject
* obj1
= 0 ;
18434 PyObject
* obj2
= 0 ;
18435 char * kwnames
[] = {
18436 (char *) "self",(char *) "min",(char *) "max", NULL
18439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18441 if (!SWIG_IsOK(res1
)) {
18442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18444 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18446 if (!SWIG_IsOK(ecode2
)) {
18447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18449 arg2
= static_cast< int >(val2
);
18450 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18451 if (!SWIG_IsOK(ecode3
)) {
18452 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18454 arg3
= static_cast< int >(val3
);
18456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18457 (arg1
)->SetSelection(arg2
,arg3
);
18458 wxPyEndAllowThreads(__tstate
);
18459 if (PyErr_Occurred()) SWIG_fail
;
18461 resultobj
= SWIG_Py_Void();
18468 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18469 PyObject
*resultobj
= 0;
18470 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18471 SwigValueWrapper
<wxVisualAttributes
> result
;
18474 PyObject
* obj0
= 0 ;
18475 char * kwnames
[] = {
18476 (char *) "variant", NULL
18479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18481 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18482 if (!SWIG_IsOK(ecode1
)) {
18483 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18485 arg1
= static_cast< wxWindowVariant
>(val1
);
18488 if (!wxPyCheckForApp()) SWIG_fail
;
18489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18490 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18491 wxPyEndAllowThreads(__tstate
);
18492 if (PyErr_Occurred()) SWIG_fail
;
18494 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18501 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18503 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18504 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18505 return SWIG_Py_Void();
18508 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18509 return SWIG_Python_InitShadowInstance(args
);
18512 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18513 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18518 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18519 PyObject
*pyobj
= 0;
18523 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18525 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18532 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18533 PyObject
*resultobj
= 0;
18534 wxWindow
*arg1
= (wxWindow
*) 0 ;
18535 int arg2
= (int) -1 ;
18536 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18537 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18538 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18539 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18540 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18541 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18542 long arg6
= (long) 0 ;
18543 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18544 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18545 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18546 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18547 wxToggleButton
*result
= 0 ;
18552 bool temp3
= false ;
18559 bool temp8
= false ;
18560 PyObject
* obj0
= 0 ;
18561 PyObject
* obj1
= 0 ;
18562 PyObject
* obj2
= 0 ;
18563 PyObject
* obj3
= 0 ;
18564 PyObject
* obj4
= 0 ;
18565 PyObject
* obj5
= 0 ;
18566 PyObject
* obj6
= 0 ;
18567 PyObject
* obj7
= 0 ;
18568 char * kwnames
[] = {
18569 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18574 if (!SWIG_IsOK(res1
)) {
18575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18577 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18579 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18580 if (!SWIG_IsOK(ecode2
)) {
18581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18583 arg2
= static_cast< int >(val2
);
18587 arg3
= wxString_in_helper(obj2
);
18588 if (arg3
== NULL
) SWIG_fail
;
18595 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18601 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18605 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18606 if (!SWIG_IsOK(ecode6
)) {
18607 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18609 arg6
= static_cast< long >(val6
);
18612 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18613 if (!SWIG_IsOK(res7
)) {
18614 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18617 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18619 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18623 arg8
= wxString_in_helper(obj7
);
18624 if (arg8
== NULL
) SWIG_fail
;
18629 if (!wxPyCheckForApp()) SWIG_fail
;
18630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18631 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18632 wxPyEndAllowThreads(__tstate
);
18633 if (PyErr_Occurred()) SWIG_fail
;
18635 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18658 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18659 PyObject
*resultobj
= 0;
18660 wxToggleButton
*result
= 0 ;
18662 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18664 if (!wxPyCheckForApp()) SWIG_fail
;
18665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18666 result
= (wxToggleButton
*)new wxToggleButton();
18667 wxPyEndAllowThreads(__tstate
);
18668 if (PyErr_Occurred()) SWIG_fail
;
18670 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18677 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18678 PyObject
*resultobj
= 0;
18679 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18680 wxWindow
*arg2
= (wxWindow
*) 0 ;
18681 int arg3
= (int) -1 ;
18682 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18683 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18684 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18685 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18686 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18687 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18688 long arg7
= (long) 0 ;
18689 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18690 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18691 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18692 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18700 bool temp4
= false ;
18707 bool temp9
= false ;
18708 PyObject
* obj0
= 0 ;
18709 PyObject
* obj1
= 0 ;
18710 PyObject
* obj2
= 0 ;
18711 PyObject
* obj3
= 0 ;
18712 PyObject
* obj4
= 0 ;
18713 PyObject
* obj5
= 0 ;
18714 PyObject
* obj6
= 0 ;
18715 PyObject
* obj7
= 0 ;
18716 PyObject
* obj8
= 0 ;
18717 char * kwnames
[] = {
18718 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18723 if (!SWIG_IsOK(res1
)) {
18724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18726 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18727 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18728 if (!SWIG_IsOK(res2
)) {
18729 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18731 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18733 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18734 if (!SWIG_IsOK(ecode3
)) {
18735 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18737 arg3
= static_cast< int >(val3
);
18741 arg4
= wxString_in_helper(obj3
);
18742 if (arg4
== NULL
) SWIG_fail
;
18749 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18755 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18759 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18760 if (!SWIG_IsOK(ecode7
)) {
18761 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18763 arg7
= static_cast< long >(val7
);
18766 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18767 if (!SWIG_IsOK(res8
)) {
18768 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18771 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18773 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18777 arg9
= wxString_in_helper(obj8
);
18778 if (arg9
== NULL
) SWIG_fail
;
18783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18784 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18785 wxPyEndAllowThreads(__tstate
);
18786 if (PyErr_Occurred()) SWIG_fail
;
18789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18813 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18814 PyObject
*resultobj
= 0;
18815 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18821 PyObject
* obj0
= 0 ;
18822 PyObject
* obj1
= 0 ;
18823 char * kwnames
[] = {
18824 (char *) "self",(char *) "value", NULL
18827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18829 if (!SWIG_IsOK(res1
)) {
18830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18832 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18833 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18834 if (!SWIG_IsOK(ecode2
)) {
18835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
18837 arg2
= static_cast< bool >(val2
);
18839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18840 (arg1
)->SetValue(arg2
);
18841 wxPyEndAllowThreads(__tstate
);
18842 if (PyErr_Occurred()) SWIG_fail
;
18844 resultobj
= SWIG_Py_Void();
18851 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18852 PyObject
*resultobj
= 0;
18853 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18857 PyObject
*swig_obj
[1] ;
18859 if (!args
) SWIG_fail
;
18860 swig_obj
[0] = args
;
18861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18862 if (!SWIG_IsOK(res1
)) {
18863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
18865 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18868 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
18869 wxPyEndAllowThreads(__tstate
);
18870 if (PyErr_Occurred()) SWIG_fail
;
18873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18881 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18882 PyObject
*resultobj
= 0;
18883 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18884 SwigValueWrapper
<wxVisualAttributes
> result
;
18887 PyObject
* obj0
= 0 ;
18888 char * kwnames
[] = {
18889 (char *) "variant", NULL
18892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18894 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18895 if (!SWIG_IsOK(ecode1
)) {
18896 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18898 arg1
= static_cast< wxWindowVariant
>(val1
);
18901 if (!wxPyCheckForApp()) SWIG_fail
;
18902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18903 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
18904 wxPyEndAllowThreads(__tstate
);
18905 if (PyErr_Occurred()) SWIG_fail
;
18907 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18914 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18916 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18917 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
18918 return SWIG_Py_Void();
18921 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18922 return SWIG_Python_InitShadowInstance(args
);
18925 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
18926 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
18931 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
18932 PyObject
*pyobj
= 0;
18936 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18938 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18945 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18946 PyObject
*resultobj
= 0;
18947 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18951 PyObject
*swig_obj
[1] ;
18953 if (!args
) SWIG_fail
;
18954 swig_obj
[0] = args
;
18955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18956 if (!SWIG_IsOK(res1
)) {
18957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18959 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18962 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
18963 wxPyEndAllowThreads(__tstate
);
18964 if (PyErr_Occurred()) SWIG_fail
;
18966 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
18973 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18974 PyObject
*resultobj
= 0;
18975 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18977 wxWindow
*result
= 0 ;
18982 PyObject
* obj0
= 0 ;
18983 PyObject
* obj1
= 0 ;
18984 char * kwnames
[] = {
18985 (char *) "self",(char *) "n", NULL
18988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18990 if (!SWIG_IsOK(res1
)) {
18991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18993 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18994 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
18995 if (!SWIG_IsOK(ecode2
)) {
18996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
18998 arg2
= static_cast< size_t >(val2
);
19000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19001 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19002 wxPyEndAllowThreads(__tstate
);
19003 if (PyErr_Occurred()) SWIG_fail
;
19006 resultobj
= wxPyMake_wxObject(result
, 0);
19014 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19015 PyObject
*resultobj
= 0;
19016 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19017 wxWindow
*result
= 0 ;
19020 PyObject
*swig_obj
[1] ;
19022 if (!args
) SWIG_fail
;
19023 swig_obj
[0] = args
;
19024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19025 if (!SWIG_IsOK(res1
)) {
19026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19028 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19031 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19032 wxPyEndAllowThreads(__tstate
);
19033 if (PyErr_Occurred()) SWIG_fail
;
19036 resultobj
= wxPyMake_wxObject(result
, 0);
19044 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19045 PyObject
*resultobj
= 0;
19046 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19050 PyObject
*swig_obj
[1] ;
19052 if (!args
) SWIG_fail
;
19053 swig_obj
[0] = args
;
19054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19055 if (!SWIG_IsOK(res1
)) {
19056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19058 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19061 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19062 wxPyEndAllowThreads(__tstate
);
19063 if (PyErr_Occurred()) SWIG_fail
;
19065 resultobj
= SWIG_From_int(static_cast< int >(result
));
19072 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19073 PyObject
*resultobj
= 0;
19074 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19076 wxString
*arg3
= 0 ;
19082 bool temp3
= false ;
19083 PyObject
* obj0
= 0 ;
19084 PyObject
* obj1
= 0 ;
19085 PyObject
* obj2
= 0 ;
19086 char * kwnames
[] = {
19087 (char *) "self",(char *) "n",(char *) "strText", NULL
19090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19092 if (!SWIG_IsOK(res1
)) {
19093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19095 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19096 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19097 if (!SWIG_IsOK(ecode2
)) {
19098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19100 arg2
= static_cast< size_t >(val2
);
19102 arg3
= wxString_in_helper(obj2
);
19103 if (arg3
== NULL
) SWIG_fail
;
19107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19108 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19109 wxPyEndAllowThreads(__tstate
);
19110 if (PyErr_Occurred()) SWIG_fail
;
19113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19129 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19130 PyObject
*resultobj
= 0;
19131 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19138 PyObject
* obj0
= 0 ;
19139 PyObject
* obj1
= 0 ;
19140 char * kwnames
[] = {
19141 (char *) "self",(char *) "n", NULL
19144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19146 if (!SWIG_IsOK(res1
)) {
19147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19149 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19150 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19151 if (!SWIG_IsOK(ecode2
)) {
19152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19154 arg2
= static_cast< size_t >(val2
);
19156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19157 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19158 wxPyEndAllowThreads(__tstate
);
19159 if (PyErr_Occurred()) SWIG_fail
;
19163 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19165 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19174 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19175 PyObject
*resultobj
= 0;
19176 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19177 wxImageList
*arg2
= (wxImageList
*) 0 ;
19182 PyObject
* obj0
= 0 ;
19183 PyObject
* obj1
= 0 ;
19184 char * kwnames
[] = {
19185 (char *) "self",(char *) "imageList", NULL
19188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19190 if (!SWIG_IsOK(res1
)) {
19191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19193 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19194 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19195 if (!SWIG_IsOK(res2
)) {
19196 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19198 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19201 (arg1
)->SetImageList(arg2
);
19202 wxPyEndAllowThreads(__tstate
);
19203 if (PyErr_Occurred()) SWIG_fail
;
19205 resultobj
= SWIG_Py_Void();
19212 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19213 PyObject
*resultobj
= 0;
19214 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19215 wxImageList
*arg2
= (wxImageList
*) 0 ;
19219 PyObject
* obj0
= 0 ;
19220 PyObject
* obj1
= 0 ;
19221 char * kwnames
[] = {
19222 (char *) "self",(char *) "imageList", NULL
19225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19227 if (!SWIG_IsOK(res1
)) {
19228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19230 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19231 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19232 if (!SWIG_IsOK(res2
)) {
19233 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19237 (arg1
)->AssignImageList(arg2
);
19238 wxPyEndAllowThreads(__tstate
);
19239 if (PyErr_Occurred()) SWIG_fail
;
19241 resultobj
= SWIG_Py_Void();
19248 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19249 PyObject
*resultobj
= 0;
19250 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19251 wxImageList
*result
= 0 ;
19254 PyObject
*swig_obj
[1] ;
19256 if (!args
) SWIG_fail
;
19257 swig_obj
[0] = args
;
19258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19259 if (!SWIG_IsOK(res1
)) {
19260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19262 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19265 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19266 wxPyEndAllowThreads(__tstate
);
19267 if (PyErr_Occurred()) SWIG_fail
;
19270 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19278 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19279 PyObject
*resultobj
= 0;
19280 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19287 PyObject
* obj0
= 0 ;
19288 PyObject
* obj1
= 0 ;
19289 char * kwnames
[] = {
19290 (char *) "self",(char *) "n", NULL
19293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19295 if (!SWIG_IsOK(res1
)) {
19296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19298 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19299 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19300 if (!SWIG_IsOK(ecode2
)) {
19301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19303 arg2
= static_cast< size_t >(val2
);
19305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19306 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19307 wxPyEndAllowThreads(__tstate
);
19308 if (PyErr_Occurred()) SWIG_fail
;
19310 resultobj
= SWIG_From_int(static_cast< int >(result
));
19317 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19318 PyObject
*resultobj
= 0;
19319 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19329 PyObject
* obj0
= 0 ;
19330 PyObject
* obj1
= 0 ;
19331 PyObject
* obj2
= 0 ;
19332 char * kwnames
[] = {
19333 (char *) "self",(char *) "n",(char *) "imageId", NULL
19336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19338 if (!SWIG_IsOK(res1
)) {
19339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19341 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19342 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19343 if (!SWIG_IsOK(ecode2
)) {
19344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19346 arg2
= static_cast< size_t >(val2
);
19347 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19348 if (!SWIG_IsOK(ecode3
)) {
19349 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19351 arg3
= static_cast< int >(val3
);
19353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19354 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19355 wxPyEndAllowThreads(__tstate
);
19356 if (PyErr_Occurred()) SWIG_fail
;
19359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19367 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19368 PyObject
*resultobj
= 0;
19369 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19374 PyObject
* obj0
= 0 ;
19375 PyObject
* obj1
= 0 ;
19376 char * kwnames
[] = {
19377 (char *) "self",(char *) "size", NULL
19380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19382 if (!SWIG_IsOK(res1
)) {
19383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19385 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19388 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19392 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19393 wxPyEndAllowThreads(__tstate
);
19394 if (PyErr_Occurred()) SWIG_fail
;
19396 resultobj
= SWIG_Py_Void();
19403 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19404 PyObject
*resultobj
= 0;
19405 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19411 PyObject
* obj0
= 0 ;
19412 PyObject
* obj1
= 0 ;
19413 char * kwnames
[] = {
19414 (char *) "self",(char *) "sizePage", NULL
19417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19419 if (!SWIG_IsOK(res1
)) {
19420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19422 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19425 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19429 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19430 wxPyEndAllowThreads(__tstate
);
19431 if (PyErr_Occurred()) SWIG_fail
;
19433 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19440 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19441 PyObject
*resultobj
= 0;
19442 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19443 unsigned int result
;
19446 PyObject
*swig_obj
[1] ;
19448 if (!args
) SWIG_fail
;
19449 swig_obj
[0] = args
;
19450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19451 if (!SWIG_IsOK(res1
)) {
19452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19454 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19457 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19458 wxPyEndAllowThreads(__tstate
);
19459 if (PyErr_Occurred()) SWIG_fail
;
19461 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19468 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19469 PyObject
*resultobj
= 0;
19470 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19471 unsigned int arg2
;
19474 unsigned int val2
;
19476 PyObject
* obj0
= 0 ;
19477 PyObject
* obj1
= 0 ;
19478 char * kwnames
[] = {
19479 (char *) "self",(char *) "internalBorder", NULL
19482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19484 if (!SWIG_IsOK(res1
)) {
19485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19487 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19488 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19489 if (!SWIG_IsOK(ecode2
)) {
19490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19492 arg2
= static_cast< unsigned int >(val2
);
19494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19495 (arg1
)->SetInternalBorder(arg2
);
19496 wxPyEndAllowThreads(__tstate
);
19497 if (PyErr_Occurred()) SWIG_fail
;
19499 resultobj
= SWIG_Py_Void();
19506 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19507 PyObject
*resultobj
= 0;
19508 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19512 PyObject
*swig_obj
[1] ;
19514 if (!args
) SWIG_fail
;
19515 swig_obj
[0] = args
;
19516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19517 if (!SWIG_IsOK(res1
)) {
19518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19520 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19523 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19524 wxPyEndAllowThreads(__tstate
);
19525 if (PyErr_Occurred()) SWIG_fail
;
19528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19536 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19537 PyObject
*resultobj
= 0;
19538 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19544 PyObject
* obj0
= 0 ;
19545 PyObject
* obj1
= 0 ;
19546 char * kwnames
[] = {
19547 (char *) "self",(char *) "margin", NULL
19550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19552 if (!SWIG_IsOK(res1
)) {
19553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19555 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19556 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19557 if (!SWIG_IsOK(ecode2
)) {
19558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19560 arg2
= static_cast< int >(val2
);
19562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19563 (arg1
)->SetControlMargin(arg2
);
19564 wxPyEndAllowThreads(__tstate
);
19565 if (PyErr_Occurred()) SWIG_fail
;
19567 resultobj
= SWIG_Py_Void();
19574 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19575 PyObject
*resultobj
= 0;
19576 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19580 PyObject
*swig_obj
[1] ;
19582 if (!args
) SWIG_fail
;
19583 swig_obj
[0] = args
;
19584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19585 if (!SWIG_IsOK(res1
)) {
19586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19588 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19591 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19592 wxPyEndAllowThreads(__tstate
);
19593 if (PyErr_Occurred()) SWIG_fail
;
19595 resultobj
= SWIG_From_int(static_cast< int >(result
));
19602 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19603 PyObject
*resultobj
= 0;
19604 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19610 PyObject
* obj0
= 0 ;
19611 PyObject
* obj1
= 0 ;
19612 char * kwnames
[] = {
19613 (char *) "self",(char *) "fit", NULL
19616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19618 if (!SWIG_IsOK(res1
)) {
19619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19621 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19622 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19623 if (!SWIG_IsOK(ecode2
)) {
19624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19626 arg2
= static_cast< bool >(val2
);
19628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19629 (arg1
)->SetFitToCurrentPage(arg2
);
19630 wxPyEndAllowThreads(__tstate
);
19631 if (PyErr_Occurred()) SWIG_fail
;
19633 resultobj
= SWIG_Py_Void();
19640 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19641 PyObject
*resultobj
= 0;
19642 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19646 PyObject
*swig_obj
[1] ;
19648 if (!args
) SWIG_fail
;
19649 swig_obj
[0] = args
;
19650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19651 if (!SWIG_IsOK(res1
)) {
19652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19654 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19657 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19658 wxPyEndAllowThreads(__tstate
);
19659 if (PyErr_Occurred()) SWIG_fail
;
19662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19670 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19671 PyObject
*resultobj
= 0;
19672 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19673 wxSizer
*result
= 0 ;
19676 PyObject
*swig_obj
[1] ;
19678 if (!args
) SWIG_fail
;
19679 swig_obj
[0] = args
;
19680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19681 if (!SWIG_IsOK(res1
)) {
19682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19684 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19687 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19688 wxPyEndAllowThreads(__tstate
);
19689 if (PyErr_Occurred()) SWIG_fail
;
19692 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19700 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19701 PyObject
*resultobj
= 0;
19702 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19709 PyObject
* obj0
= 0 ;
19710 PyObject
* obj1
= 0 ;
19711 char * kwnames
[] = {
19712 (char *) "self",(char *) "n", NULL
19715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19717 if (!SWIG_IsOK(res1
)) {
19718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19720 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19721 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19722 if (!SWIG_IsOK(ecode2
)) {
19723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19725 arg2
= static_cast< size_t >(val2
);
19727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19728 result
= (bool)(arg1
)->DeletePage(arg2
);
19729 wxPyEndAllowThreads(__tstate
);
19730 if (PyErr_Occurred()) SWIG_fail
;
19733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19741 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19742 PyObject
*resultobj
= 0;
19743 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19750 PyObject
* obj0
= 0 ;
19751 PyObject
* obj1
= 0 ;
19752 char * kwnames
[] = {
19753 (char *) "self",(char *) "n", NULL
19756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19758 if (!SWIG_IsOK(res1
)) {
19759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19761 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19762 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19763 if (!SWIG_IsOK(ecode2
)) {
19764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19766 arg2
= static_cast< size_t >(val2
);
19768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19769 result
= (bool)(arg1
)->RemovePage(arg2
);
19770 wxPyEndAllowThreads(__tstate
);
19771 if (PyErr_Occurred()) SWIG_fail
;
19774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19782 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19783 PyObject
*resultobj
= 0;
19784 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19788 PyObject
*swig_obj
[1] ;
19790 if (!args
) SWIG_fail
;
19791 swig_obj
[0] = args
;
19792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19793 if (!SWIG_IsOK(res1
)) {
19794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19796 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19799 result
= (bool)(arg1
)->DeleteAllPages();
19800 wxPyEndAllowThreads(__tstate
);
19801 if (PyErr_Occurred()) SWIG_fail
;
19804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19812 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19813 PyObject
*resultobj
= 0;
19814 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19815 wxWindow
*arg2
= (wxWindow
*) 0 ;
19816 wxString
*arg3
= 0 ;
19817 bool arg4
= (bool) false ;
19818 int arg5
= (int) -1 ;
19824 bool temp3
= false ;
19829 PyObject
* obj0
= 0 ;
19830 PyObject
* obj1
= 0 ;
19831 PyObject
* obj2
= 0 ;
19832 PyObject
* obj3
= 0 ;
19833 PyObject
* obj4
= 0 ;
19834 char * kwnames
[] = {
19835 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19840 if (!SWIG_IsOK(res1
)) {
19841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19843 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19844 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19845 if (!SWIG_IsOK(res2
)) {
19846 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
19848 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19850 arg3
= wxString_in_helper(obj2
);
19851 if (arg3
== NULL
) SWIG_fail
;
19855 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19856 if (!SWIG_IsOK(ecode4
)) {
19857 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
19859 arg4
= static_cast< bool >(val4
);
19862 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19863 if (!SWIG_IsOK(ecode5
)) {
19864 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
19866 arg5
= static_cast< int >(val5
);
19869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19870 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19871 wxPyEndAllowThreads(__tstate
);
19872 if (PyErr_Occurred()) SWIG_fail
;
19875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19891 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19892 PyObject
*resultobj
= 0;
19893 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19895 wxWindow
*arg3
= (wxWindow
*) 0 ;
19896 wxString
*arg4
= 0 ;
19897 bool arg5
= (bool) false ;
19898 int arg6
= (int) -1 ;
19906 bool temp4
= false ;
19911 PyObject
* obj0
= 0 ;
19912 PyObject
* obj1
= 0 ;
19913 PyObject
* obj2
= 0 ;
19914 PyObject
* obj3
= 0 ;
19915 PyObject
* obj4
= 0 ;
19916 PyObject
* obj5
= 0 ;
19917 char * kwnames
[] = {
19918 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19923 if (!SWIG_IsOK(res1
)) {
19924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19926 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19927 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19928 if (!SWIG_IsOK(ecode2
)) {
19929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
19931 arg2
= static_cast< size_t >(val2
);
19932 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19933 if (!SWIG_IsOK(res3
)) {
19934 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
19936 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
19938 arg4
= wxString_in_helper(obj3
);
19939 if (arg4
== NULL
) SWIG_fail
;
19943 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19944 if (!SWIG_IsOK(ecode5
)) {
19945 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
19947 arg5
= static_cast< bool >(val5
);
19950 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19951 if (!SWIG_IsOK(ecode6
)) {
19952 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
19954 arg6
= static_cast< int >(val6
);
19957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19958 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
19959 wxPyEndAllowThreads(__tstate
);
19960 if (PyErr_Occurred()) SWIG_fail
;
19963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19979 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19980 PyObject
*resultobj
= 0;
19981 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19988 PyObject
* obj0
= 0 ;
19989 PyObject
* obj1
= 0 ;
19990 char * kwnames
[] = {
19991 (char *) "self",(char *) "n", NULL
19994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19996 if (!SWIG_IsOK(res1
)) {
19997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19999 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20000 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20001 if (!SWIG_IsOK(ecode2
)) {
20002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20004 arg2
= static_cast< size_t >(val2
);
20006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20007 result
= (int)(arg1
)->SetSelection(arg2
);
20008 wxPyEndAllowThreads(__tstate
);
20009 if (PyErr_Occurred()) SWIG_fail
;
20011 resultobj
= SWIG_From_int(static_cast< int >(result
));
20018 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20019 PyObject
*resultobj
= 0;
20020 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20021 bool arg2
= (bool) true ;
20026 PyObject
* obj0
= 0 ;
20027 PyObject
* obj1
= 0 ;
20028 char * kwnames
[] = {
20029 (char *) "self",(char *) "forward", NULL
20032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20034 if (!SWIG_IsOK(res1
)) {
20035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20037 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20039 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20040 if (!SWIG_IsOK(ecode2
)) {
20041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20043 arg2
= static_cast< bool >(val2
);
20046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20047 (arg1
)->AdvanceSelection(arg2
);
20048 wxPyEndAllowThreads(__tstate
);
20049 if (PyErr_Occurred()) SWIG_fail
;
20051 resultobj
= SWIG_Py_Void();
20058 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20059 PyObject
*resultobj
= 0;
20060 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20061 wxPoint
*arg2
= 0 ;
20062 long *arg3
= (long *) 0 ;
20068 int res3
= SWIG_TMPOBJ
;
20069 PyObject
* obj0
= 0 ;
20070 PyObject
* obj1
= 0 ;
20071 char * kwnames
[] = {
20072 (char *) "self",(char *) "pt", NULL
20076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20078 if (!SWIG_IsOK(res1
)) {
20079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20081 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20084 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20088 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20089 wxPyEndAllowThreads(__tstate
);
20090 if (PyErr_Occurred()) SWIG_fail
;
20092 resultobj
= SWIG_From_int(static_cast< int >(result
));
20093 if (SWIG_IsTmpObj(res3
)) {
20094 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20096 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20097 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20105 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20106 PyObject
*resultobj
= 0;
20107 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20108 SwigValueWrapper
<wxVisualAttributes
> result
;
20111 PyObject
* obj0
= 0 ;
20112 char * kwnames
[] = {
20113 (char *) "variant", NULL
20116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20118 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20119 if (!SWIG_IsOK(ecode1
)) {
20120 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20122 arg1
= static_cast< wxWindowVariant
>(val1
);
20125 if (!wxPyCheckForApp()) SWIG_fail
;
20126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20127 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20128 wxPyEndAllowThreads(__tstate
);
20129 if (PyErr_Occurred()) SWIG_fail
;
20131 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20138 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20140 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20141 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20142 return SWIG_Py_Void();
20145 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20146 PyObject
*resultobj
= 0;
20147 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20148 int arg2
= (int) 0 ;
20149 int arg3
= (int) -1 ;
20150 int arg4
= (int) -1 ;
20151 wxBookCtrlBaseEvent
*result
= 0 ;
20160 PyObject
* obj0
= 0 ;
20161 PyObject
* obj1
= 0 ;
20162 PyObject
* obj2
= 0 ;
20163 PyObject
* obj3
= 0 ;
20164 char * kwnames
[] = {
20165 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20170 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20171 if (!SWIG_IsOK(ecode1
)) {
20172 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20174 arg1
= static_cast< wxEventType
>(val1
);
20177 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20178 if (!SWIG_IsOK(ecode2
)) {
20179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20181 arg2
= static_cast< int >(val2
);
20184 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20185 if (!SWIG_IsOK(ecode3
)) {
20186 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20188 arg3
= static_cast< int >(val3
);
20191 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20192 if (!SWIG_IsOK(ecode4
)) {
20193 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20195 arg4
= static_cast< int >(val4
);
20198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20199 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20200 wxPyEndAllowThreads(__tstate
);
20201 if (PyErr_Occurred()) SWIG_fail
;
20203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20210 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20211 PyObject
*resultobj
= 0;
20212 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20216 PyObject
*swig_obj
[1] ;
20218 if (!args
) SWIG_fail
;
20219 swig_obj
[0] = args
;
20220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20221 if (!SWIG_IsOK(res1
)) {
20222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20224 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20227 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20228 wxPyEndAllowThreads(__tstate
);
20229 if (PyErr_Occurred()) SWIG_fail
;
20231 resultobj
= SWIG_From_int(static_cast< int >(result
));
20238 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20239 PyObject
*resultobj
= 0;
20240 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20246 PyObject
* obj0
= 0 ;
20247 PyObject
* obj1
= 0 ;
20248 char * kwnames
[] = {
20249 (char *) "self",(char *) "nSel", NULL
20252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20254 if (!SWIG_IsOK(res1
)) {
20255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20257 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20258 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20259 if (!SWIG_IsOK(ecode2
)) {
20260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20262 arg2
= static_cast< int >(val2
);
20264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20265 (arg1
)->SetSelection(arg2
);
20266 wxPyEndAllowThreads(__tstate
);
20267 if (PyErr_Occurred()) SWIG_fail
;
20269 resultobj
= SWIG_Py_Void();
20276 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20277 PyObject
*resultobj
= 0;
20278 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20282 PyObject
*swig_obj
[1] ;
20284 if (!args
) SWIG_fail
;
20285 swig_obj
[0] = args
;
20286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20287 if (!SWIG_IsOK(res1
)) {
20288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20290 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20293 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20294 wxPyEndAllowThreads(__tstate
);
20295 if (PyErr_Occurred()) SWIG_fail
;
20297 resultobj
= SWIG_From_int(static_cast< int >(result
));
20304 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20305 PyObject
*resultobj
= 0;
20306 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20312 PyObject
* obj0
= 0 ;
20313 PyObject
* obj1
= 0 ;
20314 char * kwnames
[] = {
20315 (char *) "self",(char *) "nOldSel", NULL
20318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20320 if (!SWIG_IsOK(res1
)) {
20321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20323 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20324 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20325 if (!SWIG_IsOK(ecode2
)) {
20326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20328 arg2
= static_cast< int >(val2
);
20330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20331 (arg1
)->SetOldSelection(arg2
);
20332 wxPyEndAllowThreads(__tstate
);
20333 if (PyErr_Occurred()) SWIG_fail
;
20335 resultobj
= SWIG_Py_Void();
20342 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20344 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20345 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20346 return SWIG_Py_Void();
20349 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20350 return SWIG_Python_InitShadowInstance(args
);
20353 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20354 PyObject
*resultobj
= 0;
20355 wxWindow
*arg1
= (wxWindow
*) 0 ;
20356 int arg2
= (int) -1 ;
20357 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20358 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20359 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20360 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20361 long arg5
= (long) 0 ;
20362 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20363 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20364 wxNotebook
*result
= 0 ;
20373 bool temp6
= false ;
20374 PyObject
* obj0
= 0 ;
20375 PyObject
* obj1
= 0 ;
20376 PyObject
* obj2
= 0 ;
20377 PyObject
* obj3
= 0 ;
20378 PyObject
* obj4
= 0 ;
20379 PyObject
* obj5
= 0 ;
20380 char * kwnames
[] = {
20381 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20386 if (!SWIG_IsOK(res1
)) {
20387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20389 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20391 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20392 if (!SWIG_IsOK(ecode2
)) {
20393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20395 arg2
= static_cast< int >(val2
);
20400 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20406 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20410 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20411 if (!SWIG_IsOK(ecode5
)) {
20412 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20414 arg5
= static_cast< long >(val5
);
20418 arg6
= wxString_in_helper(obj5
);
20419 if (arg6
== NULL
) SWIG_fail
;
20424 if (!wxPyCheckForApp()) SWIG_fail
;
20425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20426 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20427 wxPyEndAllowThreads(__tstate
);
20428 if (PyErr_Occurred()) SWIG_fail
;
20430 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20445 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20446 PyObject
*resultobj
= 0;
20447 wxNotebook
*result
= 0 ;
20449 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20451 if (!wxPyCheckForApp()) SWIG_fail
;
20452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20453 result
= (wxNotebook
*)new wxNotebook();
20454 wxPyEndAllowThreads(__tstate
);
20455 if (PyErr_Occurred()) SWIG_fail
;
20457 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20464 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20465 PyObject
*resultobj
= 0;
20466 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20467 wxWindow
*arg2
= (wxWindow
*) 0 ;
20468 int arg3
= (int) -1 ;
20469 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20470 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20471 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20472 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20473 long arg6
= (long) 0 ;
20474 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20475 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20487 bool temp7
= false ;
20488 PyObject
* obj0
= 0 ;
20489 PyObject
* obj1
= 0 ;
20490 PyObject
* obj2
= 0 ;
20491 PyObject
* obj3
= 0 ;
20492 PyObject
* obj4
= 0 ;
20493 PyObject
* obj5
= 0 ;
20494 PyObject
* obj6
= 0 ;
20495 char * kwnames
[] = {
20496 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20501 if (!SWIG_IsOK(res1
)) {
20502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20504 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20505 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20506 if (!SWIG_IsOK(res2
)) {
20507 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20509 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20511 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20512 if (!SWIG_IsOK(ecode3
)) {
20513 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20515 arg3
= static_cast< int >(val3
);
20520 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20526 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20530 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20531 if (!SWIG_IsOK(ecode6
)) {
20532 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20534 arg6
= static_cast< long >(val6
);
20538 arg7
= wxString_in_helper(obj6
);
20539 if (arg7
== NULL
) SWIG_fail
;
20544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20545 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20546 wxPyEndAllowThreads(__tstate
);
20547 if (PyErr_Occurred()) SWIG_fail
;
20550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20566 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20567 PyObject
*resultobj
= 0;
20568 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20572 PyObject
*swig_obj
[1] ;
20574 if (!args
) SWIG_fail
;
20575 swig_obj
[0] = args
;
20576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20577 if (!SWIG_IsOK(res1
)) {
20578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20580 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20583 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20584 wxPyEndAllowThreads(__tstate
);
20585 if (PyErr_Occurred()) SWIG_fail
;
20587 resultobj
= SWIG_From_int(static_cast< int >(result
));
20594 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20595 PyObject
*resultobj
= 0;
20596 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20601 PyObject
* obj0
= 0 ;
20602 PyObject
* obj1
= 0 ;
20603 char * kwnames
[] = {
20604 (char *) "self",(char *) "padding", NULL
20607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20609 if (!SWIG_IsOK(res1
)) {
20610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20612 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20615 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20619 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20620 wxPyEndAllowThreads(__tstate
);
20621 if (PyErr_Occurred()) SWIG_fail
;
20623 resultobj
= SWIG_Py_Void();
20630 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20631 PyObject
*resultobj
= 0;
20632 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20637 PyObject
* obj0
= 0 ;
20638 PyObject
* obj1
= 0 ;
20639 char * kwnames
[] = {
20640 (char *) "self",(char *) "sz", NULL
20643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20645 if (!SWIG_IsOK(res1
)) {
20646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20648 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20651 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20655 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20656 wxPyEndAllowThreads(__tstate
);
20657 if (PyErr_Occurred()) SWIG_fail
;
20659 resultobj
= SWIG_Py_Void();
20666 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20667 PyObject
*resultobj
= 0;
20668 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20672 PyObject
*swig_obj
[1] ;
20674 if (!args
) SWIG_fail
;
20675 swig_obj
[0] = args
;
20676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20677 if (!SWIG_IsOK(res1
)) {
20678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20680 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20683 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20684 wxPyEndAllowThreads(__tstate
);
20685 if (PyErr_Occurred()) SWIG_fail
;
20687 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20694 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20695 PyObject
*resultobj
= 0;
20696 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20697 SwigValueWrapper
<wxVisualAttributes
> result
;
20700 PyObject
* obj0
= 0 ;
20701 char * kwnames
[] = {
20702 (char *) "variant", NULL
20705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20707 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20708 if (!SWIG_IsOK(ecode1
)) {
20709 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20711 arg1
= static_cast< wxWindowVariant
>(val1
);
20714 if (!wxPyCheckForApp()) SWIG_fail
;
20715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20716 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20717 wxPyEndAllowThreads(__tstate
);
20718 if (PyErr_Occurred()) SWIG_fail
;
20720 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20727 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20729 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20730 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
20731 return SWIG_Py_Void();
20734 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20735 return SWIG_Python_InitShadowInstance(args
);
20738 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20739 PyObject
*resultobj
= 0;
20740 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20741 int arg2
= (int) 0 ;
20742 int arg3
= (int) -1 ;
20743 int arg4
= (int) -1 ;
20744 wxNotebookEvent
*result
= 0 ;
20753 PyObject
* obj0
= 0 ;
20754 PyObject
* obj1
= 0 ;
20755 PyObject
* obj2
= 0 ;
20756 PyObject
* obj3
= 0 ;
20757 char * kwnames
[] = {
20758 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20763 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20764 if (!SWIG_IsOK(ecode1
)) {
20765 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20767 arg1
= static_cast< wxEventType
>(val1
);
20770 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20771 if (!SWIG_IsOK(ecode2
)) {
20772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
20774 arg2
= static_cast< int >(val2
);
20777 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20778 if (!SWIG_IsOK(ecode3
)) {
20779 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
20781 arg3
= static_cast< int >(val3
);
20784 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20785 if (!SWIG_IsOK(ecode4
)) {
20786 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
20788 arg4
= static_cast< int >(val4
);
20791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20792 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
20793 wxPyEndAllowThreads(__tstate
);
20794 if (PyErr_Occurred()) SWIG_fail
;
20796 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
20803 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20805 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20806 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
20807 return SWIG_Py_Void();
20810 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20811 return SWIG_Python_InitShadowInstance(args
);
20814 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20815 PyObject
*resultobj
= 0;
20816 wxWindow
*arg1
= (wxWindow
*) 0 ;
20817 int arg2
= (int) -1 ;
20818 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20819 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20820 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20821 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20822 long arg5
= (long) 0 ;
20823 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20824 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20825 wxListbook
*result
= 0 ;
20834 bool temp6
= false ;
20835 PyObject
* obj0
= 0 ;
20836 PyObject
* obj1
= 0 ;
20837 PyObject
* obj2
= 0 ;
20838 PyObject
* obj3
= 0 ;
20839 PyObject
* obj4
= 0 ;
20840 PyObject
* obj5
= 0 ;
20841 char * kwnames
[] = {
20842 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20847 if (!SWIG_IsOK(res1
)) {
20848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
20850 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20852 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20853 if (!SWIG_IsOK(ecode2
)) {
20854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
20856 arg2
= static_cast< int >(val2
);
20861 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20867 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20871 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20872 if (!SWIG_IsOK(ecode5
)) {
20873 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
20875 arg5
= static_cast< long >(val5
);
20879 arg6
= wxString_in_helper(obj5
);
20880 if (arg6
== NULL
) SWIG_fail
;
20885 if (!wxPyCheckForApp()) SWIG_fail
;
20886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20887 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20888 wxPyEndAllowThreads(__tstate
);
20889 if (PyErr_Occurred()) SWIG_fail
;
20891 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
20906 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20907 PyObject
*resultobj
= 0;
20908 wxListbook
*result
= 0 ;
20910 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
20912 if (!wxPyCheckForApp()) SWIG_fail
;
20913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20914 result
= (wxListbook
*)new wxListbook();
20915 wxPyEndAllowThreads(__tstate
);
20916 if (PyErr_Occurred()) SWIG_fail
;
20918 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
20925 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20926 PyObject
*resultobj
= 0;
20927 wxListbook
*arg1
= (wxListbook
*) 0 ;
20928 wxWindow
*arg2
= (wxWindow
*) 0 ;
20929 int arg3
= (int) -1 ;
20930 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20931 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20932 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20933 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20934 long arg6
= (long) 0 ;
20935 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20936 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20948 bool temp7
= false ;
20949 PyObject
* obj0
= 0 ;
20950 PyObject
* obj1
= 0 ;
20951 PyObject
* obj2
= 0 ;
20952 PyObject
* obj3
= 0 ;
20953 PyObject
* obj4
= 0 ;
20954 PyObject
* obj5
= 0 ;
20955 PyObject
* obj6
= 0 ;
20956 char * kwnames
[] = {
20957 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
20962 if (!SWIG_IsOK(res1
)) {
20963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
20965 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
20966 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20967 if (!SWIG_IsOK(res2
)) {
20968 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20970 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20972 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20973 if (!SWIG_IsOK(ecode3
)) {
20974 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
20976 arg3
= static_cast< int >(val3
);
20981 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20987 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20991 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20992 if (!SWIG_IsOK(ecode6
)) {
20993 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
20995 arg6
= static_cast< long >(val6
);
20999 arg7
= wxString_in_helper(obj6
);
21000 if (arg7
== NULL
) SWIG_fail
;
21005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21006 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21007 wxPyEndAllowThreads(__tstate
);
21008 if (PyErr_Occurred()) SWIG_fail
;
21011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21027 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21028 PyObject
*resultobj
= 0;
21029 wxListbook
*arg1
= (wxListbook
*) 0 ;
21030 wxListView
*result
= 0 ;
21033 PyObject
*swig_obj
[1] ;
21035 if (!args
) SWIG_fail
;
21036 swig_obj
[0] = args
;
21037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21038 if (!SWIG_IsOK(res1
)) {
21039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21041 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21044 result
= (wxListView
*)(arg1
)->GetListView();
21045 wxPyEndAllowThreads(__tstate
);
21046 if (PyErr_Occurred()) SWIG_fail
;
21048 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21055 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21057 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21058 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21059 return SWIG_Py_Void();
21062 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21063 return SWIG_Python_InitShadowInstance(args
);
21066 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21067 PyObject
*resultobj
= 0;
21068 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21069 int arg2
= (int) 0 ;
21070 int arg3
= (int) -1 ;
21071 int arg4
= (int) -1 ;
21072 wxListbookEvent
*result
= 0 ;
21081 PyObject
* obj0
= 0 ;
21082 PyObject
* obj1
= 0 ;
21083 PyObject
* obj2
= 0 ;
21084 PyObject
* obj3
= 0 ;
21085 char * kwnames
[] = {
21086 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21091 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21092 if (!SWIG_IsOK(ecode1
)) {
21093 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21095 arg1
= static_cast< wxEventType
>(val1
);
21098 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21099 if (!SWIG_IsOK(ecode2
)) {
21100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21102 arg2
= static_cast< int >(val2
);
21105 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21106 if (!SWIG_IsOK(ecode3
)) {
21107 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21109 arg3
= static_cast< int >(val3
);
21112 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21113 if (!SWIG_IsOK(ecode4
)) {
21114 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21116 arg4
= static_cast< int >(val4
);
21119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21120 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21121 wxPyEndAllowThreads(__tstate
);
21122 if (PyErr_Occurred()) SWIG_fail
;
21124 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21131 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21133 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21134 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21135 return SWIG_Py_Void();
21138 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21139 return SWIG_Python_InitShadowInstance(args
);
21142 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21143 PyObject
*resultobj
= 0;
21144 wxWindow
*arg1
= (wxWindow
*) 0 ;
21146 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21147 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21148 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21149 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21150 long arg5
= (long) 0 ;
21151 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21152 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21153 wxChoicebook
*result
= 0 ;
21162 bool temp6
= false ;
21163 PyObject
* obj0
= 0 ;
21164 PyObject
* obj1
= 0 ;
21165 PyObject
* obj2
= 0 ;
21166 PyObject
* obj3
= 0 ;
21167 PyObject
* obj4
= 0 ;
21168 PyObject
* obj5
= 0 ;
21169 char * kwnames
[] = {
21170 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21175 if (!SWIG_IsOK(res1
)) {
21176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21178 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21179 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21180 if (!SWIG_IsOK(ecode2
)) {
21181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21183 arg2
= static_cast< int >(val2
);
21187 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21193 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21197 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21198 if (!SWIG_IsOK(ecode5
)) {
21199 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21201 arg5
= static_cast< long >(val5
);
21205 arg6
= wxString_in_helper(obj5
);
21206 if (arg6
== NULL
) SWIG_fail
;
21211 if (!wxPyCheckForApp()) SWIG_fail
;
21212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21213 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21214 wxPyEndAllowThreads(__tstate
);
21215 if (PyErr_Occurred()) SWIG_fail
;
21217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21232 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21233 PyObject
*resultobj
= 0;
21234 wxChoicebook
*result
= 0 ;
21236 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21238 if (!wxPyCheckForApp()) SWIG_fail
;
21239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21240 result
= (wxChoicebook
*)new wxChoicebook();
21241 wxPyEndAllowThreads(__tstate
);
21242 if (PyErr_Occurred()) SWIG_fail
;
21244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21251 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21252 PyObject
*resultobj
= 0;
21253 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21254 wxWindow
*arg2
= (wxWindow
*) 0 ;
21256 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21257 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21258 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21259 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21260 long arg6
= (long) 0 ;
21261 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21262 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21274 bool temp7
= false ;
21275 PyObject
* obj0
= 0 ;
21276 PyObject
* obj1
= 0 ;
21277 PyObject
* obj2
= 0 ;
21278 PyObject
* obj3
= 0 ;
21279 PyObject
* obj4
= 0 ;
21280 PyObject
* obj5
= 0 ;
21281 PyObject
* obj6
= 0 ;
21282 char * kwnames
[] = {
21283 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21288 if (!SWIG_IsOK(res1
)) {
21289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21291 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21292 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21293 if (!SWIG_IsOK(res2
)) {
21294 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21296 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21297 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21298 if (!SWIG_IsOK(ecode3
)) {
21299 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21301 arg3
= static_cast< int >(val3
);
21305 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21311 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21315 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21316 if (!SWIG_IsOK(ecode6
)) {
21317 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21319 arg6
= static_cast< long >(val6
);
21323 arg7
= wxString_in_helper(obj6
);
21324 if (arg7
== NULL
) SWIG_fail
;
21329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21330 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21331 wxPyEndAllowThreads(__tstate
);
21332 if (PyErr_Occurred()) SWIG_fail
;
21335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21351 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21352 PyObject
*resultobj
= 0;
21353 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21354 wxChoice
*result
= 0 ;
21357 PyObject
*swig_obj
[1] ;
21359 if (!args
) SWIG_fail
;
21360 swig_obj
[0] = args
;
21361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21362 if (!SWIG_IsOK(res1
)) {
21363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21365 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21368 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21369 wxPyEndAllowThreads(__tstate
);
21370 if (PyErr_Occurred()) SWIG_fail
;
21372 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21379 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21381 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21382 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21383 return SWIG_Py_Void();
21386 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21387 return SWIG_Python_InitShadowInstance(args
);
21390 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21391 PyObject
*resultobj
= 0;
21392 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21393 int arg2
= (int) 0 ;
21394 int arg3
= (int) -1 ;
21395 int arg4
= (int) -1 ;
21396 wxChoicebookEvent
*result
= 0 ;
21405 PyObject
* obj0
= 0 ;
21406 PyObject
* obj1
= 0 ;
21407 PyObject
* obj2
= 0 ;
21408 PyObject
* obj3
= 0 ;
21409 char * kwnames
[] = {
21410 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21415 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21416 if (!SWIG_IsOK(ecode1
)) {
21417 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21419 arg1
= static_cast< wxEventType
>(val1
);
21422 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21423 if (!SWIG_IsOK(ecode2
)) {
21424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21426 arg2
= static_cast< int >(val2
);
21429 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21430 if (!SWIG_IsOK(ecode3
)) {
21431 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21433 arg3
= static_cast< int >(val3
);
21436 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21437 if (!SWIG_IsOK(ecode4
)) {
21438 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21440 arg4
= static_cast< int >(val4
);
21443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21444 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21445 wxPyEndAllowThreads(__tstate
);
21446 if (PyErr_Occurred()) SWIG_fail
;
21448 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21455 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21457 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21458 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21459 return SWIG_Py_Void();
21462 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21463 return SWIG_Python_InitShadowInstance(args
);
21466 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21467 PyObject
*resultobj
= 0;
21468 wxWindow
*arg1
= (wxWindow
*) 0 ;
21470 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21471 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21472 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21473 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21474 long arg5
= (long) wxBK_DEFAULT
;
21475 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21476 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21477 wxTreebook
*result
= 0 ;
21486 bool temp6
= false ;
21487 PyObject
* obj0
= 0 ;
21488 PyObject
* obj1
= 0 ;
21489 PyObject
* obj2
= 0 ;
21490 PyObject
* obj3
= 0 ;
21491 PyObject
* obj4
= 0 ;
21492 PyObject
* obj5
= 0 ;
21493 char * kwnames
[] = {
21494 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21499 if (!SWIG_IsOK(res1
)) {
21500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21502 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21504 if (!SWIG_IsOK(ecode2
)) {
21505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21507 arg2
= static_cast< int >(val2
);
21511 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21517 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21521 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21522 if (!SWIG_IsOK(ecode5
)) {
21523 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21525 arg5
= static_cast< long >(val5
);
21529 arg6
= wxString_in_helper(obj5
);
21530 if (arg6
== NULL
) SWIG_fail
;
21535 if (!wxPyCheckForApp()) SWIG_fail
;
21536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21537 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21538 wxPyEndAllowThreads(__tstate
);
21539 if (PyErr_Occurred()) SWIG_fail
;
21541 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21556 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21557 PyObject
*resultobj
= 0;
21558 wxTreebook
*result
= 0 ;
21560 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21562 if (!wxPyCheckForApp()) SWIG_fail
;
21563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21564 result
= (wxTreebook
*)new wxTreebook();
21565 wxPyEndAllowThreads(__tstate
);
21566 if (PyErr_Occurred()) SWIG_fail
;
21568 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21575 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21576 PyObject
*resultobj
= 0;
21577 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21578 wxWindow
*arg2
= (wxWindow
*) 0 ;
21580 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21581 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21582 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21583 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21584 long arg6
= (long) wxBK_DEFAULT
;
21585 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21586 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21598 bool temp7
= false ;
21599 PyObject
* obj0
= 0 ;
21600 PyObject
* obj1
= 0 ;
21601 PyObject
* obj2
= 0 ;
21602 PyObject
* obj3
= 0 ;
21603 PyObject
* obj4
= 0 ;
21604 PyObject
* obj5
= 0 ;
21605 PyObject
* obj6
= 0 ;
21606 char * kwnames
[] = {
21607 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21612 if (!SWIG_IsOK(res1
)) {
21613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21615 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21616 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21617 if (!SWIG_IsOK(res2
)) {
21618 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21620 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21621 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21622 if (!SWIG_IsOK(ecode3
)) {
21623 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21625 arg3
= static_cast< int >(val3
);
21629 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21635 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21639 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21640 if (!SWIG_IsOK(ecode6
)) {
21641 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21643 arg6
= static_cast< long >(val6
);
21647 arg7
= wxString_in_helper(obj6
);
21648 if (arg7
== NULL
) SWIG_fail
;
21653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21654 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21655 wxPyEndAllowThreads(__tstate
);
21656 if (PyErr_Occurred()) SWIG_fail
;
21659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21675 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21676 PyObject
*resultobj
= 0;
21677 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21679 wxWindow
*arg3
= (wxWindow
*) 0 ;
21680 wxString
*arg4
= 0 ;
21681 bool arg5
= (bool) false ;
21682 int arg6
= (int) wxNOT_FOUND
;
21690 bool temp4
= false ;
21695 PyObject
* obj0
= 0 ;
21696 PyObject
* obj1
= 0 ;
21697 PyObject
* obj2
= 0 ;
21698 PyObject
* obj3
= 0 ;
21699 PyObject
* obj4
= 0 ;
21700 PyObject
* obj5
= 0 ;
21701 char * kwnames
[] = {
21702 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21707 if (!SWIG_IsOK(res1
)) {
21708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21710 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21711 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21712 if (!SWIG_IsOK(ecode2
)) {
21713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
21715 arg2
= static_cast< size_t >(val2
);
21716 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21717 if (!SWIG_IsOK(res3
)) {
21718 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
21720 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
21722 arg4
= wxString_in_helper(obj3
);
21723 if (arg4
== NULL
) SWIG_fail
;
21727 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
21728 if (!SWIG_IsOK(ecode5
)) {
21729 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
21731 arg5
= static_cast< bool >(val5
);
21734 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21735 if (!SWIG_IsOK(ecode6
)) {
21736 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
21738 arg6
= static_cast< int >(val6
);
21741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21742 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
21743 wxPyEndAllowThreads(__tstate
);
21744 if (PyErr_Occurred()) SWIG_fail
;
21747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21763 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21764 PyObject
*resultobj
= 0;
21765 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21766 wxWindow
*arg2
= (wxWindow
*) 0 ;
21767 wxString
*arg3
= 0 ;
21768 bool arg4
= (bool) false ;
21769 int arg5
= (int) wxNOT_FOUND
;
21775 bool temp3
= false ;
21780 PyObject
* obj0
= 0 ;
21781 PyObject
* obj1
= 0 ;
21782 PyObject
* obj2
= 0 ;
21783 PyObject
* obj3
= 0 ;
21784 PyObject
* obj4
= 0 ;
21785 char * kwnames
[] = {
21786 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21791 if (!SWIG_IsOK(res1
)) {
21792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21794 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21795 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21796 if (!SWIG_IsOK(res2
)) {
21797 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
21799 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21801 arg3
= wxString_in_helper(obj2
);
21802 if (arg3
== NULL
) SWIG_fail
;
21806 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
21807 if (!SWIG_IsOK(ecode4
)) {
21808 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
21810 arg4
= static_cast< bool >(val4
);
21813 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21814 if (!SWIG_IsOK(ecode5
)) {
21815 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
21817 arg5
= static_cast< int >(val5
);
21820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21821 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
21822 wxPyEndAllowThreads(__tstate
);
21823 if (PyErr_Occurred()) SWIG_fail
;
21826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21842 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21843 PyObject
*resultobj
= 0;
21844 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21851 PyObject
* obj0
= 0 ;
21852 PyObject
* obj1
= 0 ;
21853 char * kwnames
[] = {
21854 (char *) "self",(char *) "pos", NULL
21857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21859 if (!SWIG_IsOK(res1
)) {
21860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21862 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21863 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21864 if (!SWIG_IsOK(ecode2
)) {
21865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
21867 arg2
= static_cast< size_t >(val2
);
21869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21870 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
21871 wxPyEndAllowThreads(__tstate
);
21872 if (PyErr_Occurred()) SWIG_fail
;
21875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21883 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21884 PyObject
*resultobj
= 0;
21885 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21887 bool arg3
= (bool) true ;
21895 PyObject
* obj0
= 0 ;
21896 PyObject
* obj1
= 0 ;
21897 PyObject
* obj2
= 0 ;
21898 char * kwnames
[] = {
21899 (char *) "self",(char *) "pos",(char *) "expand", NULL
21902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21904 if (!SWIG_IsOK(res1
)) {
21905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21907 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21908 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21909 if (!SWIG_IsOK(ecode2
)) {
21910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
21912 arg2
= static_cast< size_t >(val2
);
21914 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21915 if (!SWIG_IsOK(ecode3
)) {
21916 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
21918 arg3
= static_cast< bool >(val3
);
21921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21922 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
21923 wxPyEndAllowThreads(__tstate
);
21924 if (PyErr_Occurred()) SWIG_fail
;
21927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21935 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21936 PyObject
*resultobj
= 0;
21937 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21944 PyObject
* obj0
= 0 ;
21945 PyObject
* obj1
= 0 ;
21946 char * kwnames
[] = {
21947 (char *) "self",(char *) "pos", NULL
21950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21952 if (!SWIG_IsOK(res1
)) {
21953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21955 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21956 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21957 if (!SWIG_IsOK(ecode2
)) {
21958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
21960 arg2
= static_cast< size_t >(val2
);
21962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21963 result
= (bool)(arg1
)->CollapseNode(arg2
);
21964 wxPyEndAllowThreads(__tstate
);
21965 if (PyErr_Occurred()) SWIG_fail
;
21968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21976 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21977 PyObject
*resultobj
= 0;
21978 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21985 PyObject
* obj0
= 0 ;
21986 PyObject
* obj1
= 0 ;
21987 char * kwnames
[] = {
21988 (char *) "self",(char *) "pos", NULL
21991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21993 if (!SWIG_IsOK(res1
)) {
21994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21996 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21997 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21998 if (!SWIG_IsOK(ecode2
)) {
21999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22001 arg2
= static_cast< size_t >(val2
);
22003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22004 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22005 wxPyEndAllowThreads(__tstate
);
22006 if (PyErr_Occurred()) SWIG_fail
;
22008 resultobj
= SWIG_From_int(static_cast< int >(result
));
22015 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22016 PyObject
*resultobj
= 0;
22017 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22018 wxTreeCtrl
*result
= 0 ;
22021 PyObject
*swig_obj
[1] ;
22023 if (!args
) SWIG_fail
;
22024 swig_obj
[0] = args
;
22025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22026 if (!SWIG_IsOK(res1
)) {
22027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22029 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22032 result
= (wxTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22033 wxPyEndAllowThreads(__tstate
);
22034 if (PyErr_Occurred()) SWIG_fail
;
22036 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeCtrl
, 0 | 0 );
22043 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22045 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22046 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22047 return SWIG_Py_Void();
22050 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22051 return SWIG_Python_InitShadowInstance(args
);
22054 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22055 PyObject
*resultobj
= 0;
22056 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22057 int arg2
= (int) 0 ;
22058 int arg3
= (int) wxNOT_FOUND
;
22059 int arg4
= (int) wxNOT_FOUND
;
22060 wxTreebookEvent
*result
= 0 ;
22069 PyObject
* obj0
= 0 ;
22070 PyObject
* obj1
= 0 ;
22071 PyObject
* obj2
= 0 ;
22072 PyObject
* obj3
= 0 ;
22073 char * kwnames
[] = {
22074 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22079 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22080 if (!SWIG_IsOK(ecode1
)) {
22081 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22083 arg1
= static_cast< wxEventType
>(val1
);
22086 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22087 if (!SWIG_IsOK(ecode2
)) {
22088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22090 arg2
= static_cast< int >(val2
);
22093 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22094 if (!SWIG_IsOK(ecode3
)) {
22095 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22097 arg3
= static_cast< int >(val3
);
22100 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22101 if (!SWIG_IsOK(ecode4
)) {
22102 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22104 arg4
= static_cast< int >(val4
);
22107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22108 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22109 wxPyEndAllowThreads(__tstate
);
22110 if (PyErr_Occurred()) SWIG_fail
;
22112 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22119 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22121 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22122 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22123 return SWIG_Py_Void();
22126 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22127 return SWIG_Python_InitShadowInstance(args
);
22130 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22131 PyObject
*resultobj
= 0;
22132 wxWindow
*arg1
= (wxWindow
*) 0 ;
22134 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22135 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22136 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22137 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22138 long arg5
= (long) wxBK_DEFAULT
;
22139 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22140 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22141 wxToolbook
*result
= 0 ;
22150 bool temp6
= false ;
22151 PyObject
* obj0
= 0 ;
22152 PyObject
* obj1
= 0 ;
22153 PyObject
* obj2
= 0 ;
22154 PyObject
* obj3
= 0 ;
22155 PyObject
* obj4
= 0 ;
22156 PyObject
* obj5
= 0 ;
22157 char * kwnames
[] = {
22158 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22163 if (!SWIG_IsOK(res1
)) {
22164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22166 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22168 if (!SWIG_IsOK(ecode2
)) {
22169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22171 arg2
= static_cast< int >(val2
);
22175 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22181 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22185 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22186 if (!SWIG_IsOK(ecode5
)) {
22187 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22189 arg5
= static_cast< long >(val5
);
22193 arg6
= wxString_in_helper(obj5
);
22194 if (arg6
== NULL
) SWIG_fail
;
22199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22200 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22201 wxPyEndAllowThreads(__tstate
);
22202 if (PyErr_Occurred()) SWIG_fail
;
22204 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22219 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22220 PyObject
*resultobj
= 0;
22221 wxToolbook
*result
= 0 ;
22223 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22226 result
= (wxToolbook
*)new wxToolbook();
22227 wxPyEndAllowThreads(__tstate
);
22228 if (PyErr_Occurred()) SWIG_fail
;
22230 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22237 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22238 PyObject
*resultobj
= 0;
22239 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22240 wxWindow
*arg2
= (wxWindow
*) 0 ;
22242 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22243 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22244 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22245 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22246 long arg6
= (long) 0 ;
22247 wxString
const &arg7_defvalue
= wxEmptyString
;
22248 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22260 bool temp7
= false ;
22261 PyObject
* obj0
= 0 ;
22262 PyObject
* obj1
= 0 ;
22263 PyObject
* obj2
= 0 ;
22264 PyObject
* obj3
= 0 ;
22265 PyObject
* obj4
= 0 ;
22266 PyObject
* obj5
= 0 ;
22267 PyObject
* obj6
= 0 ;
22268 char * kwnames
[] = {
22269 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22274 if (!SWIG_IsOK(res1
)) {
22275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22277 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22278 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22279 if (!SWIG_IsOK(res2
)) {
22280 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22282 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22283 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22284 if (!SWIG_IsOK(ecode3
)) {
22285 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22287 arg3
= static_cast< int >(val3
);
22291 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22297 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22301 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22302 if (!SWIG_IsOK(ecode6
)) {
22303 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22305 arg6
= static_cast< long >(val6
);
22309 arg7
= wxString_in_helper(obj6
);
22310 if (arg7
== NULL
) SWIG_fail
;
22315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22316 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22317 wxPyEndAllowThreads(__tstate
);
22318 if (PyErr_Occurred()) SWIG_fail
;
22321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22337 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22338 PyObject
*resultobj
= 0;
22339 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22340 wxToolBarBase
*result
= 0 ;
22343 PyObject
*swig_obj
[1] ;
22345 if (!args
) SWIG_fail
;
22346 swig_obj
[0] = args
;
22347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22348 if (!SWIG_IsOK(res1
)) {
22349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22351 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22354 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22355 wxPyEndAllowThreads(__tstate
);
22356 if (PyErr_Occurred()) SWIG_fail
;
22359 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22367 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22368 PyObject
*resultobj
= 0;
22369 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22372 PyObject
*swig_obj
[1] ;
22374 if (!args
) SWIG_fail
;
22375 swig_obj
[0] = args
;
22376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22377 if (!SWIG_IsOK(res1
)) {
22378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22380 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22384 wxPyEndAllowThreads(__tstate
);
22385 if (PyErr_Occurred()) SWIG_fail
;
22387 resultobj
= SWIG_Py_Void();
22394 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22396 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22397 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22398 return SWIG_Py_Void();
22401 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22402 return SWIG_Python_InitShadowInstance(args
);
22405 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22406 PyObject
*resultobj
= 0;
22407 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22408 int arg2
= (int) 0 ;
22409 int arg3
= (int) wxNOT_FOUND
;
22410 int arg4
= (int) wxNOT_FOUND
;
22411 wxToolbookEvent
*result
= 0 ;
22420 PyObject
* obj0
= 0 ;
22421 PyObject
* obj1
= 0 ;
22422 PyObject
* obj2
= 0 ;
22423 PyObject
* obj3
= 0 ;
22424 char * kwnames
[] = {
22425 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22430 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22431 if (!SWIG_IsOK(ecode1
)) {
22432 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22434 arg1
= static_cast< wxEventType
>(val1
);
22437 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22438 if (!SWIG_IsOK(ecode2
)) {
22439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22441 arg2
= static_cast< int >(val2
);
22444 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22445 if (!SWIG_IsOK(ecode3
)) {
22446 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22448 arg3
= static_cast< int >(val3
);
22451 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22452 if (!SWIG_IsOK(ecode4
)) {
22453 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22455 arg4
= static_cast< int >(val4
);
22458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22459 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22460 wxPyEndAllowThreads(__tstate
);
22461 if (PyErr_Occurred()) SWIG_fail
;
22463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22470 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22472 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22473 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22474 return SWIG_Py_Void();
22477 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22478 return SWIG_Python_InitShadowInstance(args
);
22481 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22482 PyObject
*resultobj
= 0;
22483 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22487 PyObject
*swig_obj
[1] ;
22489 if (!args
) SWIG_fail
;
22490 swig_obj
[0] = args
;
22491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22492 if (!SWIG_IsOK(res1
)) {
22493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22495 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22498 result
= (int)(arg1
)->GetId();
22499 wxPyEndAllowThreads(__tstate
);
22500 if (PyErr_Occurred()) SWIG_fail
;
22502 resultobj
= SWIG_From_int(static_cast< int >(result
));
22509 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22510 PyObject
*resultobj
= 0;
22511 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22512 wxControl
*result
= 0 ;
22515 PyObject
*swig_obj
[1] ;
22517 if (!args
) SWIG_fail
;
22518 swig_obj
[0] = args
;
22519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22520 if (!SWIG_IsOK(res1
)) {
22521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22523 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22526 result
= (wxControl
*)(arg1
)->GetControl();
22527 wxPyEndAllowThreads(__tstate
);
22528 if (PyErr_Occurred()) SWIG_fail
;
22531 resultobj
= wxPyMake_wxObject(result
, 0);
22539 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22540 PyObject
*resultobj
= 0;
22541 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22542 wxToolBarBase
*result
= 0 ;
22545 PyObject
*swig_obj
[1] ;
22547 if (!args
) SWIG_fail
;
22548 swig_obj
[0] = args
;
22549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22550 if (!SWIG_IsOK(res1
)) {
22551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22553 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22556 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22557 wxPyEndAllowThreads(__tstate
);
22558 if (PyErr_Occurred()) SWIG_fail
;
22561 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22569 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22570 PyObject
*resultobj
= 0;
22571 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22575 PyObject
*swig_obj
[1] ;
22577 if (!args
) SWIG_fail
;
22578 swig_obj
[0] = args
;
22579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22580 if (!SWIG_IsOK(res1
)) {
22581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22583 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22586 result
= (int)(arg1
)->IsButton();
22587 wxPyEndAllowThreads(__tstate
);
22588 if (PyErr_Occurred()) SWIG_fail
;
22590 resultobj
= SWIG_From_int(static_cast< int >(result
));
22597 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22598 PyObject
*resultobj
= 0;
22599 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22603 PyObject
*swig_obj
[1] ;
22605 if (!args
) SWIG_fail
;
22606 swig_obj
[0] = args
;
22607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22608 if (!SWIG_IsOK(res1
)) {
22609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22611 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22614 result
= (int)(arg1
)->IsControl();
22615 wxPyEndAllowThreads(__tstate
);
22616 if (PyErr_Occurred()) SWIG_fail
;
22618 resultobj
= SWIG_From_int(static_cast< int >(result
));
22625 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22626 PyObject
*resultobj
= 0;
22627 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22631 PyObject
*swig_obj
[1] ;
22633 if (!args
) SWIG_fail
;
22634 swig_obj
[0] = args
;
22635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22636 if (!SWIG_IsOK(res1
)) {
22637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22639 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22642 result
= (int)(arg1
)->IsSeparator();
22643 wxPyEndAllowThreads(__tstate
);
22644 if (PyErr_Occurred()) SWIG_fail
;
22646 resultobj
= SWIG_From_int(static_cast< int >(result
));
22653 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22654 PyObject
*resultobj
= 0;
22655 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22659 PyObject
*swig_obj
[1] ;
22661 if (!args
) SWIG_fail
;
22662 swig_obj
[0] = args
;
22663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22664 if (!SWIG_IsOK(res1
)) {
22665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22667 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22670 result
= (int)(arg1
)->GetStyle();
22671 wxPyEndAllowThreads(__tstate
);
22672 if (PyErr_Occurred()) SWIG_fail
;
22674 resultobj
= SWIG_From_int(static_cast< int >(result
));
22681 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22682 PyObject
*resultobj
= 0;
22683 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22687 PyObject
*swig_obj
[1] ;
22689 if (!args
) SWIG_fail
;
22690 swig_obj
[0] = args
;
22691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22692 if (!SWIG_IsOK(res1
)) {
22693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22695 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22698 result
= (wxItemKind
)(arg1
)->GetKind();
22699 wxPyEndAllowThreads(__tstate
);
22700 if (PyErr_Occurred()) SWIG_fail
;
22702 resultobj
= SWIG_From_int(static_cast< int >(result
));
22709 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22710 PyObject
*resultobj
= 0;
22711 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22715 PyObject
*swig_obj
[1] ;
22717 if (!args
) SWIG_fail
;
22718 swig_obj
[0] = args
;
22719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22720 if (!SWIG_IsOK(res1
)) {
22721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22723 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22726 result
= (bool)(arg1
)->IsEnabled();
22727 wxPyEndAllowThreads(__tstate
);
22728 if (PyErr_Occurred()) SWIG_fail
;
22731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22739 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22740 PyObject
*resultobj
= 0;
22741 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22745 PyObject
*swig_obj
[1] ;
22747 if (!args
) SWIG_fail
;
22748 swig_obj
[0] = args
;
22749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22750 if (!SWIG_IsOK(res1
)) {
22751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22753 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22756 result
= (bool)(arg1
)->IsToggled();
22757 wxPyEndAllowThreads(__tstate
);
22758 if (PyErr_Occurred()) SWIG_fail
;
22761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22769 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22770 PyObject
*resultobj
= 0;
22771 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22775 PyObject
*swig_obj
[1] ;
22777 if (!args
) SWIG_fail
;
22778 swig_obj
[0] = args
;
22779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22780 if (!SWIG_IsOK(res1
)) {
22781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22783 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22786 result
= (bool)(arg1
)->CanBeToggled();
22787 wxPyEndAllowThreads(__tstate
);
22788 if (PyErr_Occurred()) SWIG_fail
;
22791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22799 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22800 PyObject
*resultobj
= 0;
22801 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22802 wxBitmap
*result
= 0 ;
22805 PyObject
*swig_obj
[1] ;
22807 if (!args
) SWIG_fail
;
22808 swig_obj
[0] = args
;
22809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22810 if (!SWIG_IsOK(res1
)) {
22811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22813 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22817 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
22818 result
= (wxBitmap
*) &_result_ref
;
22820 wxPyEndAllowThreads(__tstate
);
22821 if (PyErr_Occurred()) SWIG_fail
;
22824 wxBitmap
* resultptr
= new wxBitmap(*result
);
22825 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22833 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22834 PyObject
*resultobj
= 0;
22835 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22836 wxBitmap
*result
= 0 ;
22839 PyObject
*swig_obj
[1] ;
22841 if (!args
) SWIG_fail
;
22842 swig_obj
[0] = args
;
22843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22844 if (!SWIG_IsOK(res1
)) {
22845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22847 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22851 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
22852 result
= (wxBitmap
*) &_result_ref
;
22854 wxPyEndAllowThreads(__tstate
);
22855 if (PyErr_Occurred()) SWIG_fail
;
22858 wxBitmap
* resultptr
= new wxBitmap(*result
);
22859 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22867 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22868 PyObject
*resultobj
= 0;
22869 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22873 PyObject
*swig_obj
[1] ;
22875 if (!args
) SWIG_fail
;
22876 swig_obj
[0] = args
;
22877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22878 if (!SWIG_IsOK(res1
)) {
22879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22881 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22884 result
= (arg1
)->GetBitmap();
22885 wxPyEndAllowThreads(__tstate
);
22886 if (PyErr_Occurred()) SWIG_fail
;
22888 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
22895 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22896 PyObject
*resultobj
= 0;
22897 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22901 PyObject
*swig_obj
[1] ;
22903 if (!args
) SWIG_fail
;
22904 swig_obj
[0] = args
;
22905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22906 if (!SWIG_IsOK(res1
)) {
22907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22909 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22912 result
= (arg1
)->GetLabel();
22913 wxPyEndAllowThreads(__tstate
);
22914 if (PyErr_Occurred()) SWIG_fail
;
22918 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22920 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22929 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22930 PyObject
*resultobj
= 0;
22931 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22935 PyObject
*swig_obj
[1] ;
22937 if (!args
) SWIG_fail
;
22938 swig_obj
[0] = args
;
22939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22940 if (!SWIG_IsOK(res1
)) {
22941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22943 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22946 result
= (arg1
)->GetShortHelp();
22947 wxPyEndAllowThreads(__tstate
);
22948 if (PyErr_Occurred()) SWIG_fail
;
22952 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22954 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22963 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22964 PyObject
*resultobj
= 0;
22965 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22969 PyObject
*swig_obj
[1] ;
22971 if (!args
) SWIG_fail
;
22972 swig_obj
[0] = args
;
22973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22974 if (!SWIG_IsOK(res1
)) {
22975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22977 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22980 result
= (arg1
)->GetLongHelp();
22981 wxPyEndAllowThreads(__tstate
);
22982 if (PyErr_Occurred()) SWIG_fail
;
22986 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22988 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22997 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22998 PyObject
*resultobj
= 0;
22999 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23006 PyObject
* obj0
= 0 ;
23007 PyObject
* obj1
= 0 ;
23008 char * kwnames
[] = {
23009 (char *) "self",(char *) "enable", NULL
23012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23014 if (!SWIG_IsOK(res1
)) {
23015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23017 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23018 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23019 if (!SWIG_IsOK(ecode2
)) {
23020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23022 arg2
= static_cast< bool >(val2
);
23024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23025 result
= (bool)(arg1
)->Enable(arg2
);
23026 wxPyEndAllowThreads(__tstate
);
23027 if (PyErr_Occurred()) SWIG_fail
;
23030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23038 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23039 PyObject
*resultobj
= 0;
23040 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23043 PyObject
*swig_obj
[1] ;
23045 if (!args
) SWIG_fail
;
23046 swig_obj
[0] = args
;
23047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23048 if (!SWIG_IsOK(res1
)) {
23049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23051 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23055 wxPyEndAllowThreads(__tstate
);
23056 if (PyErr_Occurred()) SWIG_fail
;
23058 resultobj
= SWIG_Py_Void();
23065 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23066 PyObject
*resultobj
= 0;
23067 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23074 PyObject
* obj0
= 0 ;
23075 PyObject
* obj1
= 0 ;
23076 char * kwnames
[] = {
23077 (char *) "self",(char *) "toggle", NULL
23080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23082 if (!SWIG_IsOK(res1
)) {
23083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23085 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23086 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23087 if (!SWIG_IsOK(ecode2
)) {
23088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23090 arg2
= static_cast< bool >(val2
);
23092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23093 result
= (bool)(arg1
)->SetToggle(arg2
);
23094 wxPyEndAllowThreads(__tstate
);
23095 if (PyErr_Occurred()) SWIG_fail
;
23098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23106 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23107 PyObject
*resultobj
= 0;
23108 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23109 wxString
*arg2
= 0 ;
23113 bool temp2
= false ;
23114 PyObject
* obj0
= 0 ;
23115 PyObject
* obj1
= 0 ;
23116 char * kwnames
[] = {
23117 (char *) "self",(char *) "help", NULL
23120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23122 if (!SWIG_IsOK(res1
)) {
23123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23125 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23127 arg2
= wxString_in_helper(obj1
);
23128 if (arg2
== NULL
) SWIG_fail
;
23132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23133 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23134 wxPyEndAllowThreads(__tstate
);
23135 if (PyErr_Occurred()) SWIG_fail
;
23138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23154 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23155 PyObject
*resultobj
= 0;
23156 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23157 wxString
*arg2
= 0 ;
23161 bool temp2
= false ;
23162 PyObject
* obj0
= 0 ;
23163 PyObject
* obj1
= 0 ;
23164 char * kwnames
[] = {
23165 (char *) "self",(char *) "help", NULL
23168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23170 if (!SWIG_IsOK(res1
)) {
23171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23173 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23175 arg2
= wxString_in_helper(obj1
);
23176 if (arg2
== NULL
) SWIG_fail
;
23180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23181 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23182 wxPyEndAllowThreads(__tstate
);
23183 if (PyErr_Occurred()) SWIG_fail
;
23186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23202 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23203 PyObject
*resultobj
= 0;
23204 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23205 wxBitmap
*arg2
= 0 ;
23210 PyObject
* obj0
= 0 ;
23211 PyObject
* obj1
= 0 ;
23212 char * kwnames
[] = {
23213 (char *) "self",(char *) "bmp", NULL
23216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23218 if (!SWIG_IsOK(res1
)) {
23219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23221 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23222 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23223 if (!SWIG_IsOK(res2
)) {
23224 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23227 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23229 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23232 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23233 wxPyEndAllowThreads(__tstate
);
23234 if (PyErr_Occurred()) SWIG_fail
;
23236 resultobj
= SWIG_Py_Void();
23243 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23244 PyObject
*resultobj
= 0;
23245 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23246 wxBitmap
*arg2
= 0 ;
23251 PyObject
* obj0
= 0 ;
23252 PyObject
* obj1
= 0 ;
23253 char * kwnames
[] = {
23254 (char *) "self",(char *) "bmp", NULL
23257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23259 if (!SWIG_IsOK(res1
)) {
23260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23262 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23263 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23264 if (!SWIG_IsOK(res2
)) {
23265 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23268 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23270 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23273 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23274 wxPyEndAllowThreads(__tstate
);
23275 if (PyErr_Occurred()) SWIG_fail
;
23277 resultobj
= SWIG_Py_Void();
23284 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23285 PyObject
*resultobj
= 0;
23286 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23287 wxString
*arg2
= 0 ;
23290 bool temp2
= false ;
23291 PyObject
* obj0
= 0 ;
23292 PyObject
* obj1
= 0 ;
23293 char * kwnames
[] = {
23294 (char *) "self",(char *) "label", NULL
23297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23299 if (!SWIG_IsOK(res1
)) {
23300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23302 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23304 arg2
= wxString_in_helper(obj1
);
23305 if (arg2
== NULL
) SWIG_fail
;
23309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23310 (arg1
)->SetLabel((wxString
const &)*arg2
);
23311 wxPyEndAllowThreads(__tstate
);
23312 if (PyErr_Occurred()) SWIG_fail
;
23314 resultobj
= SWIG_Py_Void();
23329 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23330 PyObject
*resultobj
= 0;
23331 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23334 PyObject
*swig_obj
[1] ;
23336 if (!args
) SWIG_fail
;
23337 swig_obj
[0] = args
;
23338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23339 if (!SWIG_IsOK(res1
)) {
23340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23342 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23346 wxPyEndAllowThreads(__tstate
);
23347 if (PyErr_Occurred()) SWIG_fail
;
23349 resultobj
= SWIG_Py_Void();
23356 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23357 PyObject
*resultobj
= 0;
23358 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23359 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23364 PyObject
* obj0
= 0 ;
23365 PyObject
* obj1
= 0 ;
23366 char * kwnames
[] = {
23367 (char *) "self",(char *) "tbar", NULL
23370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23372 if (!SWIG_IsOK(res1
)) {
23373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23375 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23376 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23377 if (!SWIG_IsOK(res2
)) {
23378 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23380 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23383 (arg1
)->Attach(arg2
);
23384 wxPyEndAllowThreads(__tstate
);
23385 if (PyErr_Occurred()) SWIG_fail
;
23387 resultobj
= SWIG_Py_Void();
23394 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23395 PyObject
*resultobj
= 0;
23396 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23397 PyObject
*result
= 0 ;
23400 PyObject
*swig_obj
[1] ;
23402 if (!args
) SWIG_fail
;
23403 swig_obj
[0] = args
;
23404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23405 if (!SWIG_IsOK(res1
)) {
23406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23408 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23411 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23412 wxPyEndAllowThreads(__tstate
);
23413 if (PyErr_Occurred()) SWIG_fail
;
23415 resultobj
= result
;
23422 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23423 PyObject
*resultobj
= 0;
23424 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23425 PyObject
*arg2
= (PyObject
*) 0 ;
23428 PyObject
* obj0
= 0 ;
23429 PyObject
* obj1
= 0 ;
23430 char * kwnames
[] = {
23431 (char *) "self",(char *) "clientData", NULL
23434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23436 if (!SWIG_IsOK(res1
)) {
23437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23439 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23443 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23444 wxPyEndAllowThreads(__tstate
);
23445 if (PyErr_Occurred()) SWIG_fail
;
23447 resultobj
= SWIG_Py_Void();
23454 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23456 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23457 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23458 return SWIG_Py_Void();
23461 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23462 PyObject
*resultobj
= 0;
23463 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23465 wxString
*arg3
= 0 ;
23466 wxBitmap
*arg4
= 0 ;
23467 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23468 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23469 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23470 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23471 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23472 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23473 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23474 PyObject
*arg9
= (PyObject
*) NULL
;
23475 wxToolBarToolBase
*result
= 0 ;
23480 bool temp3
= false ;
23487 bool temp7
= false ;
23488 bool temp8
= false ;
23489 PyObject
* obj0
= 0 ;
23490 PyObject
* obj1
= 0 ;
23491 PyObject
* obj2
= 0 ;
23492 PyObject
* obj3
= 0 ;
23493 PyObject
* obj4
= 0 ;
23494 PyObject
* obj5
= 0 ;
23495 PyObject
* obj6
= 0 ;
23496 PyObject
* obj7
= 0 ;
23497 PyObject
* obj8
= 0 ;
23498 char * kwnames
[] = {
23499 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23504 if (!SWIG_IsOK(res1
)) {
23505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23507 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23508 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23509 if (!SWIG_IsOK(ecode2
)) {
23510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23512 arg2
= static_cast< int >(val2
);
23514 arg3
= wxString_in_helper(obj2
);
23515 if (arg3
== NULL
) SWIG_fail
;
23518 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23519 if (!SWIG_IsOK(res4
)) {
23520 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23523 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23525 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23527 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23528 if (!SWIG_IsOK(res5
)) {
23529 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23532 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23534 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23537 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23538 if (!SWIG_IsOK(ecode6
)) {
23539 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23541 arg6
= static_cast< wxItemKind
>(val6
);
23545 arg7
= wxString_in_helper(obj6
);
23546 if (arg7
== NULL
) SWIG_fail
;
23552 arg8
= wxString_in_helper(obj7
);
23553 if (arg8
== NULL
) SWIG_fail
;
23561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23562 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23563 wxPyEndAllowThreads(__tstate
);
23564 if (PyErr_Occurred()) SWIG_fail
;
23567 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23599 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23600 PyObject
*resultobj
= 0;
23601 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23604 wxString
*arg4
= 0 ;
23605 wxBitmap
*arg5
= 0 ;
23606 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23607 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23608 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23609 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23610 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23611 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23612 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23613 PyObject
*arg10
= (PyObject
*) NULL
;
23614 wxToolBarToolBase
*result
= 0 ;
23621 bool temp4
= false ;
23628 bool temp8
= false ;
23629 bool temp9
= false ;
23630 PyObject
* obj0
= 0 ;
23631 PyObject
* obj1
= 0 ;
23632 PyObject
* obj2
= 0 ;
23633 PyObject
* obj3
= 0 ;
23634 PyObject
* obj4
= 0 ;
23635 PyObject
* obj5
= 0 ;
23636 PyObject
* obj6
= 0 ;
23637 PyObject
* obj7
= 0 ;
23638 PyObject
* obj8
= 0 ;
23639 PyObject
* obj9
= 0 ;
23640 char * kwnames
[] = {
23641 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23646 if (!SWIG_IsOK(res1
)) {
23647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23649 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23650 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23651 if (!SWIG_IsOK(ecode2
)) {
23652 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23654 arg2
= static_cast< size_t >(val2
);
23655 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23656 if (!SWIG_IsOK(ecode3
)) {
23657 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23659 arg3
= static_cast< int >(val3
);
23661 arg4
= wxString_in_helper(obj3
);
23662 if (arg4
== NULL
) SWIG_fail
;
23665 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23666 if (!SWIG_IsOK(res5
)) {
23667 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23670 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23672 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23674 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23675 if (!SWIG_IsOK(res6
)) {
23676 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23679 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23681 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
23684 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23685 if (!SWIG_IsOK(ecode7
)) {
23686 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23688 arg7
= static_cast< wxItemKind
>(val7
);
23692 arg8
= wxString_in_helper(obj7
);
23693 if (arg8
== NULL
) SWIG_fail
;
23699 arg9
= wxString_in_helper(obj8
);
23700 if (arg9
== NULL
) SWIG_fail
;
23708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23709 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
23710 wxPyEndAllowThreads(__tstate
);
23711 if (PyErr_Occurred()) SWIG_fail
;
23714 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23746 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23747 PyObject
*resultobj
= 0;
23748 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23749 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
23750 wxToolBarToolBase
*result
= 0 ;
23755 PyObject
* obj0
= 0 ;
23756 PyObject
* obj1
= 0 ;
23757 char * kwnames
[] = {
23758 (char *) "self",(char *) "tool", NULL
23761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23763 if (!SWIG_IsOK(res1
)) {
23764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23766 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23767 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23768 if (!SWIG_IsOK(res2
)) {
23769 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
23771 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
23773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23774 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
23775 wxPyEndAllowThreads(__tstate
);
23776 if (PyErr_Occurred()) SWIG_fail
;
23779 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23787 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23788 PyObject
*resultobj
= 0;
23789 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23791 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
23792 wxToolBarToolBase
*result
= 0 ;
23799 PyObject
* obj0
= 0 ;
23800 PyObject
* obj1
= 0 ;
23801 PyObject
* obj2
= 0 ;
23802 char * kwnames
[] = {
23803 (char *) "self",(char *) "pos",(char *) "tool", NULL
23806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23808 if (!SWIG_IsOK(res1
)) {
23809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23811 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23812 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23813 if (!SWIG_IsOK(ecode2
)) {
23814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
23816 arg2
= static_cast< size_t >(val2
);
23817 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23818 if (!SWIG_IsOK(res3
)) {
23819 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
23821 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
23823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23824 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
23825 wxPyEndAllowThreads(__tstate
);
23826 if (PyErr_Occurred()) SWIG_fail
;
23829 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23837 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23838 PyObject
*resultobj
= 0;
23839 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23840 wxControl
*arg2
= (wxControl
*) 0 ;
23841 wxToolBarToolBase
*result
= 0 ;
23846 PyObject
* obj0
= 0 ;
23847 PyObject
* obj1
= 0 ;
23848 char * kwnames
[] = {
23849 (char *) "self",(char *) "control", NULL
23852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23854 if (!SWIG_IsOK(res1
)) {
23855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23857 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23858 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
23859 if (!SWIG_IsOK(res2
)) {
23860 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
23862 arg2
= reinterpret_cast< wxControl
* >(argp2
);
23864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23865 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
23866 wxPyEndAllowThreads(__tstate
);
23867 if (PyErr_Occurred()) SWIG_fail
;
23870 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23878 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23879 PyObject
*resultobj
= 0;
23880 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23882 wxControl
*arg3
= (wxControl
*) 0 ;
23883 wxToolBarToolBase
*result
= 0 ;
23890 PyObject
* obj0
= 0 ;
23891 PyObject
* obj1
= 0 ;
23892 PyObject
* obj2
= 0 ;
23893 char * kwnames
[] = {
23894 (char *) "self",(char *) "pos",(char *) "control", NULL
23897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23899 if (!SWIG_IsOK(res1
)) {
23900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23902 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23903 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23904 if (!SWIG_IsOK(ecode2
)) {
23905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
23907 arg2
= static_cast< size_t >(val2
);
23908 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
23909 if (!SWIG_IsOK(res3
)) {
23910 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
23912 arg3
= reinterpret_cast< wxControl
* >(argp3
);
23914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23915 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
23916 wxPyEndAllowThreads(__tstate
);
23917 if (PyErr_Occurred()) SWIG_fail
;
23920 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23928 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23929 PyObject
*resultobj
= 0;
23930 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23932 wxControl
*result
= 0 ;
23937 PyObject
* obj0
= 0 ;
23938 PyObject
* obj1
= 0 ;
23939 char * kwnames
[] = {
23940 (char *) "self",(char *) "id", NULL
23943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23945 if (!SWIG_IsOK(res1
)) {
23946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23948 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23949 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23950 if (!SWIG_IsOK(ecode2
)) {
23951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
23953 arg2
= static_cast< int >(val2
);
23955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23956 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
23957 wxPyEndAllowThreads(__tstate
);
23958 if (PyErr_Occurred()) SWIG_fail
;
23961 resultobj
= wxPyMake_wxObject(result
, 0);
23969 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23970 PyObject
*resultobj
= 0;
23971 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23972 wxToolBarToolBase
*result
= 0 ;
23975 PyObject
*swig_obj
[1] ;
23977 if (!args
) SWIG_fail
;
23978 swig_obj
[0] = args
;
23979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23980 if (!SWIG_IsOK(res1
)) {
23981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23983 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23986 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
23987 wxPyEndAllowThreads(__tstate
);
23988 if (PyErr_Occurred()) SWIG_fail
;
23991 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23999 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24000 PyObject
*resultobj
= 0;
24001 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24003 wxToolBarToolBase
*result
= 0 ;
24008 PyObject
* obj0
= 0 ;
24009 PyObject
* obj1
= 0 ;
24010 char * kwnames
[] = {
24011 (char *) "self",(char *) "pos", NULL
24014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24016 if (!SWIG_IsOK(res1
)) {
24017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24019 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24020 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24021 if (!SWIG_IsOK(ecode2
)) {
24022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24024 arg2
= static_cast< size_t >(val2
);
24026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24027 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24028 wxPyEndAllowThreads(__tstate
);
24029 if (PyErr_Occurred()) SWIG_fail
;
24032 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24040 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24041 PyObject
*resultobj
= 0;
24042 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24044 wxToolBarToolBase
*result
= 0 ;
24049 PyObject
* obj0
= 0 ;
24050 PyObject
* obj1
= 0 ;
24051 char * kwnames
[] = {
24052 (char *) "self",(char *) "id", NULL
24055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24057 if (!SWIG_IsOK(res1
)) {
24058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24060 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24061 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24062 if (!SWIG_IsOK(ecode2
)) {
24063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24065 arg2
= static_cast< int >(val2
);
24067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24068 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24069 wxPyEndAllowThreads(__tstate
);
24070 if (PyErr_Occurred()) SWIG_fail
;
24073 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24081 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24082 PyObject
*resultobj
= 0;
24083 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24090 PyObject
* obj0
= 0 ;
24091 PyObject
* obj1
= 0 ;
24092 char * kwnames
[] = {
24093 (char *) "self",(char *) "pos", NULL
24096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24098 if (!SWIG_IsOK(res1
)) {
24099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24101 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24102 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24103 if (!SWIG_IsOK(ecode2
)) {
24104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24106 arg2
= static_cast< size_t >(val2
);
24108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24109 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24110 wxPyEndAllowThreads(__tstate
);
24111 if (PyErr_Occurred()) SWIG_fail
;
24114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24122 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24123 PyObject
*resultobj
= 0;
24124 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24131 PyObject
* obj0
= 0 ;
24132 PyObject
* obj1
= 0 ;
24133 char * kwnames
[] = {
24134 (char *) "self",(char *) "id", NULL
24137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24139 if (!SWIG_IsOK(res1
)) {
24140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24142 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24143 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24144 if (!SWIG_IsOK(ecode2
)) {
24145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24147 arg2
= static_cast< int >(val2
);
24149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24150 result
= (bool)(arg1
)->DeleteTool(arg2
);
24151 wxPyEndAllowThreads(__tstate
);
24152 if (PyErr_Occurred()) SWIG_fail
;
24155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24163 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24164 PyObject
*resultobj
= 0;
24165 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24168 PyObject
*swig_obj
[1] ;
24170 if (!args
) SWIG_fail
;
24171 swig_obj
[0] = args
;
24172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24173 if (!SWIG_IsOK(res1
)) {
24174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24176 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24179 (arg1
)->ClearTools();
24180 wxPyEndAllowThreads(__tstate
);
24181 if (PyErr_Occurred()) SWIG_fail
;
24183 resultobj
= SWIG_Py_Void();
24190 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24191 PyObject
*resultobj
= 0;
24192 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24196 PyObject
*swig_obj
[1] ;
24198 if (!args
) SWIG_fail
;
24199 swig_obj
[0] = args
;
24200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24201 if (!SWIG_IsOK(res1
)) {
24202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24204 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24207 result
= (bool)(arg1
)->Realize();
24208 wxPyEndAllowThreads(__tstate
);
24209 if (PyErr_Occurred()) SWIG_fail
;
24212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24220 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24221 PyObject
*resultobj
= 0;
24222 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24231 PyObject
* obj0
= 0 ;
24232 PyObject
* obj1
= 0 ;
24233 PyObject
* obj2
= 0 ;
24234 char * kwnames
[] = {
24235 (char *) "self",(char *) "id",(char *) "enable", NULL
24238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24240 if (!SWIG_IsOK(res1
)) {
24241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24243 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24244 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24245 if (!SWIG_IsOK(ecode2
)) {
24246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24248 arg2
= static_cast< int >(val2
);
24249 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24250 if (!SWIG_IsOK(ecode3
)) {
24251 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24253 arg3
= static_cast< bool >(val3
);
24255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24256 (arg1
)->EnableTool(arg2
,arg3
);
24257 wxPyEndAllowThreads(__tstate
);
24258 if (PyErr_Occurred()) SWIG_fail
;
24260 resultobj
= SWIG_Py_Void();
24267 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24268 PyObject
*resultobj
= 0;
24269 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24278 PyObject
* obj0
= 0 ;
24279 PyObject
* obj1
= 0 ;
24280 PyObject
* obj2
= 0 ;
24281 char * kwnames
[] = {
24282 (char *) "self",(char *) "id",(char *) "toggle", NULL
24285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24287 if (!SWIG_IsOK(res1
)) {
24288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24290 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24291 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24292 if (!SWIG_IsOK(ecode2
)) {
24293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24295 arg2
= static_cast< int >(val2
);
24296 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24297 if (!SWIG_IsOK(ecode3
)) {
24298 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24300 arg3
= static_cast< bool >(val3
);
24302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24303 (arg1
)->ToggleTool(arg2
,arg3
);
24304 wxPyEndAllowThreads(__tstate
);
24305 if (PyErr_Occurred()) SWIG_fail
;
24307 resultobj
= SWIG_Py_Void();
24314 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24315 PyObject
*resultobj
= 0;
24316 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24325 PyObject
* obj0
= 0 ;
24326 PyObject
* obj1
= 0 ;
24327 PyObject
* obj2
= 0 ;
24328 char * kwnames
[] = {
24329 (char *) "self",(char *) "id",(char *) "toggle", NULL
24332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24334 if (!SWIG_IsOK(res1
)) {
24335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24337 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24339 if (!SWIG_IsOK(ecode2
)) {
24340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24342 arg2
= static_cast< int >(val2
);
24343 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24344 if (!SWIG_IsOK(ecode3
)) {
24345 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24347 arg3
= static_cast< bool >(val3
);
24349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24350 (arg1
)->SetToggle(arg2
,arg3
);
24351 wxPyEndAllowThreads(__tstate
);
24352 if (PyErr_Occurred()) SWIG_fail
;
24354 resultobj
= SWIG_Py_Void();
24361 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24362 PyObject
*resultobj
= 0;
24363 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24365 PyObject
*result
= 0 ;
24370 PyObject
* obj0
= 0 ;
24371 PyObject
* obj1
= 0 ;
24372 char * kwnames
[] = {
24373 (char *) "self",(char *) "id", NULL
24376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24378 if (!SWIG_IsOK(res1
)) {
24379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24381 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24382 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24383 if (!SWIG_IsOK(ecode2
)) {
24384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24386 arg2
= static_cast< int >(val2
);
24388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24389 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24390 wxPyEndAllowThreads(__tstate
);
24391 if (PyErr_Occurred()) SWIG_fail
;
24393 resultobj
= result
;
24400 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24401 PyObject
*resultobj
= 0;
24402 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24404 PyObject
*arg3
= (PyObject
*) 0 ;
24409 PyObject
* obj0
= 0 ;
24410 PyObject
* obj1
= 0 ;
24411 PyObject
* obj2
= 0 ;
24412 char * kwnames
[] = {
24413 (char *) "self",(char *) "id",(char *) "clientData", NULL
24416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24418 if (!SWIG_IsOK(res1
)) {
24419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24421 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24422 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24423 if (!SWIG_IsOK(ecode2
)) {
24424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24426 arg2
= static_cast< int >(val2
);
24429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24430 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24431 wxPyEndAllowThreads(__tstate
);
24432 if (PyErr_Occurred()) SWIG_fail
;
24434 resultobj
= SWIG_Py_Void();
24441 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24442 PyObject
*resultobj
= 0;
24443 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24450 PyObject
* obj0
= 0 ;
24451 PyObject
* obj1
= 0 ;
24452 char * kwnames
[] = {
24453 (char *) "self",(char *) "id", NULL
24456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24458 if (!SWIG_IsOK(res1
)) {
24459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24461 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24462 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24463 if (!SWIG_IsOK(ecode2
)) {
24464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24466 arg2
= static_cast< int >(val2
);
24468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24469 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24470 wxPyEndAllowThreads(__tstate
);
24471 if (PyErr_Occurred()) SWIG_fail
;
24473 resultobj
= SWIG_From_int(static_cast< int >(result
));
24480 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24481 PyObject
*resultobj
= 0;
24482 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24489 PyObject
* obj0
= 0 ;
24490 PyObject
* obj1
= 0 ;
24491 char * kwnames
[] = {
24492 (char *) "self",(char *) "id", NULL
24495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24497 if (!SWIG_IsOK(res1
)) {
24498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24500 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24502 if (!SWIG_IsOK(ecode2
)) {
24503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24505 arg2
= static_cast< int >(val2
);
24507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24508 result
= (bool)(arg1
)->GetToolState(arg2
);
24509 wxPyEndAllowThreads(__tstate
);
24510 if (PyErr_Occurred()) SWIG_fail
;
24513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24521 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24522 PyObject
*resultobj
= 0;
24523 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24530 PyObject
* obj0
= 0 ;
24531 PyObject
* obj1
= 0 ;
24532 char * kwnames
[] = {
24533 (char *) "self",(char *) "id", NULL
24536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24538 if (!SWIG_IsOK(res1
)) {
24539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24541 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24542 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24543 if (!SWIG_IsOK(ecode2
)) {
24544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24546 arg2
= static_cast< int >(val2
);
24548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24549 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24550 wxPyEndAllowThreads(__tstate
);
24551 if (PyErr_Occurred()) SWIG_fail
;
24554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24562 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24563 PyObject
*resultobj
= 0;
24564 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24566 wxString
*arg3
= 0 ;
24571 bool temp3
= false ;
24572 PyObject
* obj0
= 0 ;
24573 PyObject
* obj1
= 0 ;
24574 PyObject
* obj2
= 0 ;
24575 char * kwnames
[] = {
24576 (char *) "self",(char *) "id",(char *) "helpString", NULL
24579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24581 if (!SWIG_IsOK(res1
)) {
24582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24584 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24585 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24586 if (!SWIG_IsOK(ecode2
)) {
24587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24589 arg2
= static_cast< int >(val2
);
24591 arg3
= wxString_in_helper(obj2
);
24592 if (arg3
== NULL
) SWIG_fail
;
24596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24597 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24598 wxPyEndAllowThreads(__tstate
);
24599 if (PyErr_Occurred()) SWIG_fail
;
24601 resultobj
= SWIG_Py_Void();
24616 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24617 PyObject
*resultobj
= 0;
24618 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24625 PyObject
* obj0
= 0 ;
24626 PyObject
* obj1
= 0 ;
24627 char * kwnames
[] = {
24628 (char *) "self",(char *) "id", NULL
24631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24633 if (!SWIG_IsOK(res1
)) {
24634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24636 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24637 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24638 if (!SWIG_IsOK(ecode2
)) {
24639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24641 arg2
= static_cast< int >(val2
);
24643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24644 result
= (arg1
)->GetToolShortHelp(arg2
);
24645 wxPyEndAllowThreads(__tstate
);
24646 if (PyErr_Occurred()) SWIG_fail
;
24650 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24652 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24661 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24662 PyObject
*resultobj
= 0;
24663 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24665 wxString
*arg3
= 0 ;
24670 bool temp3
= false ;
24671 PyObject
* obj0
= 0 ;
24672 PyObject
* obj1
= 0 ;
24673 PyObject
* obj2
= 0 ;
24674 char * kwnames
[] = {
24675 (char *) "self",(char *) "id",(char *) "helpString", NULL
24678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24680 if (!SWIG_IsOK(res1
)) {
24681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24683 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24684 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24685 if (!SWIG_IsOK(ecode2
)) {
24686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24688 arg2
= static_cast< int >(val2
);
24690 arg3
= wxString_in_helper(obj2
);
24691 if (arg3
== NULL
) SWIG_fail
;
24695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24696 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
24697 wxPyEndAllowThreads(__tstate
);
24698 if (PyErr_Occurred()) SWIG_fail
;
24700 resultobj
= SWIG_Py_Void();
24715 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24716 PyObject
*resultobj
= 0;
24717 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24724 PyObject
* obj0
= 0 ;
24725 PyObject
* obj1
= 0 ;
24726 char * kwnames
[] = {
24727 (char *) "self",(char *) "id", NULL
24730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24732 if (!SWIG_IsOK(res1
)) {
24733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24735 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24736 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24737 if (!SWIG_IsOK(ecode2
)) {
24738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24740 arg2
= static_cast< int >(val2
);
24742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24743 result
= (arg1
)->GetToolLongHelp(arg2
);
24744 wxPyEndAllowThreads(__tstate
);
24745 if (PyErr_Occurred()) SWIG_fail
;
24749 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24751 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24760 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24761 PyObject
*resultobj
= 0;
24762 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24771 PyObject
* obj0
= 0 ;
24772 PyObject
* obj1
= 0 ;
24773 PyObject
* obj2
= 0 ;
24774 char * kwnames
[] = {
24775 (char *) "self",(char *) "x",(char *) "y", NULL
24778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24780 if (!SWIG_IsOK(res1
)) {
24781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24783 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24784 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24785 if (!SWIG_IsOK(ecode2
)) {
24786 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
24788 arg2
= static_cast< int >(val2
);
24789 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24790 if (!SWIG_IsOK(ecode3
)) {
24791 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
24793 arg3
= static_cast< int >(val3
);
24795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24796 (arg1
)->SetMargins(arg2
,arg3
);
24797 wxPyEndAllowThreads(__tstate
);
24798 if (PyErr_Occurred()) SWIG_fail
;
24800 resultobj
= SWIG_Py_Void();
24807 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24808 PyObject
*resultobj
= 0;
24809 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24814 PyObject
* obj0
= 0 ;
24815 PyObject
* obj1
= 0 ;
24816 char * kwnames
[] = {
24817 (char *) "self",(char *) "size", NULL
24820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24822 if (!SWIG_IsOK(res1
)) {
24823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24825 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24828 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24832 (arg1
)->SetMargins((wxSize
const &)*arg2
);
24833 wxPyEndAllowThreads(__tstate
);
24834 if (PyErr_Occurred()) SWIG_fail
;
24836 resultobj
= SWIG_Py_Void();
24843 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24844 PyObject
*resultobj
= 0;
24845 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24851 PyObject
* obj0
= 0 ;
24852 PyObject
* obj1
= 0 ;
24853 char * kwnames
[] = {
24854 (char *) "self",(char *) "packing", NULL
24857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24859 if (!SWIG_IsOK(res1
)) {
24860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24862 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24864 if (!SWIG_IsOK(ecode2
)) {
24865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
24867 arg2
= static_cast< int >(val2
);
24869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24870 (arg1
)->SetToolPacking(arg2
);
24871 wxPyEndAllowThreads(__tstate
);
24872 if (PyErr_Occurred()) SWIG_fail
;
24874 resultobj
= SWIG_Py_Void();
24881 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24882 PyObject
*resultobj
= 0;
24883 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24889 PyObject
* obj0
= 0 ;
24890 PyObject
* obj1
= 0 ;
24891 char * kwnames
[] = {
24892 (char *) "self",(char *) "separation", NULL
24895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24897 if (!SWIG_IsOK(res1
)) {
24898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24900 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24901 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24902 if (!SWIG_IsOK(ecode2
)) {
24903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
24905 arg2
= static_cast< int >(val2
);
24907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24908 (arg1
)->SetToolSeparation(arg2
);
24909 wxPyEndAllowThreads(__tstate
);
24910 if (PyErr_Occurred()) SWIG_fail
;
24912 resultobj
= SWIG_Py_Void();
24919 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24920 PyObject
*resultobj
= 0;
24921 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24925 PyObject
*swig_obj
[1] ;
24927 if (!args
) SWIG_fail
;
24928 swig_obj
[0] = args
;
24929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24930 if (!SWIG_IsOK(res1
)) {
24931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24933 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24936 result
= (arg1
)->GetToolMargins();
24937 wxPyEndAllowThreads(__tstate
);
24938 if (PyErr_Occurred()) SWIG_fail
;
24940 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24947 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24948 PyObject
*resultobj
= 0;
24949 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24953 PyObject
*swig_obj
[1] ;
24955 if (!args
) SWIG_fail
;
24956 swig_obj
[0] = args
;
24957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24958 if (!SWIG_IsOK(res1
)) {
24959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24961 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24964 result
= (arg1
)->GetMargins();
24965 wxPyEndAllowThreads(__tstate
);
24966 if (PyErr_Occurred()) SWIG_fail
;
24968 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24975 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24976 PyObject
*resultobj
= 0;
24977 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24981 PyObject
*swig_obj
[1] ;
24983 if (!args
) SWIG_fail
;
24984 swig_obj
[0] = args
;
24985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24986 if (!SWIG_IsOK(res1
)) {
24987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24989 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24992 result
= (int)(arg1
)->GetToolPacking();
24993 wxPyEndAllowThreads(__tstate
);
24994 if (PyErr_Occurred()) SWIG_fail
;
24996 resultobj
= SWIG_From_int(static_cast< int >(result
));
25003 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25004 PyObject
*resultobj
= 0;
25005 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25009 PyObject
*swig_obj
[1] ;
25011 if (!args
) SWIG_fail
;
25012 swig_obj
[0] = args
;
25013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25014 if (!SWIG_IsOK(res1
)) {
25015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25017 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25020 result
= (int)(arg1
)->GetToolSeparation();
25021 wxPyEndAllowThreads(__tstate
);
25022 if (PyErr_Occurred()) SWIG_fail
;
25024 resultobj
= SWIG_From_int(static_cast< int >(result
));
25031 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25032 PyObject
*resultobj
= 0;
25033 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25039 PyObject
* obj0
= 0 ;
25040 PyObject
* obj1
= 0 ;
25041 char * kwnames
[] = {
25042 (char *) "self",(char *) "nRows", NULL
25045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25047 if (!SWIG_IsOK(res1
)) {
25048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25050 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25051 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25052 if (!SWIG_IsOK(ecode2
)) {
25053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25055 arg2
= static_cast< int >(val2
);
25057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25058 (arg1
)->SetRows(arg2
);
25059 wxPyEndAllowThreads(__tstate
);
25060 if (PyErr_Occurred()) SWIG_fail
;
25062 resultobj
= SWIG_Py_Void();
25069 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25070 PyObject
*resultobj
= 0;
25071 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25080 PyObject
* obj0
= 0 ;
25081 PyObject
* obj1
= 0 ;
25082 PyObject
* obj2
= 0 ;
25083 char * kwnames
[] = {
25084 (char *) "self",(char *) "rows",(char *) "cols", NULL
25087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25089 if (!SWIG_IsOK(res1
)) {
25090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25092 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25094 if (!SWIG_IsOK(ecode2
)) {
25095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25097 arg2
= static_cast< int >(val2
);
25098 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25099 if (!SWIG_IsOK(ecode3
)) {
25100 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25102 arg3
= static_cast< int >(val3
);
25104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25105 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25106 wxPyEndAllowThreads(__tstate
);
25107 if (PyErr_Occurred()) SWIG_fail
;
25109 resultobj
= SWIG_Py_Void();
25116 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25117 PyObject
*resultobj
= 0;
25118 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25122 PyObject
*swig_obj
[1] ;
25124 if (!args
) SWIG_fail
;
25125 swig_obj
[0] = args
;
25126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25127 if (!SWIG_IsOK(res1
)) {
25128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25130 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25133 result
= (int)(arg1
)->GetMaxRows();
25134 wxPyEndAllowThreads(__tstate
);
25135 if (PyErr_Occurred()) SWIG_fail
;
25137 resultobj
= SWIG_From_int(static_cast< int >(result
));
25144 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25145 PyObject
*resultobj
= 0;
25146 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25150 PyObject
*swig_obj
[1] ;
25152 if (!args
) SWIG_fail
;
25153 swig_obj
[0] = args
;
25154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25155 if (!SWIG_IsOK(res1
)) {
25156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25158 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25161 result
= (int)(arg1
)->GetMaxCols();
25162 wxPyEndAllowThreads(__tstate
);
25163 if (PyErr_Occurred()) SWIG_fail
;
25165 resultobj
= SWIG_From_int(static_cast< int >(result
));
25172 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25173 PyObject
*resultobj
= 0;
25174 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25179 PyObject
* obj0
= 0 ;
25180 PyObject
* obj1
= 0 ;
25181 char * kwnames
[] = {
25182 (char *) "self",(char *) "size", NULL
25185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25187 if (!SWIG_IsOK(res1
)) {
25188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25190 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25193 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25197 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25198 wxPyEndAllowThreads(__tstate
);
25199 if (PyErr_Occurred()) SWIG_fail
;
25201 resultobj
= SWIG_Py_Void();
25208 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25209 PyObject
*resultobj
= 0;
25210 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25214 PyObject
*swig_obj
[1] ;
25216 if (!args
) SWIG_fail
;
25217 swig_obj
[0] = args
;
25218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25219 if (!SWIG_IsOK(res1
)) {
25220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25222 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25225 result
= (arg1
)->GetToolBitmapSize();
25226 wxPyEndAllowThreads(__tstate
);
25227 if (PyErr_Occurred()) SWIG_fail
;
25229 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25236 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25237 PyObject
*resultobj
= 0;
25238 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25242 PyObject
*swig_obj
[1] ;
25244 if (!args
) SWIG_fail
;
25245 swig_obj
[0] = args
;
25246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25247 if (!SWIG_IsOK(res1
)) {
25248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25250 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25253 result
= (arg1
)->GetToolSize();
25254 wxPyEndAllowThreads(__tstate
);
25255 if (PyErr_Occurred()) SWIG_fail
;
25257 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25264 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25265 PyObject
*resultobj
= 0;
25266 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25269 wxToolBarToolBase
*result
= 0 ;
25276 PyObject
* obj0
= 0 ;
25277 PyObject
* obj1
= 0 ;
25278 PyObject
* obj2
= 0 ;
25279 char * kwnames
[] = {
25280 (char *) "self",(char *) "x",(char *) "y", NULL
25283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25285 if (!SWIG_IsOK(res1
)) {
25286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25288 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25290 if (!SWIG_IsOK(ecode2
)) {
25291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25293 arg2
= static_cast< int >(val2
);
25294 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25295 if (!SWIG_IsOK(ecode3
)) {
25296 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25298 arg3
= static_cast< int >(val3
);
25300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25301 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25302 wxPyEndAllowThreads(__tstate
);
25303 if (PyErr_Occurred()) SWIG_fail
;
25306 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25314 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25315 PyObject
*resultobj
= 0;
25316 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25318 wxToolBarToolBase
*result
= 0 ;
25323 PyObject
* obj0
= 0 ;
25324 PyObject
* obj1
= 0 ;
25325 char * kwnames
[] = {
25326 (char *) "self",(char *) "toolid", NULL
25329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25331 if (!SWIG_IsOK(res1
)) {
25332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25334 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25335 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25336 if (!SWIG_IsOK(ecode2
)) {
25337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25339 arg2
= static_cast< int >(val2
);
25341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25342 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25343 wxPyEndAllowThreads(__tstate
);
25344 if (PyErr_Occurred()) SWIG_fail
;
25347 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25355 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25356 PyObject
*resultobj
= 0;
25357 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25361 PyObject
*swig_obj
[1] ;
25363 if (!args
) SWIG_fail
;
25364 swig_obj
[0] = args
;
25365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25366 if (!SWIG_IsOK(res1
)) {
25367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25369 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25372 result
= (bool)(arg1
)->IsVertical();
25373 wxPyEndAllowThreads(__tstate
);
25374 if (PyErr_Occurred()) SWIG_fail
;
25377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25385 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25386 PyObject
*resultobj
= 0;
25387 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25391 PyObject
*swig_obj
[1] ;
25393 if (!args
) SWIG_fail
;
25394 swig_obj
[0] = args
;
25395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25396 if (!SWIG_IsOK(res1
)) {
25397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25399 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25402 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25403 wxPyEndAllowThreads(__tstate
);
25404 if (PyErr_Occurred()) SWIG_fail
;
25406 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25413 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25415 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25416 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25417 return SWIG_Py_Void();
25420 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25421 PyObject
*resultobj
= 0;
25422 wxWindow
*arg1
= (wxWindow
*) 0 ;
25423 int arg2
= (int) -1 ;
25424 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25425 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25426 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25427 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25428 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25429 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25430 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25431 wxToolBar
*result
= 0 ;
25440 bool temp6
= false ;
25441 PyObject
* obj0
= 0 ;
25442 PyObject
* obj1
= 0 ;
25443 PyObject
* obj2
= 0 ;
25444 PyObject
* obj3
= 0 ;
25445 PyObject
* obj4
= 0 ;
25446 PyObject
* obj5
= 0 ;
25447 char * kwnames
[] = {
25448 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25453 if (!SWIG_IsOK(res1
)) {
25454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25456 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25459 if (!SWIG_IsOK(ecode2
)) {
25460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25462 arg2
= static_cast< int >(val2
);
25467 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25473 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25477 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25478 if (!SWIG_IsOK(ecode5
)) {
25479 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25481 arg5
= static_cast< long >(val5
);
25485 arg6
= wxString_in_helper(obj5
);
25486 if (arg6
== NULL
) SWIG_fail
;
25491 if (!wxPyCheckForApp()) SWIG_fail
;
25492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25493 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25494 wxPyEndAllowThreads(__tstate
);
25495 if (PyErr_Occurred()) SWIG_fail
;
25497 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25512 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25513 PyObject
*resultobj
= 0;
25514 wxToolBar
*result
= 0 ;
25516 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25518 if (!wxPyCheckForApp()) SWIG_fail
;
25519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25520 result
= (wxToolBar
*)new wxToolBar();
25521 wxPyEndAllowThreads(__tstate
);
25522 if (PyErr_Occurred()) SWIG_fail
;
25524 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25531 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25532 PyObject
*resultobj
= 0;
25533 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25534 wxWindow
*arg2
= (wxWindow
*) 0 ;
25535 int arg3
= (int) -1 ;
25536 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25537 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25538 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25539 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25540 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25541 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25542 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25554 bool temp7
= false ;
25555 PyObject
* obj0
= 0 ;
25556 PyObject
* obj1
= 0 ;
25557 PyObject
* obj2
= 0 ;
25558 PyObject
* obj3
= 0 ;
25559 PyObject
* obj4
= 0 ;
25560 PyObject
* obj5
= 0 ;
25561 PyObject
* obj6
= 0 ;
25562 char * kwnames
[] = {
25563 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25568 if (!SWIG_IsOK(res1
)) {
25569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25571 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25572 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25573 if (!SWIG_IsOK(res2
)) {
25574 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25576 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25578 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25579 if (!SWIG_IsOK(ecode3
)) {
25580 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25582 arg3
= static_cast< int >(val3
);
25587 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25593 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25597 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25598 if (!SWIG_IsOK(ecode6
)) {
25599 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25601 arg6
= static_cast< long >(val6
);
25605 arg7
= wxString_in_helper(obj6
);
25606 if (arg7
== NULL
) SWIG_fail
;
25611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25612 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25613 wxPyEndAllowThreads(__tstate
);
25614 if (PyErr_Occurred()) SWIG_fail
;
25617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25633 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25634 PyObject
*resultobj
= 0;
25635 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25636 SwigValueWrapper
<wxVisualAttributes
> result
;
25639 PyObject
* obj0
= 0 ;
25640 char * kwnames
[] = {
25641 (char *) "variant", NULL
25644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25646 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25647 if (!SWIG_IsOK(ecode1
)) {
25648 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25650 arg1
= static_cast< wxWindowVariant
>(val1
);
25653 if (!wxPyCheckForApp()) SWIG_fail
;
25654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25655 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
25656 wxPyEndAllowThreads(__tstate
);
25657 if (PyErr_Occurred()) SWIG_fail
;
25659 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25666 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25668 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25669 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
25670 return SWIG_Py_Void();
25673 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25674 return SWIG_Python_InitShadowInstance(args
);
25677 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
25678 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
25683 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
25684 PyObject
*pyobj
= 0;
25688 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25690 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25697 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25698 PyObject
*resultobj
= 0;
25699 wxColour
const &arg1_defvalue
= wxNullColour
;
25700 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
25701 wxColour
const &arg2_defvalue
= wxNullColour
;
25702 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
25703 wxFont
const &arg3_defvalue
= wxNullFont
;
25704 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
25705 wxListItemAttr
*result
= 0 ;
25710 PyObject
* obj0
= 0 ;
25711 PyObject
* obj1
= 0 ;
25712 PyObject
* obj2
= 0 ;
25713 char * kwnames
[] = {
25714 (char *) "colText",(char *) "colBack",(char *) "font", NULL
25717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25721 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
25727 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25731 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
25732 if (!SWIG_IsOK(res3
)) {
25733 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25736 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25738 arg3
= reinterpret_cast< wxFont
* >(argp3
);
25741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25742 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
25743 wxPyEndAllowThreads(__tstate
);
25744 if (PyErr_Occurred()) SWIG_fail
;
25746 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
25753 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25754 PyObject
*resultobj
= 0;
25755 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25758 PyObject
*swig_obj
[1] ;
25760 if (!args
) SWIG_fail
;
25761 swig_obj
[0] = args
;
25762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
25763 if (!SWIG_IsOK(res1
)) {
25764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25766 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25771 wxPyEndAllowThreads(__tstate
);
25772 if (PyErr_Occurred()) SWIG_fail
;
25774 resultobj
= SWIG_Py_Void();
25781 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25782 PyObject
*resultobj
= 0;
25783 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25784 wxColour
*arg2
= 0 ;
25788 PyObject
* obj0
= 0 ;
25789 PyObject
* obj1
= 0 ;
25790 char * kwnames
[] = {
25791 (char *) "self",(char *) "colText", NULL
25794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25796 if (!SWIG_IsOK(res1
)) {
25797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25799 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25802 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25806 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25807 wxPyEndAllowThreads(__tstate
);
25808 if (PyErr_Occurred()) SWIG_fail
;
25810 resultobj
= SWIG_Py_Void();
25817 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25818 PyObject
*resultobj
= 0;
25819 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25820 wxColour
*arg2
= 0 ;
25824 PyObject
* obj0
= 0 ;
25825 PyObject
* obj1
= 0 ;
25826 char * kwnames
[] = {
25827 (char *) "self",(char *) "colBack", NULL
25830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25832 if (!SWIG_IsOK(res1
)) {
25833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25835 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25838 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25842 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25843 wxPyEndAllowThreads(__tstate
);
25844 if (PyErr_Occurred()) SWIG_fail
;
25846 resultobj
= SWIG_Py_Void();
25853 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25854 PyObject
*resultobj
= 0;
25855 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25861 PyObject
* obj0
= 0 ;
25862 PyObject
* obj1
= 0 ;
25863 char * kwnames
[] = {
25864 (char *) "self",(char *) "font", NULL
25867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25869 if (!SWIG_IsOK(res1
)) {
25870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25872 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25873 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
25874 if (!SWIG_IsOK(res2
)) {
25875 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25878 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25880 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25883 (arg1
)->SetFont((wxFont
const &)*arg2
);
25884 wxPyEndAllowThreads(__tstate
);
25885 if (PyErr_Occurred()) SWIG_fail
;
25887 resultobj
= SWIG_Py_Void();
25894 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25895 PyObject
*resultobj
= 0;
25896 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25900 PyObject
*swig_obj
[1] ;
25902 if (!args
) SWIG_fail
;
25903 swig_obj
[0] = args
;
25904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25905 if (!SWIG_IsOK(res1
)) {
25906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25908 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25911 result
= (bool)(arg1
)->HasTextColour();
25912 wxPyEndAllowThreads(__tstate
);
25913 if (PyErr_Occurred()) SWIG_fail
;
25916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25924 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25925 PyObject
*resultobj
= 0;
25926 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25930 PyObject
*swig_obj
[1] ;
25932 if (!args
) SWIG_fail
;
25933 swig_obj
[0] = args
;
25934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25935 if (!SWIG_IsOK(res1
)) {
25936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25938 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25941 result
= (bool)(arg1
)->HasBackgroundColour();
25942 wxPyEndAllowThreads(__tstate
);
25943 if (PyErr_Occurred()) SWIG_fail
;
25946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25954 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25955 PyObject
*resultobj
= 0;
25956 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25960 PyObject
*swig_obj
[1] ;
25962 if (!args
) SWIG_fail
;
25963 swig_obj
[0] = args
;
25964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25965 if (!SWIG_IsOK(res1
)) {
25966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25968 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25971 result
= (bool)(arg1
)->HasFont();
25972 wxPyEndAllowThreads(__tstate
);
25973 if (PyErr_Occurred()) SWIG_fail
;
25976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25984 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25985 PyObject
*resultobj
= 0;
25986 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25990 PyObject
*swig_obj
[1] ;
25992 if (!args
) SWIG_fail
;
25993 swig_obj
[0] = args
;
25994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25995 if (!SWIG_IsOK(res1
)) {
25996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25998 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26001 result
= (arg1
)->GetTextColour();
26002 wxPyEndAllowThreads(__tstate
);
26003 if (PyErr_Occurred()) SWIG_fail
;
26005 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26012 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26013 PyObject
*resultobj
= 0;
26014 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26018 PyObject
*swig_obj
[1] ;
26020 if (!args
) SWIG_fail
;
26021 swig_obj
[0] = args
;
26022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26023 if (!SWIG_IsOK(res1
)) {
26024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26026 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26029 result
= (arg1
)->GetBackgroundColour();
26030 wxPyEndAllowThreads(__tstate
);
26031 if (PyErr_Occurred()) SWIG_fail
;
26033 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26040 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26041 PyObject
*resultobj
= 0;
26042 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26046 PyObject
*swig_obj
[1] ;
26048 if (!args
) SWIG_fail
;
26049 swig_obj
[0] = args
;
26050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26051 if (!SWIG_IsOK(res1
)) {
26052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26054 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26057 result
= (arg1
)->GetFont();
26058 wxPyEndAllowThreads(__tstate
);
26059 if (PyErr_Occurred()) SWIG_fail
;
26061 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26068 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26069 PyObject
*resultobj
= 0;
26070 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26071 wxListItemAttr
*arg2
= 0 ;
26076 PyObject
* obj0
= 0 ;
26077 PyObject
* obj1
= 0 ;
26078 char * kwnames
[] = {
26079 (char *) "self",(char *) "source", NULL
26082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26084 if (!SWIG_IsOK(res1
)) {
26085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26087 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26088 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26089 if (!SWIG_IsOK(res2
)) {
26090 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26093 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26095 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26098 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26099 wxPyEndAllowThreads(__tstate
);
26100 if (PyErr_Occurred()) SWIG_fail
;
26102 resultobj
= SWIG_Py_Void();
26109 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26110 PyObject
*resultobj
= 0;
26111 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26114 PyObject
*swig_obj
[1] ;
26116 if (!args
) SWIG_fail
;
26117 swig_obj
[0] = args
;
26118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26119 if (!SWIG_IsOK(res1
)) {
26120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26122 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26125 wxListItemAttr_Destroy(arg1
);
26126 wxPyEndAllowThreads(__tstate
);
26127 if (PyErr_Occurred()) SWIG_fail
;
26129 resultobj
= SWIG_Py_Void();
26136 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26138 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26139 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26140 return SWIG_Py_Void();
26143 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26144 return SWIG_Python_InitShadowInstance(args
);
26147 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26148 PyObject
*resultobj
= 0;
26149 wxListItem
*result
= 0 ;
26151 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26154 result
= (wxListItem
*)new wxListItem();
26155 wxPyEndAllowThreads(__tstate
);
26156 if (PyErr_Occurred()) SWIG_fail
;
26159 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
26167 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26168 PyObject
*resultobj
= 0;
26169 wxListItem
*arg1
= (wxListItem
*) 0 ;
26172 PyObject
*swig_obj
[1] ;
26174 if (!args
) SWIG_fail
;
26175 swig_obj
[0] = args
;
26176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26177 if (!SWIG_IsOK(res1
)) {
26178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26180 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26185 wxPyEndAllowThreads(__tstate
);
26186 if (PyErr_Occurred()) SWIG_fail
;
26188 resultobj
= SWIG_Py_Void();
26195 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26196 PyObject
*resultobj
= 0;
26197 wxListItem
*arg1
= (wxListItem
*) 0 ;
26200 PyObject
*swig_obj
[1] ;
26202 if (!args
) SWIG_fail
;
26203 swig_obj
[0] = args
;
26204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26205 if (!SWIG_IsOK(res1
)) {
26206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26208 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26212 wxPyEndAllowThreads(__tstate
);
26213 if (PyErr_Occurred()) SWIG_fail
;
26215 resultobj
= SWIG_Py_Void();
26222 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26223 PyObject
*resultobj
= 0;
26224 wxListItem
*arg1
= (wxListItem
*) 0 ;
26227 PyObject
*swig_obj
[1] ;
26229 if (!args
) SWIG_fail
;
26230 swig_obj
[0] = args
;
26231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26232 if (!SWIG_IsOK(res1
)) {
26233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26235 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26238 (arg1
)->ClearAttributes();
26239 wxPyEndAllowThreads(__tstate
);
26240 if (PyErr_Occurred()) SWIG_fail
;
26242 resultobj
= SWIG_Py_Void();
26249 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26250 PyObject
*resultobj
= 0;
26251 wxListItem
*arg1
= (wxListItem
*) 0 ;
26257 PyObject
* obj0
= 0 ;
26258 PyObject
* obj1
= 0 ;
26259 char * kwnames
[] = {
26260 (char *) "self",(char *) "mask", NULL
26263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26265 if (!SWIG_IsOK(res1
)) {
26266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26268 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26269 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26270 if (!SWIG_IsOK(ecode2
)) {
26271 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26273 arg2
= static_cast< long >(val2
);
26275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26276 (arg1
)->SetMask(arg2
);
26277 wxPyEndAllowThreads(__tstate
);
26278 if (PyErr_Occurred()) SWIG_fail
;
26280 resultobj
= SWIG_Py_Void();
26287 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26288 PyObject
*resultobj
= 0;
26289 wxListItem
*arg1
= (wxListItem
*) 0 ;
26295 PyObject
* obj0
= 0 ;
26296 PyObject
* obj1
= 0 ;
26297 char * kwnames
[] = {
26298 (char *) "self",(char *) "id", NULL
26301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26303 if (!SWIG_IsOK(res1
)) {
26304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26306 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26307 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26308 if (!SWIG_IsOK(ecode2
)) {
26309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26311 arg2
= static_cast< long >(val2
);
26313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26314 (arg1
)->SetId(arg2
);
26315 wxPyEndAllowThreads(__tstate
);
26316 if (PyErr_Occurred()) SWIG_fail
;
26318 resultobj
= SWIG_Py_Void();
26325 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26326 PyObject
*resultobj
= 0;
26327 wxListItem
*arg1
= (wxListItem
*) 0 ;
26333 PyObject
* obj0
= 0 ;
26334 PyObject
* obj1
= 0 ;
26335 char * kwnames
[] = {
26336 (char *) "self",(char *) "col", NULL
26339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26341 if (!SWIG_IsOK(res1
)) {
26342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26344 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26345 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26346 if (!SWIG_IsOK(ecode2
)) {
26347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26349 arg2
= static_cast< int >(val2
);
26351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26352 (arg1
)->SetColumn(arg2
);
26353 wxPyEndAllowThreads(__tstate
);
26354 if (PyErr_Occurred()) SWIG_fail
;
26356 resultobj
= SWIG_Py_Void();
26363 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26364 PyObject
*resultobj
= 0;
26365 wxListItem
*arg1
= (wxListItem
*) 0 ;
26371 PyObject
* obj0
= 0 ;
26372 PyObject
* obj1
= 0 ;
26373 char * kwnames
[] = {
26374 (char *) "self",(char *) "state", NULL
26377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26379 if (!SWIG_IsOK(res1
)) {
26380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26382 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26383 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26384 if (!SWIG_IsOK(ecode2
)) {
26385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26387 arg2
= static_cast< long >(val2
);
26389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26390 (arg1
)->SetState(arg2
);
26391 wxPyEndAllowThreads(__tstate
);
26392 if (PyErr_Occurred()) SWIG_fail
;
26394 resultobj
= SWIG_Py_Void();
26401 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26402 PyObject
*resultobj
= 0;
26403 wxListItem
*arg1
= (wxListItem
*) 0 ;
26409 PyObject
* obj0
= 0 ;
26410 PyObject
* obj1
= 0 ;
26411 char * kwnames
[] = {
26412 (char *) "self",(char *) "stateMask", NULL
26415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26417 if (!SWIG_IsOK(res1
)) {
26418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26420 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26421 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26422 if (!SWIG_IsOK(ecode2
)) {
26423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26425 arg2
= static_cast< long >(val2
);
26427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26428 (arg1
)->SetStateMask(arg2
);
26429 wxPyEndAllowThreads(__tstate
);
26430 if (PyErr_Occurred()) SWIG_fail
;
26432 resultobj
= SWIG_Py_Void();
26439 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26440 PyObject
*resultobj
= 0;
26441 wxListItem
*arg1
= (wxListItem
*) 0 ;
26442 wxString
*arg2
= 0 ;
26445 bool temp2
= false ;
26446 PyObject
* obj0
= 0 ;
26447 PyObject
* obj1
= 0 ;
26448 char * kwnames
[] = {
26449 (char *) "self",(char *) "text", NULL
26452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26454 if (!SWIG_IsOK(res1
)) {
26455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26457 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26459 arg2
= wxString_in_helper(obj1
);
26460 if (arg2
== NULL
) SWIG_fail
;
26464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26465 (arg1
)->SetText((wxString
const &)*arg2
);
26466 wxPyEndAllowThreads(__tstate
);
26467 if (PyErr_Occurred()) SWIG_fail
;
26469 resultobj
= SWIG_Py_Void();
26484 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26485 PyObject
*resultobj
= 0;
26486 wxListItem
*arg1
= (wxListItem
*) 0 ;
26492 PyObject
* obj0
= 0 ;
26493 PyObject
* obj1
= 0 ;
26494 char * kwnames
[] = {
26495 (char *) "self",(char *) "image", NULL
26498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26500 if (!SWIG_IsOK(res1
)) {
26501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26503 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26505 if (!SWIG_IsOK(ecode2
)) {
26506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26508 arg2
= static_cast< int >(val2
);
26510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26511 (arg1
)->SetImage(arg2
);
26512 wxPyEndAllowThreads(__tstate
);
26513 if (PyErr_Occurred()) SWIG_fail
;
26515 resultobj
= SWIG_Py_Void();
26522 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26523 PyObject
*resultobj
= 0;
26524 wxListItem
*arg1
= (wxListItem
*) 0 ;
26530 PyObject
* obj0
= 0 ;
26531 PyObject
* obj1
= 0 ;
26532 char * kwnames
[] = {
26533 (char *) "self",(char *) "data", NULL
26536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26538 if (!SWIG_IsOK(res1
)) {
26539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26541 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26542 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26543 if (!SWIG_IsOK(ecode2
)) {
26544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26546 arg2
= static_cast< long >(val2
);
26548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26549 (arg1
)->SetData(arg2
);
26550 wxPyEndAllowThreads(__tstate
);
26551 if (PyErr_Occurred()) SWIG_fail
;
26553 resultobj
= SWIG_Py_Void();
26560 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26561 PyObject
*resultobj
= 0;
26562 wxListItem
*arg1
= (wxListItem
*) 0 ;
26568 PyObject
* obj0
= 0 ;
26569 PyObject
* obj1
= 0 ;
26570 char * kwnames
[] = {
26571 (char *) "self",(char *) "width", NULL
26574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26576 if (!SWIG_IsOK(res1
)) {
26577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26579 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26580 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26581 if (!SWIG_IsOK(ecode2
)) {
26582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26584 arg2
= static_cast< int >(val2
);
26586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26587 (arg1
)->SetWidth(arg2
);
26588 wxPyEndAllowThreads(__tstate
);
26589 if (PyErr_Occurred()) SWIG_fail
;
26591 resultobj
= SWIG_Py_Void();
26598 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26599 PyObject
*resultobj
= 0;
26600 wxListItem
*arg1
= (wxListItem
*) 0 ;
26601 wxListColumnFormat arg2
;
26606 PyObject
* obj0
= 0 ;
26607 PyObject
* obj1
= 0 ;
26608 char * kwnames
[] = {
26609 (char *) "self",(char *) "align", NULL
26612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26614 if (!SWIG_IsOK(res1
)) {
26615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26617 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26618 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26619 if (!SWIG_IsOK(ecode2
)) {
26620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26622 arg2
= static_cast< wxListColumnFormat
>(val2
);
26624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26625 (arg1
)->SetAlign(arg2
);
26626 wxPyEndAllowThreads(__tstate
);
26627 if (PyErr_Occurred()) SWIG_fail
;
26629 resultobj
= SWIG_Py_Void();
26636 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26637 PyObject
*resultobj
= 0;
26638 wxListItem
*arg1
= (wxListItem
*) 0 ;
26639 wxColour
*arg2
= 0 ;
26643 PyObject
* obj0
= 0 ;
26644 PyObject
* obj1
= 0 ;
26645 char * kwnames
[] = {
26646 (char *) "self",(char *) "colText", NULL
26649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26651 if (!SWIG_IsOK(res1
)) {
26652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26654 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26657 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26661 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26662 wxPyEndAllowThreads(__tstate
);
26663 if (PyErr_Occurred()) SWIG_fail
;
26665 resultobj
= SWIG_Py_Void();
26672 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26673 PyObject
*resultobj
= 0;
26674 wxListItem
*arg1
= (wxListItem
*) 0 ;
26675 wxColour
*arg2
= 0 ;
26679 PyObject
* obj0
= 0 ;
26680 PyObject
* obj1
= 0 ;
26681 char * kwnames
[] = {
26682 (char *) "self",(char *) "colBack", NULL
26685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26687 if (!SWIG_IsOK(res1
)) {
26688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26690 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26693 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26697 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26698 wxPyEndAllowThreads(__tstate
);
26699 if (PyErr_Occurred()) SWIG_fail
;
26701 resultobj
= SWIG_Py_Void();
26708 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26709 PyObject
*resultobj
= 0;
26710 wxListItem
*arg1
= (wxListItem
*) 0 ;
26716 PyObject
* obj0
= 0 ;
26717 PyObject
* obj1
= 0 ;
26718 char * kwnames
[] = {
26719 (char *) "self",(char *) "font", NULL
26722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26724 if (!SWIG_IsOK(res1
)) {
26725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
26727 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26728 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26729 if (!SWIG_IsOK(res2
)) {
26730 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26733 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26735 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26738 (arg1
)->SetFont((wxFont
const &)*arg2
);
26739 wxPyEndAllowThreads(__tstate
);
26740 if (PyErr_Occurred()) SWIG_fail
;
26742 resultobj
= SWIG_Py_Void();
26749 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26750 PyObject
*resultobj
= 0;
26751 wxListItem
*arg1
= (wxListItem
*) 0 ;
26755 PyObject
*swig_obj
[1] ;
26757 if (!args
) SWIG_fail
;
26758 swig_obj
[0] = args
;
26759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26760 if (!SWIG_IsOK(res1
)) {
26761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26763 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26766 result
= (long)(arg1
)->GetMask();
26767 wxPyEndAllowThreads(__tstate
);
26768 if (PyErr_Occurred()) SWIG_fail
;
26770 resultobj
= SWIG_From_long(static_cast< long >(result
));
26777 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26778 PyObject
*resultobj
= 0;
26779 wxListItem
*arg1
= (wxListItem
*) 0 ;
26783 PyObject
*swig_obj
[1] ;
26785 if (!args
) SWIG_fail
;
26786 swig_obj
[0] = args
;
26787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26788 if (!SWIG_IsOK(res1
)) {
26789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26791 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26794 result
= (long)(arg1
)->GetId();
26795 wxPyEndAllowThreads(__tstate
);
26796 if (PyErr_Occurred()) SWIG_fail
;
26798 resultobj
= SWIG_From_long(static_cast< long >(result
));
26805 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26806 PyObject
*resultobj
= 0;
26807 wxListItem
*arg1
= (wxListItem
*) 0 ;
26811 PyObject
*swig_obj
[1] ;
26813 if (!args
) SWIG_fail
;
26814 swig_obj
[0] = args
;
26815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26816 if (!SWIG_IsOK(res1
)) {
26817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26819 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26822 result
= (int)(arg1
)->GetColumn();
26823 wxPyEndAllowThreads(__tstate
);
26824 if (PyErr_Occurred()) SWIG_fail
;
26826 resultobj
= SWIG_From_int(static_cast< int >(result
));
26833 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26834 PyObject
*resultobj
= 0;
26835 wxListItem
*arg1
= (wxListItem
*) 0 ;
26839 PyObject
*swig_obj
[1] ;
26841 if (!args
) SWIG_fail
;
26842 swig_obj
[0] = args
;
26843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26844 if (!SWIG_IsOK(res1
)) {
26845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26847 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26850 result
= (long)(arg1
)->GetState();
26851 wxPyEndAllowThreads(__tstate
);
26852 if (PyErr_Occurred()) SWIG_fail
;
26854 resultobj
= SWIG_From_long(static_cast< long >(result
));
26861 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26862 PyObject
*resultobj
= 0;
26863 wxListItem
*arg1
= (wxListItem
*) 0 ;
26864 wxString
*result
= 0 ;
26867 PyObject
*swig_obj
[1] ;
26869 if (!args
) SWIG_fail
;
26870 swig_obj
[0] = args
;
26871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26872 if (!SWIG_IsOK(res1
)) {
26873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26875 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26879 wxString
const &_result_ref
= (arg1
)->GetText();
26880 result
= (wxString
*) &_result_ref
;
26882 wxPyEndAllowThreads(__tstate
);
26883 if (PyErr_Occurred()) SWIG_fail
;
26887 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
26889 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
26898 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26899 PyObject
*resultobj
= 0;
26900 wxListItem
*arg1
= (wxListItem
*) 0 ;
26904 PyObject
*swig_obj
[1] ;
26906 if (!args
) SWIG_fail
;
26907 swig_obj
[0] = args
;
26908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26909 if (!SWIG_IsOK(res1
)) {
26910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26912 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26915 result
= (int)(arg1
)->GetImage();
26916 wxPyEndAllowThreads(__tstate
);
26917 if (PyErr_Occurred()) SWIG_fail
;
26919 resultobj
= SWIG_From_int(static_cast< int >(result
));
26926 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26927 PyObject
*resultobj
= 0;
26928 wxListItem
*arg1
= (wxListItem
*) 0 ;
26932 PyObject
*swig_obj
[1] ;
26934 if (!args
) SWIG_fail
;
26935 swig_obj
[0] = args
;
26936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26937 if (!SWIG_IsOK(res1
)) {
26938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26940 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26943 result
= (long)(arg1
)->GetData();
26944 wxPyEndAllowThreads(__tstate
);
26945 if (PyErr_Occurred()) SWIG_fail
;
26947 resultobj
= SWIG_From_long(static_cast< long >(result
));
26954 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26955 PyObject
*resultobj
= 0;
26956 wxListItem
*arg1
= (wxListItem
*) 0 ;
26960 PyObject
*swig_obj
[1] ;
26962 if (!args
) SWIG_fail
;
26963 swig_obj
[0] = args
;
26964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26965 if (!SWIG_IsOK(res1
)) {
26966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26968 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26971 result
= (int)(arg1
)->GetWidth();
26972 wxPyEndAllowThreads(__tstate
);
26973 if (PyErr_Occurred()) SWIG_fail
;
26975 resultobj
= SWIG_From_int(static_cast< int >(result
));
26982 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26983 PyObject
*resultobj
= 0;
26984 wxListItem
*arg1
= (wxListItem
*) 0 ;
26985 wxListColumnFormat result
;
26988 PyObject
*swig_obj
[1] ;
26990 if (!args
) SWIG_fail
;
26991 swig_obj
[0] = args
;
26992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26993 if (!SWIG_IsOK(res1
)) {
26994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26996 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26999 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27000 wxPyEndAllowThreads(__tstate
);
27001 if (PyErr_Occurred()) SWIG_fail
;
27003 resultobj
= SWIG_From_int(static_cast< int >(result
));
27010 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27011 PyObject
*resultobj
= 0;
27012 wxListItem
*arg1
= (wxListItem
*) 0 ;
27013 wxListItemAttr
*result
= 0 ;
27016 PyObject
*swig_obj
[1] ;
27018 if (!args
) SWIG_fail
;
27019 swig_obj
[0] = args
;
27020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27021 if (!SWIG_IsOK(res1
)) {
27022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27024 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27027 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27028 wxPyEndAllowThreads(__tstate
);
27029 if (PyErr_Occurred()) SWIG_fail
;
27031 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27038 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27039 PyObject
*resultobj
= 0;
27040 wxListItem
*arg1
= (wxListItem
*) 0 ;
27044 PyObject
*swig_obj
[1] ;
27046 if (!args
) SWIG_fail
;
27047 swig_obj
[0] = args
;
27048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27049 if (!SWIG_IsOK(res1
)) {
27050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27052 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27055 result
= (bool)(arg1
)->HasAttributes();
27056 wxPyEndAllowThreads(__tstate
);
27057 if (PyErr_Occurred()) SWIG_fail
;
27060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27068 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27069 PyObject
*resultobj
= 0;
27070 wxListItem
*arg1
= (wxListItem
*) 0 ;
27074 PyObject
*swig_obj
[1] ;
27076 if (!args
) SWIG_fail
;
27077 swig_obj
[0] = args
;
27078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27079 if (!SWIG_IsOK(res1
)) {
27080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27082 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27085 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27086 wxPyEndAllowThreads(__tstate
);
27087 if (PyErr_Occurred()) SWIG_fail
;
27089 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27096 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27097 PyObject
*resultobj
= 0;
27098 wxListItem
*arg1
= (wxListItem
*) 0 ;
27102 PyObject
*swig_obj
[1] ;
27104 if (!args
) SWIG_fail
;
27105 swig_obj
[0] = args
;
27106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27107 if (!SWIG_IsOK(res1
)) {
27108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27110 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27113 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27114 wxPyEndAllowThreads(__tstate
);
27115 if (PyErr_Occurred()) SWIG_fail
;
27117 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27124 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27125 PyObject
*resultobj
= 0;
27126 wxListItem
*arg1
= (wxListItem
*) 0 ;
27130 PyObject
*swig_obj
[1] ;
27132 if (!args
) SWIG_fail
;
27133 swig_obj
[0] = args
;
27134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27135 if (!SWIG_IsOK(res1
)) {
27136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27138 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27141 result
= ((wxListItem
const *)arg1
)->GetFont();
27142 wxPyEndAllowThreads(__tstate
);
27143 if (PyErr_Occurred()) SWIG_fail
;
27145 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27152 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27153 PyObject
*resultobj
= 0;
27154 wxListItem
*arg1
= (wxListItem
*) 0 ;
27160 PyObject
*swig_obj
[2] ;
27162 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27164 if (!SWIG_IsOK(res1
)) {
27165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27167 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27168 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27169 if (!SWIG_IsOK(ecode2
)) {
27170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27172 arg2
= static_cast< long >(val2
);
27173 if (arg1
) (arg1
)->m_mask
= arg2
;
27175 resultobj
= SWIG_Py_Void();
27182 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27183 PyObject
*resultobj
= 0;
27184 wxListItem
*arg1
= (wxListItem
*) 0 ;
27188 PyObject
*swig_obj
[1] ;
27190 if (!args
) SWIG_fail
;
27191 swig_obj
[0] = args
;
27192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27193 if (!SWIG_IsOK(res1
)) {
27194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27196 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27197 result
= (long) ((arg1
)->m_mask
);
27198 resultobj
= SWIG_From_long(static_cast< long >(result
));
27205 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27206 PyObject
*resultobj
= 0;
27207 wxListItem
*arg1
= (wxListItem
*) 0 ;
27213 PyObject
*swig_obj
[2] ;
27215 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27217 if (!SWIG_IsOK(res1
)) {
27218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27220 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27221 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27222 if (!SWIG_IsOK(ecode2
)) {
27223 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27225 arg2
= static_cast< long >(val2
);
27226 if (arg1
) (arg1
)->m_itemId
= arg2
;
27228 resultobj
= SWIG_Py_Void();
27235 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27236 PyObject
*resultobj
= 0;
27237 wxListItem
*arg1
= (wxListItem
*) 0 ;
27241 PyObject
*swig_obj
[1] ;
27243 if (!args
) SWIG_fail
;
27244 swig_obj
[0] = args
;
27245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27246 if (!SWIG_IsOK(res1
)) {
27247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27249 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27250 result
= (long) ((arg1
)->m_itemId
);
27251 resultobj
= SWIG_From_long(static_cast< long >(result
));
27258 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27259 PyObject
*resultobj
= 0;
27260 wxListItem
*arg1
= (wxListItem
*) 0 ;
27266 PyObject
*swig_obj
[2] ;
27268 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27270 if (!SWIG_IsOK(res1
)) {
27271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27273 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27274 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27275 if (!SWIG_IsOK(ecode2
)) {
27276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27278 arg2
= static_cast< int >(val2
);
27279 if (arg1
) (arg1
)->m_col
= arg2
;
27281 resultobj
= SWIG_Py_Void();
27288 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27289 PyObject
*resultobj
= 0;
27290 wxListItem
*arg1
= (wxListItem
*) 0 ;
27294 PyObject
*swig_obj
[1] ;
27296 if (!args
) SWIG_fail
;
27297 swig_obj
[0] = args
;
27298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27299 if (!SWIG_IsOK(res1
)) {
27300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27302 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27303 result
= (int) ((arg1
)->m_col
);
27304 resultobj
= SWIG_From_int(static_cast< int >(result
));
27311 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27312 PyObject
*resultobj
= 0;
27313 wxListItem
*arg1
= (wxListItem
*) 0 ;
27319 PyObject
*swig_obj
[2] ;
27321 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27323 if (!SWIG_IsOK(res1
)) {
27324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27326 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27327 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27328 if (!SWIG_IsOK(ecode2
)) {
27329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27331 arg2
= static_cast< long >(val2
);
27332 if (arg1
) (arg1
)->m_state
= arg2
;
27334 resultobj
= SWIG_Py_Void();
27341 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27342 PyObject
*resultobj
= 0;
27343 wxListItem
*arg1
= (wxListItem
*) 0 ;
27347 PyObject
*swig_obj
[1] ;
27349 if (!args
) SWIG_fail
;
27350 swig_obj
[0] = args
;
27351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27352 if (!SWIG_IsOK(res1
)) {
27353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27355 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27356 result
= (long) ((arg1
)->m_state
);
27357 resultobj
= SWIG_From_long(static_cast< long >(result
));
27364 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27365 PyObject
*resultobj
= 0;
27366 wxListItem
*arg1
= (wxListItem
*) 0 ;
27372 PyObject
*swig_obj
[2] ;
27374 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27376 if (!SWIG_IsOK(res1
)) {
27377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27379 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27380 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27381 if (!SWIG_IsOK(ecode2
)) {
27382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27384 arg2
= static_cast< long >(val2
);
27385 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27387 resultobj
= SWIG_Py_Void();
27394 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27395 PyObject
*resultobj
= 0;
27396 wxListItem
*arg1
= (wxListItem
*) 0 ;
27400 PyObject
*swig_obj
[1] ;
27402 if (!args
) SWIG_fail
;
27403 swig_obj
[0] = args
;
27404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27405 if (!SWIG_IsOK(res1
)) {
27406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27408 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27409 result
= (long) ((arg1
)->m_stateMask
);
27410 resultobj
= SWIG_From_long(static_cast< long >(result
));
27417 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27418 PyObject
*resultobj
= 0;
27419 wxListItem
*arg1
= (wxListItem
*) 0 ;
27420 wxString
*arg2
= (wxString
*) 0 ;
27423 bool temp2
= false ;
27424 PyObject
*swig_obj
[2] ;
27426 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27428 if (!SWIG_IsOK(res1
)) {
27429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27431 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27433 arg2
= wxString_in_helper(swig_obj
[1]);
27434 if (arg2
== NULL
) SWIG_fail
;
27437 if (arg1
) (arg1
)->m_text
= *arg2
;
27439 resultobj
= SWIG_Py_Void();
27454 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27455 PyObject
*resultobj
= 0;
27456 wxListItem
*arg1
= (wxListItem
*) 0 ;
27457 wxString
*result
= 0 ;
27460 PyObject
*swig_obj
[1] ;
27462 if (!args
) SWIG_fail
;
27463 swig_obj
[0] = args
;
27464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27465 if (!SWIG_IsOK(res1
)) {
27466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27468 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27469 result
= (wxString
*)& ((arg1
)->m_text
);
27472 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27474 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27483 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27484 PyObject
*resultobj
= 0;
27485 wxListItem
*arg1
= (wxListItem
*) 0 ;
27491 PyObject
*swig_obj
[2] ;
27493 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27495 if (!SWIG_IsOK(res1
)) {
27496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27498 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27499 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27500 if (!SWIG_IsOK(ecode2
)) {
27501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27503 arg2
= static_cast< int >(val2
);
27504 if (arg1
) (arg1
)->m_image
= arg2
;
27506 resultobj
= SWIG_Py_Void();
27513 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27514 PyObject
*resultobj
= 0;
27515 wxListItem
*arg1
= (wxListItem
*) 0 ;
27519 PyObject
*swig_obj
[1] ;
27521 if (!args
) SWIG_fail
;
27522 swig_obj
[0] = args
;
27523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27524 if (!SWIG_IsOK(res1
)) {
27525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27527 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27528 result
= (int) ((arg1
)->m_image
);
27529 resultobj
= SWIG_From_int(static_cast< int >(result
));
27536 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27537 PyObject
*resultobj
= 0;
27538 wxListItem
*arg1
= (wxListItem
*) 0 ;
27544 PyObject
*swig_obj
[2] ;
27546 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27548 if (!SWIG_IsOK(res1
)) {
27549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27551 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27552 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27553 if (!SWIG_IsOK(ecode2
)) {
27554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27556 arg2
= static_cast< long >(val2
);
27557 if (arg1
) (arg1
)->m_data
= arg2
;
27559 resultobj
= SWIG_Py_Void();
27566 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27567 PyObject
*resultobj
= 0;
27568 wxListItem
*arg1
= (wxListItem
*) 0 ;
27572 PyObject
*swig_obj
[1] ;
27574 if (!args
) SWIG_fail
;
27575 swig_obj
[0] = args
;
27576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27577 if (!SWIG_IsOK(res1
)) {
27578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27580 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27581 result
= (long) ((arg1
)->m_data
);
27582 resultobj
= SWIG_From_long(static_cast< long >(result
));
27589 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27590 PyObject
*resultobj
= 0;
27591 wxListItem
*arg1
= (wxListItem
*) 0 ;
27597 PyObject
*swig_obj
[2] ;
27599 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27601 if (!SWIG_IsOK(res1
)) {
27602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27604 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27605 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27606 if (!SWIG_IsOK(ecode2
)) {
27607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27609 arg2
= static_cast< int >(val2
);
27610 if (arg1
) (arg1
)->m_format
= arg2
;
27612 resultobj
= SWIG_Py_Void();
27619 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27620 PyObject
*resultobj
= 0;
27621 wxListItem
*arg1
= (wxListItem
*) 0 ;
27625 PyObject
*swig_obj
[1] ;
27627 if (!args
) SWIG_fail
;
27628 swig_obj
[0] = args
;
27629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27630 if (!SWIG_IsOK(res1
)) {
27631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27633 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27634 result
= (int) ((arg1
)->m_format
);
27635 resultobj
= SWIG_From_int(static_cast< int >(result
));
27642 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27643 PyObject
*resultobj
= 0;
27644 wxListItem
*arg1
= (wxListItem
*) 0 ;
27650 PyObject
*swig_obj
[2] ;
27652 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
27653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27654 if (!SWIG_IsOK(res1
)) {
27655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27657 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27658 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27659 if (!SWIG_IsOK(ecode2
)) {
27660 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27662 arg2
= static_cast< int >(val2
);
27663 if (arg1
) (arg1
)->m_width
= arg2
;
27665 resultobj
= SWIG_Py_Void();
27672 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27673 PyObject
*resultobj
= 0;
27674 wxListItem
*arg1
= (wxListItem
*) 0 ;
27678 PyObject
*swig_obj
[1] ;
27680 if (!args
) SWIG_fail
;
27681 swig_obj
[0] = args
;
27682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27683 if (!SWIG_IsOK(res1
)) {
27684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27686 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27687 result
= (int) ((arg1
)->m_width
);
27688 resultobj
= SWIG_From_int(static_cast< int >(result
));
27695 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27697 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27698 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
27699 return SWIG_Py_Void();
27702 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27703 return SWIG_Python_InitShadowInstance(args
);
27706 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27707 PyObject
*resultobj
= 0;
27708 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27709 int arg2
= (int) 0 ;
27710 wxListEvent
*result
= 0 ;
27715 PyObject
* obj0
= 0 ;
27716 PyObject
* obj1
= 0 ;
27717 char * kwnames
[] = {
27718 (char *) "commandType",(char *) "id", NULL
27721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27723 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27724 if (!SWIG_IsOK(ecode1
)) {
27725 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27727 arg1
= static_cast< wxEventType
>(val1
);
27730 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27731 if (!SWIG_IsOK(ecode2
)) {
27732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
27734 arg2
= static_cast< int >(val2
);
27737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27738 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
27739 wxPyEndAllowThreads(__tstate
);
27740 if (PyErr_Occurred()) SWIG_fail
;
27742 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
27749 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27750 PyObject
*resultobj
= 0;
27751 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27757 PyObject
*swig_obj
[2] ;
27759 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
27760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27761 if (!SWIG_IsOK(res1
)) {
27762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27764 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27765 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27766 if (!SWIG_IsOK(ecode2
)) {
27767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
27769 arg2
= static_cast< int >(val2
);
27770 if (arg1
) (arg1
)->m_code
= arg2
;
27772 resultobj
= SWIG_Py_Void();
27779 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27780 PyObject
*resultobj
= 0;
27781 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27785 PyObject
*swig_obj
[1] ;
27787 if (!args
) SWIG_fail
;
27788 swig_obj
[0] = args
;
27789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27790 if (!SWIG_IsOK(res1
)) {
27791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27793 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27794 result
= (int) ((arg1
)->m_code
);
27795 resultobj
= SWIG_From_int(static_cast< int >(result
));
27802 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27803 PyObject
*resultobj
= 0;
27804 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27810 PyObject
*swig_obj
[2] ;
27812 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27814 if (!SWIG_IsOK(res1
)) {
27815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27817 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27818 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27819 if (!SWIG_IsOK(ecode2
)) {
27820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
27822 arg2
= static_cast< long >(val2
);
27823 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
27825 resultobj
= SWIG_Py_Void();
27832 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27833 PyObject
*resultobj
= 0;
27834 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27838 PyObject
*swig_obj
[1] ;
27840 if (!args
) SWIG_fail
;
27841 swig_obj
[0] = args
;
27842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27843 if (!SWIG_IsOK(res1
)) {
27844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27846 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27847 result
= (long) ((arg1
)->m_oldItemIndex
);
27848 resultobj
= SWIG_From_long(static_cast< long >(result
));
27855 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27856 PyObject
*resultobj
= 0;
27857 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27863 PyObject
*swig_obj
[2] ;
27865 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27867 if (!SWIG_IsOK(res1
)) {
27868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27870 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27871 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27872 if (!SWIG_IsOK(ecode2
)) {
27873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
27875 arg2
= static_cast< long >(val2
);
27876 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
27878 resultobj
= SWIG_Py_Void();
27885 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27886 PyObject
*resultobj
= 0;
27887 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27891 PyObject
*swig_obj
[1] ;
27893 if (!args
) SWIG_fail
;
27894 swig_obj
[0] = args
;
27895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27896 if (!SWIG_IsOK(res1
)) {
27897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27899 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27900 result
= (long) ((arg1
)->m_itemIndex
);
27901 resultobj
= SWIG_From_long(static_cast< long >(result
));
27908 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27909 PyObject
*resultobj
= 0;
27910 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27916 PyObject
*swig_obj
[2] ;
27918 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27920 if (!SWIG_IsOK(res1
)) {
27921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27923 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27924 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27925 if (!SWIG_IsOK(ecode2
)) {
27926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
27928 arg2
= static_cast< int >(val2
);
27929 if (arg1
) (arg1
)->m_col
= arg2
;
27931 resultobj
= SWIG_Py_Void();
27938 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27939 PyObject
*resultobj
= 0;
27940 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27944 PyObject
*swig_obj
[1] ;
27946 if (!args
) SWIG_fail
;
27947 swig_obj
[0] = args
;
27948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27949 if (!SWIG_IsOK(res1
)) {
27950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27952 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27953 result
= (int) ((arg1
)->m_col
);
27954 resultobj
= SWIG_From_int(static_cast< int >(result
));
27961 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27962 PyObject
*resultobj
= 0;
27963 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27964 wxPoint
*arg2
= (wxPoint
*) 0 ;
27969 PyObject
*swig_obj
[2] ;
27971 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
27972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27973 if (!SWIG_IsOK(res1
)) {
27974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27976 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27977 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
27978 if (!SWIG_IsOK(res2
)) {
27979 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
27981 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
27982 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
27984 resultobj
= SWIG_Py_Void();
27991 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27992 PyObject
*resultobj
= 0;
27993 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27994 wxPoint
*result
= 0 ;
27997 PyObject
*swig_obj
[1] ;
27999 if (!args
) SWIG_fail
;
28000 swig_obj
[0] = args
;
28001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28002 if (!SWIG_IsOK(res1
)) {
28003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28005 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28006 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28007 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28014 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28015 PyObject
*resultobj
= 0;
28016 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28017 wxListItem
*result
= 0 ;
28020 PyObject
*swig_obj
[1] ;
28022 if (!args
) SWIG_fail
;
28023 swig_obj
[0] = args
;
28024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28025 if (!SWIG_IsOK(res1
)) {
28026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28028 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28029 result
= (wxListItem
*)& ((arg1
)->m_item
);
28031 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28039 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28040 PyObject
*resultobj
= 0;
28041 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28045 PyObject
*swig_obj
[1] ;
28047 if (!args
) SWIG_fail
;
28048 swig_obj
[0] = args
;
28049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28050 if (!SWIG_IsOK(res1
)) {
28051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28053 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28056 result
= (int)(arg1
)->GetKeyCode();
28057 wxPyEndAllowThreads(__tstate
);
28058 if (PyErr_Occurred()) SWIG_fail
;
28060 resultobj
= SWIG_From_int(static_cast< int >(result
));
28067 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28068 PyObject
*resultobj
= 0;
28069 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28073 PyObject
*swig_obj
[1] ;
28075 if (!args
) SWIG_fail
;
28076 swig_obj
[0] = args
;
28077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28078 if (!SWIG_IsOK(res1
)) {
28079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28081 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28084 result
= (long)(arg1
)->GetIndex();
28085 wxPyEndAllowThreads(__tstate
);
28086 if (PyErr_Occurred()) SWIG_fail
;
28088 resultobj
= SWIG_From_long(static_cast< long >(result
));
28095 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28096 PyObject
*resultobj
= 0;
28097 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28101 PyObject
*swig_obj
[1] ;
28103 if (!args
) SWIG_fail
;
28104 swig_obj
[0] = args
;
28105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28106 if (!SWIG_IsOK(res1
)) {
28107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28109 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28112 result
= (int)(arg1
)->GetColumn();
28113 wxPyEndAllowThreads(__tstate
);
28114 if (PyErr_Occurred()) SWIG_fail
;
28116 resultobj
= SWIG_From_int(static_cast< int >(result
));
28123 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28124 PyObject
*resultobj
= 0;
28125 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28129 PyObject
*swig_obj
[1] ;
28131 if (!args
) SWIG_fail
;
28132 swig_obj
[0] = args
;
28133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28134 if (!SWIG_IsOK(res1
)) {
28135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28137 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28140 result
= (arg1
)->GetPoint();
28141 wxPyEndAllowThreads(__tstate
);
28142 if (PyErr_Occurred()) SWIG_fail
;
28144 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28151 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28152 PyObject
*resultobj
= 0;
28153 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28154 wxString
*result
= 0 ;
28157 PyObject
*swig_obj
[1] ;
28159 if (!args
) SWIG_fail
;
28160 swig_obj
[0] = args
;
28161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28162 if (!SWIG_IsOK(res1
)) {
28163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28165 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28169 wxString
const &_result_ref
= (arg1
)->GetLabel();
28170 result
= (wxString
*) &_result_ref
;
28172 wxPyEndAllowThreads(__tstate
);
28173 if (PyErr_Occurred()) SWIG_fail
;
28177 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28179 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28188 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28189 PyObject
*resultobj
= 0;
28190 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28191 wxString
*result
= 0 ;
28194 PyObject
*swig_obj
[1] ;
28196 if (!args
) SWIG_fail
;
28197 swig_obj
[0] = args
;
28198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28199 if (!SWIG_IsOK(res1
)) {
28200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28202 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28206 wxString
const &_result_ref
= (arg1
)->GetText();
28207 result
= (wxString
*) &_result_ref
;
28209 wxPyEndAllowThreads(__tstate
);
28210 if (PyErr_Occurred()) SWIG_fail
;
28214 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28216 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28225 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28226 PyObject
*resultobj
= 0;
28227 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28231 PyObject
*swig_obj
[1] ;
28233 if (!args
) SWIG_fail
;
28234 swig_obj
[0] = args
;
28235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28236 if (!SWIG_IsOK(res1
)) {
28237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28239 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28242 result
= (int)(arg1
)->GetImage();
28243 wxPyEndAllowThreads(__tstate
);
28244 if (PyErr_Occurred()) SWIG_fail
;
28246 resultobj
= SWIG_From_int(static_cast< int >(result
));
28253 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28254 PyObject
*resultobj
= 0;
28255 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28259 PyObject
*swig_obj
[1] ;
28261 if (!args
) SWIG_fail
;
28262 swig_obj
[0] = args
;
28263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28264 if (!SWIG_IsOK(res1
)) {
28265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28267 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28270 result
= (long)(arg1
)->GetData();
28271 wxPyEndAllowThreads(__tstate
);
28272 if (PyErr_Occurred()) SWIG_fail
;
28274 resultobj
= SWIG_From_long(static_cast< long >(result
));
28281 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28282 PyObject
*resultobj
= 0;
28283 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28287 PyObject
*swig_obj
[1] ;
28289 if (!args
) SWIG_fail
;
28290 swig_obj
[0] = args
;
28291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28292 if (!SWIG_IsOK(res1
)) {
28293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28295 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28298 result
= (long)(arg1
)->GetMask();
28299 wxPyEndAllowThreads(__tstate
);
28300 if (PyErr_Occurred()) SWIG_fail
;
28302 resultobj
= SWIG_From_long(static_cast< long >(result
));
28309 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28310 PyObject
*resultobj
= 0;
28311 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28312 wxListItem
*result
= 0 ;
28315 PyObject
*swig_obj
[1] ;
28317 if (!args
) SWIG_fail
;
28318 swig_obj
[0] = args
;
28319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28320 if (!SWIG_IsOK(res1
)) {
28321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28323 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28327 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28328 result
= (wxListItem
*) &_result_ref
;
28330 wxPyEndAllowThreads(__tstate
);
28331 if (PyErr_Occurred()) SWIG_fail
;
28333 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28340 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28341 PyObject
*resultobj
= 0;
28342 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28346 PyObject
*swig_obj
[1] ;
28348 if (!args
) SWIG_fail
;
28349 swig_obj
[0] = args
;
28350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28351 if (!SWIG_IsOK(res1
)) {
28352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28354 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28357 result
= (long)(arg1
)->GetCacheFrom();
28358 wxPyEndAllowThreads(__tstate
);
28359 if (PyErr_Occurred()) SWIG_fail
;
28361 resultobj
= SWIG_From_long(static_cast< long >(result
));
28368 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28369 PyObject
*resultobj
= 0;
28370 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28374 PyObject
*swig_obj
[1] ;
28376 if (!args
) SWIG_fail
;
28377 swig_obj
[0] = args
;
28378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28379 if (!SWIG_IsOK(res1
)) {
28380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28382 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28385 result
= (long)(arg1
)->GetCacheTo();
28386 wxPyEndAllowThreads(__tstate
);
28387 if (PyErr_Occurred()) SWIG_fail
;
28389 resultobj
= SWIG_From_long(static_cast< long >(result
));
28396 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28397 PyObject
*resultobj
= 0;
28398 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28402 PyObject
*swig_obj
[1] ;
28404 if (!args
) SWIG_fail
;
28405 swig_obj
[0] = args
;
28406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28407 if (!SWIG_IsOK(res1
)) {
28408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28410 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28413 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28414 wxPyEndAllowThreads(__tstate
);
28415 if (PyErr_Occurred()) SWIG_fail
;
28418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28426 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28427 PyObject
*resultobj
= 0;
28428 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28434 PyObject
* obj0
= 0 ;
28435 PyObject
* obj1
= 0 ;
28436 char * kwnames
[] = {
28437 (char *) "self",(char *) "editCancelled", NULL
28440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28442 if (!SWIG_IsOK(res1
)) {
28443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28445 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28446 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28447 if (!SWIG_IsOK(ecode2
)) {
28448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28450 arg2
= static_cast< bool >(val2
);
28452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28453 (arg1
)->SetEditCanceled(arg2
);
28454 wxPyEndAllowThreads(__tstate
);
28455 if (PyErr_Occurred()) SWIG_fail
;
28457 resultobj
= SWIG_Py_Void();
28464 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28466 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28467 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28468 return SWIG_Py_Void();
28471 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28472 return SWIG_Python_InitShadowInstance(args
);
28475 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28476 PyObject
*resultobj
= 0;
28477 wxWindow
*arg1
= (wxWindow
*) 0 ;
28478 int arg2
= (int) -1 ;
28479 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28480 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28481 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28482 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28483 long arg5
= (long) wxLC_ICON
;
28484 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28485 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28486 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28487 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28488 wxPyListCtrl
*result
= 0 ;
28499 bool temp7
= false ;
28500 PyObject
* obj0
= 0 ;
28501 PyObject
* obj1
= 0 ;
28502 PyObject
* obj2
= 0 ;
28503 PyObject
* obj3
= 0 ;
28504 PyObject
* obj4
= 0 ;
28505 PyObject
* obj5
= 0 ;
28506 PyObject
* obj6
= 0 ;
28507 char * kwnames
[] = {
28508 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28513 if (!SWIG_IsOK(res1
)) {
28514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28516 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28518 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28519 if (!SWIG_IsOK(ecode2
)) {
28520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28522 arg2
= static_cast< int >(val2
);
28527 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28533 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28537 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28538 if (!SWIG_IsOK(ecode5
)) {
28539 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28541 arg5
= static_cast< long >(val5
);
28544 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28545 if (!SWIG_IsOK(res6
)) {
28546 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28549 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28551 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28555 arg7
= wxString_in_helper(obj6
);
28556 if (arg7
== NULL
) SWIG_fail
;
28561 if (!wxPyCheckForApp()) SWIG_fail
;
28562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28563 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28564 wxPyEndAllowThreads(__tstate
);
28565 if (PyErr_Occurred()) SWIG_fail
;
28567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28582 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28583 PyObject
*resultobj
= 0;
28584 wxPyListCtrl
*result
= 0 ;
28586 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28588 if (!wxPyCheckForApp()) SWIG_fail
;
28589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28590 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28591 wxPyEndAllowThreads(__tstate
);
28592 if (PyErr_Occurred()) SWIG_fail
;
28594 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28601 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28602 PyObject
*resultobj
= 0;
28603 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28604 wxWindow
*arg2
= (wxWindow
*) 0 ;
28605 int arg3
= (int) -1 ;
28606 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28607 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28608 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28609 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28610 long arg6
= (long) wxLC_ICON
;
28611 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28612 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28613 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28614 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28628 bool temp8
= false ;
28629 PyObject
* obj0
= 0 ;
28630 PyObject
* obj1
= 0 ;
28631 PyObject
* obj2
= 0 ;
28632 PyObject
* obj3
= 0 ;
28633 PyObject
* obj4
= 0 ;
28634 PyObject
* obj5
= 0 ;
28635 PyObject
* obj6
= 0 ;
28636 PyObject
* obj7
= 0 ;
28637 char * kwnames
[] = {
28638 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28643 if (!SWIG_IsOK(res1
)) {
28644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28646 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28647 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28648 if (!SWIG_IsOK(res2
)) {
28649 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28651 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28653 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28654 if (!SWIG_IsOK(ecode3
)) {
28655 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28657 arg3
= static_cast< int >(val3
);
28662 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28668 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28672 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28673 if (!SWIG_IsOK(ecode6
)) {
28674 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28676 arg6
= static_cast< long >(val6
);
28679 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
28680 if (!SWIG_IsOK(res7
)) {
28681 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28684 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28686 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
28690 arg8
= wxString_in_helper(obj7
);
28691 if (arg8
== NULL
) SWIG_fail
;
28696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28697 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28698 wxPyEndAllowThreads(__tstate
);
28699 if (PyErr_Occurred()) SWIG_fail
;
28702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28718 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28719 PyObject
*resultobj
= 0;
28720 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28721 PyObject
*arg2
= (PyObject
*) 0 ;
28722 PyObject
*arg3
= (PyObject
*) 0 ;
28725 PyObject
* obj0
= 0 ;
28726 PyObject
* obj1
= 0 ;
28727 PyObject
* obj2
= 0 ;
28728 char * kwnames
[] = {
28729 (char *) "self",(char *) "self",(char *) "_class", NULL
28732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28734 if (!SWIG_IsOK(res1
)) {
28735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28737 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28742 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28743 wxPyEndAllowThreads(__tstate
);
28744 if (PyErr_Occurred()) SWIG_fail
;
28746 resultobj
= SWIG_Py_Void();
28753 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28754 PyObject
*resultobj
= 0;
28755 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28757 wxListItem
*result
= 0 ;
28762 PyObject
* obj0
= 0 ;
28763 PyObject
* obj1
= 0 ;
28764 char * kwnames
[] = {
28765 (char *) "self",(char *) "col", NULL
28768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28770 if (!SWIG_IsOK(res1
)) {
28771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28773 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28774 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28775 if (!SWIG_IsOK(ecode2
)) {
28776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
28778 arg2
= static_cast< int >(val2
);
28780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28781 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
28782 wxPyEndAllowThreads(__tstate
);
28783 if (PyErr_Occurred()) SWIG_fail
;
28786 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28794 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28795 PyObject
*resultobj
= 0;
28796 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28798 wxListItem
*arg3
= 0 ;
28806 PyObject
* obj0
= 0 ;
28807 PyObject
* obj1
= 0 ;
28808 PyObject
* obj2
= 0 ;
28809 char * kwnames
[] = {
28810 (char *) "self",(char *) "col",(char *) "item", NULL
28813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28815 if (!SWIG_IsOK(res1
)) {
28816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28818 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28819 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28820 if (!SWIG_IsOK(ecode2
)) {
28821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
28823 arg2
= static_cast< int >(val2
);
28824 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
28825 if (!SWIG_IsOK(res3
)) {
28826 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28829 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28831 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
28833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28834 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
28835 wxPyEndAllowThreads(__tstate
);
28836 if (PyErr_Occurred()) SWIG_fail
;
28839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28847 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28848 PyObject
*resultobj
= 0;
28849 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28856 PyObject
* obj0
= 0 ;
28857 PyObject
* obj1
= 0 ;
28858 char * kwnames
[] = {
28859 (char *) "self",(char *) "col", NULL
28862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28864 if (!SWIG_IsOK(res1
)) {
28865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28867 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28868 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28869 if (!SWIG_IsOK(ecode2
)) {
28870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28872 arg2
= static_cast< int >(val2
);
28874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28875 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
28876 wxPyEndAllowThreads(__tstate
);
28877 if (PyErr_Occurred()) SWIG_fail
;
28879 resultobj
= SWIG_From_int(static_cast< int >(result
));
28886 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28887 PyObject
*resultobj
= 0;
28888 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28898 PyObject
* obj0
= 0 ;
28899 PyObject
* obj1
= 0 ;
28900 PyObject
* obj2
= 0 ;
28901 char * kwnames
[] = {
28902 (char *) "self",(char *) "col",(char *) "width", NULL
28905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28907 if (!SWIG_IsOK(res1
)) {
28908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28910 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28911 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28912 if (!SWIG_IsOK(ecode2
)) {
28913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28915 arg2
= static_cast< int >(val2
);
28916 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28917 if (!SWIG_IsOK(ecode3
)) {
28918 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
28920 arg3
= static_cast< int >(val3
);
28922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28923 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
28924 wxPyEndAllowThreads(__tstate
);
28925 if (PyErr_Occurred()) SWIG_fail
;
28928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28936 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28937 PyObject
*resultobj
= 0;
28938 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28942 PyObject
*swig_obj
[1] ;
28944 if (!args
) SWIG_fail
;
28945 swig_obj
[0] = args
;
28946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28947 if (!SWIG_IsOK(res1
)) {
28948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28950 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28953 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
28954 wxPyEndAllowThreads(__tstate
);
28955 if (PyErr_Occurred()) SWIG_fail
;
28957 resultobj
= SWIG_From_int(static_cast< int >(result
));
28964 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28965 PyObject
*resultobj
= 0;
28966 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28970 PyObject
*swig_obj
[1] ;
28972 if (!args
) SWIG_fail
;
28973 swig_obj
[0] = args
;
28974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28975 if (!SWIG_IsOK(res1
)) {
28976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28978 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28981 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
28982 wxPyEndAllowThreads(__tstate
);
28983 if (PyErr_Occurred()) SWIG_fail
;
28985 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28992 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28993 PyObject
*resultobj
= 0;
28994 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28995 wxTextCtrl
*result
= 0 ;
28998 PyObject
*swig_obj
[1] ;
29000 if (!args
) SWIG_fail
;
29001 swig_obj
[0] = args
;
29002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29003 if (!SWIG_IsOK(res1
)) {
29004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29006 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29009 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29010 wxPyEndAllowThreads(__tstate
);
29011 if (PyErr_Occurred()) SWIG_fail
;
29014 resultobj
= wxPyMake_wxObject(result
, 0);
29022 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29023 PyObject
*resultobj
= 0;
29024 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29026 int arg3
= (int) 0 ;
29027 wxListItem
*result
= 0 ;
29034 PyObject
* obj0
= 0 ;
29035 PyObject
* obj1
= 0 ;
29036 PyObject
* obj2
= 0 ;
29037 char * kwnames
[] = {
29038 (char *) "self",(char *) "itemId",(char *) "col", NULL
29041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29043 if (!SWIG_IsOK(res1
)) {
29044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29046 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29047 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29048 if (!SWIG_IsOK(ecode2
)) {
29049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29051 arg2
= static_cast< long >(val2
);
29053 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29054 if (!SWIG_IsOK(ecode3
)) {
29055 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29057 arg3
= static_cast< int >(val3
);
29060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29061 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29062 wxPyEndAllowThreads(__tstate
);
29063 if (PyErr_Occurred()) SWIG_fail
;
29066 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29074 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29075 PyObject
*resultobj
= 0;
29076 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29077 wxListItem
*arg2
= 0 ;
29083 PyObject
* obj0
= 0 ;
29084 PyObject
* obj1
= 0 ;
29085 char * kwnames
[] = {
29086 (char *) "self",(char *) "info", NULL
29089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29091 if (!SWIG_IsOK(res1
)) {
29092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29094 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29095 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29096 if (!SWIG_IsOK(res2
)) {
29097 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29100 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29102 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29105 result
= (bool)(arg1
)->SetItem(*arg2
);
29106 wxPyEndAllowThreads(__tstate
);
29107 if (PyErr_Occurred()) SWIG_fail
;
29110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29118 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29119 PyObject
*resultobj
= 0;
29120 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29123 wxString
*arg4
= 0 ;
29124 int arg5
= (int) -1 ;
29132 bool temp4
= false ;
29135 PyObject
* obj0
= 0 ;
29136 PyObject
* obj1
= 0 ;
29137 PyObject
* obj2
= 0 ;
29138 PyObject
* obj3
= 0 ;
29139 PyObject
* obj4
= 0 ;
29140 char * kwnames
[] = {
29141 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29146 if (!SWIG_IsOK(res1
)) {
29147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29149 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29150 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29151 if (!SWIG_IsOK(ecode2
)) {
29152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29154 arg2
= static_cast< long >(val2
);
29155 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29156 if (!SWIG_IsOK(ecode3
)) {
29157 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29159 arg3
= static_cast< int >(val3
);
29161 arg4
= wxString_in_helper(obj3
);
29162 if (arg4
== NULL
) SWIG_fail
;
29166 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29167 if (!SWIG_IsOK(ecode5
)) {
29168 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29170 arg5
= static_cast< int >(val5
);
29173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29174 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29175 wxPyEndAllowThreads(__tstate
);
29176 if (PyErr_Occurred()) SWIG_fail
;
29178 resultobj
= SWIG_From_long(static_cast< long >(result
));
29193 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29194 PyObject
*resultobj
= 0;
29195 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29205 PyObject
* obj0
= 0 ;
29206 PyObject
* obj1
= 0 ;
29207 PyObject
* obj2
= 0 ;
29208 char * kwnames
[] = {
29209 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29214 if (!SWIG_IsOK(res1
)) {
29215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29217 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29218 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29219 if (!SWIG_IsOK(ecode2
)) {
29220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29222 arg2
= static_cast< long >(val2
);
29223 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29224 if (!SWIG_IsOK(ecode3
)) {
29225 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29227 arg3
= static_cast< long >(val3
);
29229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29230 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29231 wxPyEndAllowThreads(__tstate
);
29232 if (PyErr_Occurred()) SWIG_fail
;
29234 resultobj
= SWIG_From_int(static_cast< int >(result
));
29241 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29242 PyObject
*resultobj
= 0;
29243 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29256 PyObject
* obj0
= 0 ;
29257 PyObject
* obj1
= 0 ;
29258 PyObject
* obj2
= 0 ;
29259 PyObject
* obj3
= 0 ;
29260 char * kwnames
[] = {
29261 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29266 if (!SWIG_IsOK(res1
)) {
29267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29269 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29270 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29271 if (!SWIG_IsOK(ecode2
)) {
29272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29274 arg2
= static_cast< long >(val2
);
29275 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29276 if (!SWIG_IsOK(ecode3
)) {
29277 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29279 arg3
= static_cast< long >(val3
);
29280 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29281 if (!SWIG_IsOK(ecode4
)) {
29282 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29284 arg4
= static_cast< long >(val4
);
29286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29287 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29288 wxPyEndAllowThreads(__tstate
);
29289 if (PyErr_Occurred()) SWIG_fail
;
29292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29300 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29301 PyObject
*resultobj
= 0;
29302 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29305 int arg4
= (int) -1 ;
29315 PyObject
* obj0
= 0 ;
29316 PyObject
* obj1
= 0 ;
29317 PyObject
* obj2
= 0 ;
29318 PyObject
* obj3
= 0 ;
29319 char * kwnames
[] = {
29320 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29325 if (!SWIG_IsOK(res1
)) {
29326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29328 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29329 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29330 if (!SWIG_IsOK(ecode2
)) {
29331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29333 arg2
= static_cast< long >(val2
);
29334 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29335 if (!SWIG_IsOK(ecode3
)) {
29336 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29338 arg3
= static_cast< int >(val3
);
29340 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29341 if (!SWIG_IsOK(ecode4
)) {
29342 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29344 arg4
= static_cast< int >(val4
);
29347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29348 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29349 wxPyEndAllowThreads(__tstate
);
29350 if (PyErr_Occurred()) SWIG_fail
;
29353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29361 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29362 PyObject
*resultobj
= 0;
29363 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29376 PyObject
* obj0
= 0 ;
29377 PyObject
* obj1
= 0 ;
29378 PyObject
* obj2
= 0 ;
29379 PyObject
* obj3
= 0 ;
29380 char * kwnames
[] = {
29381 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29386 if (!SWIG_IsOK(res1
)) {
29387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29389 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29390 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29391 if (!SWIG_IsOK(ecode2
)) {
29392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29394 arg2
= static_cast< long >(val2
);
29395 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29396 if (!SWIG_IsOK(ecode3
)) {
29397 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29399 arg3
= static_cast< long >(val3
);
29400 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29401 if (!SWIG_IsOK(ecode4
)) {
29402 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29404 arg4
= static_cast< int >(val4
);
29406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29407 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29408 wxPyEndAllowThreads(__tstate
);
29409 if (PyErr_Occurred()) SWIG_fail
;
29412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29420 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29421 PyObject
*resultobj
= 0;
29422 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29429 PyObject
* obj0
= 0 ;
29430 PyObject
* obj1
= 0 ;
29431 char * kwnames
[] = {
29432 (char *) "self",(char *) "item", NULL
29435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29437 if (!SWIG_IsOK(res1
)) {
29438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29440 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29441 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29442 if (!SWIG_IsOK(ecode2
)) {
29443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29445 arg2
= static_cast< long >(val2
);
29447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29448 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29449 wxPyEndAllowThreads(__tstate
);
29450 if (PyErr_Occurred()) SWIG_fail
;
29454 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29456 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29465 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29466 PyObject
*resultobj
= 0;
29467 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29469 wxString
*arg3
= 0 ;
29474 bool temp3
= false ;
29475 PyObject
* obj0
= 0 ;
29476 PyObject
* obj1
= 0 ;
29477 PyObject
* obj2
= 0 ;
29478 char * kwnames
[] = {
29479 (char *) "self",(char *) "item",(char *) "str", NULL
29482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29484 if (!SWIG_IsOK(res1
)) {
29485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29487 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29488 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29489 if (!SWIG_IsOK(ecode2
)) {
29490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29492 arg2
= static_cast< long >(val2
);
29494 arg3
= wxString_in_helper(obj2
);
29495 if (arg3
== NULL
) SWIG_fail
;
29499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29500 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29501 wxPyEndAllowThreads(__tstate
);
29502 if (PyErr_Occurred()) SWIG_fail
;
29504 resultobj
= SWIG_Py_Void();
29519 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29520 PyObject
*resultobj
= 0;
29521 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29528 PyObject
* obj0
= 0 ;
29529 PyObject
* obj1
= 0 ;
29530 char * kwnames
[] = {
29531 (char *) "self",(char *) "item", NULL
29534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29536 if (!SWIG_IsOK(res1
)) {
29537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29539 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29540 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29541 if (!SWIG_IsOK(ecode2
)) {
29542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29544 arg2
= static_cast< long >(val2
);
29546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29547 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29548 wxPyEndAllowThreads(__tstate
);
29549 if (PyErr_Occurred()) SWIG_fail
;
29551 resultobj
= SWIG_From_long(static_cast< long >(result
));
29558 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29559 PyObject
*resultobj
= 0;
29560 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29570 PyObject
* obj0
= 0 ;
29571 PyObject
* obj1
= 0 ;
29572 PyObject
* obj2
= 0 ;
29573 char * kwnames
[] = {
29574 (char *) "self",(char *) "item",(char *) "data", NULL
29577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29579 if (!SWIG_IsOK(res1
)) {
29580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29582 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29583 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29584 if (!SWIG_IsOK(ecode2
)) {
29585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29587 arg2
= static_cast< long >(val2
);
29588 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29589 if (!SWIG_IsOK(ecode3
)) {
29590 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29592 arg3
= static_cast< long >(val3
);
29594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29595 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29596 wxPyEndAllowThreads(__tstate
);
29597 if (PyErr_Occurred()) SWIG_fail
;
29600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29608 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29609 PyObject
*resultobj
= 0;
29610 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29617 PyObject
* obj0
= 0 ;
29618 PyObject
* obj1
= 0 ;
29619 char * kwnames
[] = {
29620 (char *) "self",(char *) "item", NULL
29623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29625 if (!SWIG_IsOK(res1
)) {
29626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29628 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29629 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29630 if (!SWIG_IsOK(ecode2
)) {
29631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29633 arg2
= static_cast< long >(val2
);
29635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29636 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29637 wxPyEndAllowThreads(__tstate
);
29638 if (PyErr_Occurred()) SWIG_fail
;
29640 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29647 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29648 PyObject
*resultobj
= 0;
29649 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29651 int arg3
= (int) wxLIST_RECT_BOUNDS
;
29659 PyObject
* obj0
= 0 ;
29660 PyObject
* obj1
= 0 ;
29661 PyObject
* obj2
= 0 ;
29662 char * kwnames
[] = {
29663 (char *) "self",(char *) "item",(char *) "code", NULL
29666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29668 if (!SWIG_IsOK(res1
)) {
29669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29671 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29672 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29673 if (!SWIG_IsOK(ecode2
)) {
29674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29676 arg2
= static_cast< long >(val2
);
29678 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29679 if (!SWIG_IsOK(ecode3
)) {
29680 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29682 arg3
= static_cast< int >(val3
);
29685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29686 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
29687 wxPyEndAllowThreads(__tstate
);
29688 if (PyErr_Occurred()) SWIG_fail
;
29690 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29697 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29698 PyObject
*resultobj
= 0;
29699 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29701 wxPoint
*arg3
= 0 ;
29708 PyObject
* obj0
= 0 ;
29709 PyObject
* obj1
= 0 ;
29710 PyObject
* obj2
= 0 ;
29711 char * kwnames
[] = {
29712 (char *) "self",(char *) "item",(char *) "pos", NULL
29715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29717 if (!SWIG_IsOK(res1
)) {
29718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29720 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29721 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29722 if (!SWIG_IsOK(ecode2
)) {
29723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
29725 arg2
= static_cast< long >(val2
);
29728 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29732 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
29733 wxPyEndAllowThreads(__tstate
);
29734 if (PyErr_Occurred()) SWIG_fail
;
29737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29745 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29746 PyObject
*resultobj
= 0;
29747 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29751 PyObject
*swig_obj
[1] ;
29753 if (!args
) SWIG_fail
;
29754 swig_obj
[0] = args
;
29755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29756 if (!SWIG_IsOK(res1
)) {
29757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29759 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29762 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
29763 wxPyEndAllowThreads(__tstate
);
29764 if (PyErr_Occurred()) SWIG_fail
;
29766 resultobj
= SWIG_From_int(static_cast< int >(result
));
29773 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29774 PyObject
*resultobj
= 0;
29775 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29779 PyObject
*swig_obj
[1] ;
29781 if (!args
) SWIG_fail
;
29782 swig_obj
[0] = args
;
29783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29784 if (!SWIG_IsOK(res1
)) {
29785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29787 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29790 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
29791 wxPyEndAllowThreads(__tstate
);
29792 if (PyErr_Occurred()) SWIG_fail
;
29794 resultobj
= SWIG_From_int(static_cast< int >(result
));
29801 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29802 PyObject
*resultobj
= 0;
29803 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29807 PyObject
*swig_obj
[1] ;
29809 if (!args
) SWIG_fail
;
29810 swig_obj
[0] = args
;
29811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29812 if (!SWIG_IsOK(res1
)) {
29813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29815 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29818 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
29819 wxPyEndAllowThreads(__tstate
);
29820 if (PyErr_Occurred()) SWIG_fail
;
29822 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
29829 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29830 PyObject
*resultobj
= 0;
29831 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29835 PyObject
*swig_obj
[1] ;
29837 if (!args
) SWIG_fail
;
29838 swig_obj
[0] = args
;
29839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29840 if (!SWIG_IsOK(res1
)) {
29841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29843 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29846 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
29847 wxPyEndAllowThreads(__tstate
);
29848 if (PyErr_Occurred()) SWIG_fail
;
29850 resultobj
= SWIG_From_int(static_cast< int >(result
));
29857 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29858 PyObject
*resultobj
= 0;
29859 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29863 PyObject
*swig_obj
[1] ;
29865 if (!args
) SWIG_fail
;
29866 swig_obj
[0] = args
;
29867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29868 if (!SWIG_IsOK(res1
)) {
29869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29871 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29874 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
29875 wxPyEndAllowThreads(__tstate
);
29876 if (PyErr_Occurred()) SWIG_fail
;
29878 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29885 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29886 PyObject
*resultobj
= 0;
29887 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29888 wxColour
*arg2
= 0 ;
29892 PyObject
* obj0
= 0 ;
29893 PyObject
* obj1
= 0 ;
29894 char * kwnames
[] = {
29895 (char *) "self",(char *) "col", NULL
29898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29900 if (!SWIG_IsOK(res1
)) {
29901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29903 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29906 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29910 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
29911 wxPyEndAllowThreads(__tstate
);
29912 if (PyErr_Occurred()) SWIG_fail
;
29914 resultobj
= SWIG_Py_Void();
29921 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29922 PyObject
*resultobj
= 0;
29923 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29927 PyObject
*swig_obj
[1] ;
29929 if (!args
) SWIG_fail
;
29930 swig_obj
[0] = args
;
29931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29932 if (!SWIG_IsOK(res1
)) {
29933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29935 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29938 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
29939 wxPyEndAllowThreads(__tstate
);
29940 if (PyErr_Occurred()) SWIG_fail
;
29942 resultobj
= SWIG_From_long(static_cast< long >(result
));
29949 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29950 PyObject
*resultobj
= 0;
29951 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29953 bool arg3
= (bool) true ;
29960 PyObject
* obj0
= 0 ;
29961 PyObject
* obj1
= 0 ;
29962 PyObject
* obj2
= 0 ;
29963 char * kwnames
[] = {
29964 (char *) "self",(char *) "style",(char *) "add", NULL
29967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29969 if (!SWIG_IsOK(res1
)) {
29970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29972 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29973 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29974 if (!SWIG_IsOK(ecode2
)) {
29975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
29977 arg2
= static_cast< long >(val2
);
29979 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29980 if (!SWIG_IsOK(ecode3
)) {
29981 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
29983 arg3
= static_cast< bool >(val3
);
29986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29987 (arg1
)->SetSingleStyle(arg2
,arg3
);
29988 wxPyEndAllowThreads(__tstate
);
29989 if (PyErr_Occurred()) SWIG_fail
;
29991 resultobj
= SWIG_Py_Void();
29998 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29999 PyObject
*resultobj
= 0;
30000 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30002 int arg3
= (int) wxLIST_NEXT_ALL
;
30003 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30013 PyObject
* obj0
= 0 ;
30014 PyObject
* obj1
= 0 ;
30015 PyObject
* obj2
= 0 ;
30016 PyObject
* obj3
= 0 ;
30017 char * kwnames
[] = {
30018 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30023 if (!SWIG_IsOK(res1
)) {
30024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30026 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30027 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30028 if (!SWIG_IsOK(ecode2
)) {
30029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30031 arg2
= static_cast< long >(val2
);
30033 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30034 if (!SWIG_IsOK(ecode3
)) {
30035 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30037 arg3
= static_cast< int >(val3
);
30040 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30041 if (!SWIG_IsOK(ecode4
)) {
30042 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30044 arg4
= static_cast< int >(val4
);
30047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30048 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30049 wxPyEndAllowThreads(__tstate
);
30050 if (PyErr_Occurred()) SWIG_fail
;
30052 resultobj
= SWIG_From_long(static_cast< long >(result
));
30059 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30060 PyObject
*resultobj
= 0;
30061 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30063 wxImageList
*result
= 0 ;
30068 PyObject
* obj0
= 0 ;
30069 PyObject
* obj1
= 0 ;
30070 char * kwnames
[] = {
30071 (char *) "self",(char *) "which", NULL
30074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30076 if (!SWIG_IsOK(res1
)) {
30077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30079 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30081 if (!SWIG_IsOK(ecode2
)) {
30082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30084 arg2
= static_cast< int >(val2
);
30086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30087 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30088 wxPyEndAllowThreads(__tstate
);
30089 if (PyErr_Occurred()) SWIG_fail
;
30092 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30100 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30101 PyObject
*resultobj
= 0;
30102 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30103 wxImageList
*arg2
= (wxImageList
*) 0 ;
30111 PyObject
* obj0
= 0 ;
30112 PyObject
* obj1
= 0 ;
30113 PyObject
* obj2
= 0 ;
30114 char * kwnames
[] = {
30115 (char *) "self",(char *) "imageList",(char *) "which", NULL
30118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30120 if (!SWIG_IsOK(res1
)) {
30121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30123 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30124 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30125 if (!SWIG_IsOK(res2
)) {
30126 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30128 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30129 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30130 if (!SWIG_IsOK(ecode3
)) {
30131 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30133 arg3
= static_cast< int >(val3
);
30135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30136 (arg1
)->SetImageList(arg2
,arg3
);
30137 wxPyEndAllowThreads(__tstate
);
30138 if (PyErr_Occurred()) SWIG_fail
;
30140 resultobj
= SWIG_Py_Void();
30147 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30148 PyObject
*resultobj
= 0;
30149 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30150 wxImageList
*arg2
= (wxImageList
*) 0 ;
30157 PyObject
* obj0
= 0 ;
30158 PyObject
* obj1
= 0 ;
30159 PyObject
* obj2
= 0 ;
30160 char * kwnames
[] = {
30161 (char *) "self",(char *) "imageList",(char *) "which", NULL
30164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30166 if (!SWIG_IsOK(res1
)) {
30167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30169 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30170 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30171 if (!SWIG_IsOK(res2
)) {
30172 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30174 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30175 if (!SWIG_IsOK(ecode3
)) {
30176 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30178 arg3
= static_cast< int >(val3
);
30180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30181 (arg1
)->AssignImageList(arg2
,arg3
);
30182 wxPyEndAllowThreads(__tstate
);
30183 if (PyErr_Occurred()) SWIG_fail
;
30185 resultobj
= SWIG_Py_Void();
30192 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30193 PyObject
*resultobj
= 0;
30194 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30198 PyObject
*swig_obj
[1] ;
30200 if (!args
) SWIG_fail
;
30201 swig_obj
[0] = args
;
30202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30203 if (!SWIG_IsOK(res1
)) {
30204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30206 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30209 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30210 wxPyEndAllowThreads(__tstate
);
30211 if (PyErr_Occurred()) SWIG_fail
;
30214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30222 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30223 PyObject
*resultobj
= 0;
30224 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30228 PyObject
*swig_obj
[1] ;
30230 if (!args
) SWIG_fail
;
30231 swig_obj
[0] = args
;
30232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30233 if (!SWIG_IsOK(res1
)) {
30234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30236 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30239 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30240 wxPyEndAllowThreads(__tstate
);
30241 if (PyErr_Occurred()) SWIG_fail
;
30244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30252 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30253 PyObject
*resultobj
= 0;
30254 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30260 PyObject
* obj0
= 0 ;
30261 PyObject
* obj1
= 0 ;
30262 char * kwnames
[] = {
30263 (char *) "self",(char *) "item", NULL
30266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30268 if (!SWIG_IsOK(res1
)) {
30269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30271 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30272 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30273 if (!SWIG_IsOK(ecode2
)) {
30274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30276 arg2
= static_cast< long >(val2
);
30278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30279 (arg1
)->RefreshItem(arg2
);
30280 wxPyEndAllowThreads(__tstate
);
30281 if (PyErr_Occurred()) SWIG_fail
;
30283 resultobj
= SWIG_Py_Void();
30290 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30291 PyObject
*resultobj
= 0;
30292 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30301 PyObject
* obj0
= 0 ;
30302 PyObject
* obj1
= 0 ;
30303 PyObject
* obj2
= 0 ;
30304 char * kwnames
[] = {
30305 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30310 if (!SWIG_IsOK(res1
)) {
30311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30313 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30314 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30315 if (!SWIG_IsOK(ecode2
)) {
30316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30318 arg2
= static_cast< long >(val2
);
30319 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30320 if (!SWIG_IsOK(ecode3
)) {
30321 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30323 arg3
= static_cast< long >(val3
);
30325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30326 (arg1
)->RefreshItems(arg2
,arg3
);
30327 wxPyEndAllowThreads(__tstate
);
30328 if (PyErr_Occurred()) SWIG_fail
;
30330 resultobj
= SWIG_Py_Void();
30337 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30338 PyObject
*resultobj
= 0;
30339 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30340 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30346 PyObject
* obj0
= 0 ;
30347 PyObject
* obj1
= 0 ;
30348 char * kwnames
[] = {
30349 (char *) "self",(char *) "flag", NULL
30352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30354 if (!SWIG_IsOK(res1
)) {
30355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30357 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30360 if (!SWIG_IsOK(ecode2
)) {
30361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30363 arg2
= static_cast< int >(val2
);
30366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30367 result
= (bool)(arg1
)->Arrange(arg2
);
30368 wxPyEndAllowThreads(__tstate
);
30369 if (PyErr_Occurred()) SWIG_fail
;
30372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30380 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30381 PyObject
*resultobj
= 0;
30382 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30389 PyObject
* obj0
= 0 ;
30390 PyObject
* obj1
= 0 ;
30391 char * kwnames
[] = {
30392 (char *) "self",(char *) "item", NULL
30395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30397 if (!SWIG_IsOK(res1
)) {
30398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30400 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30401 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30402 if (!SWIG_IsOK(ecode2
)) {
30403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30405 arg2
= static_cast< long >(val2
);
30407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30408 result
= (bool)(arg1
)->DeleteItem(arg2
);
30409 wxPyEndAllowThreads(__tstate
);
30410 if (PyErr_Occurred()) SWIG_fail
;
30413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30421 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30422 PyObject
*resultobj
= 0;
30423 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30427 PyObject
*swig_obj
[1] ;
30429 if (!args
) SWIG_fail
;
30430 swig_obj
[0] = args
;
30431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30432 if (!SWIG_IsOK(res1
)) {
30433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30435 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30438 result
= (bool)(arg1
)->DeleteAllItems();
30439 wxPyEndAllowThreads(__tstate
);
30440 if (PyErr_Occurred()) SWIG_fail
;
30443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30451 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30452 PyObject
*resultobj
= 0;
30453 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30460 PyObject
* obj0
= 0 ;
30461 PyObject
* obj1
= 0 ;
30462 char * kwnames
[] = {
30463 (char *) "self",(char *) "col", NULL
30466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30468 if (!SWIG_IsOK(res1
)) {
30469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30471 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30472 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30473 if (!SWIG_IsOK(ecode2
)) {
30474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30476 arg2
= static_cast< int >(val2
);
30478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30479 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30480 wxPyEndAllowThreads(__tstate
);
30481 if (PyErr_Occurred()) SWIG_fail
;
30484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30492 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30493 PyObject
*resultobj
= 0;
30494 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30498 PyObject
*swig_obj
[1] ;
30500 if (!args
) SWIG_fail
;
30501 swig_obj
[0] = args
;
30502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30503 if (!SWIG_IsOK(res1
)) {
30504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30506 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30509 result
= (bool)(arg1
)->DeleteAllColumns();
30510 wxPyEndAllowThreads(__tstate
);
30511 if (PyErr_Occurred()) SWIG_fail
;
30514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30522 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30523 PyObject
*resultobj
= 0;
30524 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30527 PyObject
*swig_obj
[1] ;
30529 if (!args
) SWIG_fail
;
30530 swig_obj
[0] = args
;
30531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30532 if (!SWIG_IsOK(res1
)) {
30533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30535 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30538 (arg1
)->ClearAll();
30539 wxPyEndAllowThreads(__tstate
);
30540 if (PyErr_Occurred()) SWIG_fail
;
30542 resultobj
= SWIG_Py_Void();
30549 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30550 PyObject
*resultobj
= 0;
30551 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30553 wxTextCtrl
*result
= 0 ;
30558 PyObject
* obj0
= 0 ;
30559 PyObject
* obj1
= 0 ;
30560 char * kwnames
[] = {
30561 (char *) "self",(char *) "item", NULL
30564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30566 if (!SWIG_IsOK(res1
)) {
30567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30569 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30570 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30571 if (!SWIG_IsOK(ecode2
)) {
30572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30574 arg2
= static_cast< long >(val2
);
30576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30577 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
30578 wxPyEndAllowThreads(__tstate
);
30579 if (PyErr_Occurred()) SWIG_fail
;
30582 resultobj
= wxPyMake_wxObject(result
, 0);
30590 SWIGINTERN PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30591 PyObject
*resultobj
= 0;
30592 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30599 PyObject
* obj0
= 0 ;
30600 PyObject
* obj1
= 0 ;
30601 char * kwnames
[] = {
30602 (char *) "self",(char *) "cancel", NULL
30605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30607 if (!SWIG_IsOK(res1
)) {
30608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30610 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30611 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30612 if (!SWIG_IsOK(ecode2
)) {
30613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "2"" of type '" "bool""'");
30615 arg2
= static_cast< bool >(val2
);
30617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30618 result
= (bool)(arg1
)->EndEditLabel(arg2
);
30619 wxPyEndAllowThreads(__tstate
);
30620 if (PyErr_Occurred()) SWIG_fail
;
30623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30631 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30632 PyObject
*resultobj
= 0;
30633 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30640 PyObject
* obj0
= 0 ;
30641 PyObject
* obj1
= 0 ;
30642 char * kwnames
[] = {
30643 (char *) "self",(char *) "item", NULL
30646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30648 if (!SWIG_IsOK(res1
)) {
30649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30651 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30652 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30653 if (!SWIG_IsOK(ecode2
)) {
30654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30656 arg2
= static_cast< long >(val2
);
30658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30659 result
= (bool)(arg1
)->EnsureVisible(arg2
);
30660 wxPyEndAllowThreads(__tstate
);
30661 if (PyErr_Occurred()) SWIG_fail
;
30664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30672 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30673 PyObject
*resultobj
= 0;
30674 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30676 wxString
*arg3
= 0 ;
30677 bool arg4
= (bool) false ;
30683 bool temp3
= false ;
30686 PyObject
* obj0
= 0 ;
30687 PyObject
* obj1
= 0 ;
30688 PyObject
* obj2
= 0 ;
30689 PyObject
* obj3
= 0 ;
30690 char * kwnames
[] = {
30691 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30696 if (!SWIG_IsOK(res1
)) {
30697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30699 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30700 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30701 if (!SWIG_IsOK(ecode2
)) {
30702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
30704 arg2
= static_cast< long >(val2
);
30706 arg3
= wxString_in_helper(obj2
);
30707 if (arg3
== NULL
) SWIG_fail
;
30711 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30712 if (!SWIG_IsOK(ecode4
)) {
30713 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
30715 arg4
= static_cast< bool >(val4
);
30718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30719 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
30720 wxPyEndAllowThreads(__tstate
);
30721 if (PyErr_Occurred()) SWIG_fail
;
30723 resultobj
= SWIG_From_long(static_cast< long >(result
));
30738 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30739 PyObject
*resultobj
= 0;
30740 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30750 PyObject
* obj0
= 0 ;
30751 PyObject
* obj1
= 0 ;
30752 PyObject
* obj2
= 0 ;
30753 char * kwnames
[] = {
30754 (char *) "self",(char *) "start",(char *) "data", NULL
30757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30759 if (!SWIG_IsOK(res1
)) {
30760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30762 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30763 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30764 if (!SWIG_IsOK(ecode2
)) {
30765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
30767 arg2
= static_cast< long >(val2
);
30768 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30769 if (!SWIG_IsOK(ecode3
)) {
30770 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
30772 arg3
= static_cast< long >(val3
);
30774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30775 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
30776 wxPyEndAllowThreads(__tstate
);
30777 if (PyErr_Occurred()) SWIG_fail
;
30779 resultobj
= SWIG_From_long(static_cast< long >(result
));
30786 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30787 PyObject
*resultobj
= 0;
30788 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30790 wxPoint
*arg3
= 0 ;
30800 PyObject
* obj0
= 0 ;
30801 PyObject
* obj1
= 0 ;
30802 PyObject
* obj2
= 0 ;
30803 PyObject
* obj3
= 0 ;
30804 char * kwnames
[] = {
30805 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
30808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30810 if (!SWIG_IsOK(res1
)) {
30811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30813 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30814 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30815 if (!SWIG_IsOK(ecode2
)) {
30816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
30818 arg2
= static_cast< long >(val2
);
30821 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30823 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30824 if (!SWIG_IsOK(ecode4
)) {
30825 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
30827 arg4
= static_cast< int >(val4
);
30829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30830 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
30831 wxPyEndAllowThreads(__tstate
);
30832 if (PyErr_Occurred()) SWIG_fail
;
30834 resultobj
= SWIG_From_long(static_cast< long >(result
));
30841 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30842 PyObject
*resultobj
= 0;
30843 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30844 wxPoint
*arg2
= 0 ;
30851 int res3
= SWIG_TMPOBJ
;
30852 PyObject
* obj0
= 0 ;
30853 PyObject
* obj1
= 0 ;
30854 char * kwnames
[] = {
30855 (char *) "self",(char *) "point", NULL
30859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30861 if (!SWIG_IsOK(res1
)) {
30862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30864 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30867 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30871 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30872 wxPyEndAllowThreads(__tstate
);
30873 if (PyErr_Occurred()) SWIG_fail
;
30875 resultobj
= SWIG_From_long(static_cast< long >(result
));
30876 if (SWIG_IsTmpObj(res3
)) {
30877 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30879 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30880 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30888 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30889 PyObject
*resultobj
= 0;
30890 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30891 wxPoint
*arg2
= 0 ;
30893 long *arg4
= (long *) 0 ;
30899 int res3
= SWIG_TMPOBJ
;
30901 int res4
= SWIG_TMPOBJ
;
30902 PyObject
* obj0
= 0 ;
30903 PyObject
* obj1
= 0 ;
30904 char * kwnames
[] = {
30905 (char *) "self",(char *) "point", NULL
30910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30912 if (!SWIG_IsOK(res1
)) {
30913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30915 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30918 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30922 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
30923 wxPyEndAllowThreads(__tstate
);
30924 if (PyErr_Occurred()) SWIG_fail
;
30926 resultobj
= SWIG_From_long(static_cast< long >(result
));
30927 if (SWIG_IsTmpObj(res3
)) {
30928 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30930 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30931 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30933 if (SWIG_IsTmpObj(res4
)) {
30934 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
30936 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30937 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
30945 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30946 PyObject
*resultobj
= 0;
30947 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30948 wxListItem
*arg2
= 0 ;
30954 PyObject
* obj0
= 0 ;
30955 PyObject
* obj1
= 0 ;
30956 char * kwnames
[] = {
30957 (char *) "self",(char *) "info", NULL
30960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30962 if (!SWIG_IsOK(res1
)) {
30963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30965 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30966 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
30967 if (!SWIG_IsOK(res2
)) {
30968 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30971 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30973 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
30975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30976 result
= (long)(arg1
)->InsertItem(*arg2
);
30977 wxPyEndAllowThreads(__tstate
);
30978 if (PyErr_Occurred()) SWIG_fail
;
30980 resultobj
= SWIG_From_long(static_cast< long >(result
));
30987 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30988 PyObject
*resultobj
= 0;
30989 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30991 wxString
*arg3
= 0 ;
30992 int arg4
= (int) -1 ;
30998 bool temp3
= false ;
31001 PyObject
* obj0
= 0 ;
31002 PyObject
* obj1
= 0 ;
31003 PyObject
* obj2
= 0 ;
31004 PyObject
* obj3
= 0 ;
31005 char * kwnames
[] = {
31006 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31011 if (!SWIG_IsOK(res1
)) {
31012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31014 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31015 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31016 if (!SWIG_IsOK(ecode2
)) {
31017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31019 arg2
= static_cast< long >(val2
);
31021 arg3
= wxString_in_helper(obj2
);
31022 if (arg3
== NULL
) SWIG_fail
;
31026 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31027 if (!SWIG_IsOK(ecode4
)) {
31028 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31030 arg4
= static_cast< int >(val4
);
31033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31034 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31035 wxPyEndAllowThreads(__tstate
);
31036 if (PyErr_Occurred()) SWIG_fail
;
31038 resultobj
= SWIG_From_long(static_cast< long >(result
));
31053 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31054 PyObject
*resultobj
= 0;
31055 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31065 PyObject
* obj0
= 0 ;
31066 PyObject
* obj1
= 0 ;
31067 PyObject
* obj2
= 0 ;
31068 char * kwnames
[] = {
31069 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31074 if (!SWIG_IsOK(res1
)) {
31075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31077 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31078 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31079 if (!SWIG_IsOK(ecode2
)) {
31080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31082 arg2
= static_cast< long >(val2
);
31083 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31084 if (!SWIG_IsOK(ecode3
)) {
31085 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31087 arg3
= static_cast< int >(val3
);
31089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31090 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31091 wxPyEndAllowThreads(__tstate
);
31092 if (PyErr_Occurred()) SWIG_fail
;
31094 resultobj
= SWIG_From_long(static_cast< long >(result
));
31101 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31102 PyObject
*resultobj
= 0;
31103 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31105 wxString
*arg3
= 0 ;
31112 bool temp3
= false ;
31115 PyObject
* obj0
= 0 ;
31116 PyObject
* obj1
= 0 ;
31117 PyObject
* obj2
= 0 ;
31118 PyObject
* obj3
= 0 ;
31119 char * kwnames
[] = {
31120 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31125 if (!SWIG_IsOK(res1
)) {
31126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31128 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31129 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31130 if (!SWIG_IsOK(ecode2
)) {
31131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31133 arg2
= static_cast< long >(val2
);
31135 arg3
= wxString_in_helper(obj2
);
31136 if (arg3
== NULL
) SWIG_fail
;
31139 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31140 if (!SWIG_IsOK(ecode4
)) {
31141 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31143 arg4
= static_cast< int >(val4
);
31145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31146 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31147 wxPyEndAllowThreads(__tstate
);
31148 if (PyErr_Occurred()) SWIG_fail
;
31150 resultobj
= SWIG_From_long(static_cast< long >(result
));
31165 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31166 PyObject
*resultobj
= 0;
31167 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31169 wxListItem
*arg3
= 0 ;
31177 PyObject
* obj0
= 0 ;
31178 PyObject
* obj1
= 0 ;
31179 PyObject
* obj2
= 0 ;
31180 char * kwnames
[] = {
31181 (char *) "self",(char *) "col",(char *) "info", NULL
31184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31186 if (!SWIG_IsOK(res1
)) {
31187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31189 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31190 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31191 if (!SWIG_IsOK(ecode2
)) {
31192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31194 arg2
= static_cast< long >(val2
);
31195 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31196 if (!SWIG_IsOK(res3
)) {
31197 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31200 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31202 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31205 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31206 wxPyEndAllowThreads(__tstate
);
31207 if (PyErr_Occurred()) SWIG_fail
;
31209 resultobj
= SWIG_From_long(static_cast< long >(result
));
31216 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31217 PyObject
*resultobj
= 0;
31218 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31220 wxString
*arg3
= 0 ;
31221 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31222 int arg5
= (int) -1 ;
31228 bool temp3
= false ;
31233 PyObject
* obj0
= 0 ;
31234 PyObject
* obj1
= 0 ;
31235 PyObject
* obj2
= 0 ;
31236 PyObject
* obj3
= 0 ;
31237 PyObject
* obj4
= 0 ;
31238 char * kwnames
[] = {
31239 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31244 if (!SWIG_IsOK(res1
)) {
31245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31247 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31248 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31249 if (!SWIG_IsOK(ecode2
)) {
31250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31252 arg2
= static_cast< long >(val2
);
31254 arg3
= wxString_in_helper(obj2
);
31255 if (arg3
== NULL
) SWIG_fail
;
31259 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31260 if (!SWIG_IsOK(ecode4
)) {
31261 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31263 arg4
= static_cast< int >(val4
);
31266 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31267 if (!SWIG_IsOK(ecode5
)) {
31268 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31270 arg5
= static_cast< int >(val5
);
31273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31274 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31275 wxPyEndAllowThreads(__tstate
);
31276 if (PyErr_Occurred()) SWIG_fail
;
31278 resultobj
= SWIG_From_long(static_cast< long >(result
));
31293 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31294 PyObject
*resultobj
= 0;
31295 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31301 PyObject
* obj0
= 0 ;
31302 PyObject
* obj1
= 0 ;
31303 char * kwnames
[] = {
31304 (char *) "self",(char *) "count", NULL
31307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31309 if (!SWIG_IsOK(res1
)) {
31310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31312 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31313 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31314 if (!SWIG_IsOK(ecode2
)) {
31315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31317 arg2
= static_cast< long >(val2
);
31319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31320 (arg1
)->SetItemCount(arg2
);
31321 wxPyEndAllowThreads(__tstate
);
31322 if (PyErr_Occurred()) SWIG_fail
;
31324 resultobj
= SWIG_Py_Void();
31331 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31332 PyObject
*resultobj
= 0;
31333 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31343 PyObject
* obj0
= 0 ;
31344 PyObject
* obj1
= 0 ;
31345 PyObject
* obj2
= 0 ;
31346 char * kwnames
[] = {
31347 (char *) "self",(char *) "dx",(char *) "dy", NULL
31350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31352 if (!SWIG_IsOK(res1
)) {
31353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31355 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31357 if (!SWIG_IsOK(ecode2
)) {
31358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31360 arg2
= static_cast< int >(val2
);
31361 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31362 if (!SWIG_IsOK(ecode3
)) {
31363 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31365 arg3
= static_cast< int >(val3
);
31367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31368 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31369 wxPyEndAllowThreads(__tstate
);
31370 if (PyErr_Occurred()) SWIG_fail
;
31373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31381 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31382 PyObject
*resultobj
= 0;
31383 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31385 wxColour
*arg3
= 0 ;
31391 PyObject
* obj0
= 0 ;
31392 PyObject
* obj1
= 0 ;
31393 PyObject
* obj2
= 0 ;
31394 char * kwnames
[] = {
31395 (char *) "self",(char *) "item",(char *) "col", NULL
31398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31400 if (!SWIG_IsOK(res1
)) {
31401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31403 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31404 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31405 if (!SWIG_IsOK(ecode2
)) {
31406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31408 arg2
= static_cast< long >(val2
);
31411 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31415 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31416 wxPyEndAllowThreads(__tstate
);
31417 if (PyErr_Occurred()) SWIG_fail
;
31419 resultobj
= SWIG_Py_Void();
31426 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31427 PyObject
*resultobj
= 0;
31428 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31435 PyObject
* obj0
= 0 ;
31436 PyObject
* obj1
= 0 ;
31437 char * kwnames
[] = {
31438 (char *) "self",(char *) "item", NULL
31441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31443 if (!SWIG_IsOK(res1
)) {
31444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31446 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31447 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31448 if (!SWIG_IsOK(ecode2
)) {
31449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31451 arg2
= static_cast< long >(val2
);
31453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31454 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31455 wxPyEndAllowThreads(__tstate
);
31456 if (PyErr_Occurred()) SWIG_fail
;
31458 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31465 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31466 PyObject
*resultobj
= 0;
31467 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31469 wxColour
*arg3
= 0 ;
31475 PyObject
* obj0
= 0 ;
31476 PyObject
* obj1
= 0 ;
31477 PyObject
* obj2
= 0 ;
31478 char * kwnames
[] = {
31479 (char *) "self",(char *) "item",(char *) "col", NULL
31482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31484 if (!SWIG_IsOK(res1
)) {
31485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31487 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31488 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31489 if (!SWIG_IsOK(ecode2
)) {
31490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31492 arg2
= static_cast< long >(val2
);
31495 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31499 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31500 wxPyEndAllowThreads(__tstate
);
31501 if (PyErr_Occurred()) SWIG_fail
;
31503 resultobj
= SWIG_Py_Void();
31510 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31511 PyObject
*resultobj
= 0;
31512 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31519 PyObject
* obj0
= 0 ;
31520 PyObject
* obj1
= 0 ;
31521 char * kwnames
[] = {
31522 (char *) "self",(char *) "item", NULL
31525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31527 if (!SWIG_IsOK(res1
)) {
31528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31530 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31531 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31532 if (!SWIG_IsOK(ecode2
)) {
31533 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31535 arg2
= static_cast< long >(val2
);
31537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31538 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31539 wxPyEndAllowThreads(__tstate
);
31540 if (PyErr_Occurred()) SWIG_fail
;
31542 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31549 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31550 PyObject
*resultobj
= 0;
31551 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31560 PyObject
* obj0
= 0 ;
31561 PyObject
* obj1
= 0 ;
31562 PyObject
* obj2
= 0 ;
31563 char * kwnames
[] = {
31564 (char *) "self",(char *) "item",(char *) "f", NULL
31567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31569 if (!SWIG_IsOK(res1
)) {
31570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31572 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31573 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31574 if (!SWIG_IsOK(ecode2
)) {
31575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31577 arg2
= static_cast< long >(val2
);
31578 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31579 if (!SWIG_IsOK(res3
)) {
31580 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31583 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31585 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31588 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31589 wxPyEndAllowThreads(__tstate
);
31590 if (PyErr_Occurred()) SWIG_fail
;
31592 resultobj
= SWIG_Py_Void();
31599 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31600 PyObject
*resultobj
= 0;
31601 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31608 PyObject
* obj0
= 0 ;
31609 PyObject
* obj1
= 0 ;
31610 char * kwnames
[] = {
31611 (char *) "self",(char *) "item", NULL
31614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31616 if (!SWIG_IsOK(res1
)) {
31617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31619 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31620 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31621 if (!SWIG_IsOK(ecode2
)) {
31622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31624 arg2
= static_cast< long >(val2
);
31626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31627 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31628 wxPyEndAllowThreads(__tstate
);
31629 if (PyErr_Occurred()) SWIG_fail
;
31631 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31638 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31639 PyObject
*resultobj
= 0;
31640 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31641 PyObject
*arg2
= (PyObject
*) 0 ;
31645 PyObject
* obj0
= 0 ;
31646 PyObject
* obj1
= 0 ;
31647 char * kwnames
[] = {
31648 (char *) "self",(char *) "func", NULL
31651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31653 if (!SWIG_IsOK(res1
)) {
31654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31656 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31660 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
31661 wxPyEndAllowThreads(__tstate
);
31662 if (PyErr_Occurred()) SWIG_fail
;
31665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31673 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31674 PyObject
*resultobj
= 0;
31675 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31676 wxWindow
*result
= 0 ;
31679 PyObject
*swig_obj
[1] ;
31681 if (!args
) SWIG_fail
;
31682 swig_obj
[0] = args
;
31683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31684 if (!SWIG_IsOK(res1
)) {
31685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31687 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31690 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
31691 wxPyEndAllowThreads(__tstate
);
31692 if (PyErr_Occurred()) SWIG_fail
;
31695 resultobj
= wxPyMake_wxObject(result
, 0);
31703 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31704 PyObject
*resultobj
= 0;
31705 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31706 SwigValueWrapper
<wxVisualAttributes
> result
;
31709 PyObject
* obj0
= 0 ;
31710 char * kwnames
[] = {
31711 (char *) "variant", NULL
31714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
31716 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31717 if (!SWIG_IsOK(ecode1
)) {
31718 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
31720 arg1
= static_cast< wxWindowVariant
>(val1
);
31723 if (!wxPyCheckForApp()) SWIG_fail
;
31724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31725 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
31726 wxPyEndAllowThreads(__tstate
);
31727 if (PyErr_Occurred()) SWIG_fail
;
31729 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
31736 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31738 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31739 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
31740 return SWIG_Py_Void();
31743 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31744 return SWIG_Python_InitShadowInstance(args
);
31747 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31748 PyObject
*resultobj
= 0;
31749 wxWindow
*arg1
= (wxWindow
*) 0 ;
31750 int arg2
= (int) -1 ;
31751 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31752 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31753 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31754 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31755 long arg5
= (long) wxLC_REPORT
;
31756 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31757 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31758 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
31759 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31760 wxListView
*result
= 0 ;
31771 bool temp7
= false ;
31772 PyObject
* obj0
= 0 ;
31773 PyObject
* obj1
= 0 ;
31774 PyObject
* obj2
= 0 ;
31775 PyObject
* obj3
= 0 ;
31776 PyObject
* obj4
= 0 ;
31777 PyObject
* obj5
= 0 ;
31778 PyObject
* obj6
= 0 ;
31779 char * kwnames
[] = {
31780 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31785 if (!SWIG_IsOK(res1
)) {
31786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
31788 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31790 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31791 if (!SWIG_IsOK(ecode2
)) {
31792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
31794 arg2
= static_cast< int >(val2
);
31799 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31805 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31809 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
31810 if (!SWIG_IsOK(ecode5
)) {
31811 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
31813 arg5
= static_cast< long >(val5
);
31816 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
31817 if (!SWIG_IsOK(res6
)) {
31818 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31821 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31823 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
31827 arg7
= wxString_in_helper(obj6
);
31828 if (arg7
== NULL
) SWIG_fail
;
31833 if (!wxPyCheckForApp()) SWIG_fail
;
31834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31835 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
31836 wxPyEndAllowThreads(__tstate
);
31837 if (PyErr_Occurred()) SWIG_fail
;
31839 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
31854 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31855 PyObject
*resultobj
= 0;
31856 wxListView
*result
= 0 ;
31858 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
31860 if (!wxPyCheckForApp()) SWIG_fail
;
31861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31862 result
= (wxListView
*)new wxListView();
31863 wxPyEndAllowThreads(__tstate
);
31864 if (PyErr_Occurred()) SWIG_fail
;
31866 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
31873 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31874 PyObject
*resultobj
= 0;
31875 wxListView
*arg1
= (wxListView
*) 0 ;
31876 wxWindow
*arg2
= (wxWindow
*) 0 ;
31877 int arg3
= (int) -1 ;
31878 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31879 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31880 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31881 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31882 long arg6
= (long) wxLC_REPORT
;
31883 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
31884 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
31885 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
31886 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31900 bool temp8
= false ;
31901 PyObject
* obj0
= 0 ;
31902 PyObject
* obj1
= 0 ;
31903 PyObject
* obj2
= 0 ;
31904 PyObject
* obj3
= 0 ;
31905 PyObject
* obj4
= 0 ;
31906 PyObject
* obj5
= 0 ;
31907 PyObject
* obj6
= 0 ;
31908 PyObject
* obj7
= 0 ;
31909 char * kwnames
[] = {
31910 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31915 if (!SWIG_IsOK(res1
)) {
31916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
31918 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31919 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31920 if (!SWIG_IsOK(res2
)) {
31921 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
31923 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31925 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31926 if (!SWIG_IsOK(ecode3
)) {
31927 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
31929 arg3
= static_cast< int >(val3
);
31934 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31940 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31944 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31945 if (!SWIG_IsOK(ecode6
)) {
31946 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
31948 arg6
= static_cast< long >(val6
);
31951 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
31952 if (!SWIG_IsOK(res7
)) {
31953 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31956 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31958 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
31962 arg8
= wxString_in_helper(obj7
);
31963 if (arg8
== NULL
) SWIG_fail
;
31968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31969 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
31970 wxPyEndAllowThreads(__tstate
);
31971 if (PyErr_Occurred()) SWIG_fail
;
31974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31990 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31991 PyObject
*resultobj
= 0;
31992 wxListView
*arg1
= (wxListView
*) 0 ;
31994 bool arg3
= (bool) true ;
32001 PyObject
* obj0
= 0 ;
32002 PyObject
* obj1
= 0 ;
32003 PyObject
* obj2
= 0 ;
32004 char * kwnames
[] = {
32005 (char *) "self",(char *) "n",(char *) "on", NULL
32008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32010 if (!SWIG_IsOK(res1
)) {
32011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32013 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32014 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32015 if (!SWIG_IsOK(ecode2
)) {
32016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32018 arg2
= static_cast< long >(val2
);
32020 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32021 if (!SWIG_IsOK(ecode3
)) {
32022 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32024 arg3
= static_cast< bool >(val3
);
32027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32028 (arg1
)->Select(arg2
,arg3
);
32029 wxPyEndAllowThreads(__tstate
);
32030 if (PyErr_Occurred()) SWIG_fail
;
32032 resultobj
= SWIG_Py_Void();
32039 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32040 PyObject
*resultobj
= 0;
32041 wxListView
*arg1
= (wxListView
*) 0 ;
32047 PyObject
* obj0
= 0 ;
32048 PyObject
* obj1
= 0 ;
32049 char * kwnames
[] = {
32050 (char *) "self",(char *) "index", NULL
32053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32055 if (!SWIG_IsOK(res1
)) {
32056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32058 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32059 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32060 if (!SWIG_IsOK(ecode2
)) {
32061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32063 arg2
= static_cast< long >(val2
);
32065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32066 (arg1
)->Focus(arg2
);
32067 wxPyEndAllowThreads(__tstate
);
32068 if (PyErr_Occurred()) SWIG_fail
;
32070 resultobj
= SWIG_Py_Void();
32077 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32078 PyObject
*resultobj
= 0;
32079 wxListView
*arg1
= (wxListView
*) 0 ;
32083 PyObject
*swig_obj
[1] ;
32085 if (!args
) SWIG_fail
;
32086 swig_obj
[0] = args
;
32087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32088 if (!SWIG_IsOK(res1
)) {
32089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32091 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32094 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32095 wxPyEndAllowThreads(__tstate
);
32096 if (PyErr_Occurred()) SWIG_fail
;
32098 resultobj
= SWIG_From_long(static_cast< long >(result
));
32105 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32106 PyObject
*resultobj
= 0;
32107 wxListView
*arg1
= (wxListView
*) 0 ;
32114 PyObject
* obj0
= 0 ;
32115 PyObject
* obj1
= 0 ;
32116 char * kwnames
[] = {
32117 (char *) "self",(char *) "item", NULL
32120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32122 if (!SWIG_IsOK(res1
)) {
32123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32125 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32126 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32127 if (!SWIG_IsOK(ecode2
)) {
32128 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32130 arg2
= static_cast< long >(val2
);
32132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32133 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32134 wxPyEndAllowThreads(__tstate
);
32135 if (PyErr_Occurred()) SWIG_fail
;
32137 resultobj
= SWIG_From_long(static_cast< long >(result
));
32144 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32145 PyObject
*resultobj
= 0;
32146 wxListView
*arg1
= (wxListView
*) 0 ;
32150 PyObject
*swig_obj
[1] ;
32152 if (!args
) SWIG_fail
;
32153 swig_obj
[0] = args
;
32154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32155 if (!SWIG_IsOK(res1
)) {
32156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32158 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32161 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32162 wxPyEndAllowThreads(__tstate
);
32163 if (PyErr_Occurred()) SWIG_fail
;
32165 resultobj
= SWIG_From_long(static_cast< long >(result
));
32172 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32173 PyObject
*resultobj
= 0;
32174 wxListView
*arg1
= (wxListView
*) 0 ;
32181 PyObject
* obj0
= 0 ;
32182 PyObject
* obj1
= 0 ;
32183 char * kwnames
[] = {
32184 (char *) "self",(char *) "index", NULL
32187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32189 if (!SWIG_IsOK(res1
)) {
32190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32192 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32193 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32194 if (!SWIG_IsOK(ecode2
)) {
32195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32197 arg2
= static_cast< long >(val2
);
32199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32200 result
= (bool)(arg1
)->IsSelected(arg2
);
32201 wxPyEndAllowThreads(__tstate
);
32202 if (PyErr_Occurred()) SWIG_fail
;
32205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32213 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32214 PyObject
*resultobj
= 0;
32215 wxListView
*arg1
= (wxListView
*) 0 ;
32224 PyObject
* obj0
= 0 ;
32225 PyObject
* obj1
= 0 ;
32226 PyObject
* obj2
= 0 ;
32227 char * kwnames
[] = {
32228 (char *) "self",(char *) "col",(char *) "image", NULL
32231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32233 if (!SWIG_IsOK(res1
)) {
32234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32236 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32237 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32238 if (!SWIG_IsOK(ecode2
)) {
32239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32241 arg2
= static_cast< int >(val2
);
32242 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32243 if (!SWIG_IsOK(ecode3
)) {
32244 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32246 arg3
= static_cast< int >(val3
);
32248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32249 (arg1
)->SetColumnImage(arg2
,arg3
);
32250 wxPyEndAllowThreads(__tstate
);
32251 if (PyErr_Occurred()) SWIG_fail
;
32253 resultobj
= SWIG_Py_Void();
32260 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32261 PyObject
*resultobj
= 0;
32262 wxListView
*arg1
= (wxListView
*) 0 ;
32268 PyObject
* obj0
= 0 ;
32269 PyObject
* obj1
= 0 ;
32270 char * kwnames
[] = {
32271 (char *) "self",(char *) "col", NULL
32274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32276 if (!SWIG_IsOK(res1
)) {
32277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32279 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32280 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32281 if (!SWIG_IsOK(ecode2
)) {
32282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32284 arg2
= static_cast< int >(val2
);
32286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32287 (arg1
)->ClearColumnImage(arg2
);
32288 wxPyEndAllowThreads(__tstate
);
32289 if (PyErr_Occurred()) SWIG_fail
;
32291 resultobj
= SWIG_Py_Void();
32298 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32300 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32301 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32302 return SWIG_Py_Void();
32305 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32306 return SWIG_Python_InitShadowInstance(args
);
32309 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32310 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32315 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32316 PyObject
*pyobj
= 0;
32320 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32322 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32329 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32330 PyObject
*resultobj
= 0;
32331 wxTreeItemId
*result
= 0 ;
32333 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32336 result
= (wxTreeItemId
*)new wxTreeItemId();
32337 wxPyEndAllowThreads(__tstate
);
32338 if (PyErr_Occurred()) SWIG_fail
;
32340 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32347 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32348 PyObject
*resultobj
= 0;
32349 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32352 PyObject
*swig_obj
[1] ;
32354 if (!args
) SWIG_fail
;
32355 swig_obj
[0] = args
;
32356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32357 if (!SWIG_IsOK(res1
)) {
32358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32360 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32365 wxPyEndAllowThreads(__tstate
);
32366 if (PyErr_Occurred()) SWIG_fail
;
32368 resultobj
= SWIG_Py_Void();
32375 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32376 PyObject
*resultobj
= 0;
32377 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32381 PyObject
*swig_obj
[1] ;
32383 if (!args
) SWIG_fail
;
32384 swig_obj
[0] = args
;
32385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32386 if (!SWIG_IsOK(res1
)) {
32387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32389 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32392 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32393 wxPyEndAllowThreads(__tstate
);
32394 if (PyErr_Occurred()) SWIG_fail
;
32397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32405 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32406 PyObject
*resultobj
= 0;
32407 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32408 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32414 PyObject
* obj0
= 0 ;
32415 PyObject
* obj1
= 0 ;
32416 char * kwnames
[] = {
32417 (char *) "self",(char *) "other", NULL
32420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32422 if (!SWIG_IsOK(res1
)) {
32423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32425 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32426 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32427 if (!SWIG_IsOK(res2
)) {
32428 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32430 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32433 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32434 wxPyEndAllowThreads(__tstate
);
32435 if (PyErr_Occurred()) SWIG_fail
;
32438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32446 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32447 PyObject
*resultobj
= 0;
32448 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32449 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32455 PyObject
* obj0
= 0 ;
32456 PyObject
* obj1
= 0 ;
32457 char * kwnames
[] = {
32458 (char *) "self",(char *) "other", NULL
32461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32463 if (!SWIG_IsOK(res1
)) {
32464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32466 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32467 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32468 if (!SWIG_IsOK(res2
)) {
32469 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32471 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32474 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32475 wxPyEndAllowThreads(__tstate
);
32476 if (PyErr_Occurred()) SWIG_fail
;
32479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32487 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32488 PyObject
*resultobj
= 0;
32489 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32490 void *arg2
= (void *) 0 ;
32494 PyObject
*swig_obj
[2] ;
32496 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32498 if (!SWIG_IsOK(res1
)) {
32499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32501 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32502 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32503 if (!SWIG_IsOK(res2
)) {
32504 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32506 if (arg1
) (arg1
)->m_pItem
= arg2
;
32508 resultobj
= SWIG_Py_Void();
32515 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32516 PyObject
*resultobj
= 0;
32517 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32521 PyObject
*swig_obj
[1] ;
32523 if (!args
) SWIG_fail
;
32524 swig_obj
[0] = args
;
32525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32526 if (!SWIG_IsOK(res1
)) {
32527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32529 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32530 result
= (void *) ((arg1
)->m_pItem
);
32531 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32538 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32540 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32541 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32542 return SWIG_Py_Void();
32545 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32546 return SWIG_Python_InitShadowInstance(args
);
32549 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32550 PyObject
*resultobj
= 0;
32551 PyObject
*arg1
= (PyObject
*) NULL
;
32552 wxPyTreeItemData
*result
= 0 ;
32553 PyObject
* obj0
= 0 ;
32554 char * kwnames
[] = {
32555 (char *) "obj", NULL
32558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32564 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32565 wxPyEndAllowThreads(__tstate
);
32566 if (PyErr_Occurred()) SWIG_fail
;
32568 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32575 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32576 PyObject
*resultobj
= 0;
32577 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32580 PyObject
*swig_obj
[1] ;
32582 if (!args
) SWIG_fail
;
32583 swig_obj
[0] = args
;
32584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32585 if (!SWIG_IsOK(res1
)) {
32586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32588 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32593 wxPyEndAllowThreads(__tstate
);
32594 if (PyErr_Occurred()) SWIG_fail
;
32596 resultobj
= SWIG_Py_Void();
32603 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32604 PyObject
*resultobj
= 0;
32605 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32606 PyObject
*result
= 0 ;
32609 PyObject
*swig_obj
[1] ;
32611 if (!args
) SWIG_fail
;
32612 swig_obj
[0] = args
;
32613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32614 if (!SWIG_IsOK(res1
)) {
32615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32617 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32620 result
= (PyObject
*)(arg1
)->GetData();
32621 wxPyEndAllowThreads(__tstate
);
32622 if (PyErr_Occurred()) SWIG_fail
;
32624 resultobj
= result
;
32631 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32632 PyObject
*resultobj
= 0;
32633 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32634 PyObject
*arg2
= (PyObject
*) 0 ;
32637 PyObject
* obj0
= 0 ;
32638 PyObject
* obj1
= 0 ;
32639 char * kwnames
[] = {
32640 (char *) "self",(char *) "obj", NULL
32643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32645 if (!SWIG_IsOK(res1
)) {
32646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32648 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32652 (arg1
)->SetData(arg2
);
32653 wxPyEndAllowThreads(__tstate
);
32654 if (PyErr_Occurred()) SWIG_fail
;
32656 resultobj
= SWIG_Py_Void();
32663 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32664 PyObject
*resultobj
= 0;
32665 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32666 wxTreeItemId
*result
= 0 ;
32669 PyObject
*swig_obj
[1] ;
32671 if (!args
) SWIG_fail
;
32672 swig_obj
[0] = args
;
32673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32674 if (!SWIG_IsOK(res1
)) {
32675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32677 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32681 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
32682 result
= (wxTreeItemId
*) &_result_ref
;
32684 wxPyEndAllowThreads(__tstate
);
32685 if (PyErr_Occurred()) SWIG_fail
;
32687 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32694 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32695 PyObject
*resultobj
= 0;
32696 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32697 wxTreeItemId
*arg2
= 0 ;
32702 PyObject
* obj0
= 0 ;
32703 PyObject
* obj1
= 0 ;
32704 char * kwnames
[] = {
32705 (char *) "self",(char *) "id", NULL
32708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32710 if (!SWIG_IsOK(res1
)) {
32711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32713 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32714 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32715 if (!SWIG_IsOK(res2
)) {
32716 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32719 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32721 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32724 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
32725 wxPyEndAllowThreads(__tstate
);
32726 if (PyErr_Occurred()) SWIG_fail
;
32728 resultobj
= SWIG_Py_Void();
32735 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32736 PyObject
*resultobj
= 0;
32737 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32740 PyObject
*swig_obj
[1] ;
32742 if (!args
) SWIG_fail
;
32743 swig_obj
[0] = args
;
32744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32745 if (!SWIG_IsOK(res1
)) {
32746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32748 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32751 wxPyTreeItemData_Destroy(arg1
);
32752 wxPyEndAllowThreads(__tstate
);
32753 if (PyErr_Occurred()) SWIG_fail
;
32755 resultobj
= SWIG_Py_Void();
32762 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32764 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32765 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
32766 return SWIG_Py_Void();
32769 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32770 return SWIG_Python_InitShadowInstance(args
);
32773 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32774 PyObject
*resultobj
= 0;
32775 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32776 int arg2
= (int) 0 ;
32777 wxTreeEvent
*result
= 0 ;
32782 PyObject
* obj0
= 0 ;
32783 PyObject
* obj1
= 0 ;
32784 char * kwnames
[] = {
32785 (char *) "commandType",(char *) "id", NULL
32788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32790 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32791 if (!SWIG_IsOK(ecode1
)) {
32792 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32794 arg1
= static_cast< wxEventType
>(val1
);
32797 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32798 if (!SWIG_IsOK(ecode2
)) {
32799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
32801 arg2
= static_cast< int >(val2
);
32804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32805 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
32806 wxPyEndAllowThreads(__tstate
);
32807 if (PyErr_Occurred()) SWIG_fail
;
32809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
32816 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32817 PyObject
*resultobj
= 0;
32818 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32819 wxTreeItemId result
;
32822 PyObject
*swig_obj
[1] ;
32824 if (!args
) SWIG_fail
;
32825 swig_obj
[0] = args
;
32826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32827 if (!SWIG_IsOK(res1
)) {
32828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32830 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32833 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
32834 wxPyEndAllowThreads(__tstate
);
32835 if (PyErr_Occurred()) SWIG_fail
;
32837 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32844 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32845 PyObject
*resultobj
= 0;
32846 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32847 wxTreeItemId
*arg2
= 0 ;
32852 PyObject
* obj0
= 0 ;
32853 PyObject
* obj1
= 0 ;
32854 char * kwnames
[] = {
32855 (char *) "self",(char *) "item", NULL
32858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32860 if (!SWIG_IsOK(res1
)) {
32861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32863 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32864 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32865 if (!SWIG_IsOK(res2
)) {
32866 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32869 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32871 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32874 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
32875 wxPyEndAllowThreads(__tstate
);
32876 if (PyErr_Occurred()) SWIG_fail
;
32878 resultobj
= SWIG_Py_Void();
32885 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32886 PyObject
*resultobj
= 0;
32887 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32888 wxTreeItemId result
;
32891 PyObject
*swig_obj
[1] ;
32893 if (!args
) SWIG_fail
;
32894 swig_obj
[0] = args
;
32895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32896 if (!SWIG_IsOK(res1
)) {
32897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32899 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32902 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
32903 wxPyEndAllowThreads(__tstate
);
32904 if (PyErr_Occurred()) SWIG_fail
;
32906 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32913 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32914 PyObject
*resultobj
= 0;
32915 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32916 wxTreeItemId
*arg2
= 0 ;
32921 PyObject
* obj0
= 0 ;
32922 PyObject
* obj1
= 0 ;
32923 char * kwnames
[] = {
32924 (char *) "self",(char *) "item", NULL
32927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32929 if (!SWIG_IsOK(res1
)) {
32930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32932 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32933 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32934 if (!SWIG_IsOK(res2
)) {
32935 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32938 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32940 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32943 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
32944 wxPyEndAllowThreads(__tstate
);
32945 if (PyErr_Occurred()) SWIG_fail
;
32947 resultobj
= SWIG_Py_Void();
32954 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32955 PyObject
*resultobj
= 0;
32956 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32960 PyObject
*swig_obj
[1] ;
32962 if (!args
) SWIG_fail
;
32963 swig_obj
[0] = args
;
32964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32965 if (!SWIG_IsOK(res1
)) {
32966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32968 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32971 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
32972 wxPyEndAllowThreads(__tstate
);
32973 if (PyErr_Occurred()) SWIG_fail
;
32975 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
32982 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32983 PyObject
*resultobj
= 0;
32984 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32985 wxPoint
*arg2
= 0 ;
32989 PyObject
* obj0
= 0 ;
32990 PyObject
* obj1
= 0 ;
32991 char * kwnames
[] = {
32992 (char *) "self",(char *) "pt", NULL
32995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32997 if (!SWIG_IsOK(res1
)) {
32998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33000 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33003 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33007 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33008 wxPyEndAllowThreads(__tstate
);
33009 if (PyErr_Occurred()) SWIG_fail
;
33011 resultobj
= SWIG_Py_Void();
33018 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33019 PyObject
*resultobj
= 0;
33020 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33021 wxKeyEvent
*result
= 0 ;
33024 PyObject
*swig_obj
[1] ;
33026 if (!args
) SWIG_fail
;
33027 swig_obj
[0] = args
;
33028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33029 if (!SWIG_IsOK(res1
)) {
33030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33032 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33036 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33037 result
= (wxKeyEvent
*) &_result_ref
;
33039 wxPyEndAllowThreads(__tstate
);
33040 if (PyErr_Occurred()) SWIG_fail
;
33042 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33049 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33050 PyObject
*resultobj
= 0;
33051 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33055 PyObject
*swig_obj
[1] ;
33057 if (!args
) SWIG_fail
;
33058 swig_obj
[0] = args
;
33059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33060 if (!SWIG_IsOK(res1
)) {
33061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33063 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33066 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33067 wxPyEndAllowThreads(__tstate
);
33068 if (PyErr_Occurred()) SWIG_fail
;
33070 resultobj
= SWIG_From_int(static_cast< int >(result
));
33077 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33078 PyObject
*resultobj
= 0;
33079 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33080 wxKeyEvent
*arg2
= 0 ;
33085 PyObject
* obj0
= 0 ;
33086 PyObject
* obj1
= 0 ;
33087 char * kwnames
[] = {
33088 (char *) "self",(char *) "evt", NULL
33091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33093 if (!SWIG_IsOK(res1
)) {
33094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33096 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33097 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33098 if (!SWIG_IsOK(res2
)) {
33099 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33102 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33104 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33107 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33108 wxPyEndAllowThreads(__tstate
);
33109 if (PyErr_Occurred()) SWIG_fail
;
33111 resultobj
= SWIG_Py_Void();
33118 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33119 PyObject
*resultobj
= 0;
33120 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33121 wxString
*result
= 0 ;
33124 PyObject
*swig_obj
[1] ;
33126 if (!args
) SWIG_fail
;
33127 swig_obj
[0] = args
;
33128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33129 if (!SWIG_IsOK(res1
)) {
33130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33132 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33136 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33137 result
= (wxString
*) &_result_ref
;
33139 wxPyEndAllowThreads(__tstate
);
33140 if (PyErr_Occurred()) SWIG_fail
;
33144 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33146 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33155 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33156 PyObject
*resultobj
= 0;
33157 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33158 wxString
*arg2
= 0 ;
33161 bool temp2
= false ;
33162 PyObject
* obj0
= 0 ;
33163 PyObject
* obj1
= 0 ;
33164 char * kwnames
[] = {
33165 (char *) "self",(char *) "label", NULL
33168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33170 if (!SWIG_IsOK(res1
)) {
33171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33173 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33175 arg2
= wxString_in_helper(obj1
);
33176 if (arg2
== NULL
) SWIG_fail
;
33180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33181 (arg1
)->SetLabel((wxString
const &)*arg2
);
33182 wxPyEndAllowThreads(__tstate
);
33183 if (PyErr_Occurred()) SWIG_fail
;
33185 resultobj
= SWIG_Py_Void();
33200 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33201 PyObject
*resultobj
= 0;
33202 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33206 PyObject
*swig_obj
[1] ;
33208 if (!args
) SWIG_fail
;
33209 swig_obj
[0] = args
;
33210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33211 if (!SWIG_IsOK(res1
)) {
33212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33214 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33217 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33218 wxPyEndAllowThreads(__tstate
);
33219 if (PyErr_Occurred()) SWIG_fail
;
33222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33230 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33231 PyObject
*resultobj
= 0;
33232 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33238 PyObject
* obj0
= 0 ;
33239 PyObject
* obj1
= 0 ;
33240 char * kwnames
[] = {
33241 (char *) "self",(char *) "editCancelled", NULL
33244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33246 if (!SWIG_IsOK(res1
)) {
33247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33249 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33250 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33251 if (!SWIG_IsOK(ecode2
)) {
33252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33254 arg2
= static_cast< bool >(val2
);
33256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33257 (arg1
)->SetEditCanceled(arg2
);
33258 wxPyEndAllowThreads(__tstate
);
33259 if (PyErr_Occurred()) SWIG_fail
;
33261 resultobj
= SWIG_Py_Void();
33268 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33269 PyObject
*resultobj
= 0;
33270 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33271 wxString
*arg2
= 0 ;
33274 bool temp2
= false ;
33275 PyObject
* obj0
= 0 ;
33276 PyObject
* obj1
= 0 ;
33277 char * kwnames
[] = {
33278 (char *) "self",(char *) "toolTip", NULL
33281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33283 if (!SWIG_IsOK(res1
)) {
33284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33286 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33288 arg2
= wxString_in_helper(obj1
);
33289 if (arg2
== NULL
) SWIG_fail
;
33293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33294 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33295 wxPyEndAllowThreads(__tstate
);
33296 if (PyErr_Occurred()) SWIG_fail
;
33298 resultobj
= SWIG_Py_Void();
33313 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33314 PyObject
*resultobj
= 0;
33315 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33319 PyObject
*swig_obj
[1] ;
33321 if (!args
) SWIG_fail
;
33322 swig_obj
[0] = args
;
33323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33324 if (!SWIG_IsOK(res1
)) {
33325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33327 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33330 result
= (arg1
)->GetToolTip();
33331 wxPyEndAllowThreads(__tstate
);
33332 if (PyErr_Occurred()) SWIG_fail
;
33336 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33338 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33347 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33349 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33350 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33351 return SWIG_Py_Void();
33354 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33355 return SWIG_Python_InitShadowInstance(args
);
33358 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33359 PyObject
*resultobj
= 0;
33360 wxWindow
*arg1
= (wxWindow
*) 0 ;
33361 int arg2
= (int) -1 ;
33362 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33363 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33364 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33365 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33366 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33367 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33368 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33369 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33370 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33371 wxPyTreeCtrl
*result
= 0 ;
33382 bool temp7
= false ;
33383 PyObject
* obj0
= 0 ;
33384 PyObject
* obj1
= 0 ;
33385 PyObject
* obj2
= 0 ;
33386 PyObject
* obj3
= 0 ;
33387 PyObject
* obj4
= 0 ;
33388 PyObject
* obj5
= 0 ;
33389 PyObject
* obj6
= 0 ;
33390 char * kwnames
[] = {
33391 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33396 if (!SWIG_IsOK(res1
)) {
33397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33399 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33402 if (!SWIG_IsOK(ecode2
)) {
33403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33405 arg2
= static_cast< int >(val2
);
33410 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33416 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33420 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33421 if (!SWIG_IsOK(ecode5
)) {
33422 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33424 arg5
= static_cast< long >(val5
);
33427 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33428 if (!SWIG_IsOK(res6
)) {
33429 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33432 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33434 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33438 arg7
= wxString_in_helper(obj6
);
33439 if (arg7
== NULL
) SWIG_fail
;
33444 if (!wxPyCheckForApp()) SWIG_fail
;
33445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33446 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33447 wxPyEndAllowThreads(__tstate
);
33448 if (PyErr_Occurred()) SWIG_fail
;
33450 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33465 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33466 PyObject
*resultobj
= 0;
33467 wxPyTreeCtrl
*result
= 0 ;
33469 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33471 if (!wxPyCheckForApp()) SWIG_fail
;
33472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33473 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33474 wxPyEndAllowThreads(__tstate
);
33475 if (PyErr_Occurred()) SWIG_fail
;
33477 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33484 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33485 PyObject
*resultobj
= 0;
33486 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33487 wxWindow
*arg2
= (wxWindow
*) 0 ;
33488 int arg3
= (int) -1 ;
33489 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33490 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33491 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33492 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33493 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33494 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33495 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33496 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33497 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33511 bool temp8
= false ;
33512 PyObject
* obj0
= 0 ;
33513 PyObject
* obj1
= 0 ;
33514 PyObject
* obj2
= 0 ;
33515 PyObject
* obj3
= 0 ;
33516 PyObject
* obj4
= 0 ;
33517 PyObject
* obj5
= 0 ;
33518 PyObject
* obj6
= 0 ;
33519 PyObject
* obj7
= 0 ;
33520 char * kwnames
[] = {
33521 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33526 if (!SWIG_IsOK(res1
)) {
33527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33529 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33530 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33531 if (!SWIG_IsOK(res2
)) {
33532 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33534 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33536 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33537 if (!SWIG_IsOK(ecode3
)) {
33538 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33540 arg3
= static_cast< int >(val3
);
33545 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33551 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33555 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33556 if (!SWIG_IsOK(ecode6
)) {
33557 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33559 arg6
= static_cast< long >(val6
);
33562 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
33563 if (!SWIG_IsOK(res7
)) {
33564 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33567 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33569 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
33573 arg8
= wxString_in_helper(obj7
);
33574 if (arg8
== NULL
) SWIG_fail
;
33579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33580 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33581 wxPyEndAllowThreads(__tstate
);
33582 if (PyErr_Occurred()) SWIG_fail
;
33585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33601 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33602 PyObject
*resultobj
= 0;
33603 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33604 PyObject
*arg2
= (PyObject
*) 0 ;
33605 PyObject
*arg3
= (PyObject
*) 0 ;
33608 PyObject
* obj0
= 0 ;
33609 PyObject
* obj1
= 0 ;
33610 PyObject
* obj2
= 0 ;
33611 char * kwnames
[] = {
33612 (char *) "self",(char *) "self",(char *) "_class", NULL
33615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33617 if (!SWIG_IsOK(res1
)) {
33618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33620 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33625 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33626 wxPyEndAllowThreads(__tstate
);
33627 if (PyErr_Occurred()) SWIG_fail
;
33629 resultobj
= SWIG_Py_Void();
33636 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33637 PyObject
*resultobj
= 0;
33638 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33639 unsigned int result
;
33642 PyObject
*swig_obj
[1] ;
33644 if (!args
) SWIG_fail
;
33645 swig_obj
[0] = args
;
33646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33647 if (!SWIG_IsOK(res1
)) {
33648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33650 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33653 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
33654 wxPyEndAllowThreads(__tstate
);
33655 if (PyErr_Occurred()) SWIG_fail
;
33657 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33664 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33665 PyObject
*resultobj
= 0;
33666 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33667 unsigned int result
;
33670 PyObject
*swig_obj
[1] ;
33672 if (!args
) SWIG_fail
;
33673 swig_obj
[0] = args
;
33674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33675 if (!SWIG_IsOK(res1
)) {
33676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33678 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33681 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
33682 wxPyEndAllowThreads(__tstate
);
33683 if (PyErr_Occurred()) SWIG_fail
;
33685 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33692 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33693 PyObject
*resultobj
= 0;
33694 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33695 unsigned int arg2
;
33698 unsigned int val2
;
33700 PyObject
* obj0
= 0 ;
33701 PyObject
* obj1
= 0 ;
33702 char * kwnames
[] = {
33703 (char *) "self",(char *) "indent", NULL
33706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33708 if (!SWIG_IsOK(res1
)) {
33709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33711 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33712 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33713 if (!SWIG_IsOK(ecode2
)) {
33714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
33716 arg2
= static_cast< unsigned int >(val2
);
33718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33719 (arg1
)->SetIndent(arg2
);
33720 wxPyEndAllowThreads(__tstate
);
33721 if (PyErr_Occurred()) SWIG_fail
;
33723 resultobj
= SWIG_Py_Void();
33730 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33731 PyObject
*resultobj
= 0;
33732 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33733 unsigned int result
;
33736 PyObject
*swig_obj
[1] ;
33738 if (!args
) SWIG_fail
;
33739 swig_obj
[0] = args
;
33740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33741 if (!SWIG_IsOK(res1
)) {
33742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33744 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33747 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
33748 wxPyEndAllowThreads(__tstate
);
33749 if (PyErr_Occurred()) SWIG_fail
;
33751 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33758 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33759 PyObject
*resultobj
= 0;
33760 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33761 unsigned int arg2
;
33764 unsigned int val2
;
33766 PyObject
* obj0
= 0 ;
33767 PyObject
* obj1
= 0 ;
33768 char * kwnames
[] = {
33769 (char *) "self",(char *) "spacing", NULL
33772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33774 if (!SWIG_IsOK(res1
)) {
33775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33777 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33778 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33779 if (!SWIG_IsOK(ecode2
)) {
33780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
33782 arg2
= static_cast< unsigned int >(val2
);
33784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33785 (arg1
)->SetSpacing(arg2
);
33786 wxPyEndAllowThreads(__tstate
);
33787 if (PyErr_Occurred()) SWIG_fail
;
33789 resultobj
= SWIG_Py_Void();
33796 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33797 PyObject
*resultobj
= 0;
33798 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33799 wxImageList
*result
= 0 ;
33802 PyObject
*swig_obj
[1] ;
33804 if (!args
) SWIG_fail
;
33805 swig_obj
[0] = args
;
33806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33807 if (!SWIG_IsOK(res1
)) {
33808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33810 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33813 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
33814 wxPyEndAllowThreads(__tstate
);
33815 if (PyErr_Occurred()) SWIG_fail
;
33818 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33826 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33827 PyObject
*resultobj
= 0;
33828 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33829 wxImageList
*result
= 0 ;
33832 PyObject
*swig_obj
[1] ;
33834 if (!args
) SWIG_fail
;
33835 swig_obj
[0] = args
;
33836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33837 if (!SWIG_IsOK(res1
)) {
33838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33840 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33843 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
33844 wxPyEndAllowThreads(__tstate
);
33845 if (PyErr_Occurred()) SWIG_fail
;
33848 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33856 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33857 PyObject
*resultobj
= 0;
33858 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33859 wxImageList
*arg2
= (wxImageList
*) 0 ;
33864 PyObject
* obj0
= 0 ;
33865 PyObject
* obj1
= 0 ;
33866 char * kwnames
[] = {
33867 (char *) "self",(char *) "imageList", NULL
33870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33872 if (!SWIG_IsOK(res1
)) {
33873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33875 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33876 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33877 if (!SWIG_IsOK(res2
)) {
33878 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33880 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
33882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33883 (arg1
)->SetImageList(arg2
);
33884 wxPyEndAllowThreads(__tstate
);
33885 if (PyErr_Occurred()) SWIG_fail
;
33887 resultobj
= SWIG_Py_Void();
33894 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33895 PyObject
*resultobj
= 0;
33896 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33897 wxImageList
*arg2
= (wxImageList
*) 0 ;
33902 PyObject
* obj0
= 0 ;
33903 PyObject
* obj1
= 0 ;
33904 char * kwnames
[] = {
33905 (char *) "self",(char *) "imageList", NULL
33908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33910 if (!SWIG_IsOK(res1
)) {
33911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33913 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33914 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33915 if (!SWIG_IsOK(res2
)) {
33916 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33918 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
33920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33921 (arg1
)->SetStateImageList(arg2
);
33922 wxPyEndAllowThreads(__tstate
);
33923 if (PyErr_Occurred()) SWIG_fail
;
33925 resultobj
= SWIG_Py_Void();
33932 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33933 PyObject
*resultobj
= 0;
33934 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33935 wxImageList
*arg2
= (wxImageList
*) 0 ;
33939 PyObject
* obj0
= 0 ;
33940 PyObject
* obj1
= 0 ;
33941 char * kwnames
[] = {
33942 (char *) "self",(char *) "imageList", NULL
33945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33947 if (!SWIG_IsOK(res1
)) {
33948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33950 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33951 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
33952 if (!SWIG_IsOK(res2
)) {
33953 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33957 (arg1
)->AssignImageList(arg2
);
33958 wxPyEndAllowThreads(__tstate
);
33959 if (PyErr_Occurred()) SWIG_fail
;
33961 resultobj
= SWIG_Py_Void();
33968 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33969 PyObject
*resultobj
= 0;
33970 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33971 wxImageList
*arg2
= (wxImageList
*) 0 ;
33975 PyObject
* obj0
= 0 ;
33976 PyObject
* obj1
= 0 ;
33977 char * kwnames
[] = {
33978 (char *) "self",(char *) "imageList", NULL
33981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33983 if (!SWIG_IsOK(res1
)) {
33984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33986 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33987 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
33988 if (!SWIG_IsOK(res2
)) {
33989 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33993 (arg1
)->AssignStateImageList(arg2
);
33994 wxPyEndAllowThreads(__tstate
);
33995 if (PyErr_Occurred()) SWIG_fail
;
33997 resultobj
= SWIG_Py_Void();
34004 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34005 PyObject
*resultobj
= 0;
34006 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34007 wxTreeItemId
*arg2
= 0 ;
34013 PyObject
* obj0
= 0 ;
34014 PyObject
* obj1
= 0 ;
34015 char * kwnames
[] = {
34016 (char *) "self",(char *) "item", NULL
34019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34021 if (!SWIG_IsOK(res1
)) {
34022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34024 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34025 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34026 if (!SWIG_IsOK(res2
)) {
34027 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34032 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34035 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34036 wxPyEndAllowThreads(__tstate
);
34037 if (PyErr_Occurred()) SWIG_fail
;
34041 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34043 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34052 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34053 PyObject
*resultobj
= 0;
34054 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34055 wxTreeItemId
*arg2
= 0 ;
34056 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34064 PyObject
* obj0
= 0 ;
34065 PyObject
* obj1
= 0 ;
34066 PyObject
* obj2
= 0 ;
34067 char * kwnames
[] = {
34068 (char *) "self",(char *) "item",(char *) "which", NULL
34071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34073 if (!SWIG_IsOK(res1
)) {
34074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34076 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34077 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34078 if (!SWIG_IsOK(res2
)) {
34079 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34082 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34084 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34086 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34087 if (!SWIG_IsOK(ecode3
)) {
34088 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34090 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34094 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34095 wxPyEndAllowThreads(__tstate
);
34096 if (PyErr_Occurred()) SWIG_fail
;
34098 resultobj
= SWIG_From_int(static_cast< int >(result
));
34105 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34106 PyObject
*resultobj
= 0;
34107 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34108 wxTreeItemId
*arg2
= 0 ;
34109 wxPyTreeItemData
*result
= 0 ;
34114 PyObject
* obj0
= 0 ;
34115 PyObject
* obj1
= 0 ;
34116 char * kwnames
[] = {
34117 (char *) "self",(char *) "item", NULL
34120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34122 if (!SWIG_IsOK(res1
)) {
34123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34125 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34126 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34127 if (!SWIG_IsOK(res2
)) {
34128 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34131 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34133 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34136 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34137 wxPyEndAllowThreads(__tstate
);
34138 if (PyErr_Occurred()) SWIG_fail
;
34140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34147 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34148 PyObject
*resultobj
= 0;
34149 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34150 wxTreeItemId
*arg2
= 0 ;
34151 PyObject
*result
= 0 ;
34156 PyObject
* obj0
= 0 ;
34157 PyObject
* obj1
= 0 ;
34158 char * kwnames
[] = {
34159 (char *) "self",(char *) "item", NULL
34162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34164 if (!SWIG_IsOK(res1
)) {
34165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34167 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34168 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34169 if (!SWIG_IsOK(res2
)) {
34170 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34173 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34175 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34178 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34179 wxPyEndAllowThreads(__tstate
);
34180 if (PyErr_Occurred()) SWIG_fail
;
34182 resultobj
= result
;
34189 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34190 PyObject
*resultobj
= 0;
34191 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34192 wxTreeItemId
*arg2
= 0 ;
34198 PyObject
* obj0
= 0 ;
34199 PyObject
* obj1
= 0 ;
34200 char * kwnames
[] = {
34201 (char *) "self",(char *) "item", NULL
34204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34206 if (!SWIG_IsOK(res1
)) {
34207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34209 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34210 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34211 if (!SWIG_IsOK(res2
)) {
34212 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34215 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34217 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34220 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34221 wxPyEndAllowThreads(__tstate
);
34222 if (PyErr_Occurred()) SWIG_fail
;
34224 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34231 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34232 PyObject
*resultobj
= 0;
34233 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34234 wxTreeItemId
*arg2
= 0 ;
34240 PyObject
* obj0
= 0 ;
34241 PyObject
* obj1
= 0 ;
34242 char * kwnames
[] = {
34243 (char *) "self",(char *) "item", NULL
34246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34248 if (!SWIG_IsOK(res1
)) {
34249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34251 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34252 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34253 if (!SWIG_IsOK(res2
)) {
34254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34257 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34259 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34262 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34263 wxPyEndAllowThreads(__tstate
);
34264 if (PyErr_Occurred()) SWIG_fail
;
34266 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34273 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34274 PyObject
*resultobj
= 0;
34275 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34276 wxTreeItemId
*arg2
= 0 ;
34282 PyObject
* obj0
= 0 ;
34283 PyObject
* obj1
= 0 ;
34284 char * kwnames
[] = {
34285 (char *) "self",(char *) "item", NULL
34288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34290 if (!SWIG_IsOK(res1
)) {
34291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34293 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34294 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34295 if (!SWIG_IsOK(res2
)) {
34296 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34299 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34301 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34304 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34305 wxPyEndAllowThreads(__tstate
);
34306 if (PyErr_Occurred()) SWIG_fail
;
34308 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34315 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34316 PyObject
*resultobj
= 0;
34317 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34318 wxTreeItemId
*arg2
= 0 ;
34319 wxString
*arg3
= 0 ;
34324 bool temp3
= false ;
34325 PyObject
* obj0
= 0 ;
34326 PyObject
* obj1
= 0 ;
34327 PyObject
* obj2
= 0 ;
34328 char * kwnames
[] = {
34329 (char *) "self",(char *) "item",(char *) "text", NULL
34332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34334 if (!SWIG_IsOK(res1
)) {
34335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34337 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34338 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34339 if (!SWIG_IsOK(res2
)) {
34340 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34343 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34345 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34347 arg3
= wxString_in_helper(obj2
);
34348 if (arg3
== NULL
) SWIG_fail
;
34352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34353 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34354 wxPyEndAllowThreads(__tstate
);
34355 if (PyErr_Occurred()) SWIG_fail
;
34357 resultobj
= SWIG_Py_Void();
34372 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34373 PyObject
*resultobj
= 0;
34374 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34375 wxTreeItemId
*arg2
= 0 ;
34377 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34386 PyObject
* obj0
= 0 ;
34387 PyObject
* obj1
= 0 ;
34388 PyObject
* obj2
= 0 ;
34389 PyObject
* obj3
= 0 ;
34390 char * kwnames
[] = {
34391 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34396 if (!SWIG_IsOK(res1
)) {
34397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34399 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34400 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34401 if (!SWIG_IsOK(res2
)) {
34402 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34405 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34407 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34408 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34409 if (!SWIG_IsOK(ecode3
)) {
34410 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34412 arg3
= static_cast< int >(val3
);
34414 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34415 if (!SWIG_IsOK(ecode4
)) {
34416 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34418 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34422 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34423 wxPyEndAllowThreads(__tstate
);
34424 if (PyErr_Occurred()) SWIG_fail
;
34426 resultobj
= SWIG_Py_Void();
34433 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34434 PyObject
*resultobj
= 0;
34435 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34436 wxTreeItemId
*arg2
= 0 ;
34437 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34443 PyObject
* obj0
= 0 ;
34444 PyObject
* obj1
= 0 ;
34445 PyObject
* obj2
= 0 ;
34446 char * kwnames
[] = {
34447 (char *) "self",(char *) "item",(char *) "data", NULL
34450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34452 if (!SWIG_IsOK(res1
)) {
34453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34455 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34456 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34457 if (!SWIG_IsOK(res2
)) {
34458 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34461 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34463 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34464 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34465 if (!SWIG_IsOK(res3
)) {
34466 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34470 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34471 wxPyEndAllowThreads(__tstate
);
34472 if (PyErr_Occurred()) SWIG_fail
;
34474 resultobj
= SWIG_Py_Void();
34481 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34482 PyObject
*resultobj
= 0;
34483 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34484 wxTreeItemId
*arg2
= 0 ;
34485 PyObject
*arg3
= (PyObject
*) 0 ;
34490 PyObject
* obj0
= 0 ;
34491 PyObject
* obj1
= 0 ;
34492 PyObject
* obj2
= 0 ;
34493 char * kwnames
[] = {
34494 (char *) "self",(char *) "item",(char *) "obj", NULL
34497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34499 if (!SWIG_IsOK(res1
)) {
34500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34502 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34503 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34504 if (!SWIG_IsOK(res2
)) {
34505 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34508 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34510 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34514 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34515 wxPyEndAllowThreads(__tstate
);
34516 if (PyErr_Occurred()) SWIG_fail
;
34518 resultobj
= SWIG_Py_Void();
34525 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34526 PyObject
*resultobj
= 0;
34527 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34528 wxTreeItemId
*arg2
= 0 ;
34529 bool arg3
= (bool) true ;
34536 PyObject
* obj0
= 0 ;
34537 PyObject
* obj1
= 0 ;
34538 PyObject
* obj2
= 0 ;
34539 char * kwnames
[] = {
34540 (char *) "self",(char *) "item",(char *) "has", NULL
34543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34545 if (!SWIG_IsOK(res1
)) {
34546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34548 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34549 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34550 if (!SWIG_IsOK(res2
)) {
34551 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34556 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34558 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34559 if (!SWIG_IsOK(ecode3
)) {
34560 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34562 arg3
= static_cast< bool >(val3
);
34565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34566 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
34567 wxPyEndAllowThreads(__tstate
);
34568 if (PyErr_Occurred()) SWIG_fail
;
34570 resultobj
= SWIG_Py_Void();
34577 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34578 PyObject
*resultobj
= 0;
34579 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34580 wxTreeItemId
*arg2
= 0 ;
34581 bool arg3
= (bool) true ;
34588 PyObject
* obj0
= 0 ;
34589 PyObject
* obj1
= 0 ;
34590 PyObject
* obj2
= 0 ;
34591 char * kwnames
[] = {
34592 (char *) "self",(char *) "item",(char *) "bold", NULL
34595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34597 if (!SWIG_IsOK(res1
)) {
34598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34600 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34601 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34602 if (!SWIG_IsOK(res2
)) {
34603 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34606 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34608 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34610 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34611 if (!SWIG_IsOK(ecode3
)) {
34612 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
34614 arg3
= static_cast< bool >(val3
);
34617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34618 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
34619 wxPyEndAllowThreads(__tstate
);
34620 if (PyErr_Occurred()) SWIG_fail
;
34622 resultobj
= SWIG_Py_Void();
34629 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34630 PyObject
*resultobj
= 0;
34631 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34632 wxTreeItemId
*arg2
= 0 ;
34633 bool arg3
= (bool) true ;
34640 PyObject
* obj0
= 0 ;
34641 PyObject
* obj1
= 0 ;
34642 PyObject
* obj2
= 0 ;
34643 char * kwnames
[] = {
34644 (char *) "self",(char *) "item",(char *) "highlight", NULL
34647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34649 if (!SWIG_IsOK(res1
)) {
34650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34652 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34653 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34654 if (!SWIG_IsOK(res2
)) {
34655 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34658 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34660 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34662 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34663 if (!SWIG_IsOK(ecode3
)) {
34664 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
34666 arg3
= static_cast< bool >(val3
);
34669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34670 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
34671 wxPyEndAllowThreads(__tstate
);
34672 if (PyErr_Occurred()) SWIG_fail
;
34674 resultobj
= SWIG_Py_Void();
34681 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34682 PyObject
*resultobj
= 0;
34683 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34684 wxTreeItemId
*arg2
= 0 ;
34685 wxColour
*arg3
= 0 ;
34691 PyObject
* obj0
= 0 ;
34692 PyObject
* obj1
= 0 ;
34693 PyObject
* obj2
= 0 ;
34694 char * kwnames
[] = {
34695 (char *) "self",(char *) "item",(char *) "col", NULL
34698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34700 if (!SWIG_IsOK(res1
)) {
34701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34703 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34704 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34705 if (!SWIG_IsOK(res2
)) {
34706 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34709 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34711 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34714 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34718 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34719 wxPyEndAllowThreads(__tstate
);
34720 if (PyErr_Occurred()) SWIG_fail
;
34722 resultobj
= SWIG_Py_Void();
34729 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34730 PyObject
*resultobj
= 0;
34731 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34732 wxTreeItemId
*arg2
= 0 ;
34733 wxColour
*arg3
= 0 ;
34739 PyObject
* obj0
= 0 ;
34740 PyObject
* obj1
= 0 ;
34741 PyObject
* obj2
= 0 ;
34742 char * kwnames
[] = {
34743 (char *) "self",(char *) "item",(char *) "col", NULL
34746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34748 if (!SWIG_IsOK(res1
)) {
34749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34751 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34752 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34753 if (!SWIG_IsOK(res2
)) {
34754 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34757 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34759 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34762 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34766 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34767 wxPyEndAllowThreads(__tstate
);
34768 if (PyErr_Occurred()) SWIG_fail
;
34770 resultobj
= SWIG_Py_Void();
34777 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34778 PyObject
*resultobj
= 0;
34779 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34780 wxTreeItemId
*arg2
= 0 ;
34788 PyObject
* obj0
= 0 ;
34789 PyObject
* obj1
= 0 ;
34790 PyObject
* obj2
= 0 ;
34791 char * kwnames
[] = {
34792 (char *) "self",(char *) "item",(char *) "font", NULL
34795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34797 if (!SWIG_IsOK(res1
)) {
34798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34800 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34801 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34802 if (!SWIG_IsOK(res2
)) {
34803 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34806 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34808 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34809 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
34810 if (!SWIG_IsOK(res3
)) {
34811 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34814 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34816 arg3
= reinterpret_cast< wxFont
* >(argp3
);
34818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34819 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
34820 wxPyEndAllowThreads(__tstate
);
34821 if (PyErr_Occurred()) SWIG_fail
;
34823 resultobj
= SWIG_Py_Void();
34830 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34831 PyObject
*resultobj
= 0;
34832 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34833 wxTreeItemId
*arg2
= 0 ;
34839 PyObject
* obj0
= 0 ;
34840 PyObject
* obj1
= 0 ;
34841 char * kwnames
[] = {
34842 (char *) "self",(char *) "item", NULL
34845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34847 if (!SWIG_IsOK(res1
)) {
34848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34850 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34851 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34852 if (!SWIG_IsOK(res2
)) {
34853 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34856 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34858 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34861 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
34862 wxPyEndAllowThreads(__tstate
);
34863 if (PyErr_Occurred()) SWIG_fail
;
34866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34874 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34875 PyObject
*resultobj
= 0;
34876 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34877 wxTreeItemId
*arg2
= 0 ;
34883 PyObject
* obj0
= 0 ;
34884 PyObject
* obj1
= 0 ;
34885 char * kwnames
[] = {
34886 (char *) "self",(char *) "item", NULL
34889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34891 if (!SWIG_IsOK(res1
)) {
34892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34894 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34895 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34896 if (!SWIG_IsOK(res2
)) {
34897 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34900 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34902 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34905 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
34906 wxPyEndAllowThreads(__tstate
);
34907 if (PyErr_Occurred()) SWIG_fail
;
34910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34918 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34919 PyObject
*resultobj
= 0;
34920 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34921 wxTreeItemId
*arg2
= 0 ;
34927 PyObject
* obj0
= 0 ;
34928 PyObject
* obj1
= 0 ;
34929 char * kwnames
[] = {
34930 (char *) "self",(char *) "item", NULL
34933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34935 if (!SWIG_IsOK(res1
)) {
34936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34938 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34939 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34940 if (!SWIG_IsOK(res2
)) {
34941 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34944 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34946 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34949 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
34950 wxPyEndAllowThreads(__tstate
);
34951 if (PyErr_Occurred()) SWIG_fail
;
34954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34962 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34963 PyObject
*resultobj
= 0;
34964 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34965 wxTreeItemId
*arg2
= 0 ;
34971 PyObject
* obj0
= 0 ;
34972 PyObject
* obj1
= 0 ;
34973 char * kwnames
[] = {
34974 (char *) "self",(char *) "item", NULL
34977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34979 if (!SWIG_IsOK(res1
)) {
34980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34982 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34983 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34984 if (!SWIG_IsOK(res2
)) {
34985 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34988 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34990 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34993 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
34994 wxPyEndAllowThreads(__tstate
);
34995 if (PyErr_Occurred()) SWIG_fail
;
34998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35006 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35007 PyObject
*resultobj
= 0;
35008 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35009 wxTreeItemId
*arg2
= 0 ;
35015 PyObject
* obj0
= 0 ;
35016 PyObject
* obj1
= 0 ;
35017 char * kwnames
[] = {
35018 (char *) "self",(char *) "item", NULL
35021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35023 if (!SWIG_IsOK(res1
)) {
35024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35026 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35027 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35028 if (!SWIG_IsOK(res2
)) {
35029 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35032 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35034 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35037 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35038 wxPyEndAllowThreads(__tstate
);
35039 if (PyErr_Occurred()) SWIG_fail
;
35042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35050 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35051 PyObject
*resultobj
= 0;
35052 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35053 wxTreeItemId
*arg2
= 0 ;
35054 bool arg3
= (bool) true ;
35062 PyObject
* obj0
= 0 ;
35063 PyObject
* obj1
= 0 ;
35064 PyObject
* obj2
= 0 ;
35065 char * kwnames
[] = {
35066 (char *) "self",(char *) "item",(char *) "recursively", NULL
35069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35071 if (!SWIG_IsOK(res1
)) {
35072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35074 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35075 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35076 if (!SWIG_IsOK(res2
)) {
35077 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35080 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35082 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35084 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35085 if (!SWIG_IsOK(ecode3
)) {
35086 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35088 arg3
= static_cast< bool >(val3
);
35091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35092 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35093 wxPyEndAllowThreads(__tstate
);
35094 if (PyErr_Occurred()) SWIG_fail
;
35096 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35103 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35104 PyObject
*resultobj
= 0;
35105 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35106 wxTreeItemId result
;
35109 PyObject
*swig_obj
[1] ;
35111 if (!args
) SWIG_fail
;
35112 swig_obj
[0] = args
;
35113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35114 if (!SWIG_IsOK(res1
)) {
35115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35117 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35120 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35121 wxPyEndAllowThreads(__tstate
);
35122 if (PyErr_Occurred()) SWIG_fail
;
35124 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35131 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35132 PyObject
*resultobj
= 0;
35133 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35134 wxTreeItemId result
;
35137 PyObject
*swig_obj
[1] ;
35139 if (!args
) SWIG_fail
;
35140 swig_obj
[0] = args
;
35141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35142 if (!SWIG_IsOK(res1
)) {
35143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35145 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35148 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35149 wxPyEndAllowThreads(__tstate
);
35150 if (PyErr_Occurred()) SWIG_fail
;
35152 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35159 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35160 PyObject
*resultobj
= 0;
35161 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35162 PyObject
*result
= 0 ;
35165 PyObject
*swig_obj
[1] ;
35167 if (!args
) SWIG_fail
;
35168 swig_obj
[0] = args
;
35169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35170 if (!SWIG_IsOK(res1
)) {
35171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35173 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35176 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35177 wxPyEndAllowThreads(__tstate
);
35178 if (PyErr_Occurred()) SWIG_fail
;
35180 resultobj
= result
;
35187 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35188 PyObject
*resultobj
= 0;
35189 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35190 wxTreeItemId
*arg2
= 0 ;
35191 wxTreeItemId result
;
35196 PyObject
* obj0
= 0 ;
35197 PyObject
* obj1
= 0 ;
35198 char * kwnames
[] = {
35199 (char *) "self",(char *) "item", NULL
35202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35204 if (!SWIG_IsOK(res1
)) {
35205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35207 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35208 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35209 if (!SWIG_IsOK(res2
)) {
35210 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35213 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35215 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35218 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35219 wxPyEndAllowThreads(__tstate
);
35220 if (PyErr_Occurred()) SWIG_fail
;
35222 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35229 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35230 PyObject
*resultobj
= 0;
35231 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35232 wxTreeItemId
*arg2
= 0 ;
35233 PyObject
*result
= 0 ;
35238 PyObject
* obj0
= 0 ;
35239 PyObject
* obj1
= 0 ;
35240 char * kwnames
[] = {
35241 (char *) "self",(char *) "item", NULL
35244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35246 if (!SWIG_IsOK(res1
)) {
35247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35249 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35250 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35251 if (!SWIG_IsOK(res2
)) {
35252 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35255 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35257 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35260 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35261 wxPyEndAllowThreads(__tstate
);
35262 if (PyErr_Occurred()) SWIG_fail
;
35264 resultobj
= result
;
35271 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35272 PyObject
*resultobj
= 0;
35273 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35274 wxTreeItemId
*arg2
= 0 ;
35275 void *arg3
= (void *) 0 ;
35276 PyObject
*result
= 0 ;
35282 PyObject
* obj0
= 0 ;
35283 PyObject
* obj1
= 0 ;
35284 PyObject
* obj2
= 0 ;
35285 char * kwnames
[] = {
35286 (char *) "self",(char *) "item",(char *) "cookie", NULL
35289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35291 if (!SWIG_IsOK(res1
)) {
35292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35294 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35295 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35296 if (!SWIG_IsOK(res2
)) {
35297 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35300 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35302 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35303 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35304 if (!SWIG_IsOK(res3
)) {
35305 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35309 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35310 wxPyEndAllowThreads(__tstate
);
35311 if (PyErr_Occurred()) SWIG_fail
;
35313 resultobj
= result
;
35320 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35321 PyObject
*resultobj
= 0;
35322 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35323 wxTreeItemId
*arg2
= 0 ;
35324 wxTreeItemId result
;
35329 PyObject
* obj0
= 0 ;
35330 PyObject
* obj1
= 0 ;
35331 char * kwnames
[] = {
35332 (char *) "self",(char *) "item", NULL
35335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35337 if (!SWIG_IsOK(res1
)) {
35338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35340 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35341 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35342 if (!SWIG_IsOK(res2
)) {
35343 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35346 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35348 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35351 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35352 wxPyEndAllowThreads(__tstate
);
35353 if (PyErr_Occurred()) SWIG_fail
;
35355 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35362 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35363 PyObject
*resultobj
= 0;
35364 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35365 wxTreeItemId
*arg2
= 0 ;
35366 wxTreeItemId result
;
35371 PyObject
* obj0
= 0 ;
35372 PyObject
* obj1
= 0 ;
35373 char * kwnames
[] = {
35374 (char *) "self",(char *) "item", NULL
35377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35379 if (!SWIG_IsOK(res1
)) {
35380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35382 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35383 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35384 if (!SWIG_IsOK(res2
)) {
35385 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35388 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35390 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35393 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35394 wxPyEndAllowThreads(__tstate
);
35395 if (PyErr_Occurred()) SWIG_fail
;
35397 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35404 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35405 PyObject
*resultobj
= 0;
35406 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35407 wxTreeItemId
*arg2
= 0 ;
35408 wxTreeItemId result
;
35413 PyObject
* obj0
= 0 ;
35414 PyObject
* obj1
= 0 ;
35415 char * kwnames
[] = {
35416 (char *) "self",(char *) "item", NULL
35419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35421 if (!SWIG_IsOK(res1
)) {
35422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35424 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35425 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35426 if (!SWIG_IsOK(res2
)) {
35427 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35430 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35432 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35435 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35436 wxPyEndAllowThreads(__tstate
);
35437 if (PyErr_Occurred()) SWIG_fail
;
35439 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35446 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35447 PyObject
*resultobj
= 0;
35448 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35449 wxTreeItemId result
;
35452 PyObject
*swig_obj
[1] ;
35454 if (!args
) SWIG_fail
;
35455 swig_obj
[0] = args
;
35456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35457 if (!SWIG_IsOK(res1
)) {
35458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35460 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35463 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35464 wxPyEndAllowThreads(__tstate
);
35465 if (PyErr_Occurred()) SWIG_fail
;
35467 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35474 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35475 PyObject
*resultobj
= 0;
35476 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35477 wxTreeItemId
*arg2
= 0 ;
35478 wxTreeItemId result
;
35483 PyObject
* obj0
= 0 ;
35484 PyObject
* obj1
= 0 ;
35485 char * kwnames
[] = {
35486 (char *) "self",(char *) "item", NULL
35489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35491 if (!SWIG_IsOK(res1
)) {
35492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35494 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35495 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35496 if (!SWIG_IsOK(res2
)) {
35497 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35500 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35502 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35505 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35506 wxPyEndAllowThreads(__tstate
);
35507 if (PyErr_Occurred()) SWIG_fail
;
35509 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35516 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35517 PyObject
*resultobj
= 0;
35518 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35519 wxTreeItemId
*arg2
= 0 ;
35520 wxTreeItemId result
;
35525 PyObject
* obj0
= 0 ;
35526 PyObject
* obj1
= 0 ;
35527 char * kwnames
[] = {
35528 (char *) "self",(char *) "item", NULL
35531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35533 if (!SWIG_IsOK(res1
)) {
35534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35536 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35537 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35538 if (!SWIG_IsOK(res2
)) {
35539 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35542 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35544 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35547 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
35548 wxPyEndAllowThreads(__tstate
);
35549 if (PyErr_Occurred()) SWIG_fail
;
35551 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35558 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35559 PyObject
*resultobj
= 0;
35560 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35561 wxString
*arg2
= 0 ;
35562 int arg3
= (int) -1 ;
35563 int arg4
= (int) -1 ;
35564 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
35565 wxTreeItemId result
;
35568 bool temp2
= false ;
35574 PyObject
* obj0
= 0 ;
35575 PyObject
* obj1
= 0 ;
35576 PyObject
* obj2
= 0 ;
35577 PyObject
* obj3
= 0 ;
35578 PyObject
* obj4
= 0 ;
35579 char * kwnames
[] = {
35580 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35585 if (!SWIG_IsOK(res1
)) {
35586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35588 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35590 arg2
= wxString_in_helper(obj1
);
35591 if (arg2
== NULL
) SWIG_fail
;
35595 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35596 if (!SWIG_IsOK(ecode3
)) {
35597 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
35599 arg3
= static_cast< int >(val3
);
35602 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35603 if (!SWIG_IsOK(ecode4
)) {
35604 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
35606 arg4
= static_cast< int >(val4
);
35609 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35610 if (!SWIG_IsOK(res5
)) {
35611 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
35615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35616 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
35617 wxPyEndAllowThreads(__tstate
);
35618 if (PyErr_Occurred()) SWIG_fail
;
35620 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35635 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35636 PyObject
*resultobj
= 0;
35637 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35638 wxTreeItemId
*arg2
= 0 ;
35639 wxString
*arg3
= 0 ;
35640 int arg4
= (int) -1 ;
35641 int arg5
= (int) -1 ;
35642 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35643 wxTreeItemId result
;
35648 bool temp3
= false ;
35654 PyObject
* obj0
= 0 ;
35655 PyObject
* obj1
= 0 ;
35656 PyObject
* obj2
= 0 ;
35657 PyObject
* obj3
= 0 ;
35658 PyObject
* obj4
= 0 ;
35659 PyObject
* obj5
= 0 ;
35660 char * kwnames
[] = {
35661 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35666 if (!SWIG_IsOK(res1
)) {
35667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35669 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35670 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35671 if (!SWIG_IsOK(res2
)) {
35672 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35675 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35677 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35679 arg3
= wxString_in_helper(obj2
);
35680 if (arg3
== NULL
) SWIG_fail
;
35684 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35685 if (!SWIG_IsOK(ecode4
)) {
35686 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
35688 arg4
= static_cast< int >(val4
);
35691 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35692 if (!SWIG_IsOK(ecode5
)) {
35693 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
35695 arg5
= static_cast< int >(val5
);
35698 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35699 if (!SWIG_IsOK(res6
)) {
35700 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35705 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35706 wxPyEndAllowThreads(__tstate
);
35707 if (PyErr_Occurred()) SWIG_fail
;
35709 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35724 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35725 PyObject
*resultobj
= 0;
35726 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35727 wxTreeItemId
*arg2
= 0 ;
35728 wxTreeItemId
*arg3
= 0 ;
35729 wxString
*arg4
= 0 ;
35730 int arg5
= (int) -1 ;
35731 int arg6
= (int) -1 ;
35732 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35733 wxTreeItemId result
;
35740 bool temp4
= false ;
35746 PyObject
* obj0
= 0 ;
35747 PyObject
* obj1
= 0 ;
35748 PyObject
* obj2
= 0 ;
35749 PyObject
* obj3
= 0 ;
35750 PyObject
* obj4
= 0 ;
35751 PyObject
* obj5
= 0 ;
35752 PyObject
* obj6
= 0 ;
35753 char * kwnames
[] = {
35754 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35759 if (!SWIG_IsOK(res1
)) {
35760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35762 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35763 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35764 if (!SWIG_IsOK(res2
)) {
35765 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35768 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35770 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35771 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35772 if (!SWIG_IsOK(res3
)) {
35773 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35776 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35778 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
35780 arg4
= wxString_in_helper(obj3
);
35781 if (arg4
== NULL
) SWIG_fail
;
35785 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35786 if (!SWIG_IsOK(ecode5
)) {
35787 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
35789 arg5
= static_cast< int >(val5
);
35792 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35793 if (!SWIG_IsOK(ecode6
)) {
35794 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
35796 arg6
= static_cast< int >(val6
);
35799 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35800 if (!SWIG_IsOK(res7
)) {
35801 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35806 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35807 wxPyEndAllowThreads(__tstate
);
35808 if (PyErr_Occurred()) SWIG_fail
;
35810 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35825 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35826 PyObject
*resultobj
= 0;
35827 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35828 wxTreeItemId
*arg2
= 0 ;
35830 wxString
*arg4
= 0 ;
35831 int arg5
= (int) -1 ;
35832 int arg6
= (int) -1 ;
35833 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35834 wxTreeItemId result
;
35841 bool temp4
= false ;
35847 PyObject
* obj0
= 0 ;
35848 PyObject
* obj1
= 0 ;
35849 PyObject
* obj2
= 0 ;
35850 PyObject
* obj3
= 0 ;
35851 PyObject
* obj4
= 0 ;
35852 PyObject
* obj5
= 0 ;
35853 PyObject
* obj6
= 0 ;
35854 char * kwnames
[] = {
35855 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35860 if (!SWIG_IsOK(res1
)) {
35861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35863 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35864 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35865 if (!SWIG_IsOK(res2
)) {
35866 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35869 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35871 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35872 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
35873 if (!SWIG_IsOK(ecode3
)) {
35874 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
35876 arg3
= static_cast< size_t >(val3
);
35878 arg4
= wxString_in_helper(obj3
);
35879 if (arg4
== NULL
) SWIG_fail
;
35883 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35884 if (!SWIG_IsOK(ecode5
)) {
35885 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
35887 arg5
= static_cast< int >(val5
);
35890 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35891 if (!SWIG_IsOK(ecode6
)) {
35892 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
35894 arg6
= static_cast< int >(val6
);
35897 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35898 if (!SWIG_IsOK(res7
)) {
35899 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35904 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35905 wxPyEndAllowThreads(__tstate
);
35906 if (PyErr_Occurred()) SWIG_fail
;
35908 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35923 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35924 PyObject
*resultobj
= 0;
35925 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35926 wxTreeItemId
*arg2
= 0 ;
35927 wxString
*arg3
= 0 ;
35928 int arg4
= (int) -1 ;
35929 int arg5
= (int) -1 ;
35930 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35931 wxTreeItemId result
;
35936 bool temp3
= false ;
35942 PyObject
* obj0
= 0 ;
35943 PyObject
* obj1
= 0 ;
35944 PyObject
* obj2
= 0 ;
35945 PyObject
* obj3
= 0 ;
35946 PyObject
* obj4
= 0 ;
35947 PyObject
* obj5
= 0 ;
35948 char * kwnames
[] = {
35949 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35954 if (!SWIG_IsOK(res1
)) {
35955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35957 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35958 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35959 if (!SWIG_IsOK(res2
)) {
35960 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35963 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35965 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35967 arg3
= wxString_in_helper(obj2
);
35968 if (arg3
== NULL
) SWIG_fail
;
35972 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35973 if (!SWIG_IsOK(ecode4
)) {
35974 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
35976 arg4
= static_cast< int >(val4
);
35979 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35980 if (!SWIG_IsOK(ecode5
)) {
35981 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
35983 arg5
= static_cast< int >(val5
);
35986 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35987 if (!SWIG_IsOK(res6
)) {
35988 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35993 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35994 wxPyEndAllowThreads(__tstate
);
35995 if (PyErr_Occurred()) SWIG_fail
;
35997 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36012 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36013 PyObject
*resultobj
= 0;
36014 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36015 wxTreeItemId
*arg2
= 0 ;
36020 PyObject
* obj0
= 0 ;
36021 PyObject
* obj1
= 0 ;
36022 char * kwnames
[] = {
36023 (char *) "self",(char *) "item", NULL
36026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36028 if (!SWIG_IsOK(res1
)) {
36029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36031 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36032 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36033 if (!SWIG_IsOK(res2
)) {
36034 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36037 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36039 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36042 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36043 wxPyEndAllowThreads(__tstate
);
36044 if (PyErr_Occurred()) SWIG_fail
;
36046 resultobj
= SWIG_Py_Void();
36053 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36054 PyObject
*resultobj
= 0;
36055 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36056 wxTreeItemId
*arg2
= 0 ;
36061 PyObject
* obj0
= 0 ;
36062 PyObject
* obj1
= 0 ;
36063 char * kwnames
[] = {
36064 (char *) "self",(char *) "item", NULL
36067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36069 if (!SWIG_IsOK(res1
)) {
36070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36072 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36073 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36074 if (!SWIG_IsOK(res2
)) {
36075 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36078 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36080 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36083 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36084 wxPyEndAllowThreads(__tstate
);
36085 if (PyErr_Occurred()) SWIG_fail
;
36087 resultobj
= SWIG_Py_Void();
36094 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36095 PyObject
*resultobj
= 0;
36096 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36099 PyObject
*swig_obj
[1] ;
36101 if (!args
) SWIG_fail
;
36102 swig_obj
[0] = args
;
36103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36104 if (!SWIG_IsOK(res1
)) {
36105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36107 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36110 (arg1
)->DeleteAllItems();
36111 wxPyEndAllowThreads(__tstate
);
36112 if (PyErr_Occurred()) SWIG_fail
;
36114 resultobj
= SWIG_Py_Void();
36121 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36122 PyObject
*resultobj
= 0;
36123 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36124 wxTreeItemId
*arg2
= 0 ;
36129 PyObject
* obj0
= 0 ;
36130 PyObject
* obj1
= 0 ;
36131 char * kwnames
[] = {
36132 (char *) "self",(char *) "item", NULL
36135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36137 if (!SWIG_IsOK(res1
)) {
36138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36140 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36141 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36142 if (!SWIG_IsOK(res2
)) {
36143 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36146 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36148 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36151 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36152 wxPyEndAllowThreads(__tstate
);
36153 if (PyErr_Occurred()) SWIG_fail
;
36155 resultobj
= SWIG_Py_Void();
36162 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36163 PyObject
*resultobj
= 0;
36164 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36165 wxTreeItemId
*arg2
= 0 ;
36170 PyObject
* obj0
= 0 ;
36171 PyObject
* obj1
= 0 ;
36172 char * kwnames
[] = {
36173 (char *) "self",(char *) "item", NULL
36176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36178 if (!SWIG_IsOK(res1
)) {
36179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36181 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36182 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36183 if (!SWIG_IsOK(res2
)) {
36184 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36187 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36189 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36192 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36193 wxPyEndAllowThreads(__tstate
);
36194 if (PyErr_Occurred()) SWIG_fail
;
36196 resultobj
= SWIG_Py_Void();
36203 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36204 PyObject
*resultobj
= 0;
36205 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36206 wxTreeItemId
*arg2
= 0 ;
36211 PyObject
* obj0
= 0 ;
36212 PyObject
* obj1
= 0 ;
36213 char * kwnames
[] = {
36214 (char *) "self",(char *) "item", NULL
36217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36219 if (!SWIG_IsOK(res1
)) {
36220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36222 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36223 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36224 if (!SWIG_IsOK(res2
)) {
36225 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36228 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36230 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36233 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36234 wxPyEndAllowThreads(__tstate
);
36235 if (PyErr_Occurred()) SWIG_fail
;
36237 resultobj
= SWIG_Py_Void();
36244 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36245 PyObject
*resultobj
= 0;
36246 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36247 wxTreeItemId
*arg2
= 0 ;
36252 PyObject
* obj0
= 0 ;
36253 PyObject
* obj1
= 0 ;
36254 char * kwnames
[] = {
36255 (char *) "self",(char *) "item", NULL
36258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36260 if (!SWIG_IsOK(res1
)) {
36261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36263 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36264 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36265 if (!SWIG_IsOK(res2
)) {
36266 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36269 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36271 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36274 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36275 wxPyEndAllowThreads(__tstate
);
36276 if (PyErr_Occurred()) SWIG_fail
;
36278 resultobj
= SWIG_Py_Void();
36285 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36286 PyObject
*resultobj
= 0;
36287 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36290 PyObject
*swig_obj
[1] ;
36292 if (!args
) SWIG_fail
;
36293 swig_obj
[0] = args
;
36294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36295 if (!SWIG_IsOK(res1
)) {
36296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36298 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36301 (arg1
)->Unselect();
36302 wxPyEndAllowThreads(__tstate
);
36303 if (PyErr_Occurred()) SWIG_fail
;
36305 resultobj
= SWIG_Py_Void();
36312 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36313 PyObject
*resultobj
= 0;
36314 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36315 wxTreeItemId
*arg2
= 0 ;
36320 PyObject
* obj0
= 0 ;
36321 PyObject
* obj1
= 0 ;
36322 char * kwnames
[] = {
36323 (char *) "self",(char *) "item", NULL
36326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36328 if (!SWIG_IsOK(res1
)) {
36329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36331 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36332 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36333 if (!SWIG_IsOK(res2
)) {
36334 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36337 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36339 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36342 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36343 wxPyEndAllowThreads(__tstate
);
36344 if (PyErr_Occurred()) SWIG_fail
;
36346 resultobj
= SWIG_Py_Void();
36353 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36354 PyObject
*resultobj
= 0;
36355 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36358 PyObject
*swig_obj
[1] ;
36360 if (!args
) SWIG_fail
;
36361 swig_obj
[0] = args
;
36362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36363 if (!SWIG_IsOK(res1
)) {
36364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36366 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36369 (arg1
)->UnselectAll();
36370 wxPyEndAllowThreads(__tstate
);
36371 if (PyErr_Occurred()) SWIG_fail
;
36373 resultobj
= SWIG_Py_Void();
36380 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36381 PyObject
*resultobj
= 0;
36382 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36383 wxTreeItemId
*arg2
= 0 ;
36384 bool arg3
= (bool) true ;
36391 PyObject
* obj0
= 0 ;
36392 PyObject
* obj1
= 0 ;
36393 PyObject
* obj2
= 0 ;
36394 char * kwnames
[] = {
36395 (char *) "self",(char *) "item",(char *) "select", NULL
36398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36400 if (!SWIG_IsOK(res1
)) {
36401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36403 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36404 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36405 if (!SWIG_IsOK(res2
)) {
36406 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36409 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36411 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36413 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36414 if (!SWIG_IsOK(ecode3
)) {
36415 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36417 arg3
= static_cast< bool >(val3
);
36420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36421 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36422 wxPyEndAllowThreads(__tstate
);
36423 if (PyErr_Occurred()) SWIG_fail
;
36425 resultobj
= SWIG_Py_Void();
36432 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36433 PyObject
*resultobj
= 0;
36434 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36435 wxTreeItemId
*arg2
= 0 ;
36440 PyObject
* obj0
= 0 ;
36441 PyObject
* obj1
= 0 ;
36442 char * kwnames
[] = {
36443 (char *) "self",(char *) "item", NULL
36446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36448 if (!SWIG_IsOK(res1
)) {
36449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36451 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36452 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36453 if (!SWIG_IsOK(res2
)) {
36454 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36457 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36459 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36462 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
36463 wxPyEndAllowThreads(__tstate
);
36464 if (PyErr_Occurred()) SWIG_fail
;
36466 resultobj
= SWIG_Py_Void();
36473 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36474 PyObject
*resultobj
= 0;
36475 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36476 wxTreeItemId
*arg2
= 0 ;
36481 PyObject
* obj0
= 0 ;
36482 PyObject
* obj1
= 0 ;
36483 char * kwnames
[] = {
36484 (char *) "self",(char *) "item", NULL
36487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36489 if (!SWIG_IsOK(res1
)) {
36490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36492 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36493 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36494 if (!SWIG_IsOK(res2
)) {
36495 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36498 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36500 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36503 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
36504 wxPyEndAllowThreads(__tstate
);
36505 if (PyErr_Occurred()) SWIG_fail
;
36507 resultobj
= SWIG_Py_Void();
36514 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36515 PyObject
*resultobj
= 0;
36516 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36517 wxTreeItemId
*arg2
= 0 ;
36522 PyObject
* obj0
= 0 ;
36523 PyObject
* obj1
= 0 ;
36524 char * kwnames
[] = {
36525 (char *) "self",(char *) "item", NULL
36528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36530 if (!SWIG_IsOK(res1
)) {
36531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36533 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36534 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36535 if (!SWIG_IsOK(res2
)) {
36536 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36539 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36541 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36544 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
36545 wxPyEndAllowThreads(__tstate
);
36546 if (PyErr_Occurred()) SWIG_fail
;
36548 resultobj
= SWIG_Py_Void();
36555 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36556 PyObject
*resultobj
= 0;
36557 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36558 wxTreeItemId
*arg2
= 0 ;
36563 PyObject
* obj0
= 0 ;
36564 PyObject
* obj1
= 0 ;
36565 char * kwnames
[] = {
36566 (char *) "self",(char *) "item", NULL
36569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36571 if (!SWIG_IsOK(res1
)) {
36572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36574 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36575 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36576 if (!SWIG_IsOK(res2
)) {
36577 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36580 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36582 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36585 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
36586 wxPyEndAllowThreads(__tstate
);
36587 if (PyErr_Occurred()) SWIG_fail
;
36589 resultobj
= SWIG_Py_Void();
36596 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36597 PyObject
*resultobj
= 0;
36598 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36599 wxTextCtrl
*result
= 0 ;
36602 PyObject
*swig_obj
[1] ;
36604 if (!args
) SWIG_fail
;
36605 swig_obj
[0] = args
;
36606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36607 if (!SWIG_IsOK(res1
)) {
36608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36610 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36613 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
36614 wxPyEndAllowThreads(__tstate
);
36615 if (PyErr_Occurred()) SWIG_fail
;
36618 resultobj
= wxPyMake_wxObject(result
, 0);
36626 SWIGINTERN PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36627 PyObject
*resultobj
= 0;
36628 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36629 wxTreeItemId
*arg2
= 0 ;
36630 bool arg3
= (bool) false ;
36637 PyObject
* obj0
= 0 ;
36638 PyObject
* obj1
= 0 ;
36639 PyObject
* obj2
= 0 ;
36640 char * kwnames
[] = {
36641 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
36644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36646 if (!SWIG_IsOK(res1
)) {
36647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36649 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36650 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36651 if (!SWIG_IsOK(res2
)) {
36652 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36655 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36657 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36659 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36660 if (!SWIG_IsOK(ecode3
)) {
36661 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "3"" of type '" "bool""'");
36663 arg3
= static_cast< bool >(val3
);
36666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36667 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
36668 wxPyEndAllowThreads(__tstate
);
36669 if (PyErr_Occurred()) SWIG_fail
;
36671 resultobj
= SWIG_Py_Void();
36678 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36679 PyObject
*resultobj
= 0;
36680 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36681 wxTreeItemId
*arg2
= 0 ;
36686 PyObject
* obj0
= 0 ;
36687 PyObject
* obj1
= 0 ;
36688 char * kwnames
[] = {
36689 (char *) "self",(char *) "item", NULL
36692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36694 if (!SWIG_IsOK(res1
)) {
36695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36697 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36698 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36699 if (!SWIG_IsOK(res2
)) {
36700 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36703 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36705 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36708 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
36709 wxPyEndAllowThreads(__tstate
);
36710 if (PyErr_Occurred()) SWIG_fail
;
36712 resultobj
= SWIG_Py_Void();
36719 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36720 PyObject
*resultobj
= 0;
36721 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36722 wxPoint
*arg2
= 0 ;
36724 wxTreeItemId result
;
36729 int res3
= SWIG_TMPOBJ
;
36730 PyObject
* obj0
= 0 ;
36731 PyObject
* obj1
= 0 ;
36732 char * kwnames
[] = {
36733 (char *) "self",(char *) "point", NULL
36737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36739 if (!SWIG_IsOK(res1
)) {
36740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36742 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36745 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36749 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
36750 wxPyEndAllowThreads(__tstate
);
36751 if (PyErr_Occurred()) SWIG_fail
;
36753 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36754 if (SWIG_IsTmpObj(res3
)) {
36755 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
36757 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36758 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
36766 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36767 PyObject
*resultobj
= 0;
36768 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36769 wxTreeItemId
*arg2
= 0 ;
36770 bool arg3
= (bool) false ;
36771 PyObject
*result
= 0 ;
36778 PyObject
* obj0
= 0 ;
36779 PyObject
* obj1
= 0 ;
36780 PyObject
* obj2
= 0 ;
36781 char * kwnames
[] = {
36782 (char *) "self",(char *) "item",(char *) "textOnly", NULL
36785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36787 if (!SWIG_IsOK(res1
)) {
36788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36790 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36791 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36792 if (!SWIG_IsOK(res2
)) {
36793 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36796 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36798 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36800 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36801 if (!SWIG_IsOK(ecode3
)) {
36802 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
36804 arg3
= static_cast< bool >(val3
);
36807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36808 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
36809 wxPyEndAllowThreads(__tstate
);
36810 if (PyErr_Occurred()) SWIG_fail
;
36812 resultobj
= result
;
36819 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36820 PyObject
*resultobj
= 0;
36821 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36822 wxTreeItemId
*arg2
= 0 ;
36830 PyObject
* obj0
= 0 ;
36831 PyObject
* obj1
= 0 ;
36832 PyObject
* obj2
= 0 ;
36833 char * kwnames
[] = {
36834 (char *) "self",(char *) "node",(char *) "state", NULL
36837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36839 if (!SWIG_IsOK(res1
)) {
36840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36842 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36843 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36844 if (!SWIG_IsOK(res2
)) {
36845 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36848 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36850 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36851 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36852 if (!SWIG_IsOK(ecode3
)) {
36853 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetState" "', expected argument " "3"" of type '" "int""'");
36855 arg3
= static_cast< int >(val3
);
36857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36858 (arg1
)->SetState((wxTreeItemId
const &)*arg2
,arg3
);
36859 wxPyEndAllowThreads(__tstate
);
36860 if (PyErr_Occurred()) SWIG_fail
;
36862 resultobj
= SWIG_Py_Void();
36869 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36870 PyObject
*resultobj
= 0;
36871 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36872 wxTreeItemId
*arg2
= 0 ;
36878 PyObject
* obj0
= 0 ;
36879 PyObject
* obj1
= 0 ;
36880 char * kwnames
[] = {
36881 (char *) "self",(char *) "node", NULL
36884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36886 if (!SWIG_IsOK(res1
)) {
36887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36889 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36890 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36891 if (!SWIG_IsOK(res2
)) {
36892 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36895 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36897 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36900 result
= (int)(arg1
)->GetState((wxTreeItemId
const &)*arg2
);
36901 wxPyEndAllowThreads(__tstate
);
36902 if (PyErr_Occurred()) SWIG_fail
;
36904 resultobj
= SWIG_From_int(static_cast< int >(result
));
36911 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36912 PyObject
*resultobj
= 0;
36913 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
36914 SwigValueWrapper
<wxVisualAttributes
> result
;
36917 PyObject
* obj0
= 0 ;
36918 char * kwnames
[] = {
36919 (char *) "variant", NULL
36922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
36924 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
36925 if (!SWIG_IsOK(ecode1
)) {
36926 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
36928 arg1
= static_cast< wxWindowVariant
>(val1
);
36931 if (!wxPyCheckForApp()) SWIG_fail
;
36932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36933 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
36934 wxPyEndAllowThreads(__tstate
);
36935 if (PyErr_Occurred()) SWIG_fail
;
36937 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
36944 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36945 PyObject
*resultobj
= 0;
36946 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36952 PyObject
* obj0
= 0 ;
36953 PyObject
* obj1
= 0 ;
36954 char * kwnames
[] = {
36955 (char *) "self",(char *) "q", NULL
36958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36960 if (!SWIG_IsOK(res1
)) {
36961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36963 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36964 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
36965 if (!SWIG_IsOK(ecode2
)) {
36966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
36968 arg2
= static_cast< bool >(val2
);
36970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36971 (arg1
)->SetQuickBestSize(arg2
);
36972 wxPyEndAllowThreads(__tstate
);
36973 if (PyErr_Occurred()) SWIG_fail
;
36975 resultobj
= SWIG_Py_Void();
36982 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36983 PyObject
*resultobj
= 0;
36984 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36988 PyObject
*swig_obj
[1] ;
36990 if (!args
) SWIG_fail
;
36991 swig_obj
[0] = args
;
36992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36993 if (!SWIG_IsOK(res1
)) {
36994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36996 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36999 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37000 wxPyEndAllowThreads(__tstate
);
37001 if (PyErr_Occurred()) SWIG_fail
;
37004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37012 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37014 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37015 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37016 return SWIG_Py_Void();
37019 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37020 return SWIG_Python_InitShadowInstance(args
);
37023 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37024 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37029 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37030 PyObject
*pyobj
= 0;
37034 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37036 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37043 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37044 PyObject
*resultobj
= 0;
37045 wxWindow
*arg1
= (wxWindow
*) 0 ;
37046 int arg2
= (int) (int)-1 ;
37047 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37048 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37049 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37050 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37051 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37052 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37053 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37054 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37055 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37056 int arg8
= (int) 0 ;
37057 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37058 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37059 wxGenericDirCtrl
*result
= 0 ;
37064 bool temp3
= false ;
37069 bool temp7
= false ;
37072 bool temp9
= false ;
37073 PyObject
* obj0
= 0 ;
37074 PyObject
* obj1
= 0 ;
37075 PyObject
* obj2
= 0 ;
37076 PyObject
* obj3
= 0 ;
37077 PyObject
* obj4
= 0 ;
37078 PyObject
* obj5
= 0 ;
37079 PyObject
* obj6
= 0 ;
37080 PyObject
* obj7
= 0 ;
37081 PyObject
* obj8
= 0 ;
37082 char * kwnames
[] = {
37083 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37088 if (!SWIG_IsOK(res1
)) {
37089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37091 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37094 if (!SWIG_IsOK(ecode2
)) {
37095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37097 arg2
= static_cast< int >(val2
);
37101 arg3
= wxString_in_helper(obj2
);
37102 if (arg3
== NULL
) SWIG_fail
;
37109 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37115 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37119 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37120 if (!SWIG_IsOK(ecode6
)) {
37121 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37123 arg6
= static_cast< long >(val6
);
37127 arg7
= wxString_in_helper(obj6
);
37128 if (arg7
== NULL
) SWIG_fail
;
37133 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37134 if (!SWIG_IsOK(ecode8
)) {
37135 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37137 arg8
= static_cast< int >(val8
);
37141 arg9
= wxString_in_helper(obj8
);
37142 if (arg9
== NULL
) SWIG_fail
;
37147 if (!wxPyCheckForApp()) SWIG_fail
;
37148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37149 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37150 wxPyEndAllowThreads(__tstate
);
37151 if (PyErr_Occurred()) SWIG_fail
;
37153 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37184 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37185 PyObject
*resultobj
= 0;
37186 wxGenericDirCtrl
*result
= 0 ;
37188 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37190 if (!wxPyCheckForApp()) SWIG_fail
;
37191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37192 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37193 wxPyEndAllowThreads(__tstate
);
37194 if (PyErr_Occurred()) SWIG_fail
;
37196 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37203 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37204 PyObject
*resultobj
= 0;
37205 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37206 wxWindow
*arg2
= (wxWindow
*) 0 ;
37207 int arg3
= (int) (int)-1 ;
37208 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37209 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37210 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37211 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37212 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37213 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37214 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37215 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37216 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37217 int arg9
= (int) 0 ;
37218 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37219 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37227 bool temp4
= false ;
37232 bool temp8
= false ;
37235 bool temp10
= false ;
37236 PyObject
* obj0
= 0 ;
37237 PyObject
* obj1
= 0 ;
37238 PyObject
* obj2
= 0 ;
37239 PyObject
* obj3
= 0 ;
37240 PyObject
* obj4
= 0 ;
37241 PyObject
* obj5
= 0 ;
37242 PyObject
* obj6
= 0 ;
37243 PyObject
* obj7
= 0 ;
37244 PyObject
* obj8
= 0 ;
37245 PyObject
* obj9
= 0 ;
37246 char * kwnames
[] = {
37247 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37252 if (!SWIG_IsOK(res1
)) {
37253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37255 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37256 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37257 if (!SWIG_IsOK(res2
)) {
37258 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37260 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37262 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37263 if (!SWIG_IsOK(ecode3
)) {
37264 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37266 arg3
= static_cast< int >(val3
);
37270 arg4
= wxString_in_helper(obj3
);
37271 if (arg4
== NULL
) SWIG_fail
;
37278 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37284 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37288 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37289 if (!SWIG_IsOK(ecode7
)) {
37290 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37292 arg7
= static_cast< long >(val7
);
37296 arg8
= wxString_in_helper(obj7
);
37297 if (arg8
== NULL
) SWIG_fail
;
37302 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37303 if (!SWIG_IsOK(ecode9
)) {
37304 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37306 arg9
= static_cast< int >(val9
);
37310 arg10
= wxString_in_helper(obj9
);
37311 if (arg10
== NULL
) SWIG_fail
;
37316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37317 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37318 wxPyEndAllowThreads(__tstate
);
37319 if (PyErr_Occurred()) SWIG_fail
;
37322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37354 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37355 PyObject
*resultobj
= 0;
37356 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37357 wxString
*arg2
= 0 ;
37361 bool temp2
= false ;
37362 PyObject
* obj0
= 0 ;
37363 PyObject
* obj1
= 0 ;
37364 char * kwnames
[] = {
37365 (char *) "self",(char *) "path", NULL
37368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37370 if (!SWIG_IsOK(res1
)) {
37371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37373 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37375 arg2
= wxString_in_helper(obj1
);
37376 if (arg2
== NULL
) SWIG_fail
;
37380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37381 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37382 wxPyEndAllowThreads(__tstate
);
37383 if (PyErr_Occurred()) SWIG_fail
;
37386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37402 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37403 PyObject
*resultobj
= 0;
37404 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37405 wxString
*arg2
= 0 ;
37409 bool temp2
= false ;
37410 PyObject
* obj0
= 0 ;
37411 PyObject
* obj1
= 0 ;
37412 char * kwnames
[] = {
37413 (char *) "self",(char *) "path", NULL
37416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37418 if (!SWIG_IsOK(res1
)) {
37419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37421 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37423 arg2
= wxString_in_helper(obj1
);
37424 if (arg2
== NULL
) SWIG_fail
;
37428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37429 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
37430 wxPyEndAllowThreads(__tstate
);
37431 if (PyErr_Occurred()) SWIG_fail
;
37434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37450 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37451 PyObject
*resultobj
= 0;
37452 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37456 PyObject
*swig_obj
[1] ;
37458 if (!args
) SWIG_fail
;
37459 swig_obj
[0] = args
;
37460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37461 if (!SWIG_IsOK(res1
)) {
37462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37464 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37467 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37468 wxPyEndAllowThreads(__tstate
);
37469 if (PyErr_Occurred()) SWIG_fail
;
37473 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37475 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37484 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37485 PyObject
*resultobj
= 0;
37486 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37487 wxString
*arg2
= 0 ;
37490 bool temp2
= false ;
37491 PyObject
* obj0
= 0 ;
37492 PyObject
* obj1
= 0 ;
37493 char * kwnames
[] = {
37494 (char *) "self",(char *) "path", NULL
37497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37499 if (!SWIG_IsOK(res1
)) {
37500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37502 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37504 arg2
= wxString_in_helper(obj1
);
37505 if (arg2
== NULL
) SWIG_fail
;
37509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37510 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37511 wxPyEndAllowThreads(__tstate
);
37512 if (PyErr_Occurred()) SWIG_fail
;
37514 resultobj
= SWIG_Py_Void();
37529 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37530 PyObject
*resultobj
= 0;
37531 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37535 PyObject
*swig_obj
[1] ;
37537 if (!args
) SWIG_fail
;
37538 swig_obj
[0] = args
;
37539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37540 if (!SWIG_IsOK(res1
)) {
37541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37543 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37546 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37547 wxPyEndAllowThreads(__tstate
);
37548 if (PyErr_Occurred()) SWIG_fail
;
37552 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37554 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37563 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37564 PyObject
*resultobj
= 0;
37565 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37569 PyObject
*swig_obj
[1] ;
37571 if (!args
) SWIG_fail
;
37572 swig_obj
[0] = args
;
37573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37574 if (!SWIG_IsOK(res1
)) {
37575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37577 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37580 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37581 wxPyEndAllowThreads(__tstate
);
37582 if (PyErr_Occurred()) SWIG_fail
;
37586 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37588 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37597 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37598 PyObject
*resultobj
= 0;
37599 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37600 wxString
*arg2
= 0 ;
37603 bool temp2
= false ;
37604 PyObject
* obj0
= 0 ;
37605 PyObject
* obj1
= 0 ;
37606 char * kwnames
[] = {
37607 (char *) "self",(char *) "path", NULL
37610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37612 if (!SWIG_IsOK(res1
)) {
37613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37615 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37617 arg2
= wxString_in_helper(obj1
);
37618 if (arg2
== NULL
) SWIG_fail
;
37622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37623 (arg1
)->SetPath((wxString
const &)*arg2
);
37624 wxPyEndAllowThreads(__tstate
);
37625 if (PyErr_Occurred()) SWIG_fail
;
37627 resultobj
= SWIG_Py_Void();
37642 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37643 PyObject
*resultobj
= 0;
37644 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37650 PyObject
* obj0
= 0 ;
37651 PyObject
* obj1
= 0 ;
37652 char * kwnames
[] = {
37653 (char *) "self",(char *) "show", NULL
37656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37658 if (!SWIG_IsOK(res1
)) {
37659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37661 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37662 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37663 if (!SWIG_IsOK(ecode2
)) {
37664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
37666 arg2
= static_cast< bool >(val2
);
37668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37669 (arg1
)->ShowHidden(arg2
);
37670 wxPyEndAllowThreads(__tstate
);
37671 if (PyErr_Occurred()) SWIG_fail
;
37673 resultobj
= SWIG_Py_Void();
37680 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37681 PyObject
*resultobj
= 0;
37682 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37686 PyObject
*swig_obj
[1] ;
37688 if (!args
) SWIG_fail
;
37689 swig_obj
[0] = args
;
37690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37691 if (!SWIG_IsOK(res1
)) {
37692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37694 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37697 result
= (bool)(arg1
)->GetShowHidden();
37698 wxPyEndAllowThreads(__tstate
);
37699 if (PyErr_Occurred()) SWIG_fail
;
37702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37710 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37711 PyObject
*resultobj
= 0;
37712 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37716 PyObject
*swig_obj
[1] ;
37718 if (!args
) SWIG_fail
;
37719 swig_obj
[0] = args
;
37720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37721 if (!SWIG_IsOK(res1
)) {
37722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37724 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37727 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
37728 wxPyEndAllowThreads(__tstate
);
37729 if (PyErr_Occurred()) SWIG_fail
;
37733 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37735 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37744 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37745 PyObject
*resultobj
= 0;
37746 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37747 wxString
*arg2
= 0 ;
37750 bool temp2
= false ;
37751 PyObject
* obj0
= 0 ;
37752 PyObject
* obj1
= 0 ;
37753 char * kwnames
[] = {
37754 (char *) "self",(char *) "filter", NULL
37757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37759 if (!SWIG_IsOK(res1
)) {
37760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37762 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37764 arg2
= wxString_in_helper(obj1
);
37765 if (arg2
== NULL
) SWIG_fail
;
37769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37770 (arg1
)->SetFilter((wxString
const &)*arg2
);
37771 wxPyEndAllowThreads(__tstate
);
37772 if (PyErr_Occurred()) SWIG_fail
;
37774 resultobj
= SWIG_Py_Void();
37789 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37790 PyObject
*resultobj
= 0;
37791 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37795 PyObject
*swig_obj
[1] ;
37797 if (!args
) SWIG_fail
;
37798 swig_obj
[0] = args
;
37799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37800 if (!SWIG_IsOK(res1
)) {
37801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37803 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37806 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
37807 wxPyEndAllowThreads(__tstate
);
37808 if (PyErr_Occurred()) SWIG_fail
;
37810 resultobj
= SWIG_From_int(static_cast< int >(result
));
37817 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37818 PyObject
*resultobj
= 0;
37819 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37825 PyObject
* obj0
= 0 ;
37826 PyObject
* obj1
= 0 ;
37827 char * kwnames
[] = {
37828 (char *) "self",(char *) "n", NULL
37831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37833 if (!SWIG_IsOK(res1
)) {
37834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37836 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37837 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37838 if (!SWIG_IsOK(ecode2
)) {
37839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
37841 arg2
= static_cast< int >(val2
);
37843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37844 (arg1
)->SetFilterIndex(arg2
);
37845 wxPyEndAllowThreads(__tstate
);
37846 if (PyErr_Occurred()) SWIG_fail
;
37848 resultobj
= SWIG_Py_Void();
37855 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37856 PyObject
*resultobj
= 0;
37857 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37858 wxTreeItemId result
;
37861 PyObject
*swig_obj
[1] ;
37863 if (!args
) SWIG_fail
;
37864 swig_obj
[0] = args
;
37865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37866 if (!SWIG_IsOK(res1
)) {
37867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37869 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37872 result
= (arg1
)->GetRootId();
37873 wxPyEndAllowThreads(__tstate
);
37874 if (PyErr_Occurred()) SWIG_fail
;
37876 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37883 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37884 PyObject
*resultobj
= 0;
37885 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37886 wxPyTreeCtrl
*result
= 0 ;
37889 PyObject
*swig_obj
[1] ;
37891 if (!args
) SWIG_fail
;
37892 swig_obj
[0] = args
;
37893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37894 if (!SWIG_IsOK(res1
)) {
37895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37897 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37900 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
37901 wxPyEndAllowThreads(__tstate
);
37902 if (PyErr_Occurred()) SWIG_fail
;
37905 resultobj
= wxPyMake_wxObject(result
, 0);
37913 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37914 PyObject
*resultobj
= 0;
37915 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37916 wxDirFilterListCtrl
*result
= 0 ;
37919 PyObject
*swig_obj
[1] ;
37921 if (!args
) SWIG_fail
;
37922 swig_obj
[0] = args
;
37923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37924 if (!SWIG_IsOK(res1
)) {
37925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37927 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37930 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
37931 wxPyEndAllowThreads(__tstate
);
37932 if (PyErr_Occurred()) SWIG_fail
;
37934 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37941 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37942 PyObject
*resultobj
= 0;
37943 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37944 wxTreeItemId arg2
;
37945 wxString
*arg3
= 0 ;
37947 wxTreeItemId result
;
37952 bool temp3
= false ;
37954 int res4
= SWIG_TMPOBJ
;
37955 PyObject
* obj0
= 0 ;
37956 PyObject
* obj1
= 0 ;
37957 PyObject
* obj2
= 0 ;
37958 char * kwnames
[] = {
37959 (char *) "self",(char *) "parentId",(char *) "path", NULL
37963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37965 if (!SWIG_IsOK(res1
)) {
37966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37968 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37970 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37971 if (!SWIG_IsOK(res2
)) {
37972 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37975 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37977 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37979 if (SWIG_IsNewObj(res2
)) delete temp
;
37983 arg3
= wxString_in_helper(obj2
);
37984 if (arg3
== NULL
) SWIG_fail
;
37988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37989 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
37990 wxPyEndAllowThreads(__tstate
);
37991 if (PyErr_Occurred()) SWIG_fail
;
37993 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37994 if (SWIG_IsTmpObj(res4
)) {
37995 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
37997 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37998 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38014 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38015 PyObject
*resultobj
= 0;
38016 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38019 PyObject
*swig_obj
[1] ;
38021 if (!args
) SWIG_fail
;
38022 swig_obj
[0] = args
;
38023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38024 if (!SWIG_IsOK(res1
)) {
38025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38027 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38030 (arg1
)->DoResize();
38031 wxPyEndAllowThreads(__tstate
);
38032 if (PyErr_Occurred()) SWIG_fail
;
38034 resultobj
= SWIG_Py_Void();
38041 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38042 PyObject
*resultobj
= 0;
38043 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38046 PyObject
*swig_obj
[1] ;
38048 if (!args
) SWIG_fail
;
38049 swig_obj
[0] = args
;
38050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38051 if (!SWIG_IsOK(res1
)) {
38052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38054 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38057 (arg1
)->ReCreateTree();
38058 wxPyEndAllowThreads(__tstate
);
38059 if (PyErr_Occurred()) SWIG_fail
;
38061 resultobj
= SWIG_Py_Void();
38068 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38070 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38071 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38072 return SWIG_Py_Void();
38075 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38076 return SWIG_Python_InitShadowInstance(args
);
38079 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38080 PyObject
*resultobj
= 0;
38081 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38082 int arg2
= (int) (int)-1 ;
38083 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38084 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38085 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38086 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38087 long arg5
= (long) 0 ;
38088 wxDirFilterListCtrl
*result
= 0 ;
38097 PyObject
* obj0
= 0 ;
38098 PyObject
* obj1
= 0 ;
38099 PyObject
* obj2
= 0 ;
38100 PyObject
* obj3
= 0 ;
38101 PyObject
* obj4
= 0 ;
38102 char * kwnames
[] = {
38103 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38108 if (!SWIG_IsOK(res1
)) {
38109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38111 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38113 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38114 if (!SWIG_IsOK(ecode2
)) {
38115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38117 arg2
= static_cast< int >(val2
);
38122 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38128 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38132 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38133 if (!SWIG_IsOK(ecode5
)) {
38134 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38136 arg5
= static_cast< long >(val5
);
38139 if (!wxPyCheckForApp()) SWIG_fail
;
38140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38141 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38142 wxPyEndAllowThreads(__tstate
);
38143 if (PyErr_Occurred()) SWIG_fail
;
38145 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38152 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38153 PyObject
*resultobj
= 0;
38154 wxDirFilterListCtrl
*result
= 0 ;
38156 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38158 if (!wxPyCheckForApp()) SWIG_fail
;
38159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38160 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38161 wxPyEndAllowThreads(__tstate
);
38162 if (PyErr_Occurred()) SWIG_fail
;
38164 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38171 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38172 PyObject
*resultobj
= 0;
38173 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38174 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38175 int arg3
= (int) (int)-1 ;
38176 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38177 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38178 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38179 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38180 long arg6
= (long) 0 ;
38192 PyObject
* obj0
= 0 ;
38193 PyObject
* obj1
= 0 ;
38194 PyObject
* obj2
= 0 ;
38195 PyObject
* obj3
= 0 ;
38196 PyObject
* obj4
= 0 ;
38197 PyObject
* obj5
= 0 ;
38198 char * kwnames
[] = {
38199 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38204 if (!SWIG_IsOK(res1
)) {
38205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38207 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38208 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38209 if (!SWIG_IsOK(res2
)) {
38210 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38212 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38214 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38215 if (!SWIG_IsOK(ecode3
)) {
38216 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38218 arg3
= static_cast< int >(val3
);
38223 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38229 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38233 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38234 if (!SWIG_IsOK(ecode6
)) {
38235 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38237 arg6
= static_cast< long >(val6
);
38240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38241 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38242 wxPyEndAllowThreads(__tstate
);
38243 if (PyErr_Occurred()) SWIG_fail
;
38246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38254 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38255 PyObject
*resultobj
= 0;
38256 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38257 wxString
*arg2
= 0 ;
38261 bool temp2
= false ;
38264 PyObject
* obj0
= 0 ;
38265 PyObject
* obj1
= 0 ;
38266 PyObject
* obj2
= 0 ;
38267 char * kwnames
[] = {
38268 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38273 if (!SWIG_IsOK(res1
)) {
38274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38276 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38278 arg2
= wxString_in_helper(obj1
);
38279 if (arg2
== NULL
) SWIG_fail
;
38282 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38283 if (!SWIG_IsOK(ecode3
)) {
38284 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38286 arg3
= static_cast< int >(val3
);
38288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38289 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38290 wxPyEndAllowThreads(__tstate
);
38291 if (PyErr_Occurred()) SWIG_fail
;
38293 resultobj
= SWIG_Py_Void();
38308 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38310 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38311 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38312 return SWIG_Py_Void();
38315 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38316 return SWIG_Python_InitShadowInstance(args
);
38319 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38320 PyObject
*resultobj
= 0;
38321 wxWindow
*arg1
= (wxWindow
*) 0 ;
38322 int arg2
= (int) (int)-1 ;
38323 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38324 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38325 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38326 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38327 long arg5
= (long) 0 ;
38328 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38329 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38330 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38331 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38332 wxPyControl
*result
= 0 ;
38343 bool temp7
= false ;
38344 PyObject
* obj0
= 0 ;
38345 PyObject
* obj1
= 0 ;
38346 PyObject
* obj2
= 0 ;
38347 PyObject
* obj3
= 0 ;
38348 PyObject
* obj4
= 0 ;
38349 PyObject
* obj5
= 0 ;
38350 PyObject
* obj6
= 0 ;
38351 char * kwnames
[] = {
38352 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38357 if (!SWIG_IsOK(res1
)) {
38358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38360 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38362 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38363 if (!SWIG_IsOK(ecode2
)) {
38364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38366 arg2
= static_cast< int >(val2
);
38371 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38377 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38381 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38382 if (!SWIG_IsOK(ecode5
)) {
38383 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38385 arg5
= static_cast< long >(val5
);
38388 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38389 if (!SWIG_IsOK(res6
)) {
38390 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38393 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38395 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38399 arg7
= wxString_in_helper(obj6
);
38400 if (arg7
== NULL
) SWIG_fail
;
38405 if (!wxPyCheckForApp()) SWIG_fail
;
38406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38407 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38408 wxPyEndAllowThreads(__tstate
);
38409 if (PyErr_Occurred()) SWIG_fail
;
38411 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38426 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38427 PyObject
*resultobj
= 0;
38428 wxPyControl
*result
= 0 ;
38430 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38432 if (!wxPyCheckForApp()) SWIG_fail
;
38433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38434 result
= (wxPyControl
*)new wxPyControl();
38435 wxPyEndAllowThreads(__tstate
);
38436 if (PyErr_Occurred()) SWIG_fail
;
38438 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38445 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38446 PyObject
*resultobj
= 0;
38447 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38448 PyObject
*arg2
= (PyObject
*) 0 ;
38449 PyObject
*arg3
= (PyObject
*) 0 ;
38452 PyObject
* obj0
= 0 ;
38453 PyObject
* obj1
= 0 ;
38454 PyObject
* obj2
= 0 ;
38455 char * kwnames
[] = {
38456 (char *) "self",(char *) "self",(char *) "_class", NULL
38459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38461 if (!SWIG_IsOK(res1
)) {
38462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38464 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38469 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38470 wxPyEndAllowThreads(__tstate
);
38471 if (PyErr_Occurred()) SWIG_fail
;
38473 resultobj
= SWIG_Py_Void();
38480 SWIGINTERN PyObject
*_wrap_PyControl_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38481 PyObject
*resultobj
= 0;
38482 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38487 PyObject
* obj0
= 0 ;
38488 PyObject
* obj1
= 0 ;
38489 char * kwnames
[] = {
38490 (char *) "self",(char *) "size", NULL
38493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38495 if (!SWIG_IsOK(res1
)) {
38496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38498 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38501 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38505 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
38506 wxPyEndAllowThreads(__tstate
);
38507 if (PyErr_Occurred()) SWIG_fail
;
38509 resultobj
= SWIG_Py_Void();
38516 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38517 PyObject
*resultobj
= 0;
38518 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38519 wxDC
*arg2
= (wxDC
*) 0 ;
38525 PyObject
* obj0
= 0 ;
38526 PyObject
* obj1
= 0 ;
38527 char * kwnames
[] = {
38528 (char *) "self",(char *) "dc", NULL
38531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38533 if (!SWIG_IsOK(res1
)) {
38534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38536 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38537 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38538 if (!SWIG_IsOK(res2
)) {
38539 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38541 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38544 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38545 wxPyEndAllowThreads(__tstate
);
38546 if (PyErr_Occurred()) SWIG_fail
;
38549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38557 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38558 PyObject
*resultobj
= 0;
38559 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38574 PyObject
* obj0
= 0 ;
38575 PyObject
* obj1
= 0 ;
38576 PyObject
* obj2
= 0 ;
38577 PyObject
* obj3
= 0 ;
38578 PyObject
* obj4
= 0 ;
38579 char * kwnames
[] = {
38580 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38585 if (!SWIG_IsOK(res1
)) {
38586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38588 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38589 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38590 if (!SWIG_IsOK(ecode2
)) {
38591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38593 arg2
= static_cast< int >(val2
);
38594 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38595 if (!SWIG_IsOK(ecode3
)) {
38596 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38598 arg3
= static_cast< int >(val3
);
38599 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38600 if (!SWIG_IsOK(ecode4
)) {
38601 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38603 arg4
= static_cast< int >(val4
);
38604 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38605 if (!SWIG_IsOK(ecode5
)) {
38606 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38608 arg5
= static_cast< int >(val5
);
38610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38611 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38612 wxPyEndAllowThreads(__tstate
);
38613 if (PyErr_Occurred()) SWIG_fail
;
38615 resultobj
= SWIG_Py_Void();
38622 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38623 PyObject
*resultobj
= 0;
38624 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38629 int arg6
= (int) wxSIZE_AUTO
;
38642 PyObject
* obj0
= 0 ;
38643 PyObject
* obj1
= 0 ;
38644 PyObject
* obj2
= 0 ;
38645 PyObject
* obj3
= 0 ;
38646 PyObject
* obj4
= 0 ;
38647 PyObject
* obj5
= 0 ;
38648 char * kwnames
[] = {
38649 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38654 if (!SWIG_IsOK(res1
)) {
38655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38657 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38658 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38659 if (!SWIG_IsOK(ecode2
)) {
38660 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
38662 arg2
= static_cast< int >(val2
);
38663 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38664 if (!SWIG_IsOK(ecode3
)) {
38665 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
38667 arg3
= static_cast< int >(val3
);
38668 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38669 if (!SWIG_IsOK(ecode4
)) {
38670 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
38672 arg4
= static_cast< int >(val4
);
38673 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38674 if (!SWIG_IsOK(ecode5
)) {
38675 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
38677 arg5
= static_cast< int >(val5
);
38679 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38680 if (!SWIG_IsOK(ecode6
)) {
38681 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
38683 arg6
= static_cast< int >(val6
);
38686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38687 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
38688 wxPyEndAllowThreads(__tstate
);
38689 if (PyErr_Occurred()) SWIG_fail
;
38691 resultobj
= SWIG_Py_Void();
38698 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38699 PyObject
*resultobj
= 0;
38700 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38709 PyObject
* obj0
= 0 ;
38710 PyObject
* obj1
= 0 ;
38711 PyObject
* obj2
= 0 ;
38712 char * kwnames
[] = {
38713 (char *) "self",(char *) "width",(char *) "height", NULL
38716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38718 if (!SWIG_IsOK(res1
)) {
38719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38721 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38722 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38723 if (!SWIG_IsOK(ecode2
)) {
38724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
38726 arg2
= static_cast< int >(val2
);
38727 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38728 if (!SWIG_IsOK(ecode3
)) {
38729 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
38731 arg3
= static_cast< int >(val3
);
38733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38734 (arg1
)->DoSetClientSize(arg2
,arg3
);
38735 wxPyEndAllowThreads(__tstate
);
38736 if (PyErr_Occurred()) SWIG_fail
;
38738 resultobj
= SWIG_Py_Void();
38745 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38746 PyObject
*resultobj
= 0;
38747 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38756 PyObject
* obj0
= 0 ;
38757 PyObject
* obj1
= 0 ;
38758 PyObject
* obj2
= 0 ;
38759 char * kwnames
[] = {
38760 (char *) "self",(char *) "x",(char *) "y", NULL
38763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38765 if (!SWIG_IsOK(res1
)) {
38766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38768 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38769 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38770 if (!SWIG_IsOK(ecode2
)) {
38771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
38773 arg2
= static_cast< int >(val2
);
38774 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38775 if (!SWIG_IsOK(ecode3
)) {
38776 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
38778 arg3
= static_cast< int >(val3
);
38780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38781 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
38782 wxPyEndAllowThreads(__tstate
);
38783 if (PyErr_Occurred()) SWIG_fail
;
38785 resultobj
= SWIG_Py_Void();
38792 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38793 PyObject
*resultobj
= 0;
38794 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38795 int *arg2
= (int *) 0 ;
38796 int *arg3
= (int *) 0 ;
38800 int res2
= SWIG_TMPOBJ
;
38802 int res3
= SWIG_TMPOBJ
;
38803 PyObject
*swig_obj
[1] ;
38807 if (!args
) SWIG_fail
;
38808 swig_obj
[0] = args
;
38809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38810 if (!SWIG_IsOK(res1
)) {
38811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38813 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38816 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
38817 wxPyEndAllowThreads(__tstate
);
38818 if (PyErr_Occurred()) SWIG_fail
;
38820 resultobj
= SWIG_Py_Void();
38821 if (SWIG_IsTmpObj(res2
)) {
38822 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38824 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38825 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38827 if (SWIG_IsTmpObj(res3
)) {
38828 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38830 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38831 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38839 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38840 PyObject
*resultobj
= 0;
38841 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38842 int *arg2
= (int *) 0 ;
38843 int *arg3
= (int *) 0 ;
38847 int res2
= SWIG_TMPOBJ
;
38849 int res3
= SWIG_TMPOBJ
;
38850 PyObject
*swig_obj
[1] ;
38854 if (!args
) SWIG_fail
;
38855 swig_obj
[0] = args
;
38856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38857 if (!SWIG_IsOK(res1
)) {
38858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38860 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38863 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
38864 wxPyEndAllowThreads(__tstate
);
38865 if (PyErr_Occurred()) SWIG_fail
;
38867 resultobj
= SWIG_Py_Void();
38868 if (SWIG_IsTmpObj(res2
)) {
38869 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38871 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38872 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38874 if (SWIG_IsTmpObj(res3
)) {
38875 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38877 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38878 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38886 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38887 PyObject
*resultobj
= 0;
38888 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38889 int *arg2
= (int *) 0 ;
38890 int *arg3
= (int *) 0 ;
38894 int res2
= SWIG_TMPOBJ
;
38896 int res3
= SWIG_TMPOBJ
;
38897 PyObject
*swig_obj
[1] ;
38901 if (!args
) SWIG_fail
;
38902 swig_obj
[0] = args
;
38903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38904 if (!SWIG_IsOK(res1
)) {
38905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38907 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38910 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
38911 wxPyEndAllowThreads(__tstate
);
38912 if (PyErr_Occurred()) SWIG_fail
;
38914 resultobj
= SWIG_Py_Void();
38915 if (SWIG_IsTmpObj(res2
)) {
38916 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38918 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38919 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38921 if (SWIG_IsTmpObj(res3
)) {
38922 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38924 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38925 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38933 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38934 PyObject
*resultobj
= 0;
38935 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38939 PyObject
*swig_obj
[1] ;
38941 if (!args
) SWIG_fail
;
38942 swig_obj
[0] = args
;
38943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38944 if (!SWIG_IsOK(res1
)) {
38945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38947 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38950 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
38951 wxPyEndAllowThreads(__tstate
);
38952 if (PyErr_Occurred()) SWIG_fail
;
38954 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
38961 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38962 PyObject
*resultobj
= 0;
38963 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38967 PyObject
*swig_obj
[1] ;
38969 if (!args
) SWIG_fail
;
38970 swig_obj
[0] = args
;
38971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38972 if (!SWIG_IsOK(res1
)) {
38973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38975 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38978 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
38979 wxPyEndAllowThreads(__tstate
);
38980 if (PyErr_Occurred()) SWIG_fail
;
38982 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
38989 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38990 PyObject
*resultobj
= 0;
38991 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38992 SwigValueWrapper
<wxVisualAttributes
> result
;
38995 PyObject
*swig_obj
[1] ;
38997 if (!args
) SWIG_fail
;
38998 swig_obj
[0] = args
;
38999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39000 if (!SWIG_IsOK(res1
)) {
39001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39003 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39006 result
= (arg1
)->GetDefaultAttributes();
39007 wxPyEndAllowThreads(__tstate
);
39008 if (PyErr_Occurred()) SWIG_fail
;
39010 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39017 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39018 PyObject
*resultobj
= 0;
39019 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39022 PyObject
*swig_obj
[1] ;
39024 if (!args
) SWIG_fail
;
39025 swig_obj
[0] = args
;
39026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39027 if (!SWIG_IsOK(res1
)) {
39028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39030 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39033 (arg1
)->OnInternalIdle();
39034 wxPyEndAllowThreads(__tstate
);
39035 if (PyErr_Occurred()) SWIG_fail
;
39037 resultobj
= SWIG_Py_Void();
39044 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39046 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39047 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39048 return SWIG_Py_Void();
39051 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39052 return SWIG_Python_InitShadowInstance(args
);
39055 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39056 PyObject
*resultobj
= 0;
39057 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39058 int arg2
= (int) 0 ;
39059 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39060 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39061 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39062 wxHelpEvent
*result
= 0 ;
39070 PyObject
* obj0
= 0 ;
39071 PyObject
* obj1
= 0 ;
39072 PyObject
* obj2
= 0 ;
39073 PyObject
* obj3
= 0 ;
39074 char * kwnames
[] = {
39075 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39080 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39081 if (!SWIG_IsOK(ecode1
)) {
39082 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39084 arg1
= static_cast< wxEventType
>(val1
);
39087 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39088 if (!SWIG_IsOK(ecode2
)) {
39089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39091 arg2
= static_cast< int >(val2
);
39096 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39100 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39101 if (!SWIG_IsOK(ecode4
)) {
39102 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39104 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39108 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39109 wxPyEndAllowThreads(__tstate
);
39110 if (PyErr_Occurred()) SWIG_fail
;
39112 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39119 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39120 PyObject
*resultobj
= 0;
39121 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39125 PyObject
*swig_obj
[1] ;
39127 if (!args
) SWIG_fail
;
39128 swig_obj
[0] = args
;
39129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39130 if (!SWIG_IsOK(res1
)) {
39131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39133 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39136 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39137 wxPyEndAllowThreads(__tstate
);
39138 if (PyErr_Occurred()) SWIG_fail
;
39140 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39147 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39148 PyObject
*resultobj
= 0;
39149 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39150 wxPoint
*arg2
= 0 ;
39154 PyObject
* obj0
= 0 ;
39155 PyObject
* obj1
= 0 ;
39156 char * kwnames
[] = {
39157 (char *) "self",(char *) "pos", NULL
39160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39162 if (!SWIG_IsOK(res1
)) {
39163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39165 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39168 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39172 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39173 wxPyEndAllowThreads(__tstate
);
39174 if (PyErr_Occurred()) SWIG_fail
;
39176 resultobj
= SWIG_Py_Void();
39183 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39184 PyObject
*resultobj
= 0;
39185 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39186 wxString
*result
= 0 ;
39189 PyObject
*swig_obj
[1] ;
39191 if (!args
) SWIG_fail
;
39192 swig_obj
[0] = args
;
39193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39194 if (!SWIG_IsOK(res1
)) {
39195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39197 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39201 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39202 result
= (wxString
*) &_result_ref
;
39204 wxPyEndAllowThreads(__tstate
);
39205 if (PyErr_Occurred()) SWIG_fail
;
39209 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39211 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39220 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39221 PyObject
*resultobj
= 0;
39222 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39223 wxString
*arg2
= 0 ;
39226 bool temp2
= false ;
39227 PyObject
* obj0
= 0 ;
39228 PyObject
* obj1
= 0 ;
39229 char * kwnames
[] = {
39230 (char *) "self",(char *) "link", NULL
39233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39235 if (!SWIG_IsOK(res1
)) {
39236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39238 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39240 arg2
= wxString_in_helper(obj1
);
39241 if (arg2
== NULL
) SWIG_fail
;
39245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39246 (arg1
)->SetLink((wxString
const &)*arg2
);
39247 wxPyEndAllowThreads(__tstate
);
39248 if (PyErr_Occurred()) SWIG_fail
;
39250 resultobj
= SWIG_Py_Void();
39265 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39266 PyObject
*resultobj
= 0;
39267 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39268 wxString
*result
= 0 ;
39271 PyObject
*swig_obj
[1] ;
39273 if (!args
) SWIG_fail
;
39274 swig_obj
[0] = args
;
39275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39276 if (!SWIG_IsOK(res1
)) {
39277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39279 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39283 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39284 result
= (wxString
*) &_result_ref
;
39286 wxPyEndAllowThreads(__tstate
);
39287 if (PyErr_Occurred()) SWIG_fail
;
39291 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39293 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39302 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39303 PyObject
*resultobj
= 0;
39304 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39305 wxString
*arg2
= 0 ;
39308 bool temp2
= false ;
39309 PyObject
* obj0
= 0 ;
39310 PyObject
* obj1
= 0 ;
39311 char * kwnames
[] = {
39312 (char *) "self",(char *) "target", NULL
39315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39317 if (!SWIG_IsOK(res1
)) {
39318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39320 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39322 arg2
= wxString_in_helper(obj1
);
39323 if (arg2
== NULL
) SWIG_fail
;
39327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39328 (arg1
)->SetTarget((wxString
const &)*arg2
);
39329 wxPyEndAllowThreads(__tstate
);
39330 if (PyErr_Occurred()) SWIG_fail
;
39332 resultobj
= SWIG_Py_Void();
39347 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39348 PyObject
*resultobj
= 0;
39349 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39350 wxHelpEvent::Origin result
;
39353 PyObject
*swig_obj
[1] ;
39355 if (!args
) SWIG_fail
;
39356 swig_obj
[0] = args
;
39357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39358 if (!SWIG_IsOK(res1
)) {
39359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39361 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39364 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39365 wxPyEndAllowThreads(__tstate
);
39366 if (PyErr_Occurred()) SWIG_fail
;
39368 resultobj
= SWIG_From_int(static_cast< int >(result
));
39375 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39376 PyObject
*resultobj
= 0;
39377 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39378 wxHelpEvent::Origin arg2
;
39383 PyObject
* obj0
= 0 ;
39384 PyObject
* obj1
= 0 ;
39385 char * kwnames
[] = {
39386 (char *) "self",(char *) "origin", NULL
39389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39391 if (!SWIG_IsOK(res1
)) {
39392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39394 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39395 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39396 if (!SWIG_IsOK(ecode2
)) {
39397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39399 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39402 (arg1
)->SetOrigin(arg2
);
39403 wxPyEndAllowThreads(__tstate
);
39404 if (PyErr_Occurred()) SWIG_fail
;
39406 resultobj
= SWIG_Py_Void();
39413 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39415 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39416 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39417 return SWIG_Py_Void();
39420 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39421 return SWIG_Python_InitShadowInstance(args
);
39424 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39425 PyObject
*resultobj
= 0;
39426 wxWindow
*arg1
= (wxWindow
*) NULL
;
39427 bool arg2
= (bool) true ;
39428 wxContextHelp
*result
= 0 ;
39433 PyObject
* obj0
= 0 ;
39434 PyObject
* obj1
= 0 ;
39435 char * kwnames
[] = {
39436 (char *) "window",(char *) "doNow", NULL
39439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39442 if (!SWIG_IsOK(res1
)) {
39443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39445 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39448 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39449 if (!SWIG_IsOK(ecode2
)) {
39450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39452 arg2
= static_cast< bool >(val2
);
39455 if (!wxPyCheckForApp()) SWIG_fail
;
39456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39457 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
39458 wxPyEndAllowThreads(__tstate
);
39459 if (PyErr_Occurred()) SWIG_fail
;
39461 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39468 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39469 PyObject
*resultobj
= 0;
39470 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39473 PyObject
*swig_obj
[1] ;
39475 if (!args
) SWIG_fail
;
39476 swig_obj
[0] = args
;
39477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39478 if (!SWIG_IsOK(res1
)) {
39479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39481 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39486 wxPyEndAllowThreads(__tstate
);
39487 if (PyErr_Occurred()) SWIG_fail
;
39489 resultobj
= SWIG_Py_Void();
39496 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39497 PyObject
*resultobj
= 0;
39498 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39499 wxWindow
*arg2
= (wxWindow
*) NULL
;
39505 PyObject
* obj0
= 0 ;
39506 PyObject
* obj1
= 0 ;
39507 char * kwnames
[] = {
39508 (char *) "self",(char *) "window", NULL
39511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39513 if (!SWIG_IsOK(res1
)) {
39514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39516 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39518 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39519 if (!SWIG_IsOK(res2
)) {
39520 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39522 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39526 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39527 wxPyEndAllowThreads(__tstate
);
39528 if (PyErr_Occurred()) SWIG_fail
;
39531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39539 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39540 PyObject
*resultobj
= 0;
39541 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39545 PyObject
*swig_obj
[1] ;
39547 if (!args
) SWIG_fail
;
39548 swig_obj
[0] = args
;
39549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39550 if (!SWIG_IsOK(res1
)) {
39551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39553 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39556 result
= (bool)(arg1
)->EndContextHelp();
39557 wxPyEndAllowThreads(__tstate
);
39558 if (PyErr_Occurred()) SWIG_fail
;
39561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39569 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39571 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39572 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
39573 return SWIG_Py_Void();
39576 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39577 return SWIG_Python_InitShadowInstance(args
);
39580 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39581 PyObject
*resultobj
= 0;
39582 wxWindow
*arg1
= (wxWindow
*) 0 ;
39583 int arg2
= (int) wxID_CONTEXT_HELP
;
39584 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39585 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39586 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39587 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39588 long arg5
= (long) wxBU_AUTODRAW
;
39589 wxContextHelpButton
*result
= 0 ;
39598 PyObject
* obj0
= 0 ;
39599 PyObject
* obj1
= 0 ;
39600 PyObject
* obj2
= 0 ;
39601 PyObject
* obj3
= 0 ;
39602 PyObject
* obj4
= 0 ;
39603 char * kwnames
[] = {
39604 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39609 if (!SWIG_IsOK(res1
)) {
39610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39612 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39615 if (!SWIG_IsOK(ecode2
)) {
39616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39618 arg2
= static_cast< int >(val2
);
39623 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39629 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39633 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39634 if (!SWIG_IsOK(ecode5
)) {
39635 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39637 arg5
= static_cast< long >(val5
);
39640 if (!wxPyCheckForApp()) SWIG_fail
;
39641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39642 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
39643 wxPyEndAllowThreads(__tstate
);
39644 if (PyErr_Occurred()) SWIG_fail
;
39646 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
39653 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39655 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39656 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
39657 return SWIG_Py_Void();
39660 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39661 return SWIG_Python_InitShadowInstance(args
);
39664 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39665 PyObject
*resultobj
= 0;
39666 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39669 PyObject
*swig_obj
[1] ;
39671 if (!args
) SWIG_fail
;
39672 swig_obj
[0] = args
;
39673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39674 if (!SWIG_IsOK(res1
)) {
39675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39677 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39682 wxPyEndAllowThreads(__tstate
);
39683 if (PyErr_Occurred()) SWIG_fail
;
39685 resultobj
= SWIG_Py_Void();
39692 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39693 PyObject
*resultobj
= 0;
39694 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39695 wxHelpProvider
*result
= 0 ;
39697 PyObject
* obj0
= 0 ;
39698 char * kwnames
[] = {
39699 (char *) "helpProvider", NULL
39702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
39703 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39704 if (!SWIG_IsOK(res1
)) {
39705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39709 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
39710 wxPyEndAllowThreads(__tstate
);
39711 if (PyErr_Occurred()) SWIG_fail
;
39713 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
39720 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39721 PyObject
*resultobj
= 0;
39722 wxHelpProvider
*result
= 0 ;
39724 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
39726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39727 result
= (wxHelpProvider
*)wxHelpProvider::Get();
39728 wxPyEndAllowThreads(__tstate
);
39729 if (PyErr_Occurred()) SWIG_fail
;
39731 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39738 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39739 PyObject
*resultobj
= 0;
39740 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39741 wxWindow
*arg2
= (wxWindow
*) 0 ;
39747 PyObject
* obj0
= 0 ;
39748 PyObject
* obj1
= 0 ;
39749 char * kwnames
[] = {
39750 (char *) "self",(char *) "window", NULL
39753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39755 if (!SWIG_IsOK(res1
)) {
39756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39758 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39759 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39760 if (!SWIG_IsOK(res2
)) {
39761 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
39763 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39766 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
39767 wxPyEndAllowThreads(__tstate
);
39768 if (PyErr_Occurred()) SWIG_fail
;
39772 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
39774 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
39783 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39784 PyObject
*resultobj
= 0;
39785 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39786 wxWindow
*arg2
= (wxWindow
*) 0 ;
39792 PyObject
* obj0
= 0 ;
39793 PyObject
* obj1
= 0 ;
39794 char * kwnames
[] = {
39795 (char *) "self",(char *) "window", NULL
39798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39800 if (!SWIG_IsOK(res1
)) {
39801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39803 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39804 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39805 if (!SWIG_IsOK(res2
)) {
39806 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39808 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39811 result
= (bool)(arg1
)->ShowHelp(arg2
);
39812 wxPyEndAllowThreads(__tstate
);
39813 if (PyErr_Occurred()) SWIG_fail
;
39816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39824 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39825 PyObject
*resultobj
= 0;
39826 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39827 wxWindow
*arg2
= (wxWindow
*) 0 ;
39828 wxString
*arg3
= 0 ;
39833 bool temp3
= false ;
39834 PyObject
* obj0
= 0 ;
39835 PyObject
* obj1
= 0 ;
39836 PyObject
* obj2
= 0 ;
39837 char * kwnames
[] = {
39838 (char *) "self",(char *) "window",(char *) "text", NULL
39841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39843 if (!SWIG_IsOK(res1
)) {
39844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39846 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39847 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39848 if (!SWIG_IsOK(res2
)) {
39849 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39851 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39853 arg3
= wxString_in_helper(obj2
);
39854 if (arg3
== NULL
) SWIG_fail
;
39858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39859 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39860 wxPyEndAllowThreads(__tstate
);
39861 if (PyErr_Occurred()) SWIG_fail
;
39863 resultobj
= SWIG_Py_Void();
39878 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39879 PyObject
*resultobj
= 0;
39880 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39882 wxString
*arg3
= 0 ;
39887 bool temp3
= false ;
39888 PyObject
* obj0
= 0 ;
39889 PyObject
* obj1
= 0 ;
39890 PyObject
* obj2
= 0 ;
39891 char * kwnames
[] = {
39892 (char *) "self",(char *) "id",(char *) "text", NULL
39895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39897 if (!SWIG_IsOK(res1
)) {
39898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39900 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39901 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39902 if (!SWIG_IsOK(ecode2
)) {
39903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
39905 arg2
= static_cast< int >(val2
);
39907 arg3
= wxString_in_helper(obj2
);
39908 if (arg3
== NULL
) SWIG_fail
;
39912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39913 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39914 wxPyEndAllowThreads(__tstate
);
39915 if (PyErr_Occurred()) SWIG_fail
;
39917 resultobj
= SWIG_Py_Void();
39932 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39933 PyObject
*resultobj
= 0;
39934 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39935 wxWindow
*arg2
= (wxWindow
*) 0 ;
39940 PyObject
* obj0
= 0 ;
39941 PyObject
* obj1
= 0 ;
39942 char * kwnames
[] = {
39943 (char *) "self",(char *) "window", NULL
39946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39948 if (!SWIG_IsOK(res1
)) {
39949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39951 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39952 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39953 if (!SWIG_IsOK(res2
)) {
39954 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39956 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39959 (arg1
)->RemoveHelp(arg2
);
39960 wxPyEndAllowThreads(__tstate
);
39961 if (PyErr_Occurred()) SWIG_fail
;
39963 resultobj
= SWIG_Py_Void();
39970 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39971 PyObject
*resultobj
= 0;
39972 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39975 PyObject
*swig_obj
[1] ;
39977 if (!args
) SWIG_fail
;
39978 swig_obj
[0] = args
;
39979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39980 if (!SWIG_IsOK(res1
)) {
39981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39983 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39986 wxHelpProvider_Destroy(arg1
);
39987 wxPyEndAllowThreads(__tstate
);
39988 if (PyErr_Occurred()) SWIG_fail
;
39990 resultobj
= SWIG_Py_Void();
39997 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39999 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40000 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40001 return SWIG_Py_Void();
40004 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40005 PyObject
*resultobj
= 0;
40006 wxSimpleHelpProvider
*result
= 0 ;
40008 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40011 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40012 wxPyEndAllowThreads(__tstate
);
40013 if (PyErr_Occurred()) SWIG_fail
;
40015 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40022 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40024 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40025 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40026 return SWIG_Py_Void();
40029 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40030 return SWIG_Python_InitShadowInstance(args
);
40033 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40034 PyObject
*resultobj
= 0;
40035 wxBitmap
*arg1
= 0 ;
40036 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40037 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40038 wxGenericDragImage
*result
= 0 ;
40043 PyObject
* obj0
= 0 ;
40044 PyObject
* obj1
= 0 ;
40045 char * kwnames
[] = {
40046 (char *) "image",(char *) "cursor", NULL
40049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40050 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40051 if (!SWIG_IsOK(res1
)) {
40052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40055 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40057 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40059 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40060 if (!SWIG_IsOK(res2
)) {
40061 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40064 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40066 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40069 if (!wxPyCheckForApp()) SWIG_fail
;
40070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40071 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40072 wxPyEndAllowThreads(__tstate
);
40073 if (PyErr_Occurred()) SWIG_fail
;
40075 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40082 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40083 PyObject
*resultobj
= 0;
40085 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40086 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40087 wxGenericDragImage
*result
= 0 ;
40092 PyObject
* obj0
= 0 ;
40093 PyObject
* obj1
= 0 ;
40094 char * kwnames
[] = {
40095 (char *) "image",(char *) "cursor", NULL
40098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40099 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40100 if (!SWIG_IsOK(res1
)) {
40101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40104 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40106 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40108 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40109 if (!SWIG_IsOK(res2
)) {
40110 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40113 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40115 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40118 if (!wxPyCheckForApp()) SWIG_fail
;
40119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40120 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40121 wxPyEndAllowThreads(__tstate
);
40122 if (PyErr_Occurred()) SWIG_fail
;
40124 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40131 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40132 PyObject
*resultobj
= 0;
40133 wxString
*arg1
= 0 ;
40134 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40135 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40136 wxGenericDragImage
*result
= 0 ;
40137 bool temp1
= false ;
40140 PyObject
* obj0
= 0 ;
40141 PyObject
* obj1
= 0 ;
40142 char * kwnames
[] = {
40143 (char *) "str",(char *) "cursor", NULL
40146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40148 arg1
= wxString_in_helper(obj0
);
40149 if (arg1
== NULL
) SWIG_fail
;
40153 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40154 if (!SWIG_IsOK(res2
)) {
40155 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40158 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40160 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40163 if (!wxPyCheckForApp()) SWIG_fail
;
40164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40165 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40166 wxPyEndAllowThreads(__tstate
);
40167 if (PyErr_Occurred()) SWIG_fail
;
40169 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40184 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40185 PyObject
*resultobj
= 0;
40186 wxPyTreeCtrl
*arg1
= 0 ;
40187 wxTreeItemId
*arg2
= 0 ;
40188 wxGenericDragImage
*result
= 0 ;
40193 PyObject
* obj0
= 0 ;
40194 PyObject
* obj1
= 0 ;
40195 char * kwnames
[] = {
40196 (char *) "treeCtrl",(char *) "id", NULL
40199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40200 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40201 if (!SWIG_IsOK(res1
)) {
40202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40205 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40207 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40208 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40209 if (!SWIG_IsOK(res2
)) {
40210 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40213 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40215 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40217 if (!wxPyCheckForApp()) SWIG_fail
;
40218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40219 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40220 wxPyEndAllowThreads(__tstate
);
40221 if (PyErr_Occurred()) SWIG_fail
;
40223 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40230 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40231 PyObject
*resultobj
= 0;
40232 wxPyListCtrl
*arg1
= 0 ;
40234 wxGenericDragImage
*result
= 0 ;
40239 PyObject
* obj0
= 0 ;
40240 PyObject
* obj1
= 0 ;
40241 char * kwnames
[] = {
40242 (char *) "listCtrl",(char *) "id", NULL
40245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40246 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40247 if (!SWIG_IsOK(res1
)) {
40248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40251 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40253 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40254 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40255 if (!SWIG_IsOK(ecode2
)) {
40256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40258 arg2
= static_cast< long >(val2
);
40260 if (!wxPyCheckForApp()) SWIG_fail
;
40261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40262 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40263 wxPyEndAllowThreads(__tstate
);
40264 if (PyErr_Occurred()) SWIG_fail
;
40266 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40273 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40274 PyObject
*resultobj
= 0;
40275 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40278 PyObject
*swig_obj
[1] ;
40280 if (!args
) SWIG_fail
;
40281 swig_obj
[0] = args
;
40282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40283 if (!SWIG_IsOK(res1
)) {
40284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40286 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40291 wxPyEndAllowThreads(__tstate
);
40292 if (PyErr_Occurred()) SWIG_fail
;
40294 resultobj
= SWIG_Py_Void();
40301 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40302 PyObject
*resultobj
= 0;
40303 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40304 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40309 PyObject
* obj0
= 0 ;
40310 PyObject
* obj1
= 0 ;
40311 char * kwnames
[] = {
40312 (char *) "self",(char *) "bitmap", NULL
40315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40317 if (!SWIG_IsOK(res1
)) {
40318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40320 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40321 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40322 if (!SWIG_IsOK(res2
)) {
40323 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40325 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40328 (arg1
)->SetBackingBitmap(arg2
);
40329 wxPyEndAllowThreads(__tstate
);
40330 if (PyErr_Occurred()) SWIG_fail
;
40332 resultobj
= SWIG_Py_Void();
40339 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40340 PyObject
*resultobj
= 0;
40341 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40342 wxPoint
*arg2
= 0 ;
40343 wxWindow
*arg3
= (wxWindow
*) 0 ;
40344 bool arg4
= (bool) false ;
40345 wxRect
*arg5
= (wxRect
*) NULL
;
40356 PyObject
* obj0
= 0 ;
40357 PyObject
* obj1
= 0 ;
40358 PyObject
* obj2
= 0 ;
40359 PyObject
* obj3
= 0 ;
40360 PyObject
* obj4
= 0 ;
40361 char * kwnames
[] = {
40362 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40367 if (!SWIG_IsOK(res1
)) {
40368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40370 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40373 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40375 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40376 if (!SWIG_IsOK(res3
)) {
40377 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40379 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40381 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40382 if (!SWIG_IsOK(ecode4
)) {
40383 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40385 arg4
= static_cast< bool >(val4
);
40388 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
40389 if (!SWIG_IsOK(res5
)) {
40390 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40392 arg5
= reinterpret_cast< wxRect
* >(argp5
);
40395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40396 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
40397 wxPyEndAllowThreads(__tstate
);
40398 if (PyErr_Occurred()) SWIG_fail
;
40401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40409 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40410 PyObject
*resultobj
= 0;
40411 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40412 wxPoint
*arg2
= 0 ;
40413 wxWindow
*arg3
= (wxWindow
*) 0 ;
40414 wxWindow
*arg4
= (wxWindow
*) 0 ;
40423 PyObject
* obj0
= 0 ;
40424 PyObject
* obj1
= 0 ;
40425 PyObject
* obj2
= 0 ;
40426 PyObject
* obj3
= 0 ;
40427 char * kwnames
[] = {
40428 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40433 if (!SWIG_IsOK(res1
)) {
40434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40436 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40439 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40441 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40442 if (!SWIG_IsOK(res3
)) {
40443 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40445 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40446 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40447 if (!SWIG_IsOK(res4
)) {
40448 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40450 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
40452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40453 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
40454 wxPyEndAllowThreads(__tstate
);
40455 if (PyErr_Occurred()) SWIG_fail
;
40458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40466 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40467 PyObject
*resultobj
= 0;
40468 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40472 PyObject
*swig_obj
[1] ;
40474 if (!args
) SWIG_fail
;
40475 swig_obj
[0] = args
;
40476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40477 if (!SWIG_IsOK(res1
)) {
40478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40480 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40483 result
= (bool)(arg1
)->EndDrag();
40484 wxPyEndAllowThreads(__tstate
);
40485 if (PyErr_Occurred()) SWIG_fail
;
40488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40496 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40497 PyObject
*resultobj
= 0;
40498 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40499 wxPoint
*arg2
= 0 ;
40504 PyObject
* obj0
= 0 ;
40505 PyObject
* obj1
= 0 ;
40506 char * kwnames
[] = {
40507 (char *) "self",(char *) "pt", NULL
40510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40512 if (!SWIG_IsOK(res1
)) {
40513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40515 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40518 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40522 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
40523 wxPyEndAllowThreads(__tstate
);
40524 if (PyErr_Occurred()) SWIG_fail
;
40527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40535 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40536 PyObject
*resultobj
= 0;
40537 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40541 PyObject
*swig_obj
[1] ;
40543 if (!args
) SWIG_fail
;
40544 swig_obj
[0] = args
;
40545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40546 if (!SWIG_IsOK(res1
)) {
40547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40549 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40552 result
= (bool)(arg1
)->Show();
40553 wxPyEndAllowThreads(__tstate
);
40554 if (PyErr_Occurred()) SWIG_fail
;
40557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40565 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40566 PyObject
*resultobj
= 0;
40567 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40571 PyObject
*swig_obj
[1] ;
40573 if (!args
) SWIG_fail
;
40574 swig_obj
[0] = args
;
40575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40576 if (!SWIG_IsOK(res1
)) {
40577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40579 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40582 result
= (bool)(arg1
)->Hide();
40583 wxPyEndAllowThreads(__tstate
);
40584 if (PyErr_Occurred()) SWIG_fail
;
40587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40595 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40596 PyObject
*resultobj
= 0;
40597 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40598 wxPoint
*arg2
= 0 ;
40603 PyObject
* obj0
= 0 ;
40604 PyObject
* obj1
= 0 ;
40605 char * kwnames
[] = {
40606 (char *) "self",(char *) "pos", NULL
40609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40611 if (!SWIG_IsOK(res1
)) {
40612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40614 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40617 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40621 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
40622 wxPyEndAllowThreads(__tstate
);
40623 if (PyErr_Occurred()) SWIG_fail
;
40625 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
40632 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40633 PyObject
*resultobj
= 0;
40634 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40636 wxPoint
*arg3
= 0 ;
40643 PyObject
* obj0
= 0 ;
40644 PyObject
* obj1
= 0 ;
40645 PyObject
* obj2
= 0 ;
40646 char * kwnames
[] = {
40647 (char *) "self",(char *) "dc",(char *) "pos", NULL
40650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40652 if (!SWIG_IsOK(res1
)) {
40653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40655 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40656 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40657 if (!SWIG_IsOK(res2
)) {
40658 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40661 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40663 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40666 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40670 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
40671 wxPyEndAllowThreads(__tstate
);
40672 if (PyErr_Occurred()) SWIG_fail
;
40675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40683 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40684 PyObject
*resultobj
= 0;
40685 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40687 wxMemoryDC
*arg3
= 0 ;
40699 PyObject
* obj0
= 0 ;
40700 PyObject
* obj1
= 0 ;
40701 PyObject
* obj2
= 0 ;
40702 PyObject
* obj3
= 0 ;
40703 PyObject
* obj4
= 0 ;
40704 char * kwnames
[] = {
40705 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
40708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40710 if (!SWIG_IsOK(res1
)) {
40711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40713 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40714 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40715 if (!SWIG_IsOK(res2
)) {
40716 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40719 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40721 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40722 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
40723 if (!SWIG_IsOK(res3
)) {
40724 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40727 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40729 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
40732 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
40736 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
40739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40740 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
40741 wxPyEndAllowThreads(__tstate
);
40742 if (PyErr_Occurred()) SWIG_fail
;
40745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40753 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40754 PyObject
*resultobj
= 0;
40755 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40756 wxPoint
*arg2
= 0 ;
40757 wxPoint
*arg3
= 0 ;
40769 PyObject
* obj0
= 0 ;
40770 PyObject
* obj1
= 0 ;
40771 PyObject
* obj2
= 0 ;
40772 PyObject
* obj3
= 0 ;
40773 PyObject
* obj4
= 0 ;
40774 char * kwnames
[] = {
40775 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
40778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40780 if (!SWIG_IsOK(res1
)) {
40781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40783 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40786 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40790 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40792 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40793 if (!SWIG_IsOK(ecode4
)) {
40794 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
40796 arg4
= static_cast< bool >(val4
);
40797 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
40798 if (!SWIG_IsOK(ecode5
)) {
40799 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
40801 arg5
= static_cast< bool >(val5
);
40803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40804 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
40805 wxPyEndAllowThreads(__tstate
);
40806 if (PyErr_Occurred()) SWIG_fail
;
40809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40817 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40819 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40820 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
40821 return SWIG_Py_Void();
40824 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40825 return SWIG_Python_InitShadowInstance(args
);
40828 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
40829 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
40834 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
40835 PyObject
*pyobj
= 0;
40839 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40841 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40848 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40849 PyObject
*resultobj
= 0;
40850 wxWindow
*arg1
= (wxWindow
*) 0 ;
40851 int arg2
= (int) -1 ;
40852 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
40853 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
40854 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
40855 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
40856 wxSize
const &arg5_defvalue
= wxDefaultSize
;
40857 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
40858 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
40859 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
40860 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
40861 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
40862 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
40863 wxDatePickerCtrl
*result
= 0 ;
40876 bool temp8
= false ;
40877 PyObject
* obj0
= 0 ;
40878 PyObject
* obj1
= 0 ;
40879 PyObject
* obj2
= 0 ;
40880 PyObject
* obj3
= 0 ;
40881 PyObject
* obj4
= 0 ;
40882 PyObject
* obj5
= 0 ;
40883 PyObject
* obj6
= 0 ;
40884 PyObject
* obj7
= 0 ;
40885 char * kwnames
[] = {
40886 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
40890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40891 if (!SWIG_IsOK(res1
)) {
40892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
40894 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40896 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40897 if (!SWIG_IsOK(ecode2
)) {
40898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
40900 arg2
= static_cast< int >(val2
);
40903 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40904 if (!SWIG_IsOK(res3
)) {
40905 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40908 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40910 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
40915 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
40921 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
40925 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
40926 if (!SWIG_IsOK(ecode6
)) {
40927 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
40929 arg6
= static_cast< long >(val6
);
40932 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
40933 if (!SWIG_IsOK(res7
)) {
40934 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
40937 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
40939 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
40943 arg8
= wxString_in_helper(obj7
);
40944 if (arg8
== NULL
) SWIG_fail
;
40949 if (!wxPyCheckForApp()) SWIG_fail
;
40950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40951 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
40952 wxPyEndAllowThreads(__tstate
);
40953 if (PyErr_Occurred()) SWIG_fail
;
40955 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
40970 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40971 PyObject
*resultobj
= 0;
40972 wxDatePickerCtrl
*result
= 0 ;
40974 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
40976 if (!wxPyCheckForApp()) SWIG_fail
;
40977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40978 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
40979 wxPyEndAllowThreads(__tstate
);
40980 if (PyErr_Occurred()) SWIG_fail
;
40982 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
40989 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40990 PyObject
*resultobj
= 0;
40991 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40992 wxWindow
*arg2
= (wxWindow
*) 0 ;
40993 int arg3
= (int) -1 ;
40994 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
40995 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
40996 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
40997 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
40998 wxSize
const &arg6_defvalue
= wxDefaultSize
;
40999 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41000 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41001 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41002 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41003 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41004 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41020 bool temp9
= false ;
41021 PyObject
* obj0
= 0 ;
41022 PyObject
* obj1
= 0 ;
41023 PyObject
* obj2
= 0 ;
41024 PyObject
* obj3
= 0 ;
41025 PyObject
* obj4
= 0 ;
41026 PyObject
* obj5
= 0 ;
41027 PyObject
* obj6
= 0 ;
41028 PyObject
* obj7
= 0 ;
41029 PyObject
* obj8
= 0 ;
41030 char * kwnames
[] = {
41031 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41036 if (!SWIG_IsOK(res1
)) {
41037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41039 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41040 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41041 if (!SWIG_IsOK(res2
)) {
41042 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41044 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41046 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41047 if (!SWIG_IsOK(ecode3
)) {
41048 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41050 arg3
= static_cast< int >(val3
);
41053 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41054 if (!SWIG_IsOK(res4
)) {
41055 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41058 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41060 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41065 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41071 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41075 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41076 if (!SWIG_IsOK(ecode7
)) {
41077 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41079 arg7
= static_cast< long >(val7
);
41082 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41083 if (!SWIG_IsOK(res8
)) {
41084 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41087 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41089 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41093 arg9
= wxString_in_helper(obj8
);
41094 if (arg9
== NULL
) SWIG_fail
;
41099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41100 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41101 wxPyEndAllowThreads(__tstate
);
41102 if (PyErr_Occurred()) SWIG_fail
;
41105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41121 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41122 PyObject
*resultobj
= 0;
41123 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41124 wxDateTime
*arg2
= 0 ;
41129 PyObject
* obj0
= 0 ;
41130 PyObject
* obj1
= 0 ;
41131 char * kwnames
[] = {
41132 (char *) "self",(char *) "dt", NULL
41135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41137 if (!SWIG_IsOK(res1
)) {
41138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41140 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41141 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41142 if (!SWIG_IsOK(res2
)) {
41143 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41146 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41148 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41151 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41152 wxPyEndAllowThreads(__tstate
);
41153 if (PyErr_Occurred()) SWIG_fail
;
41155 resultobj
= SWIG_Py_Void();
41162 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41163 PyObject
*resultobj
= 0;
41164 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41168 PyObject
*swig_obj
[1] ;
41170 if (!args
) SWIG_fail
;
41171 swig_obj
[0] = args
;
41172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41173 if (!SWIG_IsOK(res1
)) {
41174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41176 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41179 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41180 wxPyEndAllowThreads(__tstate
);
41181 if (PyErr_Occurred()) SWIG_fail
;
41183 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41190 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41191 PyObject
*resultobj
= 0;
41192 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41193 wxDateTime
*arg2
= 0 ;
41194 wxDateTime
*arg3
= 0 ;
41201 PyObject
* obj0
= 0 ;
41202 PyObject
* obj1
= 0 ;
41203 PyObject
* obj2
= 0 ;
41204 char * kwnames
[] = {
41205 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41210 if (!SWIG_IsOK(res1
)) {
41211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41213 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41214 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41215 if (!SWIG_IsOK(res2
)) {
41216 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41221 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41222 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41223 if (!SWIG_IsOK(res3
)) {
41224 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41227 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41229 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41232 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41233 wxPyEndAllowThreads(__tstate
);
41234 if (PyErr_Occurred()) SWIG_fail
;
41236 resultobj
= SWIG_Py_Void();
41243 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41244 PyObject
*resultobj
= 0;
41245 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41249 PyObject
*swig_obj
[1] ;
41251 if (!args
) SWIG_fail
;
41252 swig_obj
[0] = args
;
41253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41254 if (!SWIG_IsOK(res1
)) {
41255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41257 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41260 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41261 wxPyEndAllowThreads(__tstate
);
41262 if (PyErr_Occurred()) SWIG_fail
;
41264 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41271 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41272 PyObject
*resultobj
= 0;
41273 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41277 PyObject
*swig_obj
[1] ;
41279 if (!args
) SWIG_fail
;
41280 swig_obj
[0] = args
;
41281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41282 if (!SWIG_IsOK(res1
)) {
41283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41285 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41288 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41289 wxPyEndAllowThreads(__tstate
);
41290 if (PyErr_Occurred()) SWIG_fail
;
41292 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41299 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41301 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41302 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41303 return SWIG_Py_Void();
41306 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41307 return SWIG_Python_InitShadowInstance(args
);
41310 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41311 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41316 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41317 PyObject
*pyobj
= 0;
41321 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41323 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41330 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41331 PyObject
*resultobj
= 0;
41332 wxWindow
*arg1
= (wxWindow
*) 0 ;
41334 wxString
*arg3
= 0 ;
41335 wxString
*arg4
= 0 ;
41336 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41337 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41338 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41339 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41340 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41341 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41342 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41343 wxHyperlinkCtrl
*result
= 0 ;
41348 bool temp3
= false ;
41349 bool temp4
= false ;
41354 bool temp8
= false ;
41355 PyObject
* obj0
= 0 ;
41356 PyObject
* obj1
= 0 ;
41357 PyObject
* obj2
= 0 ;
41358 PyObject
* obj3
= 0 ;
41359 PyObject
* obj4
= 0 ;
41360 PyObject
* obj5
= 0 ;
41361 PyObject
* obj6
= 0 ;
41362 PyObject
* obj7
= 0 ;
41363 char * kwnames
[] = {
41364 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41369 if (!SWIG_IsOK(res1
)) {
41370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41372 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41373 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41374 if (!SWIG_IsOK(ecode2
)) {
41375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41377 arg2
= static_cast< int >(val2
);
41379 arg3
= wxString_in_helper(obj2
);
41380 if (arg3
== NULL
) SWIG_fail
;
41384 arg4
= wxString_in_helper(obj3
);
41385 if (arg4
== NULL
) SWIG_fail
;
41391 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41397 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41401 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41402 if (!SWIG_IsOK(ecode7
)) {
41403 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41405 arg7
= static_cast< long >(val7
);
41409 arg8
= wxString_in_helper(obj7
);
41410 if (arg8
== NULL
) SWIG_fail
;
41415 if (!wxPyCheckForApp()) SWIG_fail
;
41416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41417 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
41418 wxPyEndAllowThreads(__tstate
);
41419 if (PyErr_Occurred()) SWIG_fail
;
41421 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
41452 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41453 PyObject
*resultobj
= 0;
41454 wxHyperlinkCtrl
*result
= 0 ;
41456 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
41458 if (!wxPyCheckForApp()) SWIG_fail
;
41459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41460 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
41461 wxPyEndAllowThreads(__tstate
);
41462 if (PyErr_Occurred()) SWIG_fail
;
41464 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
41471 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41472 PyObject
*resultobj
= 0;
41473 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41474 wxWindow
*arg2
= (wxWindow
*) 0 ;
41476 wxString
*arg4
= 0 ;
41477 wxString
*arg5
= 0 ;
41478 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
41479 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
41480 wxSize
const &arg7_defvalue
= wxDefaultSize
;
41481 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
41482 long arg8
= (long) wxHL_DEFAULT_STYLE
;
41483 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
41484 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41492 bool temp4
= false ;
41493 bool temp5
= false ;
41498 bool temp9
= false ;
41499 PyObject
* obj0
= 0 ;
41500 PyObject
* obj1
= 0 ;
41501 PyObject
* obj2
= 0 ;
41502 PyObject
* obj3
= 0 ;
41503 PyObject
* obj4
= 0 ;
41504 PyObject
* obj5
= 0 ;
41505 PyObject
* obj6
= 0 ;
41506 PyObject
* obj7
= 0 ;
41507 PyObject
* obj8
= 0 ;
41508 char * kwnames
[] = {
41509 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41514 if (!SWIG_IsOK(res1
)) {
41515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41517 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41518 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41519 if (!SWIG_IsOK(res2
)) {
41520 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41522 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41523 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41524 if (!SWIG_IsOK(ecode3
)) {
41525 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41527 arg3
= static_cast< int >(val3
);
41529 arg4
= wxString_in_helper(obj3
);
41530 if (arg4
== NULL
) SWIG_fail
;
41534 arg5
= wxString_in_helper(obj4
);
41535 if (arg5
== NULL
) SWIG_fail
;
41541 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
41547 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
41551 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
41552 if (!SWIG_IsOK(ecode8
)) {
41553 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
41555 arg8
= static_cast< long >(val8
);
41559 arg9
= wxString_in_helper(obj8
);
41560 if (arg9
== NULL
) SWIG_fail
;
41565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41566 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
41567 wxPyEndAllowThreads(__tstate
);
41568 if (PyErr_Occurred()) SWIG_fail
;
41571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41603 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41604 PyObject
*resultobj
= 0;
41605 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41609 PyObject
*swig_obj
[1] ;
41611 if (!args
) SWIG_fail
;
41612 swig_obj
[0] = args
;
41613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41614 if (!SWIG_IsOK(res1
)) {
41615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41617 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41620 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
41621 wxPyEndAllowThreads(__tstate
);
41622 if (PyErr_Occurred()) SWIG_fail
;
41624 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41631 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41632 PyObject
*resultobj
= 0;
41633 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41634 wxColour
*arg2
= 0 ;
41638 PyObject
* obj0
= 0 ;
41639 PyObject
* obj1
= 0 ;
41640 char * kwnames
[] = {
41641 (char *) "self",(char *) "colour", NULL
41644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41646 if (!SWIG_IsOK(res1
)) {
41647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41649 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41652 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41656 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
41657 wxPyEndAllowThreads(__tstate
);
41658 if (PyErr_Occurred()) SWIG_fail
;
41660 resultobj
= SWIG_Py_Void();
41667 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41668 PyObject
*resultobj
= 0;
41669 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41673 PyObject
*swig_obj
[1] ;
41675 if (!args
) SWIG_fail
;
41676 swig_obj
[0] = args
;
41677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41678 if (!SWIG_IsOK(res1
)) {
41679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41681 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41684 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
41685 wxPyEndAllowThreads(__tstate
);
41686 if (PyErr_Occurred()) SWIG_fail
;
41688 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41695 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41696 PyObject
*resultobj
= 0;
41697 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41698 wxColour
*arg2
= 0 ;
41702 PyObject
* obj0
= 0 ;
41703 PyObject
* obj1
= 0 ;
41704 char * kwnames
[] = {
41705 (char *) "self",(char *) "colour", NULL
41708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41710 if (!SWIG_IsOK(res1
)) {
41711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41713 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41716 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41720 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
41721 wxPyEndAllowThreads(__tstate
);
41722 if (PyErr_Occurred()) SWIG_fail
;
41724 resultobj
= SWIG_Py_Void();
41731 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41732 PyObject
*resultobj
= 0;
41733 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41737 PyObject
*swig_obj
[1] ;
41739 if (!args
) SWIG_fail
;
41740 swig_obj
[0] = args
;
41741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41742 if (!SWIG_IsOK(res1
)) {
41743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41745 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41748 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
41749 wxPyEndAllowThreads(__tstate
);
41750 if (PyErr_Occurred()) SWIG_fail
;
41752 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41759 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41760 PyObject
*resultobj
= 0;
41761 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41762 wxColour
*arg2
= 0 ;
41766 PyObject
* obj0
= 0 ;
41767 PyObject
* obj1
= 0 ;
41768 char * kwnames
[] = {
41769 (char *) "self",(char *) "colour", NULL
41772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41774 if (!SWIG_IsOK(res1
)) {
41775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41777 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41780 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41784 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
41785 wxPyEndAllowThreads(__tstate
);
41786 if (PyErr_Occurred()) SWIG_fail
;
41788 resultobj
= SWIG_Py_Void();
41795 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41796 PyObject
*resultobj
= 0;
41797 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41801 PyObject
*swig_obj
[1] ;
41803 if (!args
) SWIG_fail
;
41804 swig_obj
[0] = args
;
41805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41806 if (!SWIG_IsOK(res1
)) {
41807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41809 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41812 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
41813 wxPyEndAllowThreads(__tstate
);
41814 if (PyErr_Occurred()) SWIG_fail
;
41818 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41820 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
41829 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41830 PyObject
*resultobj
= 0;
41831 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41832 wxString
*arg2
= 0 ;
41835 bool temp2
= false ;
41836 PyObject
* obj0
= 0 ;
41837 PyObject
* obj1
= 0 ;
41838 char * kwnames
[] = {
41839 (char *) "self",(char *) "url", NULL
41842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41844 if (!SWIG_IsOK(res1
)) {
41845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41847 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41849 arg2
= wxString_in_helper(obj1
);
41850 if (arg2
== NULL
) SWIG_fail
;
41854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41855 (arg1
)->SetURL((wxString
const &)*arg2
);
41856 wxPyEndAllowThreads(__tstate
);
41857 if (PyErr_Occurred()) SWIG_fail
;
41859 resultobj
= SWIG_Py_Void();
41874 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41875 PyObject
*resultobj
= 0;
41876 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41877 bool arg2
= (bool) true ;
41882 PyObject
* obj0
= 0 ;
41883 PyObject
* obj1
= 0 ;
41884 char * kwnames
[] = {
41885 (char *) "self",(char *) "visited", NULL
41888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41890 if (!SWIG_IsOK(res1
)) {
41891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41893 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41895 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
41896 if (!SWIG_IsOK(ecode2
)) {
41897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
41899 arg2
= static_cast< bool >(val2
);
41902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41903 (arg1
)->SetVisited(arg2
);
41904 wxPyEndAllowThreads(__tstate
);
41905 if (PyErr_Occurred()) SWIG_fail
;
41907 resultobj
= SWIG_Py_Void();
41914 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41915 PyObject
*resultobj
= 0;
41916 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41920 PyObject
*swig_obj
[1] ;
41922 if (!args
) SWIG_fail
;
41923 swig_obj
[0] = args
;
41924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41925 if (!SWIG_IsOK(res1
)) {
41926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41928 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41931 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
41932 wxPyEndAllowThreads(__tstate
);
41933 if (PyErr_Occurred()) SWIG_fail
;
41936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41944 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41946 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41947 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
41948 return SWIG_Py_Void();
41951 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41952 return SWIG_Python_InitShadowInstance(args
);
41955 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41956 PyObject
*resultobj
= 0;
41957 wxObject
*arg1
= (wxObject
*) 0 ;
41959 wxString
*arg3
= 0 ;
41960 wxHyperlinkEvent
*result
= 0 ;
41965 bool temp3
= false ;
41966 PyObject
* obj0
= 0 ;
41967 PyObject
* obj1
= 0 ;
41968 PyObject
* obj2
= 0 ;
41969 char * kwnames
[] = {
41970 (char *) "generator",(char *) "id",(char *) "url", NULL
41973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
41975 if (!SWIG_IsOK(res1
)) {
41976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
41978 arg1
= reinterpret_cast< wxObject
* >(argp1
);
41979 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41980 if (!SWIG_IsOK(ecode2
)) {
41981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
41983 arg2
= static_cast< int >(val2
);
41985 arg3
= wxString_in_helper(obj2
);
41986 if (arg3
== NULL
) SWIG_fail
;
41990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41991 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
41992 wxPyEndAllowThreads(__tstate
);
41993 if (PyErr_Occurred()) SWIG_fail
;
41995 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42010 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42011 PyObject
*resultobj
= 0;
42012 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42016 PyObject
*swig_obj
[1] ;
42018 if (!args
) SWIG_fail
;
42019 swig_obj
[0] = args
;
42020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42021 if (!SWIG_IsOK(res1
)) {
42022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42024 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42027 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42028 wxPyEndAllowThreads(__tstate
);
42029 if (PyErr_Occurred()) SWIG_fail
;
42033 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42035 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42044 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42045 PyObject
*resultobj
= 0;
42046 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42047 wxString
*arg2
= 0 ;
42050 bool temp2
= false ;
42051 PyObject
* obj0
= 0 ;
42052 PyObject
* obj1
= 0 ;
42053 char * kwnames
[] = {
42054 (char *) "self",(char *) "url", NULL
42057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42059 if (!SWIG_IsOK(res1
)) {
42060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42062 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42064 arg2
= wxString_in_helper(obj1
);
42065 if (arg2
== NULL
) SWIG_fail
;
42069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42070 (arg1
)->SetURL((wxString
const &)*arg2
);
42071 wxPyEndAllowThreads(__tstate
);
42072 if (PyErr_Occurred()) SWIG_fail
;
42074 resultobj
= SWIG_Py_Void();
42089 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42091 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42092 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42093 return SWIG_Py_Void();
42096 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42097 return SWIG_Python_InitShadowInstance(args
);
42100 static PyMethodDef SwigMethods
[] = {
42101 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42102 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
42103 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42104 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
42105 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
42106 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42107 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
42108 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
42109 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42110 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
42111 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42112 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
42113 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
42114 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
42115 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
42116 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
42117 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42118 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42119 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42120 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42121 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42122 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42123 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
42124 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
42125 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
42126 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
42127 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42128 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
42129 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42130 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
42131 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
42132 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42133 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
42134 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42135 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
42136 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
42137 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42138 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
42139 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
42140 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42141 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
42142 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42143 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
42144 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42145 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
42146 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
42147 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42148 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
42149 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42150 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
42151 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42152 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
42153 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
42154 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
42155 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42156 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
42157 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
42158 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42159 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42160 { (char *)"ComboBox_GetMark", (PyCFunction
)_wrap_ComboBox_GetMark
, METH_O
, NULL
},
42161 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
42162 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42163 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42164 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42165 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
42166 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42167 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
42168 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
42169 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
42170 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
42171 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
42172 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
42173 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
42174 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
42175 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
42176 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42177 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
42178 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
42179 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42180 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
42181 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42182 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42183 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
42184 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42185 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
42186 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
42187 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42188 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
42189 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42190 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
42191 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42192 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
42193 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
42194 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42195 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
42196 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42197 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42198 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
42199 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
42200 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42201 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
42202 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42203 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
42204 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
42205 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42206 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
42207 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
42208 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42209 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
42210 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42211 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42212 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42213 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
42214 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
42215 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42216 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
42217 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42218 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
42219 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42220 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42221 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42222 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
42223 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
42224 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42225 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
42226 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42227 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42228 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42229 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42230 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42231 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42232 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42233 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42234 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42235 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42236 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
42237 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42238 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42239 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42240 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42241 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
42242 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42243 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42244 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42245 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42246 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42247 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
42248 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
42249 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42250 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
42251 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42252 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42253 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42254 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
)_wrap_CheckListBox_GetItemHeight
, METH_O
, NULL
},
42255 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
42256 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
42257 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42258 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
42259 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
42260 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42261 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42262 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42263 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42264 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42265 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42266 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42267 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42268 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42269 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
42270 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
42271 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
42272 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
42273 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
42274 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
42275 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
42276 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42277 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
42278 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
42279 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
42280 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
42281 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
42282 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
42283 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
42284 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
42285 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
42286 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
42287 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42288 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
42289 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
42290 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42291 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
42292 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42293 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
42294 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42295 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42296 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42297 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42298 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
42299 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
42300 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
42301 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
42302 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
42303 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
42304 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
42305 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
42306 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42307 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42308 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42309 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42310 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
42311 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
42312 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42313 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42314 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42315 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42316 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42317 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42318 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42319 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
42320 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42321 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42322 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42323 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42324 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42325 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
42326 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
42327 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
42328 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
42329 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
42330 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
42331 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
42332 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
42333 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
42334 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
42335 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42336 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
42337 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
42338 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
42339 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42340 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
42341 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42342 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42343 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
)_wrap_TextCtrl_HideNativeCaret
, METH_O
, NULL
},
42344 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42345 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42346 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42347 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
42348 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
42349 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42350 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
42351 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
42352 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
42353 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
42354 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
42355 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42356 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
42357 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42358 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
42359 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
42360 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
42361 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
42362 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
42363 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42364 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42365 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
42366 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
42367 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42368 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
42369 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42370 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
42371 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
42372 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
42373 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42374 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42375 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42376 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42377 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
42378 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42379 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
42380 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
42381 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42382 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
42383 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42384 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
42385 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42386 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42387 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42388 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
42389 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
42390 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42391 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42392 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
42393 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
42394 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42395 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
42396 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42397 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
42398 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
42399 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42400 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
42401 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42402 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42403 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
42404 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
42405 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42406 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
42407 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42408 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42409 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42410 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42411 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42412 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42413 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42414 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
42415 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
42416 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42417 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42418 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42419 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42420 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
42421 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
42422 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42423 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
42424 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42425 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
42426 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42427 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42428 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
42429 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
42430 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42431 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
42432 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42433 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
42434 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42435 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42436 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
42437 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
42438 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42439 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42440 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42441 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42442 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
42443 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
42444 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42445 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
42446 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42447 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
42448 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
42449 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42450 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
42451 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
42452 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
42453 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42454 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42455 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
42456 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
42457 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42458 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
42459 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42460 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42461 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
42462 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42463 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
42464 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
42465 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
42466 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42467 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
42468 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
42469 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42470 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42471 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42472 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42473 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
42474 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42475 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42476 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42477 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42478 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
42479 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42480 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
42481 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42482 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
42483 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42484 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
42485 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
42486 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42487 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42488 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
42489 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42490 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42491 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42492 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42493 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42494 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42495 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
42496 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42497 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
42498 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42499 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
42500 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42501 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
42502 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
42503 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42504 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
42505 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42506 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
42507 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42508 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42509 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
42510 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42511 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
42512 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
42513 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42514 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
42515 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
42516 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42517 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
42518 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42519 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
42520 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
42521 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
42522 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42523 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
42524 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
42525 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42526 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
42527 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42528 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
42529 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
42530 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
42531 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42532 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
42533 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
42534 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42535 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
42536 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42537 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42538 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42539 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42540 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42541 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42542 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42543 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
42544 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
42545 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
42546 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42547 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
42548 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
42549 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42550 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
42551 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42552 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
42553 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
42554 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
42555 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
42556 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42557 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
42558 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
42559 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
42560 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
42561 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
42562 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
42563 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
42564 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
42565 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
42566 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
42567 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
42568 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
42569 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
42570 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
42571 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
42572 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
42573 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
42574 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
42575 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
42576 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42577 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
42578 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42579 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42580 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42581 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42582 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42583 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42584 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
42585 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42586 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
42587 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42588 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
42589 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42590 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42591 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42592 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42593 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42594 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42595 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42596 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
42597 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42598 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42599 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42600 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42601 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
42602 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
42603 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42604 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42605 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42606 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42607 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42608 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42609 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42610 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42611 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42612 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42613 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42614 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42615 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42616 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42617 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42618 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42619 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
42620 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
42621 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
42622 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
42623 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42624 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42625 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
42626 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
42627 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42628 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
42629 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
42630 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42631 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42632 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
42633 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
42634 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
42635 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42636 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
42637 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42638 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42639 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
42640 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
42641 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42642 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
42643 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42644 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42645 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42646 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
42647 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
42648 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
42649 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
42650 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
42651 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
42652 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42653 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
42654 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
42655 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
42656 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
42657 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
42658 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
42659 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
42660 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42661 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42662 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42663 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42664 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42665 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42666 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42667 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42668 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42669 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42670 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42671 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42672 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42673 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
42674 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
42675 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
42676 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
42677 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
42678 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
42679 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
42680 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
42681 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
42682 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
42683 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
42684 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
42685 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
42686 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
42687 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
42688 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
42689 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
42690 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
42691 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
42692 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
42693 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
42694 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
42695 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
42696 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
42697 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
42698 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
42699 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
42700 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
42701 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
42702 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
42703 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
42704 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
42705 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
42706 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
42707 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
42708 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
42709 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42710 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
42711 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
42712 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
42713 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
42714 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
42715 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
42716 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
42717 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
42718 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
42719 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
42720 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
42721 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
42722 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
42723 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
42724 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
42725 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
42726 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
42727 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
42728 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
42729 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
42730 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
42731 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
42732 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
42733 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
42734 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42735 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
42736 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
42737 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42738 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
42739 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42740 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42741 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42742 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42743 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42744 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42745 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
42746 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
42747 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
42748 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42749 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42750 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42751 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42752 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42753 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42754 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42755 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42756 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42757 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42758 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42759 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42760 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42761 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42762 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
42763 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
42764 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
42765 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
42766 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
42767 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42768 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
42769 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42770 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42771 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42772 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42773 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42774 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
42775 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
42776 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42777 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42778 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42779 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42780 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
42781 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42782 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
42783 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
42784 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42785 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42786 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42787 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42788 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42789 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42790 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42791 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42792 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42793 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42794 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42795 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42796 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42797 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42798 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42799 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42800 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42801 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42802 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42803 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42804 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42805 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42806 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42807 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
42808 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42809 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
42810 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
42811 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42812 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
42813 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42814 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42815 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42816 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
42817 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42818 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
42819 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42820 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42821 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42822 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
42823 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
42824 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
42825 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
42826 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
42827 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42828 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42829 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
42830 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
42831 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
42832 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
42833 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42834 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
42835 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
42836 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42837 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
42838 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42839 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
42840 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
42841 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
42842 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42843 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
42844 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42845 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
42846 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42847 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
42848 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42849 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
42850 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
42851 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42852 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
42853 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42854 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
42855 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42856 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42857 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
42858 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
42859 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
42860 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42861 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
42862 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42863 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42864 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
42865 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
42866 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42867 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
42868 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42869 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
42870 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
42871 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42872 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42873 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42874 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42875 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42876 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42877 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42878 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42879 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42880 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42881 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42882 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42883 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42884 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42885 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42886 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42887 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42888 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42889 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42890 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42891 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42892 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42893 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42894 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42895 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42896 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42897 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42898 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
42899 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
42900 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
42901 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42902 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42903 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42904 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42905 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42906 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42907 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
42908 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42909 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42910 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42911 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42912 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42913 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42914 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42915 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42916 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42917 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
42918 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42919 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42920 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42921 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42922 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
42923 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42924 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
42925 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42926 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42927 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42928 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42929 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42930 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
42931 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42932 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42933 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42934 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42935 { (char *)"TreeCtrl_SetState", (PyCFunction
) _wrap_TreeCtrl_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42936 { (char *)"TreeCtrl_GetState", (PyCFunction
) _wrap_TreeCtrl_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42937 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42938 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42939 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
42940 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
42941 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
42942 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42943 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
42944 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42945 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42946 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42947 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
42948 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42949 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
42950 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
42951 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42952 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42953 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
42954 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
42955 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42956 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
42957 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42958 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
42959 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
42960 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
42961 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42962 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
42963 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
42964 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
42965 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
42966 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42967 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
42968 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42969 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42970 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
42971 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
42972 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42973 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
42974 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42975 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42976 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42977 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42978 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42979 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42980 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42981 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
42982 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
42983 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
42984 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
42985 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
42986 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
42987 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
42988 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
42989 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
42990 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42991 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
42992 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42993 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
42994 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42995 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
42996 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42997 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
42998 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42999 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
43000 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
43001 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43002 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
43003 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43004 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
43005 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
43006 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
43007 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43008 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
43009 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
43010 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
43011 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43012 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
43013 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43014 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43015 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43016 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43017 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43018 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
43019 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
43020 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
43021 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
43022 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
43023 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43024 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43025 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43026 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43027 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43028 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
43029 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43030 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43031 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43032 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
43033 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43034 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
43035 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
43036 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43037 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43038 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43039 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43040 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
43041 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
43042 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43043 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
43044 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43045 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43046 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
43047 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43048 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
43049 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
43050 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
43051 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
43052 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43053 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
43054 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43055 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
43056 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43057 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
43058 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43059 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
43060 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43061 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
43062 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43063 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43064 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
43065 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
43066 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
43067 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43068 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
43069 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43070 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
43071 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
43072 { NULL
, NULL
, 0, NULL
}
43076 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
43078 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
43079 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
43081 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
43082 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
43084 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
43085 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
43087 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
43088 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
43090 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
43091 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
43093 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
43094 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
43096 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
43097 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
43099 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
43100 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
43102 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
43103 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
43105 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
43106 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
43108 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
43109 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
43111 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
43112 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
43114 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
43115 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
43117 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
43118 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
43120 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
43121 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
43123 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
43124 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
43126 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
43127 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
43129 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
43130 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
43132 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
43133 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
43135 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
43136 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
43138 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
43139 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
43141 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
43142 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
43144 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
43145 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
43147 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
43148 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
43150 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
43151 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
43153 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
43154 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
43156 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
43157 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
43159 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
43160 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
43162 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
43163 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
43165 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
43166 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
43168 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
43169 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
43171 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
43172 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
43174 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
43175 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
43177 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
43178 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
43180 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
43181 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
43183 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
43184 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
43186 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
43187 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
43189 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
43190 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
43192 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
43193 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
43195 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
43196 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
43198 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
43199 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
43201 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
43202 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
43204 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
43205 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
43207 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
43208 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
43210 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
43211 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
43213 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
43214 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
43216 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
43217 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
43219 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
43220 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
43222 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
43223 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
43225 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
43226 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
43228 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
43229 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
43231 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
43232 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
43234 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
43235 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
43237 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
43238 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
43240 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
43241 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
43243 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
43244 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
43246 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
43247 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
43249 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
43250 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
43252 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
43253 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
43255 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
43256 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
43258 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
43259 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
43261 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
43262 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
43264 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
43265 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
43267 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
43268 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
43270 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
43271 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
43273 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
43274 return (void *)((wxControl
*) ((wxPyControl
*) x
));
43276 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
43277 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
43279 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
43280 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
43282 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
43283 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
43285 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
43286 return (void *)((wxControl
*) ((wxGauge
*) x
));
43288 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
43289 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
43291 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
43292 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
43294 static void *_p_wxListbookTo_p_wxControl(void *x
) {
43295 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
43297 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
43298 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
43300 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
43301 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
43303 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
43304 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
43306 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
43307 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
43309 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
43310 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
43312 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
43313 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
43315 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
43316 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
43318 static void *_p_wxListViewTo_p_wxControl(void *x
) {
43319 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
43321 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
43322 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
43324 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
43325 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
43327 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
43328 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
43330 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
43331 return (void *)((wxControl
*) ((wxStaticText
*) x
));
43333 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
43334 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
43336 static void *_p_wxSliderTo_p_wxControl(void *x
) {
43337 return (void *)((wxControl
*) ((wxSlider
*) x
));
43339 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
43340 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
43342 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
43343 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
43345 static void *_p_wxButtonTo_p_wxControl(void *x
) {
43346 return (void *)((wxControl
*) ((wxButton
*) x
));
43348 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
43349 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
43351 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
43352 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
43354 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
43355 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
43357 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
43358 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
43360 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
43361 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
43363 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
43364 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
43366 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
43367 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
43369 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
43370 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
43372 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
43373 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
43375 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
43376 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
43378 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
43379 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
43381 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
43382 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
43384 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
43385 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
43387 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
43388 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
43390 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
43391 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
43393 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
43394 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
43396 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
43397 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
43399 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
43400 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
43402 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
43403 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
43405 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
43406 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
43408 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
43409 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
43411 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
43412 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
43414 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
43415 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
43417 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
43418 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
43420 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
43421 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
43423 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
43424 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
43426 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
43427 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
43429 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
43430 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
43432 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
43433 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
43435 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
43436 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
43438 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
43439 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
43441 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
43442 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
43444 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
43445 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
43447 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
43448 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
43450 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
43451 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
43453 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
43454 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
43456 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
43457 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
43459 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
43460 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
43462 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
43463 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
43465 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
43466 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
43468 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
43469 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
43471 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
43472 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
43474 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
43475 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
43477 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
43478 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
43480 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
43481 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
43483 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
43484 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
43486 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
43487 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
43489 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
43490 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
43492 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
43493 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
43495 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
43496 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
43498 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
43499 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
43501 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
43502 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
43504 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
43505 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
43507 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
43508 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
43510 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
43511 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
43513 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
43514 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
43516 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
43517 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
43519 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
43520 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
43522 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
43523 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
43525 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
43526 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
43528 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
43529 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
43531 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
43532 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
43534 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
43535 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
43537 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
43538 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
43540 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
43541 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
43543 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
43544 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
43546 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
43547 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
43549 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
43550 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
43552 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
43553 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
43555 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
43556 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
43558 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
43559 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
43561 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
43562 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
43564 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
43565 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
43567 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
43568 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
43570 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
43571 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
43573 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
43574 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
43576 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
43577 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
43579 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
43580 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
43582 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
43583 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
43585 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
43586 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
43588 static void *_p_wxSizerTo_p_wxObject(void *x
) {
43589 return (void *)((wxObject
*) ((wxSizer
*) x
));
43591 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
43592 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
43594 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
43595 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
43597 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
43598 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
43600 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
43601 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
43603 static void *_p_wxEventTo_p_wxObject(void *x
) {
43604 return (void *)((wxObject
*) ((wxEvent
*) x
));
43606 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
43607 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
43609 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
43610 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
43612 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
43613 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
43615 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
43616 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
43618 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
43619 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
43621 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
43622 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
43624 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
43625 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
43627 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
43628 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
43630 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
43631 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
43633 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
43634 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
43636 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
43637 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
43639 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
43640 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
43642 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
43643 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
43645 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
43646 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
43648 static void *_p_wxControlTo_p_wxObject(void *x
) {
43649 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
43651 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
43652 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
43654 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
43655 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
43657 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
43658 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
43660 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
43661 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
43663 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
43664 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
43666 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
43667 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
43669 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
43670 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
43672 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
43673 return (void *)((wxObject
*) ((wxFSFile
*) x
));
43675 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
43676 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
43678 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
43679 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
43681 static void *_p_wxListViewTo_p_wxObject(void *x
) {
43682 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
43684 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
43685 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
43687 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
43688 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
43690 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
43691 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
43693 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
43694 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
43696 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
43697 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
43699 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
43700 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
43702 static void *_p_wxListbookTo_p_wxObject(void *x
) {
43703 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
43705 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
43706 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
43708 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
43709 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
43711 static void *_p_wxSliderTo_p_wxObject(void *x
) {
43712 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
43714 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
43715 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
43717 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
43718 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
43720 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
43721 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
43723 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
43724 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
43726 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
43727 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
43729 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
43730 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
43732 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
43733 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
43735 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
43736 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
43738 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
43739 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
43741 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
43742 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
43744 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
43745 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
43747 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
43748 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
43750 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
43751 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
43753 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
43754 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
43756 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
43757 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
43759 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
43760 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
43762 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
43763 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
43765 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
43766 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
43768 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
43769 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
43771 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
43772 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
43774 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
43775 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
43777 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
43778 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
43780 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
43781 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
43783 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
43784 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
43786 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
43787 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
43789 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
43790 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
43792 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
43793 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
43795 static void *_p_wxListEventTo_p_wxObject(void *x
) {
43796 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
43798 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
43799 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
43801 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
43802 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
43804 static void *_p_wxButtonTo_p_wxObject(void *x
) {
43805 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
43807 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
43808 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
43810 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
43811 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
43813 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
43814 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
43816 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
43817 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
43819 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
43820 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
43822 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
43823 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
43825 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
43826 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
43828 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
43829 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
43831 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
43832 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
43834 static void *_p_wxListItemTo_p_wxObject(void *x
) {
43835 return (void *)((wxObject
*) ((wxListItem
*) x
));
43837 static void *_p_wxImageTo_p_wxObject(void *x
) {
43838 return (void *)((wxObject
*) ((wxImage
*) x
));
43840 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
43841 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
43843 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
43844 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
43846 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
43847 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
43849 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
43850 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
43852 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
43853 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
43855 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
43856 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
43858 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
43859 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
43861 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
43862 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
43864 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
43865 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
43867 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
43868 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
43870 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
43871 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
43873 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
43874 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
43876 static void *_p_wxWindowTo_p_wxObject(void *x
) {
43877 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
43879 static void *_p_wxMenuTo_p_wxObject(void *x
) {
43880 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
43882 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
43883 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
43885 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
43886 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
43888 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
43889 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
43891 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
43892 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
43894 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
43895 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
43897 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
43898 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
43900 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
43901 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
43903 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
43904 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
43906 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
43907 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
43909 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
43910 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
43912 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
43913 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
43915 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
43916 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
43918 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
43919 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
43921 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
43922 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
43924 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
43925 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
43927 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
43928 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
43930 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
43931 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
43933 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
43934 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
43936 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
43937 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
43939 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
43940 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
43942 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
43943 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
43945 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
43946 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
43948 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
43949 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
43951 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
43952 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
43954 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
43955 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
43957 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
43958 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
43960 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
43961 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
43963 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
43964 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
43966 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
43967 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
43969 static void *_p_wxControlTo_p_wxWindow(void *x
) {
43970 return (void *)((wxWindow
*) ((wxControl
*) x
));
43972 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
43973 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
43975 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
43976 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
43978 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
43979 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
43981 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
43982 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
43984 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
43985 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
43987 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
43988 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
43990 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
43991 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
43993 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
43994 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
43996 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
43997 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
43999 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
44000 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
44002 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
44003 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
44005 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
44006 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
44008 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
44009 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
44011 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
44012 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
44014 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
44015 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
44017 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
44018 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
44020 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
44021 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
44023 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
44024 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
44026 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
44027 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
44029 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
44030 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
44032 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
44033 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
44035 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
44036 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
44038 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
44039 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
44041 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
44042 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
44044 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
44045 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
44047 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
44048 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
44050 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
44051 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
44053 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
44054 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
44056 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
44057 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
44059 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
44060 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
44062 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
44063 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
44065 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
44066 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
44068 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
44069 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
44071 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
44072 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
44074 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
44075 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
44077 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
44078 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
44080 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
44081 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
44083 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
44084 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
44086 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
44087 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
44089 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
44090 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
44092 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
44093 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
44095 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
44096 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
44098 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
44099 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
44101 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
44102 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
44104 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
44105 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
44107 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
44108 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
44110 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
44111 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
44113 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
44114 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
44116 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
44117 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
44119 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
44120 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
44122 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
44123 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
44125 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
44126 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
44128 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
44129 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
44131 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
44132 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
44134 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
44135 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
44137 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
44138 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
44140 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
44141 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
44143 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
44144 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
44146 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
44147 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
44149 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
44150 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
44152 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
44153 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
44155 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
44156 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
44158 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
44159 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
44161 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
44162 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
44164 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
44165 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
44167 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
44168 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
44170 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
44171 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
44172 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};
44173 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
44174 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
44175 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
44176 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
44177 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
44178 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
44179 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
44180 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
44181 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
44182 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
44183 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
44184 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
44185 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
44186 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
44187 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
44188 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
44189 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
44190 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
44191 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
44192 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
44193 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
44194 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
44195 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
44196 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
44197 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
44198 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
44199 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
44200 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
44201 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
44202 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
44203 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
44204 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
44205 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
44206 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
44207 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
44208 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
44209 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
44210 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
44211 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
44212 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
44213 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
44214 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
44215 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
44216 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
44217 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
44218 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
44219 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
44220 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
44221 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
44222 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
44223 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
44224 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
44225 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
44226 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
44227 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
44228 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
44229 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
44230 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
44231 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
44232 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
44233 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
44234 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
44235 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
44236 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
44237 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
44238 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
44239 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
44240 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
44241 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
44242 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
44243 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
44244 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
44245 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
44246 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
44247 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
44248 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
44249 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
44250 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
44251 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
44252 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
44253 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
44254 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
44255 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
44256 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
44257 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
44258 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
44259 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
44260 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
44261 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
44262 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
44263 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
44264 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
44265 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
44266 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
44267 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
44268 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
44269 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
44270 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
44271 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
44272 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
44273 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
44274 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
44275 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
44276 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
44277 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
44278 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
44279 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
44280 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
44281 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
44282 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
44283 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
44284 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
44285 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
44286 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
44287 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
44288 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
44289 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
44290 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
44291 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
44292 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
44293 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
44294 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
44295 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
44296 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
44297 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
44298 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
44299 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
44300 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
44301 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
44302 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
44303 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
44304 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
44305 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
44306 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
44307 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
44308 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
44309 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
44310 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
44311 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
44312 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
44313 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
44314 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
44315 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
44316 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
44317 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
44318 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
44319 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
44320 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
44321 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
44322 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
44323 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
44324 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
44325 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
44326 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
44327 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
44328 static swig_type_info _swigt__p_wxTreeCtrl
= {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
44329 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
44330 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
44331 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
44332 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
44333 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
44334 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
44335 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
44337 static swig_type_info
*swig_type_initial
[] = {
44340 &_swigt__p_form_ops_t
,
44343 &_swigt__p_unsigned_char
,
44344 &_swigt__p_unsigned_int
,
44345 &_swigt__p_unsigned_long
,
44347 &_swigt__p_wxANIHandler
,
44348 &_swigt__p_wxAcceleratorTable
,
44349 &_swigt__p_wxActivateEvent
,
44350 &_swigt__p_wxArrayInt
,
44351 &_swigt__p_wxArrayString
,
44352 &_swigt__p_wxBMPHandler
,
44353 &_swigt__p_wxBitmap
,
44354 &_swigt__p_wxBitmapButton
,
44355 &_swigt__p_wxBookCtrlBase
,
44356 &_swigt__p_wxBookCtrlBaseEvent
,
44357 &_swigt__p_wxBoxSizer
,
44358 &_swigt__p_wxButton
,
44359 &_swigt__p_wxCURHandler
,
44360 &_swigt__p_wxCheckBox
,
44361 &_swigt__p_wxCheckListBox
,
44362 &_swigt__p_wxChildFocusEvent
,
44363 &_swigt__p_wxChoice
,
44364 &_swigt__p_wxChoicebook
,
44365 &_swigt__p_wxChoicebookEvent
,
44366 &_swigt__p_wxClipboardTextEvent
,
44367 &_swigt__p_wxCloseEvent
,
44368 &_swigt__p_wxColour
,
44369 &_swigt__p_wxComboBox
,
44370 &_swigt__p_wxCommandEvent
,
44371 &_swigt__p_wxContextHelp
,
44372 &_swigt__p_wxContextHelpButton
,
44373 &_swigt__p_wxContextMenuEvent
,
44374 &_swigt__p_wxControl
,
44375 &_swigt__p_wxControlWithItems
,
44376 &_swigt__p_wxCursor
,
44378 &_swigt__p_wxDateEvent
,
44379 &_swigt__p_wxDatePickerCtrl
,
44380 &_swigt__p_wxDateTime
,
44381 &_swigt__p_wxDirFilterListCtrl
,
44382 &_swigt__p_wxDisplayChangedEvent
,
44383 &_swigt__p_wxDropFilesEvent
,
44384 &_swigt__p_wxDuplexMode
,
44385 &_swigt__p_wxEraseEvent
,
44386 &_swigt__p_wxEvent
,
44387 &_swigt__p_wxEvtHandler
,
44388 &_swigt__p_wxFSFile
,
44389 &_swigt__p_wxFileSystem
,
44390 &_swigt__p_wxFlexGridSizer
,
44391 &_swigt__p_wxFocusEvent
,
44393 &_swigt__p_wxGBSizerItem
,
44394 &_swigt__p_wxGIFHandler
,
44395 &_swigt__p_wxGauge
,
44396 &_swigt__p_wxGenericDirCtrl
,
44397 &_swigt__p_wxGenericDragImage
,
44398 &_swigt__p_wxGridBagSizer
,
44399 &_swigt__p_wxGridSizer
,
44400 &_swigt__p_wxHelpEvent
,
44401 &_swigt__p_wxHelpProvider
,
44402 &_swigt__p_wxHyperlinkCtrl
,
44403 &_swigt__p_wxHyperlinkEvent
,
44404 &_swigt__p_wxICOHandler
,
44406 &_swigt__p_wxIconizeEvent
,
44407 &_swigt__p_wxIdleEvent
,
44408 &_swigt__p_wxImage
,
44409 &_swigt__p_wxImageHandler
,
44410 &_swigt__p_wxImageList
,
44411 &_swigt__p_wxIndividualLayoutConstraint
,
44412 &_swigt__p_wxInitDialogEvent
,
44413 &_swigt__p_wxItemContainer
,
44414 &_swigt__p_wxJPEGHandler
,
44415 &_swigt__p_wxKeyEvent
,
44416 &_swigt__p_wxLayoutConstraints
,
44417 &_swigt__p_wxListBox
,
44418 &_swigt__p_wxListEvent
,
44419 &_swigt__p_wxListItem
,
44420 &_swigt__p_wxListItemAttr
,
44421 &_swigt__p_wxListView
,
44422 &_swigt__p_wxListbook
,
44423 &_swigt__p_wxListbookEvent
,
44424 &_swigt__p_wxMaximizeEvent
,
44425 &_swigt__p_wxMemoryDC
,
44427 &_swigt__p_wxMenuBar
,
44428 &_swigt__p_wxMenuEvent
,
44429 &_swigt__p_wxMenuItem
,
44430 &_swigt__p_wxMouseCaptureChangedEvent
,
44431 &_swigt__p_wxMouseEvent
,
44432 &_swigt__p_wxMoveEvent
,
44433 &_swigt__p_wxNavigationKeyEvent
,
44434 &_swigt__p_wxNcPaintEvent
,
44435 &_swigt__p_wxNotebook
,
44436 &_swigt__p_wxNotebookEvent
,
44437 &_swigt__p_wxNotifyEvent
,
44438 &_swigt__p_wxObject
,
44439 &_swigt__p_wxPCXHandler
,
44440 &_swigt__p_wxPNGHandler
,
44441 &_swigt__p_wxPNMHandler
,
44442 &_swigt__p_wxPaintEvent
,
44443 &_swigt__p_wxPaletteChangedEvent
,
44444 &_swigt__p_wxPaperSize
,
44445 &_swigt__p_wxPoint
,
44446 &_swigt__p_wxPyApp
,
44447 &_swigt__p_wxPyCommandEvent
,
44448 &_swigt__p_wxPyControl
,
44449 &_swigt__p_wxPyEvent
,
44450 &_swigt__p_wxPyImageHandler
,
44451 &_swigt__p_wxPyListCtrl
,
44452 &_swigt__p_wxPySizer
,
44453 &_swigt__p_wxPyTreeCtrl
,
44454 &_swigt__p_wxPyTreeItemData
,
44455 &_swigt__p_wxPyValidator
,
44456 &_swigt__p_wxQueryNewPaletteEvent
,
44457 &_swigt__p_wxRadioBox
,
44458 &_swigt__p_wxRadioButton
,
44460 &_swigt__p_wxScrollBar
,
44461 &_swigt__p_wxScrollEvent
,
44462 &_swigt__p_wxScrollWinEvent
,
44463 &_swigt__p_wxSetCursorEvent
,
44464 &_swigt__p_wxShowEvent
,
44465 &_swigt__p_wxSimpleHelpProvider
,
44467 &_swigt__p_wxSizeEvent
,
44468 &_swigt__p_wxSizer
,
44469 &_swigt__p_wxSizerItem
,
44470 &_swigt__p_wxSlider
,
44471 &_swigt__p_wxSpinButton
,
44472 &_swigt__p_wxSpinCtrl
,
44473 &_swigt__p_wxSpinEvent
,
44474 &_swigt__p_wxStaticBitmap
,
44475 &_swigt__p_wxStaticBox
,
44476 &_swigt__p_wxStaticBoxSizer
,
44477 &_swigt__p_wxStaticLine
,
44478 &_swigt__p_wxStaticText
,
44479 &_swigt__p_wxStdDialogButtonSizer
,
44480 &_swigt__p_wxString
,
44481 &_swigt__p_wxSysColourChangedEvent
,
44482 &_swigt__p_wxTIFFHandler
,
44483 &_swigt__p_wxTextAttr
,
44484 &_swigt__p_wxTextCtrl
,
44485 &_swigt__p_wxTextUrlEvent
,
44486 &_swigt__p_wxToggleButton
,
44487 &_swigt__p_wxToolBar
,
44488 &_swigt__p_wxToolBarBase
,
44489 &_swigt__p_wxToolBarToolBase
,
44490 &_swigt__p_wxToolbook
,
44491 &_swigt__p_wxToolbookEvent
,
44492 &_swigt__p_wxTreeCtrl
,
44493 &_swigt__p_wxTreeEvent
,
44494 &_swigt__p_wxTreeItemId
,
44495 &_swigt__p_wxTreebook
,
44496 &_swigt__p_wxTreebookEvent
,
44497 &_swigt__p_wxUpdateUIEvent
,
44498 &_swigt__p_wxValidator
,
44499 &_swigt__p_wxVisualAttributes
,
44500 &_swigt__p_wxWindow
,
44501 &_swigt__p_wxWindowCreateEvent
,
44502 &_swigt__p_wxWindowDestroyEvent
,
44503 &_swigt__p_wxXPMHandler
,
44506 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
44507 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
44508 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
44509 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
44510 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
44511 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
44512 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
44513 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
44514 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
44515 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
44516 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
44517 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
44518 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}};
44519 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}};
44520 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}};
44521 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}};
44522 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
44523 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
44524 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}};
44525 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
44526 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
44527 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
44528 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
44529 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
44530 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
44531 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
44532 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
44533 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
44534 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
44535 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
44536 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
44537 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
44538 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}};
44539 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
44540 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
44541 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}};
44542 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}};
44543 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
44544 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
44545 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
44546 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
44547 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
44548 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
44549 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
44550 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
44551 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
44552 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
44553 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
44554 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
44555 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
44556 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
44557 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
44558 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
44559 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
44560 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
44561 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
44562 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
44563 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
44564 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
44565 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
44566 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
44567 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
44568 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
44569 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
44570 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
44571 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
44572 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
44573 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}};
44574 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
44575 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
44576 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
44577 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
44578 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}};
44579 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
44580 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
44581 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
44582 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
44583 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
44584 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}};
44585 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
44586 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
44587 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
44588 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
44589 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}};
44590 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
44591 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}};
44592 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
44593 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
44594 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
44595 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
44596 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
44597 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
44598 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
44599 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
44600 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
44601 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
44602 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}};
44603 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
44604 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
44605 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
44606 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
44607 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
44608 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
44609 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
44610 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
44611 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
44612 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
44613 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
44614 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
44615 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
44616 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
44617 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
44618 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
44619 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
44620 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
44621 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
44622 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
44623 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
44624 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
44625 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
44626 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
44627 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
44628 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
44629 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
44630 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
44631 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
44632 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
44633 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}};
44634 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
44635 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
44636 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
44637 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}};
44638 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
44639 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
44640 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
44641 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
44642 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
44643 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
44644 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
44645 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
44646 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
44647 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
44648 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
44649 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
44650 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
44651 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
44652 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
44653 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
44654 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
44655 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
44656 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
44657 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
44658 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
44659 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
44660 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}};
44661 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
44662 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
44663 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
44664 static swig_cast_info _swigc__p_wxTreeCtrl
[] = { {&_swigt__p_wxTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
44665 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
44666 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
44667 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
44668 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
44669 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}};
44670 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
44671 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}};
44673 static swig_cast_info
*swig_cast_initial
[] = {
44676 _swigc__p_form_ops_t
,
44679 _swigc__p_unsigned_char
,
44680 _swigc__p_unsigned_int
,
44681 _swigc__p_unsigned_long
,
44683 _swigc__p_wxANIHandler
,
44684 _swigc__p_wxAcceleratorTable
,
44685 _swigc__p_wxActivateEvent
,
44686 _swigc__p_wxArrayInt
,
44687 _swigc__p_wxArrayString
,
44688 _swigc__p_wxBMPHandler
,
44689 _swigc__p_wxBitmap
,
44690 _swigc__p_wxBitmapButton
,
44691 _swigc__p_wxBookCtrlBase
,
44692 _swigc__p_wxBookCtrlBaseEvent
,
44693 _swigc__p_wxBoxSizer
,
44694 _swigc__p_wxButton
,
44695 _swigc__p_wxCURHandler
,
44696 _swigc__p_wxCheckBox
,
44697 _swigc__p_wxCheckListBox
,
44698 _swigc__p_wxChildFocusEvent
,
44699 _swigc__p_wxChoice
,
44700 _swigc__p_wxChoicebook
,
44701 _swigc__p_wxChoicebookEvent
,
44702 _swigc__p_wxClipboardTextEvent
,
44703 _swigc__p_wxCloseEvent
,
44704 _swigc__p_wxColour
,
44705 _swigc__p_wxComboBox
,
44706 _swigc__p_wxCommandEvent
,
44707 _swigc__p_wxContextHelp
,
44708 _swigc__p_wxContextHelpButton
,
44709 _swigc__p_wxContextMenuEvent
,
44710 _swigc__p_wxControl
,
44711 _swigc__p_wxControlWithItems
,
44712 _swigc__p_wxCursor
,
44714 _swigc__p_wxDateEvent
,
44715 _swigc__p_wxDatePickerCtrl
,
44716 _swigc__p_wxDateTime
,
44717 _swigc__p_wxDirFilterListCtrl
,
44718 _swigc__p_wxDisplayChangedEvent
,
44719 _swigc__p_wxDropFilesEvent
,
44720 _swigc__p_wxDuplexMode
,
44721 _swigc__p_wxEraseEvent
,
44723 _swigc__p_wxEvtHandler
,
44724 _swigc__p_wxFSFile
,
44725 _swigc__p_wxFileSystem
,
44726 _swigc__p_wxFlexGridSizer
,
44727 _swigc__p_wxFocusEvent
,
44729 _swigc__p_wxGBSizerItem
,
44730 _swigc__p_wxGIFHandler
,
44732 _swigc__p_wxGenericDirCtrl
,
44733 _swigc__p_wxGenericDragImage
,
44734 _swigc__p_wxGridBagSizer
,
44735 _swigc__p_wxGridSizer
,
44736 _swigc__p_wxHelpEvent
,
44737 _swigc__p_wxHelpProvider
,
44738 _swigc__p_wxHyperlinkCtrl
,
44739 _swigc__p_wxHyperlinkEvent
,
44740 _swigc__p_wxICOHandler
,
44742 _swigc__p_wxIconizeEvent
,
44743 _swigc__p_wxIdleEvent
,
44745 _swigc__p_wxImageHandler
,
44746 _swigc__p_wxImageList
,
44747 _swigc__p_wxIndividualLayoutConstraint
,
44748 _swigc__p_wxInitDialogEvent
,
44749 _swigc__p_wxItemContainer
,
44750 _swigc__p_wxJPEGHandler
,
44751 _swigc__p_wxKeyEvent
,
44752 _swigc__p_wxLayoutConstraints
,
44753 _swigc__p_wxListBox
,
44754 _swigc__p_wxListEvent
,
44755 _swigc__p_wxListItem
,
44756 _swigc__p_wxListItemAttr
,
44757 _swigc__p_wxListView
,
44758 _swigc__p_wxListbook
,
44759 _swigc__p_wxListbookEvent
,
44760 _swigc__p_wxMaximizeEvent
,
44761 _swigc__p_wxMemoryDC
,
44763 _swigc__p_wxMenuBar
,
44764 _swigc__p_wxMenuEvent
,
44765 _swigc__p_wxMenuItem
,
44766 _swigc__p_wxMouseCaptureChangedEvent
,
44767 _swigc__p_wxMouseEvent
,
44768 _swigc__p_wxMoveEvent
,
44769 _swigc__p_wxNavigationKeyEvent
,
44770 _swigc__p_wxNcPaintEvent
,
44771 _swigc__p_wxNotebook
,
44772 _swigc__p_wxNotebookEvent
,
44773 _swigc__p_wxNotifyEvent
,
44774 _swigc__p_wxObject
,
44775 _swigc__p_wxPCXHandler
,
44776 _swigc__p_wxPNGHandler
,
44777 _swigc__p_wxPNMHandler
,
44778 _swigc__p_wxPaintEvent
,
44779 _swigc__p_wxPaletteChangedEvent
,
44780 _swigc__p_wxPaperSize
,
44783 _swigc__p_wxPyCommandEvent
,
44784 _swigc__p_wxPyControl
,
44785 _swigc__p_wxPyEvent
,
44786 _swigc__p_wxPyImageHandler
,
44787 _swigc__p_wxPyListCtrl
,
44788 _swigc__p_wxPySizer
,
44789 _swigc__p_wxPyTreeCtrl
,
44790 _swigc__p_wxPyTreeItemData
,
44791 _swigc__p_wxPyValidator
,
44792 _swigc__p_wxQueryNewPaletteEvent
,
44793 _swigc__p_wxRadioBox
,
44794 _swigc__p_wxRadioButton
,
44796 _swigc__p_wxScrollBar
,
44797 _swigc__p_wxScrollEvent
,
44798 _swigc__p_wxScrollWinEvent
,
44799 _swigc__p_wxSetCursorEvent
,
44800 _swigc__p_wxShowEvent
,
44801 _swigc__p_wxSimpleHelpProvider
,
44803 _swigc__p_wxSizeEvent
,
44805 _swigc__p_wxSizerItem
,
44806 _swigc__p_wxSlider
,
44807 _swigc__p_wxSpinButton
,
44808 _swigc__p_wxSpinCtrl
,
44809 _swigc__p_wxSpinEvent
,
44810 _swigc__p_wxStaticBitmap
,
44811 _swigc__p_wxStaticBox
,
44812 _swigc__p_wxStaticBoxSizer
,
44813 _swigc__p_wxStaticLine
,
44814 _swigc__p_wxStaticText
,
44815 _swigc__p_wxStdDialogButtonSizer
,
44816 _swigc__p_wxString
,
44817 _swigc__p_wxSysColourChangedEvent
,
44818 _swigc__p_wxTIFFHandler
,
44819 _swigc__p_wxTextAttr
,
44820 _swigc__p_wxTextCtrl
,
44821 _swigc__p_wxTextUrlEvent
,
44822 _swigc__p_wxToggleButton
,
44823 _swigc__p_wxToolBar
,
44824 _swigc__p_wxToolBarBase
,
44825 _swigc__p_wxToolBarToolBase
,
44826 _swigc__p_wxToolbook
,
44827 _swigc__p_wxToolbookEvent
,
44828 _swigc__p_wxTreeCtrl
,
44829 _swigc__p_wxTreeEvent
,
44830 _swigc__p_wxTreeItemId
,
44831 _swigc__p_wxTreebook
,
44832 _swigc__p_wxTreebookEvent
,
44833 _swigc__p_wxUpdateUIEvent
,
44834 _swigc__p_wxValidator
,
44835 _swigc__p_wxVisualAttributes
,
44836 _swigc__p_wxWindow
,
44837 _swigc__p_wxWindowCreateEvent
,
44838 _swigc__p_wxWindowDestroyEvent
,
44839 _swigc__p_wxXPMHandler
,
44843 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
44845 static swig_const_info swig_const_table
[] = {
44846 {0, 0, 0, 0.0, 0, 0}};
44851 /* -----------------------------------------------------------------------------
44852 * Type initialization:
44853 * This problem is tough by the requirement that no dynamic
44854 * memory is used. Also, since swig_type_info structures store pointers to
44855 * swig_cast_info structures and swig_cast_info structures store pointers back
44856 * to swig_type_info structures, we need some lookup code at initialization.
44857 * The idea is that swig generates all the structures that are needed.
44858 * The runtime then collects these partially filled structures.
44859 * The SWIG_InitializeModule function takes these initial arrays out of
44860 * swig_module, and does all the lookup, filling in the swig_module.types
44861 * array with the correct data and linking the correct swig_cast_info
44862 * structures together.
44864 * The generated swig_type_info structures are assigned staticly to an initial
44865 * array. We just loop though that array, and handle each type individually.
44866 * First we lookup if this type has been already loaded, and if so, use the
44867 * loaded structure instead of the generated one. Then we have to fill in the
44868 * cast linked list. The cast data is initially stored in something like a
44869 * two-dimensional array. Each row corresponds to a type (there are the same
44870 * number of rows as there are in the swig_type_initial array). Each entry in
44871 * a column is one of the swig_cast_info structures for that type.
44872 * The cast_initial array is actually an array of arrays, because each row has
44873 * a variable number of columns. So to actually build the cast linked list,
44874 * we find the array of casts associated with the type, and loop through it
44875 * adding the casts to the list. The one last trick we need to do is making
44876 * sure the type pointer in the swig_cast_info struct is correct.
44878 * First off, we lookup the cast->type name to see if it is already loaded.
44879 * There are three cases to handle:
44880 * 1) If the cast->type has already been loaded AND the type we are adding
44881 * casting info to has not been loaded (it is in this module), THEN we
44882 * replace the cast->type pointer with the type pointer that has already
44884 * 2) If BOTH types (the one we are adding casting info to, and the
44885 * cast->type) are loaded, THEN the cast info has already been loaded by
44886 * the previous module so we just ignore it.
44887 * 3) Finally, if cast->type has not already been loaded, then we add that
44888 * swig_cast_info to the linked list (because the cast->type) pointer will
44890 * ----------------------------------------------------------------------------- */
44900 #define SWIGRUNTIME_DEBUG
44904 SWIG_InitializeModule(void *clientdata
) {
44906 swig_module_info
*module_head
;
44907 static int init_run
= 0;
44909 clientdata
= clientdata
;
44911 if (init_run
) return;
44914 /* Initialize the swig_module */
44915 swig_module
.type_initial
= swig_type_initial
;
44916 swig_module
.cast_initial
= swig_cast_initial
;
44918 /* Try and load any already created modules */
44919 module_head
= SWIG_GetModule(clientdata
);
44921 swig_module
.next
= module_head
->next
;
44922 module_head
->next
= &swig_module
;
44924 /* This is the first module loaded */
44925 swig_module
.next
= &swig_module
;
44926 SWIG_SetModule(clientdata
, &swig_module
);
44929 /* Now work on filling in swig_module.types */
44930 #ifdef SWIGRUNTIME_DEBUG
44931 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
44933 for (i
= 0; i
< swig_module
.size
; ++i
) {
44934 swig_type_info
*type
= 0;
44935 swig_type_info
*ret
;
44936 swig_cast_info
*cast
;
44938 #ifdef SWIGRUNTIME_DEBUG
44939 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
44942 /* if there is another module already loaded */
44943 if (swig_module
.next
!= &swig_module
) {
44944 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
44947 /* Overwrite clientdata field */
44948 #ifdef SWIGRUNTIME_DEBUG
44949 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
44951 if (swig_module
.type_initial
[i
]->clientdata
) {
44952 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
44953 #ifdef SWIGRUNTIME_DEBUG
44954 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
44958 type
= swig_module
.type_initial
[i
];
44961 /* Insert casting types */
44962 cast
= swig_module
.cast_initial
[i
];
44963 while (cast
->type
) {
44964 /* Don't need to add information already in the list */
44966 #ifdef SWIGRUNTIME_DEBUG
44967 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
44969 if (swig_module
.next
!= &swig_module
) {
44970 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
44971 #ifdef SWIGRUNTIME_DEBUG
44972 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
44976 if (type
== swig_module
.type_initial
[i
]) {
44977 #ifdef SWIGRUNTIME_DEBUG
44978 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
44983 /* Check for casting already in the list */
44984 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
44985 #ifdef SWIGRUNTIME_DEBUG
44986 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
44988 if (!ocast
) ret
= 0;
44993 #ifdef SWIGRUNTIME_DEBUG
44994 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
44997 type
->cast
->prev
= cast
;
44998 cast
->next
= type
->cast
;
45004 /* Set entry in modules->types array equal to the type */
45005 swig_module
.types
[i
] = type
;
45007 swig_module
.types
[i
] = 0;
45009 #ifdef SWIGRUNTIME_DEBUG
45010 printf("**** SWIG_InitializeModule: Cast List ******\n");
45011 for (i
= 0; i
< swig_module
.size
; ++i
) {
45013 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
45014 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
45015 while (cast
->type
) {
45016 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
45020 printf("---- Total casts: %d\n",j
);
45022 printf("**** SWIG_InitializeModule: Cast List ******\n");
45026 /* This function will propagate the clientdata field of type to
45027 * any new swig_type_info structures that have been added into the list
45028 * of equivalent types. It is like calling
45029 * SWIG_TypeClientData(type, clientdata) a second time.
45032 SWIG_PropagateClientData(void) {
45034 swig_cast_info
*equiv
;
45035 static int init_run
= 0;
45037 if (init_run
) return;
45040 for (i
= 0; i
< swig_module
.size
; i
++) {
45041 if (swig_module
.types
[i
]->clientdata
) {
45042 equiv
= swig_module
.types
[i
]->cast
;
45044 if (!equiv
->converter
) {
45045 if (equiv
->type
&& !equiv
->type
->clientdata
)
45046 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
45048 equiv
= equiv
->next
;
45068 /* Python-specific SWIG API */
45069 #define SWIG_newvarlink() SWIG_Python_newvarlink()
45070 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
45071 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
45073 /* -----------------------------------------------------------------------------
45074 * global variable support code.
45075 * ----------------------------------------------------------------------------- */
45077 typedef struct swig_globalvar
{
45078 char *name
; /* Name of global variable */
45079 PyObject
*(*get_attr
)(void); /* Return the current value */
45080 int (*set_attr
)(PyObject
*); /* Set the value */
45081 struct swig_globalvar
*next
;
45084 typedef struct swig_varlinkobject
{
45086 swig_globalvar
*vars
;
45087 } swig_varlinkobject
;
45089 SWIGINTERN PyObject
*
45090 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
45091 return PyString_FromString("<Swig global variables>");
45094 SWIGINTERN PyObject
*
45095 swig_varlink_str(swig_varlinkobject
*v
) {
45096 PyObject
*str
= PyString_FromString("(");
45097 swig_globalvar
*var
;
45098 for (var
= v
->vars
; var
; var
=var
->next
) {
45099 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
45100 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
45102 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
45107 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
45108 PyObject
*str
= swig_varlink_str(v
);
45109 fprintf(fp
,"Swig global variables ");
45110 fprintf(fp
,"%s\n", PyString_AsString(str
));
45116 swig_varlink_dealloc(swig_varlinkobject
*v
) {
45117 swig_globalvar
*var
= v
->vars
;
45119 swig_globalvar
*n
= var
->next
;
45126 SWIGINTERN PyObject
*
45127 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
45128 PyObject
*res
= NULL
;
45129 swig_globalvar
*var
= v
->vars
;
45131 if (strcmp(var
->name
,n
) == 0) {
45132 res
= (*var
->get_attr
)();
45137 if (res
== NULL
&& !PyErr_Occurred()) {
45138 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
45144 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
45146 swig_globalvar
*var
= v
->vars
;
45148 if (strcmp(var
->name
,n
) == 0) {
45149 res
= (*var
->set_attr
)(p
);
45154 if (res
== 1 && !PyErr_Occurred()) {
45155 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
45160 SWIGINTERN PyTypeObject
*
45161 swig_varlink_type(void) {
45162 static char varlink__doc__
[] = "Swig var link object";
45163 static PyTypeObject varlink_type
;
45164 static int type_init
= 0;
45166 const PyTypeObject tmp
45168 PyObject_HEAD_INIT(NULL
)
45169 0, /* Number of items in variable part (ob_size) */
45170 (char *)"swigvarlink", /* Type name (tp_name) */
45171 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
45172 0, /* Itemsize (tp_itemsize) */
45173 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
45174 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
45175 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
45176 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
45177 0, /* tp_compare */
45178 (reprfunc
) swig_varlink_repr
, /* tp_repr */
45179 0, /* tp_as_number */
45180 0, /* tp_as_sequence */
45181 0, /* tp_as_mapping */
45184 (reprfunc
)swig_varlink_str
, /* tp_str */
45185 0, /* tp_getattro */
45186 0, /* tp_setattro */
45187 0, /* tp_as_buffer */
45189 varlink__doc__
, /* tp_doc */
45190 0, /* tp_traverse */
45192 0, /* tp_richcompare */
45193 0, /* tp_weaklistoffset */
45194 #if PY_VERSION_HEX >= 0x02020000
45195 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
45197 #if PY_VERSION_HEX >= 0x02030000
45200 #ifdef COUNT_ALLOCS
45201 0,0,0,0 /* tp_alloc -> tp_next */
45204 varlink_type
= tmp
;
45205 varlink_type
.ob_type
= &PyType_Type
;
45208 return &varlink_type
;
45211 /* Create a variable linking object for use later */
45212 SWIGINTERN PyObject
*
45213 SWIG_Python_newvarlink(void) {
45214 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
45218 return ((PyObject
*) result
);
45222 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
45223 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
45224 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
45226 size_t size
= strlen(name
)+1;
45227 gv
->name
= (char *)malloc(size
);
45229 strncpy(gv
->name
,name
,size
);
45230 gv
->get_attr
= get_attr
;
45231 gv
->set_attr
= set_attr
;
45232 gv
->next
= v
->vars
;
45238 SWIGINTERN PyObject
*
45240 static PyObject
*_SWIG_globals
= 0;
45241 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
45242 return _SWIG_globals
;
45245 /* -----------------------------------------------------------------------------
45246 * constants/methods manipulation
45247 * ----------------------------------------------------------------------------- */
45249 /* Install Constants */
45251 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
45254 for (i
= 0; constants
[i
].type
; ++i
) {
45255 switch(constants
[i
].type
) {
45256 case SWIG_PY_POINTER
:
45257 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
45259 case SWIG_PY_BINARY
:
45260 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
45267 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
45273 /* -----------------------------------------------------------------------------*/
45274 /* Fix SwigMethods to carry the callback ptrs when needed */
45275 /* -----------------------------------------------------------------------------*/
45278 SWIG_Python_FixMethods(PyMethodDef
*methods
,
45279 swig_const_info
*const_table
,
45280 swig_type_info
**types
,
45281 swig_type_info
**types_initial
) {
45283 for (i
= 0; methods
[i
].ml_name
; ++i
) {
45284 char *c
= methods
[i
].ml_doc
;
45285 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
45287 swig_const_info
*ci
= 0;
45288 char *name
= c
+ 10;
45289 for (j
= 0; const_table
[j
].type
; ++j
) {
45290 if (strncmp(const_table
[j
].name
, name
,
45291 strlen(const_table
[j
].name
)) == 0) {
45292 ci
= &(const_table
[j
]);
45297 size_t shift
= (ci
->ptype
) - types
;
45298 swig_type_info
*ty
= types_initial
[shift
];
45299 size_t ldoc
= (c
- methods
[i
].ml_doc
);
45300 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
45301 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
45304 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
45306 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
45308 strncpy(buff
, "swig_ptr: ", 10);
45310 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
45311 methods
[i
].ml_doc
= ndoc
;
45323 /* -----------------------------------------------------------------------------*
45324 * Partial Init method
45325 * -----------------------------------------------------------------------------*/
45330 SWIGEXPORT
void SWIG_init(void) {
45333 /* Fix SwigMethods to carry the callback ptrs when needed */
45334 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
45336 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
45337 d
= PyModule_GetDict(m
);
45339 SWIG_InitializeModule(0);
45340 SWIG_InstallConstants(d
,swig_const_table
);
45343 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
45344 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
45345 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
45346 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
45347 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
45348 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
45349 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
45350 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
45351 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
45352 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
45353 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
45354 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
45355 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
45356 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
45357 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
45358 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
45359 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
45360 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
45361 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
45362 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
45363 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
45364 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
45365 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
45366 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
45367 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
45368 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
45369 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
45370 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
45371 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
45372 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
45373 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
45374 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
45375 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
45376 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
45377 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
45378 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
45379 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
45380 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
45381 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
45382 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
45383 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
45384 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
45385 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
45386 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
45387 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
45388 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
45389 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
45390 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
45391 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
45392 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
45393 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
45394 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
45395 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
45396 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
45397 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
45398 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
45399 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
45400 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
45401 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
45402 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
45403 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
45404 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
45405 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
45406 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
45407 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
45408 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
45409 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
45410 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
45411 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
45412 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
45413 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
45414 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
45415 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
45416 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
45417 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
45418 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
45419 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
45420 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
45421 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
45422 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
45423 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
45424 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
45425 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
45426 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
45427 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
45428 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
45429 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
45430 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
45431 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
45432 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
45433 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
45434 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
45435 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
45436 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
45437 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
45438 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
45439 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
45440 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
45441 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
45442 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
45443 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
45444 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
45445 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
45446 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
45447 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
45448 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
45449 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
45450 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
45451 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
45452 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
45453 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
45454 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
45455 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
45456 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
45457 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
45458 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
45459 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
45460 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
45461 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
45462 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
45463 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
45464 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
45465 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
45466 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
45467 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
45468 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
45469 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
45470 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
45471 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
45472 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
45473 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
45474 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
45475 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
45476 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
45477 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
45478 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
45479 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
45480 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
45481 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
45482 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
45483 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
45484 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
45485 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
45486 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
45487 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
45488 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
45489 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
45490 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
45491 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
45492 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
45493 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
45494 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
45495 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
45496 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
45497 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
45498 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
45499 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
45500 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
45501 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
45502 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
45503 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
45504 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
45505 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
45506 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
45507 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
45508 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
45509 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
45510 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
45511 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
45512 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
45513 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
45514 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
45515 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
45516 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
45517 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
45518 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
45519 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
45520 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
45521 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
45522 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
45523 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
45524 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
45525 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
45526 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
45527 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
45528 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
45529 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
45530 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
45531 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
45532 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
45533 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
45534 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
45535 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
45536 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
45537 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
45538 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
45539 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
45540 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
45541 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
45542 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
45543 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
45544 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
45545 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
45546 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
45547 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
45548 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
45549 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
45550 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
45551 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
45552 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
45553 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
45554 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
45555 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
45556 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
45557 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
45558 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
45559 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
45560 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
45561 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
45562 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
45563 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
45564 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
45565 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
45566 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
45567 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
45568 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
45569 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
45570 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
45571 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
45572 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
45573 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
45574 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
45575 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
45576 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
45577 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
45578 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
45579 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
45580 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
45581 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
45582 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
45583 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
45584 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
45585 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
45586 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
45587 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
45588 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
45589 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
45590 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
45591 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
45593 // Map renamed classes back to their common name for OOR
45594 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
45596 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
45597 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
45598 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
45599 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
45600 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
45601 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
45602 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
45603 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
45604 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
45605 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
45606 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
45607 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
45608 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
45609 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
45610 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
45611 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
45612 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
45613 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
45614 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
45615 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
45616 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
45617 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
45618 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
45619 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
45620 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
45621 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
45622 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
45623 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
45624 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
45625 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
45626 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
45627 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
45628 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
45629 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
45630 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
45631 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
45632 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
45633 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
45634 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
45635 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
45636 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
45637 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
45638 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
45639 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
45640 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
45641 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
45642 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
45643 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
45644 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
45645 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
45646 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
45647 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
45648 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
45649 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
45650 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
45652 // Map renamed classes back to their common name for OOR
45653 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
45654 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
45656 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
45657 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
45658 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
45659 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
45660 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
45661 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
45662 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
45663 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
45664 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
45665 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
45666 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
45667 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
45668 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
45670 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
45672 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
45673 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
45674 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
45675 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
45676 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
45677 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
45678 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
45679 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
45680 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
45681 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));