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_wxICOHandler swig_types[64]
2527 #define SWIGTYPE_p_wxIcon swig_types[65]
2528 #define SWIGTYPE_p_wxIconizeEvent swig_types[66]
2529 #define SWIGTYPE_p_wxIdleEvent swig_types[67]
2530 #define SWIGTYPE_p_wxImage swig_types[68]
2531 #define SWIGTYPE_p_wxImageHandler swig_types[69]
2532 #define SWIGTYPE_p_wxImageList swig_types[70]
2533 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[71]
2534 #define SWIGTYPE_p_wxInitDialogEvent swig_types[72]
2535 #define SWIGTYPE_p_wxItemContainer swig_types[73]
2536 #define SWIGTYPE_p_wxJPEGHandler swig_types[74]
2537 #define SWIGTYPE_p_wxKeyEvent swig_types[75]
2538 #define SWIGTYPE_p_wxLayoutConstraints swig_types[76]
2539 #define SWIGTYPE_p_wxListBox swig_types[77]
2540 #define SWIGTYPE_p_wxListEvent swig_types[78]
2541 #define SWIGTYPE_p_wxListItem swig_types[79]
2542 #define SWIGTYPE_p_wxListItemAttr swig_types[80]
2543 #define SWIGTYPE_p_wxListView swig_types[81]
2544 #define SWIGTYPE_p_wxListbook swig_types[82]
2545 #define SWIGTYPE_p_wxListbookEvent swig_types[83]
2546 #define SWIGTYPE_p_wxMaximizeEvent swig_types[84]
2547 #define SWIGTYPE_p_wxMemoryDC swig_types[85]
2548 #define SWIGTYPE_p_wxMenu swig_types[86]
2549 #define SWIGTYPE_p_wxMenuBar swig_types[87]
2550 #define SWIGTYPE_p_wxMenuEvent swig_types[88]
2551 #define SWIGTYPE_p_wxMenuItem swig_types[89]
2552 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[90]
2553 #define SWIGTYPE_p_wxMouseEvent swig_types[91]
2554 #define SWIGTYPE_p_wxMoveEvent swig_types[92]
2555 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[93]
2556 #define SWIGTYPE_p_wxNcPaintEvent swig_types[94]
2557 #define SWIGTYPE_p_wxNotebook swig_types[95]
2558 #define SWIGTYPE_p_wxNotebookEvent swig_types[96]
2559 #define SWIGTYPE_p_wxNotifyEvent swig_types[97]
2560 #define SWIGTYPE_p_wxObject swig_types[98]
2561 #define SWIGTYPE_p_wxPCXHandler swig_types[99]
2562 #define SWIGTYPE_p_wxPNGHandler swig_types[100]
2563 #define SWIGTYPE_p_wxPNMHandler swig_types[101]
2564 #define SWIGTYPE_p_wxPaintEvent swig_types[102]
2565 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[103]
2566 #define SWIGTYPE_p_wxPaperSize swig_types[104]
2567 #define SWIGTYPE_p_wxPoint swig_types[105]
2568 #define SWIGTYPE_p_wxPyApp swig_types[106]
2569 #define SWIGTYPE_p_wxPyCommandEvent swig_types[107]
2570 #define SWIGTYPE_p_wxPyControl swig_types[108]
2571 #define SWIGTYPE_p_wxPyEvent swig_types[109]
2572 #define SWIGTYPE_p_wxPyImageHandler swig_types[110]
2573 #define SWIGTYPE_p_wxPyListCtrl swig_types[111]
2574 #define SWIGTYPE_p_wxPySizer swig_types[112]
2575 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[113]
2576 #define SWIGTYPE_p_wxPyTreeItemData swig_types[114]
2577 #define SWIGTYPE_p_wxPyValidator swig_types[115]
2578 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[116]
2579 #define SWIGTYPE_p_wxRadioBox swig_types[117]
2580 #define SWIGTYPE_p_wxRadioButton swig_types[118]
2581 #define SWIGTYPE_p_wxRect swig_types[119]
2582 #define SWIGTYPE_p_wxScrollBar swig_types[120]
2583 #define SWIGTYPE_p_wxScrollEvent swig_types[121]
2584 #define SWIGTYPE_p_wxScrollWinEvent swig_types[122]
2585 #define SWIGTYPE_p_wxSetCursorEvent swig_types[123]
2586 #define SWIGTYPE_p_wxShowEvent swig_types[124]
2587 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[125]
2588 #define SWIGTYPE_p_wxSize swig_types[126]
2589 #define SWIGTYPE_p_wxSizeEvent swig_types[127]
2590 #define SWIGTYPE_p_wxSizer swig_types[128]
2591 #define SWIGTYPE_p_wxSizerItem swig_types[129]
2592 #define SWIGTYPE_p_wxSlider swig_types[130]
2593 #define SWIGTYPE_p_wxSpinButton swig_types[131]
2594 #define SWIGTYPE_p_wxSpinCtrl swig_types[132]
2595 #define SWIGTYPE_p_wxSpinEvent swig_types[133]
2596 #define SWIGTYPE_p_wxStaticBitmap swig_types[134]
2597 #define SWIGTYPE_p_wxStaticBox swig_types[135]
2598 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[136]
2599 #define SWIGTYPE_p_wxStaticLine swig_types[137]
2600 #define SWIGTYPE_p_wxStaticText swig_types[138]
2601 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[139]
2602 #define SWIGTYPE_p_wxString swig_types[140]
2603 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[141]
2604 #define SWIGTYPE_p_wxTIFFHandler swig_types[142]
2605 #define SWIGTYPE_p_wxTextAttr swig_types[143]
2606 #define SWIGTYPE_p_wxTextCtrl swig_types[144]
2607 #define SWIGTYPE_p_wxTextUrlEvent swig_types[145]
2608 #define SWIGTYPE_p_wxToggleButton swig_types[146]
2609 #define SWIGTYPE_p_wxToolBar swig_types[147]
2610 #define SWIGTYPE_p_wxToolBarBase swig_types[148]
2611 #define SWIGTYPE_p_wxToolBarToolBase swig_types[149]
2612 #define SWIGTYPE_p_wxToolbook swig_types[150]
2613 #define SWIGTYPE_p_wxToolbookEvent swig_types[151]
2614 #define SWIGTYPE_p_wxTreeCtrl swig_types[152]
2615 #define SWIGTYPE_p_wxTreeEvent swig_types[153]
2616 #define SWIGTYPE_p_wxTreeItemId swig_types[154]
2617 #define SWIGTYPE_p_wxTreebook swig_types[155]
2618 #define SWIGTYPE_p_wxTreebookEvent swig_types[156]
2619 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[157]
2620 #define SWIGTYPE_p_wxValidator swig_types[158]
2621 #define SWIGTYPE_p_wxVisualAttributes swig_types[159]
2622 #define SWIGTYPE_p_wxWindow swig_types[160]
2623 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[161]
2624 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[162]
2625 #define SWIGTYPE_p_wxXPMHandler swig_types[163]
2626 static swig_type_info
*swig_types
[165];
2627 static swig_module_info swig_module
= {swig_types
, 164, 0, 0, 0, 0};
2628 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2629 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2631 /* -------- TYPES TABLE (END) -------- */
2633 #if (PY_VERSION_HEX <= 0x02000000)
2634 # if !defined(SWIG_PYTHON_CLASSIC)
2635 # error "This python version requires to use swig with the '-classic' option"
2638 #if (PY_VERSION_HEX <= 0x02020000)
2639 # error "This python version requires to use swig with the '-nomodern' option"
2641 #if (PY_VERSION_HEX <= 0x02020000)
2642 # error "This python version requires to use swig with the '-nomodernargs' option"
2645 # error "This python version requires to use swig with the '-nofastunpack' option"
2648 /*-----------------------------------------------
2649 @(target):= _controls_.so
2650 ------------------------------------------------*/
2651 #define SWIG_init init_controls_
2653 #define SWIG_name "_controls_"
2655 #define SWIGVERSION 0x010329
2658 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2659 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2662 #include <stdexcept>
2666 class PyObject_ptr
{
2671 PyObject_ptr() :_obj(0)
2675 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2680 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2682 if (initial_ref
) Py_XINCREF(_obj
);
2685 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2687 Py_XINCREF(item
._obj
);
2698 operator PyObject
*() const
2703 PyObject
*operator->() const
2712 struct PyObject_var
: PyObject_ptr
{
2713 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2715 PyObject_var
& operator = (PyObject
* obj
)
2725 #include "wx/wxPython/wxPython.h"
2726 #include "wx/wxPython/pyclasses.h"
2728 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2729 static const wxString
wxPyEmptyString(wxEmptyString
);
2730 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2732 const wxArrayString wxPyEmptyStringArray
;
2734 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2736 #define SWIG_From_long PyInt_FromLong
2739 SWIGINTERNINLINE PyObject
*
2740 SWIG_From_int (int value
)
2742 return SWIG_From_long (value
);
2748 # define LLONG_MIN LONG_LONG_MIN
2751 # define LLONG_MAX LONG_LONG_MAX
2754 # define ULLONG_MAX ULONG_LONG_MAX
2759 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2761 if (PyNumber_Check(obj
)) {
2762 if (val
) *val
= PyInt_AsLong(obj
);
2765 return SWIG_TypeError
;
2770 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2773 int res
= SWIG_AsVal_long (obj
, &v
);
2774 if (SWIG_IsOK(res
)) {
2775 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2776 return SWIG_OverflowError
;
2778 if (val
) *val
= static_cast< int >(v
);
2784 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2787 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2789 if (obj
== Py_True
) {
2790 if (val
) *val
= true;
2792 } else if (obj
== Py_False
) {
2793 if (val
) *val
= false;
2797 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2798 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2803 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2804 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2805 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2806 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2807 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2808 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2810 #include <wx/checklst.h>
2812 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2813 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2816 wxPyClientData
* data
= new wxPyClientData(clientData
);
2817 self
->Insert(item
, pos
, data
);
2820 self
->Insert(item
, pos
);
2824 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2827 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2828 return SWIG_TypeError
;
2831 *val
= (unsigned long)v
;
2837 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2840 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2841 if (SWIG_IsOK(res
)) {
2842 if ((v
> UINT_MAX
)) {
2843 return SWIG_OverflowError
;
2845 if (val
) *val
= static_cast< unsigned int >(v
);
2851 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2852 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2854 self
->GetSelections(lst
);
2855 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2856 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2858 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2860 wxPyEndBlockThreads(blocked
);
2863 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2865 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2866 self
->GetItem(item
)->SetTextColour(c
);
2869 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2871 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2872 self
->GetItem(item
)->SetBackgroundColour(c
);
2875 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2877 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2878 self
->GetItem(item
)->SetFont(f
);
2881 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2882 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2883 self
->AppendText(text
);
2885 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2886 return self
->GetValue().Mid(from
, to
- from
);
2888 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2889 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2890 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2891 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2892 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2894 SWIGINTERNINLINE PyObject
*
2895 SWIG_From_unsigned_SS_long (unsigned long value
)
2897 return (value
> LONG_MAX
) ?
2898 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2902 SWIGINTERNINLINE PyObject
*
2903 SWIG_From_size_t (size_t value
)
2905 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2909 SWIGINTERNINLINE PyObject
*
2910 SWIG_From_unsigned_SS_int (unsigned int value
)
2912 return SWIG_From_unsigned_SS_long (value
);
2916 #include <wx/slider.h>
2919 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2920 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2922 #if !wxUSE_TOGGLEBTN
2923 // implement dummy items for platforms that don't have this class
2925 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2927 class wxToggleButton
: public wxControl
2930 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2931 const wxPoint
&, const wxSize
&, long,
2932 const wxValidator
&, const wxString
&)
2933 { wxPyRaiseNotImplemented(); }
2936 { wxPyRaiseNotImplemented(); }
2940 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2942 SWIGINTERNINLINE
int
2943 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2946 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2947 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2951 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2952 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2953 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2955 Py_INCREF(udata
->m_obj
);
2956 return udata
->m_obj
;
2962 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2963 self
->SetClientData(new wxPyUserData(clientData
));
2965 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
){
2966 wxPyUserData
* udata
= NULL
;
2967 if (clientData
&& clientData
!= Py_None
)
2968 udata
= new wxPyUserData(clientData
);
2969 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2970 shortHelp
, longHelp
, udata
);
2972 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
){
2973 wxPyUserData
* udata
= NULL
;
2974 if (clientData
&& clientData
!= Py_None
)
2975 udata
= new wxPyUserData(clientData
);
2976 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2977 shortHelp
, longHelp
, udata
);
2979 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2980 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
2982 Py_INCREF(udata
->m_obj
);
2983 return udata
->m_obj
;
2989 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
2990 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
2993 #include <wx/listctrl.h>
2995 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
2996 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
2997 // Python aware sorting function for wxPyListCtrl
2998 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3000 PyObject
* func
= (PyObject
*)funcPtr
;
3001 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3003 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3004 PyObject
* result
= PyEval_CallObject(func
, args
);
3007 retval
= PyInt_AsLong(result
);
3011 wxPyEndBlockThreads(blocked
);
3015 // C++ Version of a Python aware class
3016 class wxPyListCtrl
: public wxListCtrl
{
3017 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3019 wxPyListCtrl() : wxListCtrl() {}
3020 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3024 const wxValidator
& validator
,
3025 const wxString
& name
) :
3026 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3028 bool Create(wxWindow
* parent
, wxWindowID id
,
3032 const wxValidator
& validator
,
3033 const wxString
& name
) {
3034 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3037 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3038 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3040 // use the virtual version to avoid a confusing assert in the base class
3041 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3042 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3047 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3049 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3050 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3051 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3052 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3055 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3057 item
.SetMask( wxLIST_MASK_STATE
|
3065 if (self
->GetColumn(col
, item
))
3066 return new wxListItem(item
);
3070 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3071 wxListItem
* info
= new wxListItem
;
3072 info
->m_itemId
= itemId
;
3074 info
->m_mask
= 0xFFFF;
3075 self
->GetItem(*info
);
3078 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3080 self
->GetItemPosition(item
, pos
);
3083 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3085 self
->GetItemRect(item
, rect
, code
);
3088 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3089 if (!PyCallable_Check(func
))
3091 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3093 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3097 return (wxWindow
*)self
->m_mainWin
;
3101 #include <wx/treectrl.h>
3102 #include "wx/wxPython/pytree.h"
3104 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3105 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3106 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3107 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3108 // C++ version of Python aware wxTreeCtrl
3109 class wxPyTreeCtrl
: public wxTreeCtrl
{
3110 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3112 wxPyTreeCtrl() : wxTreeCtrl() {}
3113 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3117 const wxValidator
& validator
,
3118 const wxString
& name
) :
3119 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3121 bool Create(wxWindow
*parent
, wxWindowID id
,
3125 const wxValidator
& validator
,
3126 const wxString
& name
) {
3127 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3131 int OnCompareItems(const wxTreeItemId
& item1
,
3132 const wxTreeItemId
& item2
) {
3135 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3136 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3137 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3138 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3139 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3143 wxPyEndBlockThreads(blocked
);
3145 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3151 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3154 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3155 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3157 data
= new wxPyTreeItemData();
3158 data
->SetId(item
); // set the id
3159 self
->SetItemData(item
, data
);
3163 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3164 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3166 data
= new wxPyTreeItemData();
3167 data
->SetId(item
); // set the id
3168 self
->SetItemData(item
, data
);
3170 return data
->GetData();
3172 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3173 data
->SetId(item
); // set the id
3174 self
->SetItemData(item
, data
);
3176 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3177 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3179 data
= new wxPyTreeItemData(obj
);
3180 data
->SetId(item
); // set the id
3181 self
->SetItemData(item
, data
);
3185 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3186 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3187 PyObject
* rval
= PyList_New(0);
3188 wxArrayTreeItemIds array
;
3190 num
= self
->GetSelections(array
);
3191 for (x
=0; x
< num
; x
++) {
3192 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3193 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3194 PyList_Append(rval
, item
);
3197 wxPyEndBlockThreads(blocked
);
3200 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3202 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3203 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3204 PyObject
* tup
= PyTuple_New(2);
3205 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3206 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3207 wxPyEndBlockThreads(blocked
);
3210 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3211 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3212 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3213 PyObject
* tup
= PyTuple_New(2);
3214 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3215 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3216 wxPyEndBlockThreads(blocked
);
3219 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3221 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3222 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3223 wxRect
* r
= new wxRect(rect
);
3224 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3225 wxPyEndBlockThreads(blocked
);
3231 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3233 SWIGINTERNINLINE PyObject
*
3234 SWIG_From_bool (bool value
)
3236 return PyBool_FromLong(value
? 1 : 0);
3239 // C++ version of Python aware wxControl
3240 class wxPyControl
: public wxControl
3242 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3244 wxPyControl() : wxControl() {}
3245 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3246 const wxPoint
& pos
= wxDefaultPosition
,
3247 const wxSize
& size
= wxDefaultSize
,
3249 const wxValidator
& validator
=wxDefaultValidator
,
3250 const wxString
& name
= wxPyControlNameStr
)
3251 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3253 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
3255 bool DoEraseBackground(wxDC
* dc
) {
3257 return wxWindow::DoEraseBackground(dc
->GetHDC());
3259 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3265 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3266 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3267 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3268 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3270 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3271 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3272 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3274 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3275 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3277 DEC_PYCALLBACK__(InitDialog
);
3278 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3279 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3280 DEC_PYCALLBACK_BOOL_(Validate
);
3282 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3283 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3284 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3286 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3287 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3289 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3290 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3292 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3294 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3299 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3301 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3302 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3303 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3304 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3306 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3307 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3308 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3310 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3311 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3313 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3314 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3315 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3316 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3318 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3319 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3320 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3322 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3323 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3325 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3326 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3328 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3330 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3334 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3336 #include <wx/generic/dragimgg.h>
3338 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3339 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3341 self
->GetRange(&rv
, NULL
);
3344 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3346 self
->GetRange(NULL
, &rv
);
3352 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3353 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3358 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3359 PyObject
*pyobj
= 0;
3363 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3365 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3372 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3373 PyObject
*resultobj
= 0;
3374 wxWindow
*arg1
= (wxWindow
*) 0 ;
3375 int arg2
= (int) -1 ;
3376 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3377 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3378 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3379 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3380 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3381 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3382 long arg6
= (long) 0 ;
3383 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3384 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3385 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3386 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3387 wxButton
*result
= 0 ;
3392 bool temp3
= false ;
3399 bool temp8
= false ;
3400 PyObject
* obj0
= 0 ;
3401 PyObject
* obj1
= 0 ;
3402 PyObject
* obj2
= 0 ;
3403 PyObject
* obj3
= 0 ;
3404 PyObject
* obj4
= 0 ;
3405 PyObject
* obj5
= 0 ;
3406 PyObject
* obj6
= 0 ;
3407 PyObject
* obj7
= 0 ;
3408 char * kwnames
[] = {
3409 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3414 if (!SWIG_IsOK(res1
)) {
3415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3417 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3420 if (!SWIG_IsOK(ecode2
)) {
3421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3423 arg2
= static_cast< int >(val2
);
3427 arg3
= wxString_in_helper(obj2
);
3428 if (arg3
== NULL
) SWIG_fail
;
3435 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3441 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3445 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3446 if (!SWIG_IsOK(ecode6
)) {
3447 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3449 arg6
= static_cast< long >(val6
);
3452 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3453 if (!SWIG_IsOK(res7
)) {
3454 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3457 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3459 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3463 arg8
= wxString_in_helper(obj7
);
3464 if (arg8
== NULL
) SWIG_fail
;
3469 if (!wxPyCheckForApp()) SWIG_fail
;
3470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3471 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3472 wxPyEndAllowThreads(__tstate
);
3473 if (PyErr_Occurred()) SWIG_fail
;
3475 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3498 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3499 PyObject
*resultobj
= 0;
3500 wxButton
*result
= 0 ;
3502 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3504 if (!wxPyCheckForApp()) SWIG_fail
;
3505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3506 result
= (wxButton
*)new wxButton();
3507 wxPyEndAllowThreads(__tstate
);
3508 if (PyErr_Occurred()) SWIG_fail
;
3510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3517 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3518 PyObject
*resultobj
= 0;
3519 wxButton
*arg1
= (wxButton
*) 0 ;
3520 wxWindow
*arg2
= (wxWindow
*) 0 ;
3521 int arg3
= (int) -1 ;
3522 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3523 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3524 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3525 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3526 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3527 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3528 long arg7
= (long) 0 ;
3529 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3530 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3531 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3532 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3540 bool temp4
= false ;
3547 bool temp9
= false ;
3548 PyObject
* obj0
= 0 ;
3549 PyObject
* obj1
= 0 ;
3550 PyObject
* obj2
= 0 ;
3551 PyObject
* obj3
= 0 ;
3552 PyObject
* obj4
= 0 ;
3553 PyObject
* obj5
= 0 ;
3554 PyObject
* obj6
= 0 ;
3555 PyObject
* obj7
= 0 ;
3556 PyObject
* obj8
= 0 ;
3557 char * kwnames
[] = {
3558 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3563 if (!SWIG_IsOK(res1
)) {
3564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3566 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3567 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3568 if (!SWIG_IsOK(res2
)) {
3569 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3571 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3573 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3574 if (!SWIG_IsOK(ecode3
)) {
3575 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3577 arg3
= static_cast< int >(val3
);
3581 arg4
= wxString_in_helper(obj3
);
3582 if (arg4
== NULL
) SWIG_fail
;
3589 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3595 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3599 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3600 if (!SWIG_IsOK(ecode7
)) {
3601 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3603 arg7
= static_cast< long >(val7
);
3606 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3607 if (!SWIG_IsOK(res8
)) {
3608 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3611 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3613 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3617 arg9
= wxString_in_helper(obj8
);
3618 if (arg9
== NULL
) SWIG_fail
;
3623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3624 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3625 wxPyEndAllowThreads(__tstate
);
3626 if (PyErr_Occurred()) SWIG_fail
;
3629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3653 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3654 PyObject
*resultobj
= 0;
3655 wxButton
*arg1
= (wxButton
*) 0 ;
3658 PyObject
*swig_obj
[1] ;
3660 if (!args
) SWIG_fail
;
3662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3663 if (!SWIG_IsOK(res1
)) {
3664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3666 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3669 (arg1
)->SetDefault();
3670 wxPyEndAllowThreads(__tstate
);
3671 if (PyErr_Occurred()) SWIG_fail
;
3673 resultobj
= SWIG_Py_Void();
3680 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3681 PyObject
*resultobj
= 0;
3684 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3687 result
= wxButton::GetDefaultSize();
3688 wxPyEndAllowThreads(__tstate
);
3689 if (PyErr_Occurred()) SWIG_fail
;
3691 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3698 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3699 PyObject
*resultobj
= 0;
3700 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3701 SwigValueWrapper
<wxVisualAttributes
> result
;
3704 PyObject
* obj0
= 0 ;
3705 char * kwnames
[] = {
3706 (char *) "variant", NULL
3709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3711 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3712 if (!SWIG_IsOK(ecode1
)) {
3713 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3715 arg1
= static_cast< wxWindowVariant
>(val1
);
3718 if (!wxPyCheckForApp()) SWIG_fail
;
3719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3720 result
= wxButton::GetClassDefaultAttributes(arg1
);
3721 wxPyEndAllowThreads(__tstate
);
3722 if (PyErr_Occurred()) SWIG_fail
;
3724 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3731 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3733 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3734 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3735 return SWIG_Py_Void();
3738 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3739 return SWIG_Python_InitShadowInstance(args
);
3742 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3743 PyObject
*resultobj
= 0;
3744 wxWindow
*arg1
= (wxWindow
*) 0 ;
3745 int arg2
= (int) -1 ;
3746 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3747 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3748 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3749 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3750 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3751 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3752 long arg6
= (long) wxBU_AUTODRAW
;
3753 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3754 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3755 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3756 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3757 wxBitmapButton
*result
= 0 ;
3770 bool temp8
= false ;
3771 PyObject
* obj0
= 0 ;
3772 PyObject
* obj1
= 0 ;
3773 PyObject
* obj2
= 0 ;
3774 PyObject
* obj3
= 0 ;
3775 PyObject
* obj4
= 0 ;
3776 PyObject
* obj5
= 0 ;
3777 PyObject
* obj6
= 0 ;
3778 PyObject
* obj7
= 0 ;
3779 char * kwnames
[] = {
3780 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3785 if (!SWIG_IsOK(res1
)) {
3786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3788 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3790 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3791 if (!SWIG_IsOK(ecode2
)) {
3792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3794 arg2
= static_cast< int >(val2
);
3797 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3798 if (!SWIG_IsOK(res3
)) {
3799 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3802 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3804 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3809 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3815 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3819 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3820 if (!SWIG_IsOK(ecode6
)) {
3821 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3823 arg6
= static_cast< long >(val6
);
3826 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3827 if (!SWIG_IsOK(res7
)) {
3828 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3831 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3833 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3837 arg8
= wxString_in_helper(obj7
);
3838 if (arg8
== NULL
) SWIG_fail
;
3843 if (!wxPyCheckForApp()) SWIG_fail
;
3844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3845 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3846 wxPyEndAllowThreads(__tstate
);
3847 if (PyErr_Occurred()) SWIG_fail
;
3849 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3864 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3865 PyObject
*resultobj
= 0;
3866 wxBitmapButton
*result
= 0 ;
3868 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3870 if (!wxPyCheckForApp()) SWIG_fail
;
3871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3872 result
= (wxBitmapButton
*)new wxBitmapButton();
3873 wxPyEndAllowThreads(__tstate
);
3874 if (PyErr_Occurred()) SWIG_fail
;
3876 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3883 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3884 PyObject
*resultobj
= 0;
3885 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3886 wxWindow
*arg2
= (wxWindow
*) 0 ;
3887 int arg3
= (int) -1 ;
3888 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3889 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3890 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3891 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3892 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3893 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3894 long arg7
= (long) wxBU_AUTODRAW
;
3895 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3896 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3897 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3898 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3914 bool temp9
= false ;
3915 PyObject
* obj0
= 0 ;
3916 PyObject
* obj1
= 0 ;
3917 PyObject
* obj2
= 0 ;
3918 PyObject
* obj3
= 0 ;
3919 PyObject
* obj4
= 0 ;
3920 PyObject
* obj5
= 0 ;
3921 PyObject
* obj6
= 0 ;
3922 PyObject
* obj7
= 0 ;
3923 PyObject
* obj8
= 0 ;
3924 char * kwnames
[] = {
3925 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3930 if (!SWIG_IsOK(res1
)) {
3931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3933 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3934 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3935 if (!SWIG_IsOK(res2
)) {
3936 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3938 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3940 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3941 if (!SWIG_IsOK(ecode3
)) {
3942 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3944 arg3
= static_cast< int >(val3
);
3947 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3948 if (!SWIG_IsOK(res4
)) {
3949 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3952 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3954 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3959 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3965 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3969 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3970 if (!SWIG_IsOK(ecode7
)) {
3971 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
3973 arg7
= static_cast< long >(val7
);
3976 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3977 if (!SWIG_IsOK(res8
)) {
3978 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3983 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3987 arg9
= wxString_in_helper(obj8
);
3988 if (arg9
== NULL
) SWIG_fail
;
3993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3994 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3995 wxPyEndAllowThreads(__tstate
);
3996 if (PyErr_Occurred()) SWIG_fail
;
3999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4015 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4016 PyObject
*resultobj
= 0;
4017 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4021 PyObject
*swig_obj
[1] ;
4023 if (!args
) SWIG_fail
;
4025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4026 if (!SWIG_IsOK(res1
)) {
4027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4029 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4032 result
= (arg1
)->GetBitmapLabel();
4033 wxPyEndAllowThreads(__tstate
);
4034 if (PyErr_Occurred()) SWIG_fail
;
4036 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4043 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4044 PyObject
*resultobj
= 0;
4045 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4049 PyObject
*swig_obj
[1] ;
4051 if (!args
) SWIG_fail
;
4053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4054 if (!SWIG_IsOK(res1
)) {
4055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4057 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4060 result
= (arg1
)->GetBitmapDisabled();
4061 wxPyEndAllowThreads(__tstate
);
4062 if (PyErr_Occurred()) SWIG_fail
;
4064 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4071 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4072 PyObject
*resultobj
= 0;
4073 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4077 PyObject
*swig_obj
[1] ;
4079 if (!args
) SWIG_fail
;
4081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4082 if (!SWIG_IsOK(res1
)) {
4083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4085 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4088 result
= (arg1
)->GetBitmapFocus();
4089 wxPyEndAllowThreads(__tstate
);
4090 if (PyErr_Occurred()) SWIG_fail
;
4092 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4099 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4100 PyObject
*resultobj
= 0;
4101 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4105 PyObject
*swig_obj
[1] ;
4107 if (!args
) SWIG_fail
;
4109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4110 if (!SWIG_IsOK(res1
)) {
4111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4113 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4116 result
= (arg1
)->GetBitmapSelected();
4117 wxPyEndAllowThreads(__tstate
);
4118 if (PyErr_Occurred()) SWIG_fail
;
4120 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4127 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4128 PyObject
*resultobj
= 0;
4129 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4133 PyObject
*swig_obj
[1] ;
4135 if (!args
) SWIG_fail
;
4137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4138 if (!SWIG_IsOK(res1
)) {
4139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4141 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4144 result
= (arg1
)->GetBitmapHover();
4145 wxPyEndAllowThreads(__tstate
);
4146 if (PyErr_Occurred()) SWIG_fail
;
4148 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4155 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4156 PyObject
*resultobj
= 0;
4157 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4158 wxBitmap
*arg2
= 0 ;
4163 PyObject
* obj0
= 0 ;
4164 PyObject
* obj1
= 0 ;
4165 char * kwnames
[] = {
4166 (char *) "self",(char *) "bitmap", NULL
4169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4171 if (!SWIG_IsOK(res1
)) {
4172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4174 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4175 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4176 if (!SWIG_IsOK(res2
)) {
4177 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4180 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4182 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4185 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4186 wxPyEndAllowThreads(__tstate
);
4187 if (PyErr_Occurred()) SWIG_fail
;
4189 resultobj
= SWIG_Py_Void();
4196 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4197 PyObject
*resultobj
= 0;
4198 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4199 wxBitmap
*arg2
= 0 ;
4204 PyObject
* obj0
= 0 ;
4205 PyObject
* obj1
= 0 ;
4206 char * kwnames
[] = {
4207 (char *) "self",(char *) "bitmap", NULL
4210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4212 if (!SWIG_IsOK(res1
)) {
4213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4215 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4216 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4217 if (!SWIG_IsOK(res2
)) {
4218 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4221 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4223 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4226 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4227 wxPyEndAllowThreads(__tstate
);
4228 if (PyErr_Occurred()) SWIG_fail
;
4230 resultobj
= SWIG_Py_Void();
4237 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4238 PyObject
*resultobj
= 0;
4239 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4240 wxBitmap
*arg2
= 0 ;
4245 PyObject
* obj0
= 0 ;
4246 PyObject
* obj1
= 0 ;
4247 char * kwnames
[] = {
4248 (char *) "self",(char *) "bitmap", NULL
4251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4253 if (!SWIG_IsOK(res1
)) {
4254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4256 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4257 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4258 if (!SWIG_IsOK(res2
)) {
4259 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4262 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4264 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4267 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4268 wxPyEndAllowThreads(__tstate
);
4269 if (PyErr_Occurred()) SWIG_fail
;
4271 resultobj
= SWIG_Py_Void();
4278 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4279 PyObject
*resultobj
= 0;
4280 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4281 wxBitmap
*arg2
= 0 ;
4286 PyObject
* obj0
= 0 ;
4287 PyObject
* obj1
= 0 ;
4288 char * kwnames
[] = {
4289 (char *) "self",(char *) "bitmap", NULL
4292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4294 if (!SWIG_IsOK(res1
)) {
4295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4297 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4298 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4299 if (!SWIG_IsOK(res2
)) {
4300 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4303 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4305 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4308 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4309 wxPyEndAllowThreads(__tstate
);
4310 if (PyErr_Occurred()) SWIG_fail
;
4312 resultobj
= SWIG_Py_Void();
4319 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4320 PyObject
*resultobj
= 0;
4321 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4322 wxBitmap
*arg2
= 0 ;
4327 PyObject
* obj0
= 0 ;
4328 PyObject
* obj1
= 0 ;
4329 char * kwnames
[] = {
4330 (char *) "self",(char *) "hover", NULL
4333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4335 if (!SWIG_IsOK(res1
)) {
4336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4338 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4339 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4340 if (!SWIG_IsOK(res2
)) {
4341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4344 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4346 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4349 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4350 wxPyEndAllowThreads(__tstate
);
4351 if (PyErr_Occurred()) SWIG_fail
;
4353 resultobj
= SWIG_Py_Void();
4360 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4361 PyObject
*resultobj
= 0;
4362 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4371 PyObject
* obj0
= 0 ;
4372 PyObject
* obj1
= 0 ;
4373 PyObject
* obj2
= 0 ;
4374 char * kwnames
[] = {
4375 (char *) "self",(char *) "x",(char *) "y", NULL
4378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4380 if (!SWIG_IsOK(res1
)) {
4381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4383 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4384 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4385 if (!SWIG_IsOK(ecode2
)) {
4386 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4388 arg2
= static_cast< int >(val2
);
4389 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4390 if (!SWIG_IsOK(ecode3
)) {
4391 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4393 arg3
= static_cast< int >(val3
);
4395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4396 (arg1
)->SetMargins(arg2
,arg3
);
4397 wxPyEndAllowThreads(__tstate
);
4398 if (PyErr_Occurred()) SWIG_fail
;
4400 resultobj
= SWIG_Py_Void();
4407 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4408 PyObject
*resultobj
= 0;
4409 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4413 PyObject
*swig_obj
[1] ;
4415 if (!args
) SWIG_fail
;
4417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4418 if (!SWIG_IsOK(res1
)) {
4419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4421 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4424 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4425 wxPyEndAllowThreads(__tstate
);
4426 if (PyErr_Occurred()) SWIG_fail
;
4428 resultobj
= SWIG_From_int(static_cast< int >(result
));
4435 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4436 PyObject
*resultobj
= 0;
4437 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4441 PyObject
*swig_obj
[1] ;
4443 if (!args
) SWIG_fail
;
4445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4446 if (!SWIG_IsOK(res1
)) {
4447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4449 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4452 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4453 wxPyEndAllowThreads(__tstate
);
4454 if (PyErr_Occurred()) SWIG_fail
;
4456 resultobj
= SWIG_From_int(static_cast< int >(result
));
4463 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4465 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4466 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4467 return SWIG_Py_Void();
4470 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4471 return SWIG_Python_InitShadowInstance(args
);
4474 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4475 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4480 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4481 PyObject
*pyobj
= 0;
4485 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4487 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4494 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4495 PyObject
*resultobj
= 0;
4496 wxWindow
*arg1
= (wxWindow
*) 0 ;
4497 int arg2
= (int) -1 ;
4498 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4499 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4500 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4501 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4502 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4503 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4504 long arg6
= (long) 0 ;
4505 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4506 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4507 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4508 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4509 wxCheckBox
*result
= 0 ;
4514 bool temp3
= false ;
4521 bool temp8
= false ;
4522 PyObject
* obj0
= 0 ;
4523 PyObject
* obj1
= 0 ;
4524 PyObject
* obj2
= 0 ;
4525 PyObject
* obj3
= 0 ;
4526 PyObject
* obj4
= 0 ;
4527 PyObject
* obj5
= 0 ;
4528 PyObject
* obj6
= 0 ;
4529 PyObject
* obj7
= 0 ;
4530 char * kwnames
[] = {
4531 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4536 if (!SWIG_IsOK(res1
)) {
4537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4539 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4541 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4542 if (!SWIG_IsOK(ecode2
)) {
4543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4545 arg2
= static_cast< int >(val2
);
4549 arg3
= wxString_in_helper(obj2
);
4550 if (arg3
== NULL
) SWIG_fail
;
4557 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4563 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4567 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4568 if (!SWIG_IsOK(ecode6
)) {
4569 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4571 arg6
= static_cast< long >(val6
);
4574 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4575 if (!SWIG_IsOK(res7
)) {
4576 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4579 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4581 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4585 arg8
= wxString_in_helper(obj7
);
4586 if (arg8
== NULL
) SWIG_fail
;
4591 if (!wxPyCheckForApp()) SWIG_fail
;
4592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4593 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4594 wxPyEndAllowThreads(__tstate
);
4595 if (PyErr_Occurred()) SWIG_fail
;
4597 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4620 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4621 PyObject
*resultobj
= 0;
4622 wxCheckBox
*result
= 0 ;
4624 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4626 if (!wxPyCheckForApp()) SWIG_fail
;
4627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4628 result
= (wxCheckBox
*)new wxCheckBox();
4629 wxPyEndAllowThreads(__tstate
);
4630 if (PyErr_Occurred()) SWIG_fail
;
4632 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4639 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4640 PyObject
*resultobj
= 0;
4641 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4642 wxWindow
*arg2
= (wxWindow
*) 0 ;
4643 int arg3
= (int) -1 ;
4644 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4645 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4646 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4647 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4648 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4649 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4650 long arg7
= (long) 0 ;
4651 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4652 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4653 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4654 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4662 bool temp4
= false ;
4669 bool temp9
= false ;
4670 PyObject
* obj0
= 0 ;
4671 PyObject
* obj1
= 0 ;
4672 PyObject
* obj2
= 0 ;
4673 PyObject
* obj3
= 0 ;
4674 PyObject
* obj4
= 0 ;
4675 PyObject
* obj5
= 0 ;
4676 PyObject
* obj6
= 0 ;
4677 PyObject
* obj7
= 0 ;
4678 PyObject
* obj8
= 0 ;
4679 char * kwnames
[] = {
4680 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4685 if (!SWIG_IsOK(res1
)) {
4686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4688 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4689 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4690 if (!SWIG_IsOK(res2
)) {
4691 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4693 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4695 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4696 if (!SWIG_IsOK(ecode3
)) {
4697 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4699 arg3
= static_cast< int >(val3
);
4703 arg4
= wxString_in_helper(obj3
);
4704 if (arg4
== NULL
) SWIG_fail
;
4711 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4717 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4721 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4722 if (!SWIG_IsOK(ecode7
)) {
4723 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4725 arg7
= static_cast< long >(val7
);
4728 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4729 if (!SWIG_IsOK(res8
)) {
4730 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4733 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4735 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4739 arg9
= wxString_in_helper(obj8
);
4740 if (arg9
== NULL
) SWIG_fail
;
4745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4746 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4747 wxPyEndAllowThreads(__tstate
);
4748 if (PyErr_Occurred()) SWIG_fail
;
4751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4775 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4776 PyObject
*resultobj
= 0;
4777 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4781 PyObject
*swig_obj
[1] ;
4783 if (!args
) SWIG_fail
;
4785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4786 if (!SWIG_IsOK(res1
)) {
4787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4789 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4792 result
= (bool)(arg1
)->GetValue();
4793 wxPyEndAllowThreads(__tstate
);
4794 if (PyErr_Occurred()) SWIG_fail
;
4797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4805 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4806 PyObject
*resultobj
= 0;
4807 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4811 PyObject
*swig_obj
[1] ;
4813 if (!args
) SWIG_fail
;
4815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4816 if (!SWIG_IsOK(res1
)) {
4817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4819 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4822 result
= (bool)(arg1
)->IsChecked();
4823 wxPyEndAllowThreads(__tstate
);
4824 if (PyErr_Occurred()) SWIG_fail
;
4827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4835 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4836 PyObject
*resultobj
= 0;
4837 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4843 PyObject
* obj0
= 0 ;
4844 PyObject
* obj1
= 0 ;
4845 char * kwnames
[] = {
4846 (char *) "self",(char *) "state", NULL
4849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4851 if (!SWIG_IsOK(res1
)) {
4852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4854 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4855 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4856 if (!SWIG_IsOK(ecode2
)) {
4857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4859 arg2
= static_cast< bool >(val2
);
4861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4862 (arg1
)->SetValue(arg2
);
4863 wxPyEndAllowThreads(__tstate
);
4864 if (PyErr_Occurred()) SWIG_fail
;
4866 resultobj
= SWIG_Py_Void();
4873 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4874 PyObject
*resultobj
= 0;
4875 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4876 wxCheckBoxState result
;
4879 PyObject
*swig_obj
[1] ;
4881 if (!args
) SWIG_fail
;
4883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4884 if (!SWIG_IsOK(res1
)) {
4885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4887 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4890 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4891 wxPyEndAllowThreads(__tstate
);
4892 if (PyErr_Occurred()) SWIG_fail
;
4894 resultobj
= SWIG_From_int(static_cast< int >(result
));
4901 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4902 PyObject
*resultobj
= 0;
4903 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4904 wxCheckBoxState arg2
;
4909 PyObject
* obj0
= 0 ;
4910 PyObject
* obj1
= 0 ;
4911 char * kwnames
[] = {
4912 (char *) "self",(char *) "state", NULL
4915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4917 if (!SWIG_IsOK(res1
)) {
4918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4920 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4921 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4922 if (!SWIG_IsOK(ecode2
)) {
4923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4925 arg2
= static_cast< wxCheckBoxState
>(val2
);
4927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4928 (arg1
)->Set3StateValue(arg2
);
4929 wxPyEndAllowThreads(__tstate
);
4930 if (PyErr_Occurred()) SWIG_fail
;
4932 resultobj
= SWIG_Py_Void();
4939 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4940 PyObject
*resultobj
= 0;
4941 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4945 PyObject
*swig_obj
[1] ;
4947 if (!args
) SWIG_fail
;
4949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4950 if (!SWIG_IsOK(res1
)) {
4951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4953 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4956 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4957 wxPyEndAllowThreads(__tstate
);
4958 if (PyErr_Occurred()) SWIG_fail
;
4961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4969 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4970 PyObject
*resultobj
= 0;
4971 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4975 PyObject
*swig_obj
[1] ;
4977 if (!args
) SWIG_fail
;
4979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4980 if (!SWIG_IsOK(res1
)) {
4981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4983 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4986 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
4987 wxPyEndAllowThreads(__tstate
);
4988 if (PyErr_Occurred()) SWIG_fail
;
4991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4999 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5000 PyObject
*resultobj
= 0;
5001 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5002 SwigValueWrapper
<wxVisualAttributes
> result
;
5005 PyObject
* obj0
= 0 ;
5006 char * kwnames
[] = {
5007 (char *) "variant", NULL
5010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5012 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5013 if (!SWIG_IsOK(ecode1
)) {
5014 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5016 arg1
= static_cast< wxWindowVariant
>(val1
);
5019 if (!wxPyCheckForApp()) SWIG_fail
;
5020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5021 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5022 wxPyEndAllowThreads(__tstate
);
5023 if (PyErr_Occurred()) SWIG_fail
;
5025 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5032 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5034 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5035 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5036 return SWIG_Py_Void();
5039 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5040 return SWIG_Python_InitShadowInstance(args
);
5043 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5044 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5049 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5050 PyObject
*pyobj
= 0;
5054 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5056 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5063 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5064 PyObject
*resultobj
= 0;
5065 wxWindow
*arg1
= (wxWindow
*) 0 ;
5066 int arg2
= (int) -1 ;
5067 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5068 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5069 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5070 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5071 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5072 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5073 long arg6
= (long) 0 ;
5074 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5075 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5076 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5077 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5078 wxChoice
*result
= 0 ;
5085 bool temp5
= false ;
5090 bool temp8
= false ;
5091 PyObject
* obj0
= 0 ;
5092 PyObject
* obj1
= 0 ;
5093 PyObject
* obj2
= 0 ;
5094 PyObject
* obj3
= 0 ;
5095 PyObject
* obj4
= 0 ;
5096 PyObject
* obj5
= 0 ;
5097 PyObject
* obj6
= 0 ;
5098 PyObject
* obj7
= 0 ;
5099 char * kwnames
[] = {
5100 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5105 if (!SWIG_IsOK(res1
)) {
5106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5108 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5110 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5111 if (!SWIG_IsOK(ecode2
)) {
5112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5114 arg2
= static_cast< int >(val2
);
5119 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5125 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5130 if (! PySequence_Check(obj4
)) {
5131 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5134 arg5
= new wxArrayString
;
5136 int i
, len
=PySequence_Length(obj4
);
5137 for (i
=0; i
<len
; i
++) {
5138 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5139 wxString
* s
= wxString_in_helper(item
);
5140 if (PyErr_Occurred()) SWIG_fail
;
5148 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5149 if (!SWIG_IsOK(ecode6
)) {
5150 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5152 arg6
= static_cast< long >(val6
);
5155 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5156 if (!SWIG_IsOK(res7
)) {
5157 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5160 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5162 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5166 arg8
= wxString_in_helper(obj7
);
5167 if (arg8
== NULL
) SWIG_fail
;
5172 if (!wxPyCheckForApp()) SWIG_fail
;
5173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5174 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5175 wxPyEndAllowThreads(__tstate
);
5176 if (PyErr_Occurred()) SWIG_fail
;
5178 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5180 if (temp5
) delete arg5
;
5189 if (temp5
) delete arg5
;
5199 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5200 PyObject
*resultobj
= 0;
5201 wxChoice
*result
= 0 ;
5203 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5205 if (!wxPyCheckForApp()) SWIG_fail
;
5206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5207 result
= (wxChoice
*)new wxChoice();
5208 wxPyEndAllowThreads(__tstate
);
5209 if (PyErr_Occurred()) SWIG_fail
;
5211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5218 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5219 PyObject
*resultobj
= 0;
5220 wxChoice
*arg1
= (wxChoice
*) 0 ;
5221 wxWindow
*arg2
= (wxWindow
*) 0 ;
5222 int arg3
= (int) -1 ;
5223 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5224 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5225 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5226 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5227 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5228 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5229 long arg7
= (long) 0 ;
5230 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5231 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5232 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5233 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5243 bool temp6
= false ;
5248 bool temp9
= false ;
5249 PyObject
* obj0
= 0 ;
5250 PyObject
* obj1
= 0 ;
5251 PyObject
* obj2
= 0 ;
5252 PyObject
* obj3
= 0 ;
5253 PyObject
* obj4
= 0 ;
5254 PyObject
* obj5
= 0 ;
5255 PyObject
* obj6
= 0 ;
5256 PyObject
* obj7
= 0 ;
5257 PyObject
* obj8
= 0 ;
5258 char * kwnames
[] = {
5259 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5264 if (!SWIG_IsOK(res1
)) {
5265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5267 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5268 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5269 if (!SWIG_IsOK(res2
)) {
5270 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5272 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5274 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5275 if (!SWIG_IsOK(ecode3
)) {
5276 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5278 arg3
= static_cast< int >(val3
);
5283 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5289 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5294 if (! PySequence_Check(obj5
)) {
5295 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5298 arg6
= new wxArrayString
;
5300 int i
, len
=PySequence_Length(obj5
);
5301 for (i
=0; i
<len
; i
++) {
5302 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5303 wxString
* s
= wxString_in_helper(item
);
5304 if (PyErr_Occurred()) SWIG_fail
;
5312 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5313 if (!SWIG_IsOK(ecode7
)) {
5314 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5316 arg7
= static_cast< long >(val7
);
5319 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5320 if (!SWIG_IsOK(res8
)) {
5321 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5324 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5326 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5330 arg9
= wxString_in_helper(obj8
);
5331 if (arg9
== NULL
) SWIG_fail
;
5336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5337 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5338 wxPyEndAllowThreads(__tstate
);
5339 if (PyErr_Occurred()) SWIG_fail
;
5342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5345 if (temp6
) delete arg6
;
5354 if (temp6
) delete arg6
;
5364 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5365 PyObject
*resultobj
= 0;
5366 wxChoice
*arg1
= (wxChoice
*) 0 ;
5370 PyObject
*swig_obj
[1] ;
5372 if (!args
) SWIG_fail
;
5374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5375 if (!SWIG_IsOK(res1
)) {
5376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5378 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5381 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5382 wxPyEndAllowThreads(__tstate
);
5383 if (PyErr_Occurred()) SWIG_fail
;
5385 resultobj
= SWIG_From_int(static_cast< int >(result
));
5392 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5393 PyObject
*resultobj
= 0;
5394 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5395 SwigValueWrapper
<wxVisualAttributes
> result
;
5398 PyObject
* obj0
= 0 ;
5399 char * kwnames
[] = {
5400 (char *) "variant", NULL
5403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5405 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5406 if (!SWIG_IsOK(ecode1
)) {
5407 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5409 arg1
= static_cast< wxWindowVariant
>(val1
);
5412 if (!wxPyCheckForApp()) SWIG_fail
;
5413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5414 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5415 wxPyEndAllowThreads(__tstate
);
5416 if (PyErr_Occurred()) SWIG_fail
;
5418 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5425 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5427 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5428 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5429 return SWIG_Py_Void();
5432 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5433 return SWIG_Python_InitShadowInstance(args
);
5436 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5437 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5442 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5443 PyObject
*pyobj
= 0;
5447 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5449 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5456 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5457 PyObject
*resultobj
= 0;
5458 wxWindow
*arg1
= (wxWindow
*) 0 ;
5459 int arg2
= (int) -1 ;
5460 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5461 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5462 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5463 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5464 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5465 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5466 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5467 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5468 long arg7
= (long) 0 ;
5469 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5470 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5471 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5472 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5473 wxComboBox
*result
= 0 ;
5478 bool temp3
= false ;
5481 bool temp6
= false ;
5486 bool temp9
= false ;
5487 PyObject
* obj0
= 0 ;
5488 PyObject
* obj1
= 0 ;
5489 PyObject
* obj2
= 0 ;
5490 PyObject
* obj3
= 0 ;
5491 PyObject
* obj4
= 0 ;
5492 PyObject
* obj5
= 0 ;
5493 PyObject
* obj6
= 0 ;
5494 PyObject
* obj7
= 0 ;
5495 PyObject
* obj8
= 0 ;
5496 char * kwnames
[] = {
5497 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5502 if (!SWIG_IsOK(res1
)) {
5503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5505 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5507 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5508 if (!SWIG_IsOK(ecode2
)) {
5509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5511 arg2
= static_cast< int >(val2
);
5515 arg3
= wxString_in_helper(obj2
);
5516 if (arg3
== NULL
) SWIG_fail
;
5523 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5529 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5534 if (! PySequence_Check(obj5
)) {
5535 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5538 arg6
= new wxArrayString
;
5540 int i
, len
=PySequence_Length(obj5
);
5541 for (i
=0; i
<len
; i
++) {
5542 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5543 wxString
* s
= wxString_in_helper(item
);
5544 if (PyErr_Occurred()) SWIG_fail
;
5552 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5553 if (!SWIG_IsOK(ecode7
)) {
5554 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5556 arg7
= static_cast< long >(val7
);
5559 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5560 if (!SWIG_IsOK(res8
)) {
5561 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5564 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5566 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5570 arg9
= wxString_in_helper(obj8
);
5571 if (arg9
== NULL
) SWIG_fail
;
5576 if (!wxPyCheckForApp()) SWIG_fail
;
5577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5578 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
);
5579 wxPyEndAllowThreads(__tstate
);
5580 if (PyErr_Occurred()) SWIG_fail
;
5582 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5588 if (temp6
) delete arg6
;
5601 if (temp6
) delete arg6
;
5611 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5612 PyObject
*resultobj
= 0;
5613 wxComboBox
*result
= 0 ;
5615 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5617 if (!wxPyCheckForApp()) SWIG_fail
;
5618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5619 result
= (wxComboBox
*)new wxComboBox();
5620 wxPyEndAllowThreads(__tstate
);
5621 if (PyErr_Occurred()) SWIG_fail
;
5623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5630 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5631 PyObject
*resultobj
= 0;
5632 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5633 wxWindow
*arg2
= (wxWindow
*) 0 ;
5634 int arg3
= (int) -1 ;
5635 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5636 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5637 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5638 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5639 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5640 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5641 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5642 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5643 long arg8
= (long) 0 ;
5644 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5645 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5646 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5647 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5655 bool temp4
= false ;
5658 bool temp7
= false ;
5663 bool temp10
= false ;
5664 PyObject
* obj0
= 0 ;
5665 PyObject
* obj1
= 0 ;
5666 PyObject
* obj2
= 0 ;
5667 PyObject
* obj3
= 0 ;
5668 PyObject
* obj4
= 0 ;
5669 PyObject
* obj5
= 0 ;
5670 PyObject
* obj6
= 0 ;
5671 PyObject
* obj7
= 0 ;
5672 PyObject
* obj8
= 0 ;
5673 PyObject
* obj9
= 0 ;
5674 char * kwnames
[] = {
5675 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5680 if (!SWIG_IsOK(res1
)) {
5681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5683 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5684 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5685 if (!SWIG_IsOK(res2
)) {
5686 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5688 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5690 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5691 if (!SWIG_IsOK(ecode3
)) {
5692 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5694 arg3
= static_cast< int >(val3
);
5698 arg4
= wxString_in_helper(obj3
);
5699 if (arg4
== NULL
) SWIG_fail
;
5706 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5712 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5717 if (! PySequence_Check(obj6
)) {
5718 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5721 arg7
= new wxArrayString
;
5723 int i
, len
=PySequence_Length(obj6
);
5724 for (i
=0; i
<len
; i
++) {
5725 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5726 wxString
* s
= wxString_in_helper(item
);
5727 if (PyErr_Occurred()) SWIG_fail
;
5735 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5736 if (!SWIG_IsOK(ecode8
)) {
5737 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5739 arg8
= static_cast< long >(val8
);
5742 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5743 if (!SWIG_IsOK(res9
)) {
5744 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5747 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5749 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5753 arg10
= wxString_in_helper(obj9
);
5754 if (arg10
== NULL
) SWIG_fail
;
5759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5760 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
);
5761 wxPyEndAllowThreads(__tstate
);
5762 if (PyErr_Occurred()) SWIG_fail
;
5765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5772 if (temp7
) delete arg7
;
5785 if (temp7
) delete arg7
;
5795 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5796 PyObject
*resultobj
= 0;
5797 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5801 PyObject
*swig_obj
[1] ;
5803 if (!args
) SWIG_fail
;
5805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5806 if (!SWIG_IsOK(res1
)) {
5807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5809 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5812 result
= ((wxComboBox
const *)arg1
)->GetValue();
5813 wxPyEndAllowThreads(__tstate
);
5814 if (PyErr_Occurred()) SWIG_fail
;
5818 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5820 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5829 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5830 PyObject
*resultobj
= 0;
5831 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5832 wxString
*arg2
= 0 ;
5835 bool temp2
= false ;
5836 PyObject
* obj0
= 0 ;
5837 PyObject
* obj1
= 0 ;
5838 char * kwnames
[] = {
5839 (char *) "self",(char *) "value", NULL
5842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5844 if (!SWIG_IsOK(res1
)) {
5845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5847 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5849 arg2
= wxString_in_helper(obj1
);
5850 if (arg2
== NULL
) SWIG_fail
;
5854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5855 (arg1
)->SetValue((wxString
const &)*arg2
);
5856 wxPyEndAllowThreads(__tstate
);
5857 if (PyErr_Occurred()) SWIG_fail
;
5859 resultobj
= SWIG_Py_Void();
5874 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5875 PyObject
*resultobj
= 0;
5876 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5879 PyObject
*swig_obj
[1] ;
5881 if (!args
) SWIG_fail
;
5883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5884 if (!SWIG_IsOK(res1
)) {
5885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5887 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5891 wxPyEndAllowThreads(__tstate
);
5892 if (PyErr_Occurred()) SWIG_fail
;
5894 resultobj
= SWIG_Py_Void();
5901 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5902 PyObject
*resultobj
= 0;
5903 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5906 PyObject
*swig_obj
[1] ;
5908 if (!args
) SWIG_fail
;
5910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5911 if (!SWIG_IsOK(res1
)) {
5912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5914 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) SWIG_fail
;
5921 resultobj
= SWIG_Py_Void();
5928 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5929 PyObject
*resultobj
= 0;
5930 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5933 PyObject
*swig_obj
[1] ;
5935 if (!args
) SWIG_fail
;
5937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5938 if (!SWIG_IsOK(res1
)) {
5939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5941 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5945 wxPyEndAllowThreads(__tstate
);
5946 if (PyErr_Occurred()) SWIG_fail
;
5948 resultobj
= SWIG_Py_Void();
5955 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5956 PyObject
*resultobj
= 0;
5957 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5963 PyObject
* obj0
= 0 ;
5964 PyObject
* obj1
= 0 ;
5965 char * kwnames
[] = {
5966 (char *) "self",(char *) "pos", NULL
5969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5971 if (!SWIG_IsOK(res1
)) {
5972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
5974 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5975 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
5976 if (!SWIG_IsOK(ecode2
)) {
5977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
5979 arg2
= static_cast< long >(val2
);
5981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5982 (arg1
)->SetInsertionPoint(arg2
);
5983 wxPyEndAllowThreads(__tstate
);
5984 if (PyErr_Occurred()) SWIG_fail
;
5986 resultobj
= SWIG_Py_Void();
5993 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5994 PyObject
*resultobj
= 0;
5995 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5999 PyObject
*swig_obj
[1] ;
6001 if (!args
) SWIG_fail
;
6003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6004 if (!SWIG_IsOK(res1
)) {
6005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6007 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6010 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6011 wxPyEndAllowThreads(__tstate
);
6012 if (PyErr_Occurred()) SWIG_fail
;
6014 resultobj
= SWIG_From_long(static_cast< long >(result
));
6021 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6022 PyObject
*resultobj
= 0;
6023 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6027 PyObject
*swig_obj
[1] ;
6029 if (!args
) SWIG_fail
;
6031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6032 if (!SWIG_IsOK(res1
)) {
6033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6035 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6038 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6039 wxPyEndAllowThreads(__tstate
);
6040 if (PyErr_Occurred()) SWIG_fail
;
6042 resultobj
= SWIG_From_long(static_cast< long >(result
));
6049 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6050 PyObject
*resultobj
= 0;
6051 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6054 wxString
*arg4
= 0 ;
6061 bool temp4
= false ;
6062 PyObject
* obj0
= 0 ;
6063 PyObject
* obj1
= 0 ;
6064 PyObject
* obj2
= 0 ;
6065 PyObject
* obj3
= 0 ;
6066 char * kwnames
[] = {
6067 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6072 if (!SWIG_IsOK(res1
)) {
6073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6075 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6076 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6077 if (!SWIG_IsOK(ecode2
)) {
6078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6080 arg2
= static_cast< long >(val2
);
6081 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6082 if (!SWIG_IsOK(ecode3
)) {
6083 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6085 arg3
= static_cast< long >(val3
);
6087 arg4
= wxString_in_helper(obj3
);
6088 if (arg4
== NULL
) SWIG_fail
;
6092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6093 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6094 wxPyEndAllowThreads(__tstate
);
6095 if (PyErr_Occurred()) SWIG_fail
;
6097 resultobj
= SWIG_Py_Void();
6112 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6113 PyObject
*resultobj
= 0;
6114 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6123 PyObject
* obj0
= 0 ;
6124 PyObject
* obj1
= 0 ;
6125 PyObject
* obj2
= 0 ;
6126 char * kwnames
[] = {
6127 (char *) "self",(char *) "from",(char *) "to", NULL
6130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6132 if (!SWIG_IsOK(res1
)) {
6133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6135 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6136 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6137 if (!SWIG_IsOK(ecode2
)) {
6138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6140 arg2
= static_cast< long >(val2
);
6141 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6142 if (!SWIG_IsOK(ecode3
)) {
6143 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6145 arg3
= static_cast< long >(val3
);
6147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6148 (arg1
)->SetSelection(arg2
,arg3
);
6149 wxPyEndAllowThreads(__tstate
);
6150 if (PyErr_Occurred()) SWIG_fail
;
6152 resultobj
= SWIG_Py_Void();
6159 SWIGINTERN PyObject
*_wrap_ComboBox_GetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6160 PyObject
*resultobj
= 0;
6161 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6162 long *arg2
= (long *) 0 ;
6163 long *arg3
= (long *) 0 ;
6167 int res2
= SWIG_TMPOBJ
;
6169 int res3
= SWIG_TMPOBJ
;
6170 PyObject
*swig_obj
[1] ;
6174 if (!args
) SWIG_fail
;
6176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6177 if (!SWIG_IsOK(res1
)) {
6178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6180 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6183 (arg1
)->GetSelection(arg2
,arg3
);
6184 wxPyEndAllowThreads(__tstate
);
6185 if (PyErr_Occurred()) SWIG_fail
;
6187 resultobj
= SWIG_Py_Void();
6188 if (SWIG_IsTmpObj(res2
)) {
6189 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6191 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6192 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6194 if (SWIG_IsTmpObj(res3
)) {
6195 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6197 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6198 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6206 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6207 PyObject
*resultobj
= 0;
6208 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6212 PyObject
*swig_obj
[1] ;
6214 if (!args
) SWIG_fail
;
6216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6217 if (!SWIG_IsOK(res1
)) {
6218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6220 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6223 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6224 wxPyEndAllowThreads(__tstate
);
6225 if (PyErr_Occurred()) SWIG_fail
;
6227 resultobj
= SWIG_From_int(static_cast< int >(result
));
6234 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6235 PyObject
*resultobj
= 0;
6236 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6237 wxString
*arg2
= 0 ;
6241 bool temp2
= false ;
6242 PyObject
* obj0
= 0 ;
6243 PyObject
* obj1
= 0 ;
6244 char * kwnames
[] = {
6245 (char *) "self",(char *) "string", NULL
6248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6250 if (!SWIG_IsOK(res1
)) {
6251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6253 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6255 arg2
= wxString_in_helper(obj1
);
6256 if (arg2
== NULL
) SWIG_fail
;
6260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6261 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6262 wxPyEndAllowThreads(__tstate
);
6263 if (PyErr_Occurred()) SWIG_fail
;
6266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6282 SWIGINTERN PyObject
*_wrap_ComboBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6283 PyObject
*resultobj
= 0;
6284 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6286 wxString
*arg3
= 0 ;
6291 bool temp3
= false ;
6292 PyObject
* obj0
= 0 ;
6293 PyObject
* obj1
= 0 ;
6294 PyObject
* obj2
= 0 ;
6295 char * kwnames
[] = {
6296 (char *) "self",(char *) "n",(char *) "string", NULL
6299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6301 if (!SWIG_IsOK(res1
)) {
6302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6304 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6305 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6306 if (!SWIG_IsOK(ecode2
)) {
6307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6309 arg2
= static_cast< int >(val2
);
6311 arg3
= wxString_in_helper(obj2
);
6312 if (arg3
== NULL
) SWIG_fail
;
6316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6317 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
6318 wxPyEndAllowThreads(__tstate
);
6319 if (PyErr_Occurred()) SWIG_fail
;
6321 resultobj
= SWIG_Py_Void();
6336 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6337 PyObject
*resultobj
= 0;
6338 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6344 PyObject
* obj0
= 0 ;
6345 PyObject
* obj1
= 0 ;
6346 char * kwnames
[] = {
6347 (char *) "self",(char *) "editable", NULL
6350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6352 if (!SWIG_IsOK(res1
)) {
6353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6355 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6356 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6357 if (!SWIG_IsOK(ecode2
)) {
6358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6360 arg2
= static_cast< bool >(val2
);
6362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6363 (arg1
)->SetEditable(arg2
);
6364 wxPyEndAllowThreads(__tstate
);
6365 if (PyErr_Occurred()) SWIG_fail
;
6367 resultobj
= SWIG_Py_Void();
6374 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6375 PyObject
*resultobj
= 0;
6376 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6379 PyObject
*swig_obj
[1] ;
6381 if (!args
) SWIG_fail
;
6383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6384 if (!SWIG_IsOK(res1
)) {
6385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6387 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6390 (arg1
)->SetInsertionPointEnd();
6391 wxPyEndAllowThreads(__tstate
);
6392 if (PyErr_Occurred()) SWIG_fail
;
6394 resultobj
= SWIG_Py_Void();
6401 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6402 PyObject
*resultobj
= 0;
6403 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6412 PyObject
* obj0
= 0 ;
6413 PyObject
* obj1
= 0 ;
6414 PyObject
* obj2
= 0 ;
6415 char * kwnames
[] = {
6416 (char *) "self",(char *) "from",(char *) "to", NULL
6419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6421 if (!SWIG_IsOK(res1
)) {
6422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6424 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6425 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6426 if (!SWIG_IsOK(ecode2
)) {
6427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6429 arg2
= static_cast< long >(val2
);
6430 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6431 if (!SWIG_IsOK(ecode3
)) {
6432 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6434 arg3
= static_cast< long >(val3
);
6436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6437 (arg1
)->Remove(arg2
,arg3
);
6438 wxPyEndAllowThreads(__tstate
);
6439 if (PyErr_Occurred()) SWIG_fail
;
6441 resultobj
= SWIG_Py_Void();
6448 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6449 PyObject
*resultobj
= 0;
6450 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6454 PyObject
*swig_obj
[1] ;
6456 if (!args
) SWIG_fail
;
6458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6459 if (!SWIG_IsOK(res1
)) {
6460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6462 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6465 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6466 wxPyEndAllowThreads(__tstate
);
6467 if (PyErr_Occurred()) SWIG_fail
;
6470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6478 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6479 PyObject
*resultobj
= 0;
6480 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6483 PyObject
*swig_obj
[1] ;
6485 if (!args
) SWIG_fail
;
6487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6488 if (!SWIG_IsOK(res1
)) {
6489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6491 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6495 wxPyEndAllowThreads(__tstate
);
6496 if (PyErr_Occurred()) SWIG_fail
;
6498 resultobj
= SWIG_Py_Void();
6505 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6506 PyObject
*resultobj
= 0;
6507 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6510 PyObject
*swig_obj
[1] ;
6512 if (!args
) SWIG_fail
;
6514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6515 if (!SWIG_IsOK(res1
)) {
6516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6518 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6522 wxPyEndAllowThreads(__tstate
);
6523 if (PyErr_Occurred()) SWIG_fail
;
6525 resultobj
= SWIG_Py_Void();
6532 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6533 PyObject
*resultobj
= 0;
6534 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6537 PyObject
*swig_obj
[1] ;
6539 if (!args
) SWIG_fail
;
6541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6542 if (!SWIG_IsOK(res1
)) {
6543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6545 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6548 (arg1
)->SelectAll();
6549 wxPyEndAllowThreads(__tstate
);
6550 if (PyErr_Occurred()) SWIG_fail
;
6552 resultobj
= SWIG_Py_Void();
6559 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6560 PyObject
*resultobj
= 0;
6561 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6565 PyObject
*swig_obj
[1] ;
6567 if (!args
) SWIG_fail
;
6569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6570 if (!SWIG_IsOK(res1
)) {
6571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6573 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6576 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6577 wxPyEndAllowThreads(__tstate
);
6578 if (PyErr_Occurred()) SWIG_fail
;
6581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6589 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6590 PyObject
*resultobj
= 0;
6591 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6595 PyObject
*swig_obj
[1] ;
6597 if (!args
) SWIG_fail
;
6599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6600 if (!SWIG_IsOK(res1
)) {
6601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6603 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6606 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6607 wxPyEndAllowThreads(__tstate
);
6608 if (PyErr_Occurred()) SWIG_fail
;
6611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6619 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6620 PyObject
*resultobj
= 0;
6621 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6625 PyObject
*swig_obj
[1] ;
6627 if (!args
) SWIG_fail
;
6629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6630 if (!SWIG_IsOK(res1
)) {
6631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6633 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6636 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6637 wxPyEndAllowThreads(__tstate
);
6638 if (PyErr_Occurred()) SWIG_fail
;
6641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6649 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6650 PyObject
*resultobj
= 0;
6651 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6655 PyObject
*swig_obj
[1] ;
6657 if (!args
) SWIG_fail
;
6659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6660 if (!SWIG_IsOK(res1
)) {
6661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6663 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6666 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6667 wxPyEndAllowThreads(__tstate
);
6668 if (PyErr_Occurred()) SWIG_fail
;
6671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6679 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6680 PyObject
*resultobj
= 0;
6681 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6685 PyObject
*swig_obj
[1] ;
6687 if (!args
) SWIG_fail
;
6689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6690 if (!SWIG_IsOK(res1
)) {
6691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6693 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6696 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6697 wxPyEndAllowThreads(__tstate
);
6698 if (PyErr_Occurred()) SWIG_fail
;
6701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6709 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6710 PyObject
*resultobj
= 0;
6711 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6712 SwigValueWrapper
<wxVisualAttributes
> result
;
6715 PyObject
* obj0
= 0 ;
6716 char * kwnames
[] = {
6717 (char *) "variant", NULL
6720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6722 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6723 if (!SWIG_IsOK(ecode1
)) {
6724 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6726 arg1
= static_cast< wxWindowVariant
>(val1
);
6729 if (!wxPyCheckForApp()) SWIG_fail
;
6730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6731 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6732 wxPyEndAllowThreads(__tstate
);
6733 if (PyErr_Occurred()) SWIG_fail
;
6735 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6742 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6744 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6745 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6746 return SWIG_Py_Void();
6749 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6750 return SWIG_Python_InitShadowInstance(args
);
6753 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6754 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6759 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6760 PyObject
*pyobj
= 0;
6764 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6766 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6773 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6774 PyObject
*resultobj
= 0;
6775 wxWindow
*arg1
= (wxWindow
*) 0 ;
6776 int arg2
= (int) -1 ;
6777 int arg3
= (int) 100 ;
6778 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6779 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6780 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6781 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6782 long arg6
= (long) wxGA_HORIZONTAL
;
6783 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6784 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6785 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6786 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6787 wxGauge
*result
= 0 ;
6800 bool temp8
= false ;
6801 PyObject
* obj0
= 0 ;
6802 PyObject
* obj1
= 0 ;
6803 PyObject
* obj2
= 0 ;
6804 PyObject
* obj3
= 0 ;
6805 PyObject
* obj4
= 0 ;
6806 PyObject
* obj5
= 0 ;
6807 PyObject
* obj6
= 0 ;
6808 PyObject
* obj7
= 0 ;
6809 char * kwnames
[] = {
6810 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6815 if (!SWIG_IsOK(res1
)) {
6816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6818 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6820 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6821 if (!SWIG_IsOK(ecode2
)) {
6822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6824 arg2
= static_cast< int >(val2
);
6827 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6828 if (!SWIG_IsOK(ecode3
)) {
6829 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6831 arg3
= static_cast< int >(val3
);
6836 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6842 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6846 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6847 if (!SWIG_IsOK(ecode6
)) {
6848 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6850 arg6
= static_cast< long >(val6
);
6853 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6854 if (!SWIG_IsOK(res7
)) {
6855 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6858 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6860 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6864 arg8
= wxString_in_helper(obj7
);
6865 if (arg8
== NULL
) SWIG_fail
;
6870 if (!wxPyCheckForApp()) SWIG_fail
;
6871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6872 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6873 wxPyEndAllowThreads(__tstate
);
6874 if (PyErr_Occurred()) SWIG_fail
;
6876 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6891 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6892 PyObject
*resultobj
= 0;
6893 wxGauge
*result
= 0 ;
6895 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6897 if (!wxPyCheckForApp()) SWIG_fail
;
6898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6899 result
= (wxGauge
*)new wxGauge();
6900 wxPyEndAllowThreads(__tstate
);
6901 if (PyErr_Occurred()) SWIG_fail
;
6903 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6910 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6911 PyObject
*resultobj
= 0;
6912 wxGauge
*arg1
= (wxGauge
*) 0 ;
6913 wxWindow
*arg2
= (wxWindow
*) 0 ;
6914 int arg3
= (int) -1 ;
6915 int arg4
= (int) 100 ;
6916 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6917 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6918 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6919 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6920 long arg7
= (long) wxGA_HORIZONTAL
;
6921 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6922 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6923 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6924 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6940 bool temp9
= false ;
6941 PyObject
* obj0
= 0 ;
6942 PyObject
* obj1
= 0 ;
6943 PyObject
* obj2
= 0 ;
6944 PyObject
* obj3
= 0 ;
6945 PyObject
* obj4
= 0 ;
6946 PyObject
* obj5
= 0 ;
6947 PyObject
* obj6
= 0 ;
6948 PyObject
* obj7
= 0 ;
6949 PyObject
* obj8
= 0 ;
6950 char * kwnames
[] = {
6951 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6956 if (!SWIG_IsOK(res1
)) {
6957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6959 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6960 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6961 if (!SWIG_IsOK(res2
)) {
6962 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6964 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6966 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6967 if (!SWIG_IsOK(ecode3
)) {
6968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6970 arg3
= static_cast< int >(val3
);
6973 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6974 if (!SWIG_IsOK(ecode4
)) {
6975 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6977 arg4
= static_cast< int >(val4
);
6982 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6988 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6992 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6993 if (!SWIG_IsOK(ecode7
)) {
6994 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6996 arg7
= static_cast< long >(val7
);
6999 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
7000 if (!SWIG_IsOK(res8
)) {
7001 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7004 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7006 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
7010 arg9
= wxString_in_helper(obj8
);
7011 if (arg9
== NULL
) SWIG_fail
;
7016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7017 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7018 wxPyEndAllowThreads(__tstate
);
7019 if (PyErr_Occurred()) SWIG_fail
;
7022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7038 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7039 PyObject
*resultobj
= 0;
7040 wxGauge
*arg1
= (wxGauge
*) 0 ;
7046 PyObject
* obj0
= 0 ;
7047 PyObject
* obj1
= 0 ;
7048 char * kwnames
[] = {
7049 (char *) "self",(char *) "range", NULL
7052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7054 if (!SWIG_IsOK(res1
)) {
7055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7057 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7058 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7059 if (!SWIG_IsOK(ecode2
)) {
7060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7062 arg2
= static_cast< int >(val2
);
7064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7065 (arg1
)->SetRange(arg2
);
7066 wxPyEndAllowThreads(__tstate
);
7067 if (PyErr_Occurred()) SWIG_fail
;
7069 resultobj
= SWIG_Py_Void();
7076 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7077 PyObject
*resultobj
= 0;
7078 wxGauge
*arg1
= (wxGauge
*) 0 ;
7082 PyObject
*swig_obj
[1] ;
7084 if (!args
) SWIG_fail
;
7086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7087 if (!SWIG_IsOK(res1
)) {
7088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7090 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7093 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7094 wxPyEndAllowThreads(__tstate
);
7095 if (PyErr_Occurred()) SWIG_fail
;
7097 resultobj
= SWIG_From_int(static_cast< int >(result
));
7104 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7105 PyObject
*resultobj
= 0;
7106 wxGauge
*arg1
= (wxGauge
*) 0 ;
7112 PyObject
* obj0
= 0 ;
7113 PyObject
* obj1
= 0 ;
7114 char * kwnames
[] = {
7115 (char *) "self",(char *) "pos", NULL
7118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7120 if (!SWIG_IsOK(res1
)) {
7121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7123 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7124 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7125 if (!SWIG_IsOK(ecode2
)) {
7126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7128 arg2
= static_cast< int >(val2
);
7130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7131 (arg1
)->SetValue(arg2
);
7132 wxPyEndAllowThreads(__tstate
);
7133 if (PyErr_Occurred()) SWIG_fail
;
7135 resultobj
= SWIG_Py_Void();
7142 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7143 PyObject
*resultobj
= 0;
7144 wxGauge
*arg1
= (wxGauge
*) 0 ;
7148 PyObject
*swig_obj
[1] ;
7150 if (!args
) SWIG_fail
;
7152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7153 if (!SWIG_IsOK(res1
)) {
7154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7156 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7159 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7160 wxPyEndAllowThreads(__tstate
);
7161 if (PyErr_Occurred()) SWIG_fail
;
7163 resultobj
= SWIG_From_int(static_cast< int >(result
));
7170 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7171 PyObject
*resultobj
= 0;
7172 wxGauge
*arg1
= (wxGauge
*) 0 ;
7176 PyObject
*swig_obj
[1] ;
7178 if (!args
) SWIG_fail
;
7180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7181 if (!SWIG_IsOK(res1
)) {
7182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7184 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7187 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7188 wxPyEndAllowThreads(__tstate
);
7189 if (PyErr_Occurred()) SWIG_fail
;
7192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7200 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7201 PyObject
*resultobj
= 0;
7202 wxGauge
*arg1
= (wxGauge
*) 0 ;
7208 PyObject
* obj0
= 0 ;
7209 PyObject
* obj1
= 0 ;
7210 char * kwnames
[] = {
7211 (char *) "self",(char *) "w", NULL
7214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7216 if (!SWIG_IsOK(res1
)) {
7217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7219 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7220 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7221 if (!SWIG_IsOK(ecode2
)) {
7222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7224 arg2
= static_cast< int >(val2
);
7226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7227 (arg1
)->SetShadowWidth(arg2
);
7228 wxPyEndAllowThreads(__tstate
);
7229 if (PyErr_Occurred()) SWIG_fail
;
7231 resultobj
= SWIG_Py_Void();
7238 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7239 PyObject
*resultobj
= 0;
7240 wxGauge
*arg1
= (wxGauge
*) 0 ;
7244 PyObject
*swig_obj
[1] ;
7246 if (!args
) SWIG_fail
;
7248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7249 if (!SWIG_IsOK(res1
)) {
7250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7252 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7255 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7256 wxPyEndAllowThreads(__tstate
);
7257 if (PyErr_Occurred()) SWIG_fail
;
7259 resultobj
= SWIG_From_int(static_cast< int >(result
));
7266 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7267 PyObject
*resultobj
= 0;
7268 wxGauge
*arg1
= (wxGauge
*) 0 ;
7274 PyObject
* obj0
= 0 ;
7275 PyObject
* obj1
= 0 ;
7276 char * kwnames
[] = {
7277 (char *) "self",(char *) "w", NULL
7280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7282 if (!SWIG_IsOK(res1
)) {
7283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7285 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7287 if (!SWIG_IsOK(ecode2
)) {
7288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7290 arg2
= static_cast< int >(val2
);
7292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7293 (arg1
)->SetBezelFace(arg2
);
7294 wxPyEndAllowThreads(__tstate
);
7295 if (PyErr_Occurred()) SWIG_fail
;
7297 resultobj
= SWIG_Py_Void();
7304 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7305 PyObject
*resultobj
= 0;
7306 wxGauge
*arg1
= (wxGauge
*) 0 ;
7310 PyObject
*swig_obj
[1] ;
7312 if (!args
) SWIG_fail
;
7314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7315 if (!SWIG_IsOK(res1
)) {
7316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7318 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7321 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7322 wxPyEndAllowThreads(__tstate
);
7323 if (PyErr_Occurred()) SWIG_fail
;
7325 resultobj
= SWIG_From_int(static_cast< int >(result
));
7332 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7333 PyObject
*resultobj
= 0;
7334 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7335 SwigValueWrapper
<wxVisualAttributes
> result
;
7338 PyObject
* obj0
= 0 ;
7339 char * kwnames
[] = {
7340 (char *) "variant", NULL
7343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7345 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7346 if (!SWIG_IsOK(ecode1
)) {
7347 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7349 arg1
= static_cast< wxWindowVariant
>(val1
);
7352 if (!wxPyCheckForApp()) SWIG_fail
;
7353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7354 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7355 wxPyEndAllowThreads(__tstate
);
7356 if (PyErr_Occurred()) SWIG_fail
;
7358 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7365 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7367 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7368 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7369 return SWIG_Py_Void();
7372 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7373 return SWIG_Python_InitShadowInstance(args
);
7376 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7377 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7382 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7383 PyObject
*pyobj
= 0;
7387 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7389 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7396 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7397 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7402 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7403 PyObject
*pyobj
= 0;
7407 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7409 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7416 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7417 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7422 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7423 PyObject
*pyobj
= 0;
7427 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7429 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7436 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7437 PyObject
*resultobj
= 0;
7438 wxWindow
*arg1
= (wxWindow
*) 0 ;
7439 int arg2
= (int) -1 ;
7440 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7441 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7442 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7443 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7444 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7445 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7446 long arg6
= (long) 0 ;
7447 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7448 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7449 wxStaticBox
*result
= 0 ;
7454 bool temp3
= false ;
7459 bool temp7
= false ;
7460 PyObject
* obj0
= 0 ;
7461 PyObject
* obj1
= 0 ;
7462 PyObject
* obj2
= 0 ;
7463 PyObject
* obj3
= 0 ;
7464 PyObject
* obj4
= 0 ;
7465 PyObject
* obj5
= 0 ;
7466 PyObject
* obj6
= 0 ;
7467 char * kwnames
[] = {
7468 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7473 if (!SWIG_IsOK(res1
)) {
7474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7476 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7478 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7479 if (!SWIG_IsOK(ecode2
)) {
7480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7482 arg2
= static_cast< int >(val2
);
7486 arg3
= wxString_in_helper(obj2
);
7487 if (arg3
== NULL
) SWIG_fail
;
7494 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7500 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7504 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7505 if (!SWIG_IsOK(ecode6
)) {
7506 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7508 arg6
= static_cast< long >(val6
);
7512 arg7
= wxString_in_helper(obj6
);
7513 if (arg7
== NULL
) SWIG_fail
;
7518 if (!wxPyCheckForApp()) SWIG_fail
;
7519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7520 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7521 wxPyEndAllowThreads(__tstate
);
7522 if (PyErr_Occurred()) SWIG_fail
;
7524 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7547 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7548 PyObject
*resultobj
= 0;
7549 wxStaticBox
*result
= 0 ;
7551 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7553 if (!wxPyCheckForApp()) SWIG_fail
;
7554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7555 result
= (wxStaticBox
*)new wxStaticBox();
7556 wxPyEndAllowThreads(__tstate
);
7557 if (PyErr_Occurred()) SWIG_fail
;
7559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7566 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7567 PyObject
*resultobj
= 0;
7568 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7569 wxWindow
*arg2
= (wxWindow
*) 0 ;
7570 int arg3
= (int) -1 ;
7571 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7572 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7573 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7574 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7575 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7576 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7577 long arg7
= (long) 0 ;
7578 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7579 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7587 bool temp4
= false ;
7592 bool temp8
= false ;
7593 PyObject
* obj0
= 0 ;
7594 PyObject
* obj1
= 0 ;
7595 PyObject
* obj2
= 0 ;
7596 PyObject
* obj3
= 0 ;
7597 PyObject
* obj4
= 0 ;
7598 PyObject
* obj5
= 0 ;
7599 PyObject
* obj6
= 0 ;
7600 PyObject
* obj7
= 0 ;
7601 char * kwnames
[] = {
7602 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7607 if (!SWIG_IsOK(res1
)) {
7608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7610 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7611 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7612 if (!SWIG_IsOK(res2
)) {
7613 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7615 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7617 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7618 if (!SWIG_IsOK(ecode3
)) {
7619 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7621 arg3
= static_cast< int >(val3
);
7625 arg4
= wxString_in_helper(obj3
);
7626 if (arg4
== NULL
) SWIG_fail
;
7633 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7639 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7643 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7644 if (!SWIG_IsOK(ecode7
)) {
7645 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7647 arg7
= static_cast< long >(val7
);
7651 arg8
= wxString_in_helper(obj7
);
7652 if (arg8
== NULL
) SWIG_fail
;
7657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7658 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7659 wxPyEndAllowThreads(__tstate
);
7660 if (PyErr_Occurred()) SWIG_fail
;
7663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7687 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7688 PyObject
*resultobj
= 0;
7689 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7690 SwigValueWrapper
<wxVisualAttributes
> result
;
7693 PyObject
* obj0
= 0 ;
7694 char * kwnames
[] = {
7695 (char *) "variant", NULL
7698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7700 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7701 if (!SWIG_IsOK(ecode1
)) {
7702 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7704 arg1
= static_cast< wxWindowVariant
>(val1
);
7707 if (!wxPyCheckForApp()) SWIG_fail
;
7708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7709 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7710 wxPyEndAllowThreads(__tstate
);
7711 if (PyErr_Occurred()) SWIG_fail
;
7713 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7720 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7722 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7723 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7724 return SWIG_Py_Void();
7727 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7728 return SWIG_Python_InitShadowInstance(args
);
7731 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7732 PyObject
*resultobj
= 0;
7733 wxWindow
*arg1
= (wxWindow
*) 0 ;
7734 int arg2
= (int) -1 ;
7735 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7736 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7737 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7738 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7739 long arg5
= (long) wxLI_HORIZONTAL
;
7740 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7741 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7742 wxStaticLine
*result
= 0 ;
7751 bool temp6
= false ;
7752 PyObject
* obj0
= 0 ;
7753 PyObject
* obj1
= 0 ;
7754 PyObject
* obj2
= 0 ;
7755 PyObject
* obj3
= 0 ;
7756 PyObject
* obj4
= 0 ;
7757 PyObject
* obj5
= 0 ;
7758 char * kwnames
[] = {
7759 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7764 if (!SWIG_IsOK(res1
)) {
7765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7767 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7769 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7770 if (!SWIG_IsOK(ecode2
)) {
7771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7773 arg2
= static_cast< int >(val2
);
7778 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7784 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7788 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7789 if (!SWIG_IsOK(ecode5
)) {
7790 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7792 arg5
= static_cast< long >(val5
);
7796 arg6
= wxString_in_helper(obj5
);
7797 if (arg6
== NULL
) SWIG_fail
;
7802 if (!wxPyCheckForApp()) SWIG_fail
;
7803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7804 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7805 wxPyEndAllowThreads(__tstate
);
7806 if (PyErr_Occurred()) SWIG_fail
;
7808 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7823 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7824 PyObject
*resultobj
= 0;
7825 wxStaticLine
*result
= 0 ;
7827 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7829 if (!wxPyCheckForApp()) SWIG_fail
;
7830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7831 result
= (wxStaticLine
*)new wxStaticLine();
7832 wxPyEndAllowThreads(__tstate
);
7833 if (PyErr_Occurred()) SWIG_fail
;
7835 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7842 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7843 PyObject
*resultobj
= 0;
7844 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7845 wxWindow
*arg2
= (wxWindow
*) 0 ;
7846 int arg3
= (int) -1 ;
7847 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7848 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7849 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7850 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7851 long arg6
= (long) wxLI_HORIZONTAL
;
7852 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7853 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7865 bool temp7
= false ;
7866 PyObject
* obj0
= 0 ;
7867 PyObject
* obj1
= 0 ;
7868 PyObject
* obj2
= 0 ;
7869 PyObject
* obj3
= 0 ;
7870 PyObject
* obj4
= 0 ;
7871 PyObject
* obj5
= 0 ;
7872 PyObject
* obj6
= 0 ;
7873 char * kwnames
[] = {
7874 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7879 if (!SWIG_IsOK(res1
)) {
7880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7882 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7883 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7884 if (!SWIG_IsOK(res2
)) {
7885 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7887 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7889 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7890 if (!SWIG_IsOK(ecode3
)) {
7891 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7893 arg3
= static_cast< int >(val3
);
7898 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7904 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7908 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7909 if (!SWIG_IsOK(ecode6
)) {
7910 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7912 arg6
= static_cast< long >(val6
);
7916 arg7
= wxString_in_helper(obj6
);
7917 if (arg7
== NULL
) SWIG_fail
;
7922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7923 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7924 wxPyEndAllowThreads(__tstate
);
7925 if (PyErr_Occurred()) SWIG_fail
;
7928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7944 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7945 PyObject
*resultobj
= 0;
7946 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7950 PyObject
*swig_obj
[1] ;
7952 if (!args
) SWIG_fail
;
7954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7955 if (!SWIG_IsOK(res1
)) {
7956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7958 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7961 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7962 wxPyEndAllowThreads(__tstate
);
7963 if (PyErr_Occurred()) SWIG_fail
;
7966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7974 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7975 PyObject
*resultobj
= 0;
7978 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
7980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7981 result
= (int)wxStaticLine::GetDefaultSize();
7982 wxPyEndAllowThreads(__tstate
);
7983 if (PyErr_Occurred()) SWIG_fail
;
7985 resultobj
= SWIG_From_int(static_cast< int >(result
));
7992 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7993 PyObject
*resultobj
= 0;
7994 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7995 SwigValueWrapper
<wxVisualAttributes
> result
;
7998 PyObject
* obj0
= 0 ;
7999 char * kwnames
[] = {
8000 (char *) "variant", NULL
8003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8005 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8006 if (!SWIG_IsOK(ecode1
)) {
8007 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8009 arg1
= static_cast< wxWindowVariant
>(val1
);
8012 if (!wxPyCheckForApp()) SWIG_fail
;
8013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8014 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8015 wxPyEndAllowThreads(__tstate
);
8016 if (PyErr_Occurred()) SWIG_fail
;
8018 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8025 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8027 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8028 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8029 return SWIG_Py_Void();
8032 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8033 return SWIG_Python_InitShadowInstance(args
);
8036 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8037 PyObject
*resultobj
= 0;
8038 wxWindow
*arg1
= (wxWindow
*) 0 ;
8039 int arg2
= (int) -1 ;
8040 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8041 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8042 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8043 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8044 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8045 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8046 long arg6
= (long) 0 ;
8047 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8048 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8049 wxStaticText
*result
= 0 ;
8054 bool temp3
= false ;
8059 bool temp7
= false ;
8060 PyObject
* obj0
= 0 ;
8061 PyObject
* obj1
= 0 ;
8062 PyObject
* obj2
= 0 ;
8063 PyObject
* obj3
= 0 ;
8064 PyObject
* obj4
= 0 ;
8065 PyObject
* obj5
= 0 ;
8066 PyObject
* obj6
= 0 ;
8067 char * kwnames
[] = {
8068 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8073 if (!SWIG_IsOK(res1
)) {
8074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8076 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8078 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8079 if (!SWIG_IsOK(ecode2
)) {
8080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8082 arg2
= static_cast< int >(val2
);
8086 arg3
= wxString_in_helper(obj2
);
8087 if (arg3
== NULL
) SWIG_fail
;
8094 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8100 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8104 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8105 if (!SWIG_IsOK(ecode6
)) {
8106 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8108 arg6
= static_cast< long >(val6
);
8112 arg7
= wxString_in_helper(obj6
);
8113 if (arg7
== NULL
) SWIG_fail
;
8118 if (!wxPyCheckForApp()) SWIG_fail
;
8119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8120 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8121 wxPyEndAllowThreads(__tstate
);
8122 if (PyErr_Occurred()) SWIG_fail
;
8124 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8147 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8148 PyObject
*resultobj
= 0;
8149 wxStaticText
*result
= 0 ;
8151 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8153 if (!wxPyCheckForApp()) SWIG_fail
;
8154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8155 result
= (wxStaticText
*)new wxStaticText();
8156 wxPyEndAllowThreads(__tstate
);
8157 if (PyErr_Occurred()) SWIG_fail
;
8159 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8166 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8167 PyObject
*resultobj
= 0;
8168 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8169 wxWindow
*arg2
= (wxWindow
*) 0 ;
8170 int arg3
= (int) -1 ;
8171 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8172 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8173 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8174 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8175 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8176 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8177 long arg7
= (long) 0 ;
8178 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8179 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8187 bool temp4
= false ;
8192 bool temp8
= false ;
8193 PyObject
* obj0
= 0 ;
8194 PyObject
* obj1
= 0 ;
8195 PyObject
* obj2
= 0 ;
8196 PyObject
* obj3
= 0 ;
8197 PyObject
* obj4
= 0 ;
8198 PyObject
* obj5
= 0 ;
8199 PyObject
* obj6
= 0 ;
8200 PyObject
* obj7
= 0 ;
8201 char * kwnames
[] = {
8202 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8207 if (!SWIG_IsOK(res1
)) {
8208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8210 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8211 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8212 if (!SWIG_IsOK(res2
)) {
8213 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8215 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8217 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8218 if (!SWIG_IsOK(ecode3
)) {
8219 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8221 arg3
= static_cast< int >(val3
);
8225 arg4
= wxString_in_helper(obj3
);
8226 if (arg4
== NULL
) SWIG_fail
;
8233 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8239 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8243 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8244 if (!SWIG_IsOK(ecode7
)) {
8245 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8247 arg7
= static_cast< long >(val7
);
8251 arg8
= wxString_in_helper(obj7
);
8252 if (arg8
== NULL
) SWIG_fail
;
8257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8258 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8259 wxPyEndAllowThreads(__tstate
);
8260 if (PyErr_Occurred()) SWIG_fail
;
8263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8287 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8288 PyObject
*resultobj
= 0;
8289 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8295 PyObject
* obj0
= 0 ;
8296 PyObject
* obj1
= 0 ;
8297 char * kwnames
[] = {
8298 (char *) "self",(char *) "width", NULL
8301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8303 if (!SWIG_IsOK(res1
)) {
8304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8306 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8307 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8308 if (!SWIG_IsOK(ecode2
)) {
8309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8311 arg2
= static_cast< int >(val2
);
8313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8315 wxPyEndAllowThreads(__tstate
);
8316 if (PyErr_Occurred()) SWIG_fail
;
8318 resultobj
= SWIG_Py_Void();
8325 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8326 PyObject
*resultobj
= 0;
8327 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8328 SwigValueWrapper
<wxVisualAttributes
> result
;
8331 PyObject
* obj0
= 0 ;
8332 char * kwnames
[] = {
8333 (char *) "variant", NULL
8336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8338 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8339 if (!SWIG_IsOK(ecode1
)) {
8340 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8342 arg1
= static_cast< wxWindowVariant
>(val1
);
8345 if (!wxPyCheckForApp()) SWIG_fail
;
8346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8347 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8348 wxPyEndAllowThreads(__tstate
);
8349 if (PyErr_Occurred()) SWIG_fail
;
8351 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8358 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8360 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8361 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8362 return SWIG_Py_Void();
8365 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8366 return SWIG_Python_InitShadowInstance(args
);
8369 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8370 PyObject
*resultobj
= 0;
8371 wxWindow
*arg1
= (wxWindow
*) 0 ;
8372 int arg2
= (int) -1 ;
8373 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8374 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8375 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8376 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8377 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8378 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8379 long arg6
= (long) 0 ;
8380 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8381 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8382 wxStaticBitmap
*result
= 0 ;
8393 bool temp7
= false ;
8394 PyObject
* obj0
= 0 ;
8395 PyObject
* obj1
= 0 ;
8396 PyObject
* obj2
= 0 ;
8397 PyObject
* obj3
= 0 ;
8398 PyObject
* obj4
= 0 ;
8399 PyObject
* obj5
= 0 ;
8400 PyObject
* obj6
= 0 ;
8401 char * kwnames
[] = {
8402 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8407 if (!SWIG_IsOK(res1
)) {
8408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8410 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8412 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8413 if (!SWIG_IsOK(ecode2
)) {
8414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8416 arg2
= static_cast< int >(val2
);
8419 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8420 if (!SWIG_IsOK(res3
)) {
8421 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8424 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8426 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8431 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8437 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8441 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8442 if (!SWIG_IsOK(ecode6
)) {
8443 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8445 arg6
= static_cast< long >(val6
);
8449 arg7
= wxString_in_helper(obj6
);
8450 if (arg7
== NULL
) SWIG_fail
;
8455 if (!wxPyCheckForApp()) SWIG_fail
;
8456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8457 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8458 wxPyEndAllowThreads(__tstate
);
8459 if (PyErr_Occurred()) SWIG_fail
;
8461 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8476 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8477 PyObject
*resultobj
= 0;
8478 wxStaticBitmap
*result
= 0 ;
8480 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8482 if (!wxPyCheckForApp()) SWIG_fail
;
8483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8484 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8485 wxPyEndAllowThreads(__tstate
);
8486 if (PyErr_Occurred()) SWIG_fail
;
8488 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8495 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8496 PyObject
*resultobj
= 0;
8497 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8498 wxWindow
*arg2
= (wxWindow
*) 0 ;
8499 int arg3
= (int) -1 ;
8500 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8501 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8502 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8503 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8504 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8505 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8506 long arg7
= (long) 0 ;
8507 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8508 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8522 bool temp8
= false ;
8523 PyObject
* obj0
= 0 ;
8524 PyObject
* obj1
= 0 ;
8525 PyObject
* obj2
= 0 ;
8526 PyObject
* obj3
= 0 ;
8527 PyObject
* obj4
= 0 ;
8528 PyObject
* obj5
= 0 ;
8529 PyObject
* obj6
= 0 ;
8530 PyObject
* obj7
= 0 ;
8531 char * kwnames
[] = {
8532 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8537 if (!SWIG_IsOK(res1
)) {
8538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8540 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8541 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8542 if (!SWIG_IsOK(res2
)) {
8543 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8545 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8547 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8548 if (!SWIG_IsOK(ecode3
)) {
8549 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8551 arg3
= static_cast< int >(val3
);
8554 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8555 if (!SWIG_IsOK(res4
)) {
8556 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8559 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8561 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8566 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8572 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8576 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8577 if (!SWIG_IsOK(ecode7
)) {
8578 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8580 arg7
= static_cast< long >(val7
);
8584 arg8
= wxString_in_helper(obj7
);
8585 if (arg8
== NULL
) SWIG_fail
;
8590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8591 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8592 wxPyEndAllowThreads(__tstate
);
8593 if (PyErr_Occurred()) SWIG_fail
;
8596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8612 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8613 PyObject
*resultobj
= 0;
8614 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8618 PyObject
*swig_obj
[1] ;
8620 if (!args
) SWIG_fail
;
8622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8623 if (!SWIG_IsOK(res1
)) {
8624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8626 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8629 result
= (arg1
)->GetBitmap();
8630 wxPyEndAllowThreads(__tstate
);
8631 if (PyErr_Occurred()) SWIG_fail
;
8633 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8640 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8641 PyObject
*resultobj
= 0;
8642 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8643 wxBitmap
*arg2
= 0 ;
8648 PyObject
* obj0
= 0 ;
8649 PyObject
* obj1
= 0 ;
8650 char * kwnames
[] = {
8651 (char *) "self",(char *) "bitmap", NULL
8654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8656 if (!SWIG_IsOK(res1
)) {
8657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8659 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8660 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8661 if (!SWIG_IsOK(res2
)) {
8662 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8665 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8667 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8670 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8671 wxPyEndAllowThreads(__tstate
);
8672 if (PyErr_Occurred()) SWIG_fail
;
8674 resultobj
= SWIG_Py_Void();
8681 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8682 PyObject
*resultobj
= 0;
8683 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8689 PyObject
* obj0
= 0 ;
8690 PyObject
* obj1
= 0 ;
8691 char * kwnames
[] = {
8692 (char *) "self",(char *) "icon", NULL
8695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8697 if (!SWIG_IsOK(res1
)) {
8698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8700 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8701 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8702 if (!SWIG_IsOK(res2
)) {
8703 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8706 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8708 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8711 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8712 wxPyEndAllowThreads(__tstate
);
8713 if (PyErr_Occurred()) SWIG_fail
;
8715 resultobj
= SWIG_Py_Void();
8722 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8723 PyObject
*resultobj
= 0;
8724 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8725 SwigValueWrapper
<wxVisualAttributes
> result
;
8728 PyObject
* obj0
= 0 ;
8729 char * kwnames
[] = {
8730 (char *) "variant", NULL
8733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8735 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8736 if (!SWIG_IsOK(ecode1
)) {
8737 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8739 arg1
= static_cast< wxWindowVariant
>(val1
);
8742 if (!wxPyCheckForApp()) SWIG_fail
;
8743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8744 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8745 wxPyEndAllowThreads(__tstate
);
8746 if (PyErr_Occurred()) SWIG_fail
;
8748 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8755 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8757 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8758 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8759 return SWIG_Py_Void();
8762 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8763 return SWIG_Python_InitShadowInstance(args
);
8766 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8767 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8772 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8773 PyObject
*pyobj
= 0;
8777 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8779 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8786 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8787 PyObject
*resultobj
= 0;
8788 wxWindow
*arg1
= (wxWindow
*) 0 ;
8789 int arg2
= (int) -1 ;
8790 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8791 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8792 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8793 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8794 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8795 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8796 long arg6
= (long) 0 ;
8797 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8798 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8799 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8800 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8801 wxListBox
*result
= 0 ;
8808 bool temp5
= false ;
8813 bool temp8
= false ;
8814 PyObject
* obj0
= 0 ;
8815 PyObject
* obj1
= 0 ;
8816 PyObject
* obj2
= 0 ;
8817 PyObject
* obj3
= 0 ;
8818 PyObject
* obj4
= 0 ;
8819 PyObject
* obj5
= 0 ;
8820 PyObject
* obj6
= 0 ;
8821 PyObject
* obj7
= 0 ;
8822 char * kwnames
[] = {
8823 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8828 if (!SWIG_IsOK(res1
)) {
8829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8831 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8833 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8834 if (!SWIG_IsOK(ecode2
)) {
8835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8837 arg2
= static_cast< int >(val2
);
8842 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8848 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8853 if (! PySequence_Check(obj4
)) {
8854 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8857 arg5
= new wxArrayString
;
8859 int i
, len
=PySequence_Length(obj4
);
8860 for (i
=0; i
<len
; i
++) {
8861 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8862 wxString
* s
= wxString_in_helper(item
);
8863 if (PyErr_Occurred()) SWIG_fail
;
8871 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8872 if (!SWIG_IsOK(ecode6
)) {
8873 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8875 arg6
= static_cast< long >(val6
);
8878 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8879 if (!SWIG_IsOK(res7
)) {
8880 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8883 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8885 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8889 arg8
= wxString_in_helper(obj7
);
8890 if (arg8
== NULL
) SWIG_fail
;
8895 if (!wxPyCheckForApp()) SWIG_fail
;
8896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8897 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8898 wxPyEndAllowThreads(__tstate
);
8899 if (PyErr_Occurred()) SWIG_fail
;
8901 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8903 if (temp5
) delete arg5
;
8912 if (temp5
) delete arg5
;
8922 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8923 PyObject
*resultobj
= 0;
8924 wxListBox
*result
= 0 ;
8926 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8928 if (!wxPyCheckForApp()) SWIG_fail
;
8929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8930 result
= (wxListBox
*)new wxListBox();
8931 wxPyEndAllowThreads(__tstate
);
8932 if (PyErr_Occurred()) SWIG_fail
;
8934 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8941 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8942 PyObject
*resultobj
= 0;
8943 wxListBox
*arg1
= (wxListBox
*) 0 ;
8944 wxWindow
*arg2
= (wxWindow
*) 0 ;
8945 int arg3
= (int) -1 ;
8946 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8947 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8948 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8949 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8950 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8951 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8952 long arg7
= (long) 0 ;
8953 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8954 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8955 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8956 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8966 bool temp6
= false ;
8971 bool temp9
= false ;
8972 PyObject
* obj0
= 0 ;
8973 PyObject
* obj1
= 0 ;
8974 PyObject
* obj2
= 0 ;
8975 PyObject
* obj3
= 0 ;
8976 PyObject
* obj4
= 0 ;
8977 PyObject
* obj5
= 0 ;
8978 PyObject
* obj6
= 0 ;
8979 PyObject
* obj7
= 0 ;
8980 PyObject
* obj8
= 0 ;
8981 char * kwnames
[] = {
8982 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
8986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
8987 if (!SWIG_IsOK(res1
)) {
8988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
8990 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
8991 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8992 if (!SWIG_IsOK(res2
)) {
8993 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8995 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8997 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8998 if (!SWIG_IsOK(ecode3
)) {
8999 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9001 arg3
= static_cast< int >(val3
);
9006 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9012 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9017 if (! PySequence_Check(obj5
)) {
9018 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9021 arg6
= new wxArrayString
;
9023 int i
, len
=PySequence_Length(obj5
);
9024 for (i
=0; i
<len
; i
++) {
9025 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9026 wxString
* s
= wxString_in_helper(item
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9035 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9036 if (!SWIG_IsOK(ecode7
)) {
9037 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9039 arg7
= static_cast< long >(val7
);
9042 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9043 if (!SWIG_IsOK(res8
)) {
9044 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9047 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9049 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9053 arg9
= wxString_in_helper(obj8
);
9054 if (arg9
== NULL
) SWIG_fail
;
9059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9060 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9061 wxPyEndAllowThreads(__tstate
);
9062 if (PyErr_Occurred()) SWIG_fail
;
9065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9068 if (temp6
) delete arg6
;
9077 if (temp6
) delete arg6
;
9087 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9088 PyObject
*resultobj
= 0;
9089 wxListBox
*arg1
= (wxListBox
*) 0 ;
9090 wxString
*arg2
= 0 ;
9092 PyObject
*arg4
= (PyObject
*) NULL
;
9095 bool temp2
= false ;
9098 PyObject
* obj0
= 0 ;
9099 PyObject
* obj1
= 0 ;
9100 PyObject
* obj2
= 0 ;
9101 PyObject
* obj3
= 0 ;
9102 char * kwnames
[] = {
9103 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9108 if (!SWIG_IsOK(res1
)) {
9109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9111 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9113 arg2
= wxString_in_helper(obj1
);
9114 if (arg2
== NULL
) SWIG_fail
;
9117 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9118 if (!SWIG_IsOK(ecode3
)) {
9119 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9121 arg3
= static_cast< int >(val3
);
9126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9127 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9128 wxPyEndAllowThreads(__tstate
);
9129 if (PyErr_Occurred()) SWIG_fail
;
9131 resultobj
= SWIG_Py_Void();
9146 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9147 PyObject
*resultobj
= 0;
9148 wxListBox
*arg1
= (wxListBox
*) 0 ;
9149 wxArrayString
*arg2
= 0 ;
9153 bool temp2
= false ;
9156 PyObject
* obj0
= 0 ;
9157 PyObject
* obj1
= 0 ;
9158 PyObject
* obj2
= 0 ;
9159 char * kwnames
[] = {
9160 (char *) "self",(char *) "items",(char *) "pos", NULL
9163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9165 if (!SWIG_IsOK(res1
)) {
9166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9168 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9170 if (! PySequence_Check(obj1
)) {
9171 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9174 arg2
= new wxArrayString
;
9176 int i
, len
=PySequence_Length(obj1
);
9177 for (i
=0; i
<len
; i
++) {
9178 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9179 wxString
* s
= wxString_in_helper(item
);
9180 if (PyErr_Occurred()) SWIG_fail
;
9186 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9187 if (!SWIG_IsOK(ecode3
)) {
9188 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9190 arg3
= static_cast< unsigned int >(val3
);
9192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9193 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9194 wxPyEndAllowThreads(__tstate
);
9195 if (PyErr_Occurred()) SWIG_fail
;
9197 resultobj
= SWIG_Py_Void();
9199 if (temp2
) delete arg2
;
9204 if (temp2
) delete arg2
;
9210 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9211 PyObject
*resultobj
= 0;
9212 wxListBox
*arg1
= (wxListBox
*) 0 ;
9213 wxArrayString
*arg2
= 0 ;
9216 bool temp2
= false ;
9217 PyObject
* obj0
= 0 ;
9218 PyObject
* obj1
= 0 ;
9219 char * kwnames
[] = {
9220 (char *) "self",(char *) "items", NULL
9223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9225 if (!SWIG_IsOK(res1
)) {
9226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9228 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9230 if (! PySequence_Check(obj1
)) {
9231 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9234 arg2
= new wxArrayString
;
9236 int i
, len
=PySequence_Length(obj1
);
9237 for (i
=0; i
<len
; i
++) {
9238 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9239 wxString
* s
= wxString_in_helper(item
);
9240 if (PyErr_Occurred()) SWIG_fail
;
9247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9248 (arg1
)->Set((wxArrayString
const &)*arg2
);
9249 wxPyEndAllowThreads(__tstate
);
9250 if (PyErr_Occurred()) SWIG_fail
;
9252 resultobj
= SWIG_Py_Void();
9254 if (temp2
) delete arg2
;
9259 if (temp2
) delete arg2
;
9265 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9266 PyObject
*resultobj
= 0;
9267 wxListBox
*arg1
= (wxListBox
*) 0 ;
9274 PyObject
* obj0
= 0 ;
9275 PyObject
* obj1
= 0 ;
9276 char * kwnames
[] = {
9277 (char *) "self",(char *) "n", NULL
9280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9282 if (!SWIG_IsOK(res1
)) {
9283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9285 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9287 if (!SWIG_IsOK(ecode2
)) {
9288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9290 arg2
= static_cast< int >(val2
);
9292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9293 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9294 wxPyEndAllowThreads(__tstate
);
9295 if (PyErr_Occurred()) SWIG_fail
;
9298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9306 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9307 PyObject
*resultobj
= 0;
9308 wxListBox
*arg1
= (wxListBox
*) 0 ;
9310 bool arg3
= (bool) true ;
9317 PyObject
* obj0
= 0 ;
9318 PyObject
* obj1
= 0 ;
9319 PyObject
* obj2
= 0 ;
9320 char * kwnames
[] = {
9321 (char *) "self",(char *) "n",(char *) "select", NULL
9324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9326 if (!SWIG_IsOK(res1
)) {
9327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9329 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9330 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9331 if (!SWIG_IsOK(ecode2
)) {
9332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9334 arg2
= static_cast< int >(val2
);
9336 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9337 if (!SWIG_IsOK(ecode3
)) {
9338 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9340 arg3
= static_cast< bool >(val3
);
9343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9344 (arg1
)->SetSelection(arg2
,arg3
);
9345 wxPyEndAllowThreads(__tstate
);
9346 if (PyErr_Occurred()) SWIG_fail
;
9348 resultobj
= SWIG_Py_Void();
9355 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9356 PyObject
*resultobj
= 0;
9357 wxListBox
*arg1
= (wxListBox
*) 0 ;
9363 PyObject
* obj0
= 0 ;
9364 PyObject
* obj1
= 0 ;
9365 char * kwnames
[] = {
9366 (char *) "self",(char *) "n", NULL
9369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9371 if (!SWIG_IsOK(res1
)) {
9372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9374 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9375 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9376 if (!SWIG_IsOK(ecode2
)) {
9377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9379 arg2
= static_cast< int >(val2
);
9381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9382 (arg1
)->Select(arg2
);
9383 wxPyEndAllowThreads(__tstate
);
9384 if (PyErr_Occurred()) SWIG_fail
;
9386 resultobj
= SWIG_Py_Void();
9393 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9394 PyObject
*resultobj
= 0;
9395 wxListBox
*arg1
= (wxListBox
*) 0 ;
9401 PyObject
* obj0
= 0 ;
9402 PyObject
* obj1
= 0 ;
9403 char * kwnames
[] = {
9404 (char *) "self",(char *) "n", NULL
9407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9409 if (!SWIG_IsOK(res1
)) {
9410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9412 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9413 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9414 if (!SWIG_IsOK(ecode2
)) {
9415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9417 arg2
= static_cast< int >(val2
);
9419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9420 (arg1
)->Deselect(arg2
);
9421 wxPyEndAllowThreads(__tstate
);
9422 if (PyErr_Occurred()) SWIG_fail
;
9424 resultobj
= SWIG_Py_Void();
9431 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9432 PyObject
*resultobj
= 0;
9433 wxListBox
*arg1
= (wxListBox
*) 0 ;
9434 int arg2
= (int) -1 ;
9439 PyObject
* obj0
= 0 ;
9440 PyObject
* obj1
= 0 ;
9441 char * kwnames
[] = {
9442 (char *) "self",(char *) "itemToLeaveSelected", NULL
9445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9447 if (!SWIG_IsOK(res1
)) {
9448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9450 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9452 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9453 if (!SWIG_IsOK(ecode2
)) {
9454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9456 arg2
= static_cast< int >(val2
);
9459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9460 (arg1
)->DeselectAll(arg2
);
9461 wxPyEndAllowThreads(__tstate
);
9462 if (PyErr_Occurred()) SWIG_fail
;
9464 resultobj
= SWIG_Py_Void();
9471 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9472 PyObject
*resultobj
= 0;
9473 wxListBox
*arg1
= (wxListBox
*) 0 ;
9474 wxString
*arg2
= 0 ;
9475 bool arg3
= (bool) true ;
9479 bool temp2
= false ;
9482 PyObject
* obj0
= 0 ;
9483 PyObject
* obj1
= 0 ;
9484 PyObject
* obj2
= 0 ;
9485 char * kwnames
[] = {
9486 (char *) "self",(char *) "s",(char *) "select", NULL
9489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9491 if (!SWIG_IsOK(res1
)) {
9492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9494 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9496 arg2
= wxString_in_helper(obj1
);
9497 if (arg2
== NULL
) SWIG_fail
;
9501 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9502 if (!SWIG_IsOK(ecode3
)) {
9503 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9505 arg3
= static_cast< bool >(val3
);
9508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9509 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9510 wxPyEndAllowThreads(__tstate
);
9511 if (PyErr_Occurred()) SWIG_fail
;
9514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9530 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9531 PyObject
*resultobj
= 0;
9532 wxListBox
*arg1
= (wxListBox
*) 0 ;
9533 PyObject
*result
= 0 ;
9536 PyObject
*swig_obj
[1] ;
9538 if (!args
) SWIG_fail
;
9540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9541 if (!SWIG_IsOK(res1
)) {
9542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9544 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9547 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9548 wxPyEndAllowThreads(__tstate
);
9549 if (PyErr_Occurred()) SWIG_fail
;
9558 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9559 PyObject
*resultobj
= 0;
9560 wxListBox
*arg1
= (wxListBox
*) 0 ;
9566 PyObject
* obj0
= 0 ;
9567 PyObject
* obj1
= 0 ;
9568 char * kwnames
[] = {
9569 (char *) "self",(char *) "n", NULL
9572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9574 if (!SWIG_IsOK(res1
)) {
9575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9577 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9578 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9579 if (!SWIG_IsOK(ecode2
)) {
9580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9582 arg2
= static_cast< int >(val2
);
9584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9585 (arg1
)->SetFirstItem(arg2
);
9586 wxPyEndAllowThreads(__tstate
);
9587 if (PyErr_Occurred()) SWIG_fail
;
9589 resultobj
= SWIG_Py_Void();
9596 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9597 PyObject
*resultobj
= 0;
9598 wxListBox
*arg1
= (wxListBox
*) 0 ;
9599 wxString
*arg2
= 0 ;
9602 bool temp2
= false ;
9603 PyObject
* obj0
= 0 ;
9604 PyObject
* obj1
= 0 ;
9605 char * kwnames
[] = {
9606 (char *) "self",(char *) "s", NULL
9609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9611 if (!SWIG_IsOK(res1
)) {
9612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9614 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9616 arg2
= wxString_in_helper(obj1
);
9617 if (arg2
== NULL
) SWIG_fail
;
9621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9622 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9623 wxPyEndAllowThreads(__tstate
);
9624 if (PyErr_Occurred()) SWIG_fail
;
9626 resultobj
= SWIG_Py_Void();
9641 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9642 PyObject
*resultobj
= 0;
9643 wxListBox
*arg1
= (wxListBox
*) 0 ;
9649 PyObject
* obj0
= 0 ;
9650 PyObject
* obj1
= 0 ;
9651 char * kwnames
[] = {
9652 (char *) "self",(char *) "n", NULL
9655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9657 if (!SWIG_IsOK(res1
)) {
9658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9660 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9662 if (!SWIG_IsOK(ecode2
)) {
9663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9665 arg2
= static_cast< int >(val2
);
9667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9668 (arg1
)->EnsureVisible(arg2
);
9669 wxPyEndAllowThreads(__tstate
);
9670 if (PyErr_Occurred()) SWIG_fail
;
9672 resultobj
= SWIG_Py_Void();
9679 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9680 PyObject
*resultobj
= 0;
9681 wxListBox
*arg1
= (wxListBox
*) 0 ;
9682 wxString
*arg2
= 0 ;
9685 bool temp2
= false ;
9686 PyObject
* obj0
= 0 ;
9687 PyObject
* obj1
= 0 ;
9688 char * kwnames
[] = {
9689 (char *) "self",(char *) "s", NULL
9692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9694 if (!SWIG_IsOK(res1
)) {
9695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9697 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9699 arg2
= wxString_in_helper(obj1
);
9700 if (arg2
== NULL
) SWIG_fail
;
9704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9705 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9706 wxPyEndAllowThreads(__tstate
);
9707 if (PyErr_Occurred()) SWIG_fail
;
9709 resultobj
= SWIG_Py_Void();
9724 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9725 PyObject
*resultobj
= 0;
9726 wxListBox
*arg1
= (wxListBox
*) 0 ;
9730 PyObject
*swig_obj
[1] ;
9732 if (!args
) SWIG_fail
;
9734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9735 if (!SWIG_IsOK(res1
)) {
9736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9738 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9741 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9742 wxPyEndAllowThreads(__tstate
);
9743 if (PyErr_Occurred()) SWIG_fail
;
9746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9754 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9755 PyObject
*resultobj
= 0;
9756 wxListBox
*arg1
= (wxListBox
*) 0 ;
9762 PyObject
* obj0
= 0 ;
9763 PyObject
* obj1
= 0 ;
9764 char * kwnames
[] = {
9765 (char *) "self",(char *) "pt", NULL
9768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9770 if (!SWIG_IsOK(res1
)) {
9771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9773 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9776 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9780 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9781 wxPyEndAllowThreads(__tstate
);
9782 if (PyErr_Occurred()) SWIG_fail
;
9784 resultobj
= SWIG_From_int(static_cast< int >(result
));
9791 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9792 PyObject
*resultobj
= 0;
9793 wxListBox
*arg1
= (wxListBox
*) 0 ;
9795 wxColour
*arg3
= 0 ;
9801 PyObject
* obj0
= 0 ;
9802 PyObject
* obj1
= 0 ;
9803 PyObject
* obj2
= 0 ;
9804 char * kwnames
[] = {
9805 (char *) "self",(char *) "item",(char *) "c", NULL
9808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9810 if (!SWIG_IsOK(res1
)) {
9811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9813 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9814 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9815 if (!SWIG_IsOK(ecode2
)) {
9816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9818 arg2
= static_cast< int >(val2
);
9821 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9825 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9826 wxPyEndAllowThreads(__tstate
);
9827 if (PyErr_Occurred()) SWIG_fail
;
9829 resultobj
= SWIG_Py_Void();
9836 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9837 PyObject
*resultobj
= 0;
9838 wxListBox
*arg1
= (wxListBox
*) 0 ;
9840 wxColour
*arg3
= 0 ;
9846 PyObject
* obj0
= 0 ;
9847 PyObject
* obj1
= 0 ;
9848 PyObject
* obj2
= 0 ;
9849 char * kwnames
[] = {
9850 (char *) "self",(char *) "item",(char *) "c", NULL
9853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9855 if (!SWIG_IsOK(res1
)) {
9856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9858 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9859 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9860 if (!SWIG_IsOK(ecode2
)) {
9861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9863 arg2
= static_cast< int >(val2
);
9866 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9870 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9871 wxPyEndAllowThreads(__tstate
);
9872 if (PyErr_Occurred()) SWIG_fail
;
9874 resultobj
= SWIG_Py_Void();
9881 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9882 PyObject
*resultobj
= 0;
9883 wxListBox
*arg1
= (wxListBox
*) 0 ;
9892 PyObject
* obj0
= 0 ;
9893 PyObject
* obj1
= 0 ;
9894 PyObject
* obj2
= 0 ;
9895 char * kwnames
[] = {
9896 (char *) "self",(char *) "item",(char *) "f", NULL
9899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9901 if (!SWIG_IsOK(res1
)) {
9902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9904 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9906 if (!SWIG_IsOK(ecode2
)) {
9907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9909 arg2
= static_cast< int >(val2
);
9910 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9911 if (!SWIG_IsOK(res3
)) {
9912 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9915 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9917 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9920 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9921 wxPyEndAllowThreads(__tstate
);
9922 if (PyErr_Occurred()) SWIG_fail
;
9924 resultobj
= SWIG_Py_Void();
9931 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9932 PyObject
*resultobj
= 0;
9933 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9934 SwigValueWrapper
<wxVisualAttributes
> result
;
9937 PyObject
* obj0
= 0 ;
9938 char * kwnames
[] = {
9939 (char *) "variant", NULL
9942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9944 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9945 if (!SWIG_IsOK(ecode1
)) {
9946 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9948 arg1
= static_cast< wxWindowVariant
>(val1
);
9951 if (!wxPyCheckForApp()) SWIG_fail
;
9952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9953 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9954 wxPyEndAllowThreads(__tstate
);
9955 if (PyErr_Occurred()) SWIG_fail
;
9957 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9964 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9966 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9967 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9968 return SWIG_Py_Void();
9971 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9972 return SWIG_Python_InitShadowInstance(args
);
9975 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9976 PyObject
*resultobj
= 0;
9977 wxWindow
*arg1
= (wxWindow
*) 0 ;
9978 int arg2
= (int) -1 ;
9979 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9980 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9981 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9982 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9983 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
9984 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
9985 long arg6
= (long) 0 ;
9986 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9987 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9988 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
9989 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9990 wxCheckListBox
*result
= 0 ;
9997 bool temp5
= false ;
10002 bool temp8
= false ;
10003 PyObject
* obj0
= 0 ;
10004 PyObject
* obj1
= 0 ;
10005 PyObject
* obj2
= 0 ;
10006 PyObject
* obj3
= 0 ;
10007 PyObject
* obj4
= 0 ;
10008 PyObject
* obj5
= 0 ;
10009 PyObject
* obj6
= 0 ;
10010 PyObject
* obj7
= 0 ;
10011 char * kwnames
[] = {
10012 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10017 if (!SWIG_IsOK(res1
)) {
10018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10020 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10023 if (!SWIG_IsOK(ecode2
)) {
10024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10026 arg2
= static_cast< int >(val2
);
10031 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10037 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10042 if (! PySequence_Check(obj4
)) {
10043 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10046 arg5
= new wxArrayString
;
10048 int i
, len
=PySequence_Length(obj4
);
10049 for (i
=0; i
<len
; i
++) {
10050 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10051 wxString
* s
= wxString_in_helper(item
);
10052 if (PyErr_Occurred()) SWIG_fail
;
10060 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10061 if (!SWIG_IsOK(ecode6
)) {
10062 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10064 arg6
= static_cast< long >(val6
);
10067 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10068 if (!SWIG_IsOK(res7
)) {
10069 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10072 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10074 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10078 arg8
= wxString_in_helper(obj7
);
10079 if (arg8
== NULL
) SWIG_fail
;
10084 if (!wxPyCheckForApp()) SWIG_fail
;
10085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10086 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10087 wxPyEndAllowThreads(__tstate
);
10088 if (PyErr_Occurred()) SWIG_fail
;
10090 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10092 if (temp5
) delete arg5
;
10101 if (temp5
) delete arg5
;
10111 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10112 PyObject
*resultobj
= 0;
10113 wxCheckListBox
*result
= 0 ;
10115 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10117 if (!wxPyCheckForApp()) SWIG_fail
;
10118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10119 result
= (wxCheckListBox
*)new wxCheckListBox();
10120 wxPyEndAllowThreads(__tstate
);
10121 if (PyErr_Occurred()) SWIG_fail
;
10123 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10130 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10131 PyObject
*resultobj
= 0;
10132 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10133 wxWindow
*arg2
= (wxWindow
*) 0 ;
10134 int arg3
= (int) -1 ;
10135 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10136 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10137 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10138 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10139 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10140 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10141 long arg7
= (long) 0 ;
10142 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10143 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10144 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10145 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10155 bool temp6
= false ;
10160 bool temp9
= false ;
10161 PyObject
* obj0
= 0 ;
10162 PyObject
* obj1
= 0 ;
10163 PyObject
* obj2
= 0 ;
10164 PyObject
* obj3
= 0 ;
10165 PyObject
* obj4
= 0 ;
10166 PyObject
* obj5
= 0 ;
10167 PyObject
* obj6
= 0 ;
10168 PyObject
* obj7
= 0 ;
10169 PyObject
* obj8
= 0 ;
10170 char * kwnames
[] = {
10171 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10176 if (!SWIG_IsOK(res1
)) {
10177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10179 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10180 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10181 if (!SWIG_IsOK(res2
)) {
10182 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10184 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10186 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10187 if (!SWIG_IsOK(ecode3
)) {
10188 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10190 arg3
= static_cast< int >(val3
);
10195 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10201 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10206 if (! PySequence_Check(obj5
)) {
10207 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10210 arg6
= new wxArrayString
;
10212 int i
, len
=PySequence_Length(obj5
);
10213 for (i
=0; i
<len
; i
++) {
10214 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10215 wxString
* s
= wxString_in_helper(item
);
10216 if (PyErr_Occurred()) SWIG_fail
;
10224 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10225 if (!SWIG_IsOK(ecode7
)) {
10226 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10228 arg7
= static_cast< long >(val7
);
10231 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10232 if (!SWIG_IsOK(res8
)) {
10233 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10236 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10238 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10242 arg9
= wxString_in_helper(obj8
);
10243 if (arg9
== NULL
) SWIG_fail
;
10248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10249 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10250 wxPyEndAllowThreads(__tstate
);
10251 if (PyErr_Occurred()) SWIG_fail
;
10254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10257 if (temp6
) delete arg6
;
10266 if (temp6
) delete arg6
;
10276 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10277 PyObject
*resultobj
= 0;
10278 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10279 unsigned int arg2
;
10283 unsigned int val2
;
10285 PyObject
* obj0
= 0 ;
10286 PyObject
* obj1
= 0 ;
10287 char * kwnames
[] = {
10288 (char *) "self",(char *) "index", NULL
10291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10293 if (!SWIG_IsOK(res1
)) {
10294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10296 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10297 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10298 if (!SWIG_IsOK(ecode2
)) {
10299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10301 arg2
= static_cast< unsigned int >(val2
);
10303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10304 result
= (bool)(arg1
)->IsChecked(arg2
);
10305 wxPyEndAllowThreads(__tstate
);
10306 if (PyErr_Occurred()) SWIG_fail
;
10309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10317 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10318 PyObject
*resultobj
= 0;
10319 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10320 unsigned int arg2
;
10321 int arg3
= (int) true ;
10324 unsigned int val2
;
10328 PyObject
* obj0
= 0 ;
10329 PyObject
* obj1
= 0 ;
10330 PyObject
* obj2
= 0 ;
10331 char * kwnames
[] = {
10332 (char *) "self",(char *) "index",(char *) "check", NULL
10335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10337 if (!SWIG_IsOK(res1
)) {
10338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10340 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10341 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10342 if (!SWIG_IsOK(ecode2
)) {
10343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10345 arg2
= static_cast< unsigned int >(val2
);
10347 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10348 if (!SWIG_IsOK(ecode3
)) {
10349 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10351 arg3
= static_cast< int >(val3
);
10354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10355 (arg1
)->Check(arg2
,arg3
);
10356 wxPyEndAllowThreads(__tstate
);
10357 if (PyErr_Occurred()) SWIG_fail
;
10359 resultobj
= SWIG_Py_Void();
10366 SWIGINTERN PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10367 PyObject
*resultobj
= 0;
10368 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10372 PyObject
*swig_obj
[1] ;
10374 if (!args
) SWIG_fail
;
10375 swig_obj
[0] = args
;
10376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10377 if (!SWIG_IsOK(res1
)) {
10378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10380 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10383 result
= (int)(arg1
)->GetItemHeight();
10384 wxPyEndAllowThreads(__tstate
);
10385 if (PyErr_Occurred()) SWIG_fail
;
10387 resultobj
= SWIG_From_int(static_cast< int >(result
));
10394 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10396 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10397 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10398 return SWIG_Py_Void();
10401 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10402 return SWIG_Python_InitShadowInstance(args
);
10405 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10406 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10411 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10412 PyObject
*pyobj
= 0;
10416 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10418 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10425 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10426 PyObject
*resultobj
= 0;
10427 wxColour
const &arg1_defvalue
= wxNullColour
;
10428 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10429 wxColour
const &arg2_defvalue
= wxNullColour
;
10430 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10431 wxFont
const &arg3_defvalue
= wxNullFont
;
10432 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10433 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10434 wxTextAttr
*result
= 0 ;
10441 PyObject
* obj0
= 0 ;
10442 PyObject
* obj1
= 0 ;
10443 PyObject
* obj2
= 0 ;
10444 PyObject
* obj3
= 0 ;
10445 char * kwnames
[] = {
10446 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10453 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10459 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10463 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10464 if (!SWIG_IsOK(res3
)) {
10465 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10468 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10470 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10473 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10474 if (!SWIG_IsOK(ecode4
)) {
10475 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10477 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10481 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10482 wxPyEndAllowThreads(__tstate
);
10483 if (PyErr_Occurred()) SWIG_fail
;
10485 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10492 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10493 PyObject
*resultobj
= 0;
10494 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10497 PyObject
*swig_obj
[1] ;
10499 if (!args
) SWIG_fail
;
10500 swig_obj
[0] = args
;
10501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10502 if (!SWIG_IsOK(res1
)) {
10503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10505 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10510 wxPyEndAllowThreads(__tstate
);
10511 if (PyErr_Occurred()) SWIG_fail
;
10513 resultobj
= SWIG_Py_Void();
10520 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10521 PyObject
*resultobj
= 0;
10522 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10525 PyObject
*swig_obj
[1] ;
10527 if (!args
) SWIG_fail
;
10528 swig_obj
[0] = args
;
10529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10530 if (!SWIG_IsOK(res1
)) {
10531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10533 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10537 wxPyEndAllowThreads(__tstate
);
10538 if (PyErr_Occurred()) SWIG_fail
;
10540 resultobj
= SWIG_Py_Void();
10547 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10548 PyObject
*resultobj
= 0;
10549 wxTextAttr
*arg1
= 0 ;
10550 wxTextAttr
*arg2
= 0 ;
10556 PyObject
* obj0
= 0 ;
10557 PyObject
* obj1
= 0 ;
10558 char * kwnames
[] = {
10559 (char *) "base",(char *) "overlay", NULL
10562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10563 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10564 if (!SWIG_IsOK(res1
)) {
10565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10568 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10570 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10571 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10572 if (!SWIG_IsOK(res2
)) {
10573 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10576 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10578 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10581 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10582 wxPyEndAllowThreads(__tstate
);
10583 if (PyErr_Occurred()) SWIG_fail
;
10585 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10592 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10593 PyObject
*resultobj
= 0;
10594 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10595 wxColour
*arg2
= 0 ;
10599 PyObject
* obj0
= 0 ;
10600 PyObject
* obj1
= 0 ;
10601 char * kwnames
[] = {
10602 (char *) "self",(char *) "colText", NULL
10605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10607 if (!SWIG_IsOK(res1
)) {
10608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10610 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10613 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10617 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10618 wxPyEndAllowThreads(__tstate
);
10619 if (PyErr_Occurred()) SWIG_fail
;
10621 resultobj
= SWIG_Py_Void();
10628 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10629 PyObject
*resultobj
= 0;
10630 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10631 wxColour
*arg2
= 0 ;
10635 PyObject
* obj0
= 0 ;
10636 PyObject
* obj1
= 0 ;
10637 char * kwnames
[] = {
10638 (char *) "self",(char *) "colBack", NULL
10641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10643 if (!SWIG_IsOK(res1
)) {
10644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10646 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10649 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10653 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10654 wxPyEndAllowThreads(__tstate
);
10655 if (PyErr_Occurred()) SWIG_fail
;
10657 resultobj
= SWIG_Py_Void();
10664 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10665 PyObject
*resultobj
= 0;
10666 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10668 long arg3
= (long) wxTEXT_ATTR_FONT
;
10675 PyObject
* obj0
= 0 ;
10676 PyObject
* obj1
= 0 ;
10677 PyObject
* obj2
= 0 ;
10678 char * kwnames
[] = {
10679 (char *) "self",(char *) "font",(char *) "flags", NULL
10682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10684 if (!SWIG_IsOK(res1
)) {
10685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10687 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10688 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10689 if (!SWIG_IsOK(res2
)) {
10690 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10693 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10695 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10697 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10698 if (!SWIG_IsOK(ecode3
)) {
10699 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10701 arg3
= static_cast< long >(val3
);
10704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10705 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10706 wxPyEndAllowThreads(__tstate
);
10707 if (PyErr_Occurred()) SWIG_fail
;
10709 resultobj
= SWIG_Py_Void();
10716 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10717 PyObject
*resultobj
= 0;
10718 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10719 wxTextAttrAlignment arg2
;
10724 PyObject
* obj0
= 0 ;
10725 PyObject
* obj1
= 0 ;
10726 char * kwnames
[] = {
10727 (char *) "self",(char *) "alignment", NULL
10730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10732 if (!SWIG_IsOK(res1
)) {
10733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10735 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10736 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10737 if (!SWIG_IsOK(ecode2
)) {
10738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10740 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10743 (arg1
)->SetAlignment(arg2
);
10744 wxPyEndAllowThreads(__tstate
);
10745 if (PyErr_Occurred()) SWIG_fail
;
10747 resultobj
= SWIG_Py_Void();
10754 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10755 PyObject
*resultobj
= 0;
10756 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10757 wxArrayInt
*arg2
= 0 ;
10760 bool temp2
= false ;
10761 PyObject
* obj0
= 0 ;
10762 PyObject
* obj1
= 0 ;
10763 char * kwnames
[] = {
10764 (char *) "self",(char *) "tabs", NULL
10767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10769 if (!SWIG_IsOK(res1
)) {
10770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10772 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10774 if (! PySequence_Check(obj1
)) {
10775 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10778 arg2
= new wxArrayInt
;
10780 int i
, len
=PySequence_Length(obj1
);
10781 for (i
=0; i
<len
; i
++) {
10782 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10783 PyObject
* number
= PyNumber_Int(item
);
10784 arg2
->Add(PyInt_AS_LONG(number
));
10790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10791 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10792 wxPyEndAllowThreads(__tstate
);
10793 if (PyErr_Occurred()) SWIG_fail
;
10795 resultobj
= SWIG_Py_Void();
10797 if (temp2
) delete arg2
;
10802 if (temp2
) delete arg2
;
10808 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10809 PyObject
*resultobj
= 0;
10810 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10812 int arg3
= (int) 0 ;
10819 PyObject
* obj0
= 0 ;
10820 PyObject
* obj1
= 0 ;
10821 PyObject
* obj2
= 0 ;
10822 char * kwnames
[] = {
10823 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10828 if (!SWIG_IsOK(res1
)) {
10829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10831 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10832 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10833 if (!SWIG_IsOK(ecode2
)) {
10834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10836 arg2
= static_cast< int >(val2
);
10838 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10839 if (!SWIG_IsOK(ecode3
)) {
10840 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10842 arg3
= static_cast< int >(val3
);
10845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10846 (arg1
)->SetLeftIndent(arg2
,arg3
);
10847 wxPyEndAllowThreads(__tstate
);
10848 if (PyErr_Occurred()) SWIG_fail
;
10850 resultobj
= SWIG_Py_Void();
10857 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10858 PyObject
*resultobj
= 0;
10859 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10865 PyObject
* obj0
= 0 ;
10866 PyObject
* obj1
= 0 ;
10867 char * kwnames
[] = {
10868 (char *) "self",(char *) "indent", NULL
10871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10873 if (!SWIG_IsOK(res1
)) {
10874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10876 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10877 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10878 if (!SWIG_IsOK(ecode2
)) {
10879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10881 arg2
= static_cast< int >(val2
);
10883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10884 (arg1
)->SetRightIndent(arg2
);
10885 wxPyEndAllowThreads(__tstate
);
10886 if (PyErr_Occurred()) SWIG_fail
;
10888 resultobj
= SWIG_Py_Void();
10895 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10896 PyObject
*resultobj
= 0;
10897 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10903 PyObject
* obj0
= 0 ;
10904 PyObject
* obj1
= 0 ;
10905 char * kwnames
[] = {
10906 (char *) "self",(char *) "flags", NULL
10909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10911 if (!SWIG_IsOK(res1
)) {
10912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10914 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10915 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10916 if (!SWIG_IsOK(ecode2
)) {
10917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10919 arg2
= static_cast< long >(val2
);
10921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10922 (arg1
)->SetFlags(arg2
);
10923 wxPyEndAllowThreads(__tstate
);
10924 if (PyErr_Occurred()) SWIG_fail
;
10926 resultobj
= SWIG_Py_Void();
10933 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10934 PyObject
*resultobj
= 0;
10935 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10939 PyObject
*swig_obj
[1] ;
10941 if (!args
) SWIG_fail
;
10942 swig_obj
[0] = args
;
10943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10944 if (!SWIG_IsOK(res1
)) {
10945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10947 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10950 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10951 wxPyEndAllowThreads(__tstate
);
10952 if (PyErr_Occurred()) SWIG_fail
;
10955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10963 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10964 PyObject
*resultobj
= 0;
10965 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10969 PyObject
*swig_obj
[1] ;
10971 if (!args
) SWIG_fail
;
10972 swig_obj
[0] = args
;
10973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10974 if (!SWIG_IsOK(res1
)) {
10975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10977 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10980 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
10981 wxPyEndAllowThreads(__tstate
);
10982 if (PyErr_Occurred()) SWIG_fail
;
10985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10993 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10994 PyObject
*resultobj
= 0;
10995 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10999 PyObject
*swig_obj
[1] ;
11001 if (!args
) SWIG_fail
;
11002 swig_obj
[0] = args
;
11003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11004 if (!SWIG_IsOK(res1
)) {
11005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11007 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11010 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
11011 wxPyEndAllowThreads(__tstate
);
11012 if (PyErr_Occurred()) SWIG_fail
;
11015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11023 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11024 PyObject
*resultobj
= 0;
11025 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11029 PyObject
*swig_obj
[1] ;
11031 if (!args
) SWIG_fail
;
11032 swig_obj
[0] = args
;
11033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11034 if (!SWIG_IsOK(res1
)) {
11035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11037 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11040 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11041 wxPyEndAllowThreads(__tstate
);
11042 if (PyErr_Occurred()) SWIG_fail
;
11045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11053 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11054 PyObject
*resultobj
= 0;
11055 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11059 PyObject
*swig_obj
[1] ;
11061 if (!args
) SWIG_fail
;
11062 swig_obj
[0] = args
;
11063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11064 if (!SWIG_IsOK(res1
)) {
11065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11067 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11070 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11071 wxPyEndAllowThreads(__tstate
);
11072 if (PyErr_Occurred()) SWIG_fail
;
11075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11083 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11084 PyObject
*resultobj
= 0;
11085 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11089 PyObject
*swig_obj
[1] ;
11091 if (!args
) SWIG_fail
;
11092 swig_obj
[0] = args
;
11093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11094 if (!SWIG_IsOK(res1
)) {
11095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11097 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11100 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11101 wxPyEndAllowThreads(__tstate
);
11102 if (PyErr_Occurred()) SWIG_fail
;
11105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11113 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11114 PyObject
*resultobj
= 0;
11115 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11119 PyObject
*swig_obj
[1] ;
11121 if (!args
) SWIG_fail
;
11122 swig_obj
[0] = args
;
11123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11124 if (!SWIG_IsOK(res1
)) {
11125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11127 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11130 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11131 wxPyEndAllowThreads(__tstate
);
11132 if (PyErr_Occurred()) SWIG_fail
;
11135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11143 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11144 PyObject
*resultobj
= 0;
11145 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11152 PyObject
* obj0
= 0 ;
11153 PyObject
* obj1
= 0 ;
11154 char * kwnames
[] = {
11155 (char *) "self",(char *) "flag", NULL
11158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11160 if (!SWIG_IsOK(res1
)) {
11161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11163 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11164 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11165 if (!SWIG_IsOK(ecode2
)) {
11166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11168 arg2
= static_cast< long >(val2
);
11170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11171 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11172 wxPyEndAllowThreads(__tstate
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11184 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11185 PyObject
*resultobj
= 0;
11186 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11187 wxColour
*result
= 0 ;
11190 PyObject
*swig_obj
[1] ;
11192 if (!args
) SWIG_fail
;
11193 swig_obj
[0] = args
;
11194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11195 if (!SWIG_IsOK(res1
)) {
11196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11198 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11202 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11203 result
= (wxColour
*) &_result_ref
;
11205 wxPyEndAllowThreads(__tstate
);
11206 if (PyErr_Occurred()) SWIG_fail
;
11208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11215 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11216 PyObject
*resultobj
= 0;
11217 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11218 wxColour
*result
= 0 ;
11221 PyObject
*swig_obj
[1] ;
11223 if (!args
) SWIG_fail
;
11224 swig_obj
[0] = args
;
11225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11226 if (!SWIG_IsOK(res1
)) {
11227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11229 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11233 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11234 result
= (wxColour
*) &_result_ref
;
11236 wxPyEndAllowThreads(__tstate
);
11237 if (PyErr_Occurred()) SWIG_fail
;
11239 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11246 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11247 PyObject
*resultobj
= 0;
11248 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11249 wxFont
*result
= 0 ;
11252 PyObject
*swig_obj
[1] ;
11254 if (!args
) SWIG_fail
;
11255 swig_obj
[0] = args
;
11256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11257 if (!SWIG_IsOK(res1
)) {
11258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11260 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11264 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11265 result
= (wxFont
*) &_result_ref
;
11267 wxPyEndAllowThreads(__tstate
);
11268 if (PyErr_Occurred()) SWIG_fail
;
11271 wxFont
* resultptr
= new wxFont(*result
);
11272 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11280 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11281 PyObject
*resultobj
= 0;
11282 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11283 wxTextAttrAlignment result
;
11286 PyObject
*swig_obj
[1] ;
11288 if (!args
) SWIG_fail
;
11289 swig_obj
[0] = args
;
11290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11291 if (!SWIG_IsOK(res1
)) {
11292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11294 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11297 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11298 wxPyEndAllowThreads(__tstate
);
11299 if (PyErr_Occurred()) SWIG_fail
;
11301 resultobj
= SWIG_From_int(static_cast< int >(result
));
11308 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11309 PyObject
*resultobj
= 0;
11310 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11311 wxArrayInt
*result
= 0 ;
11314 PyObject
*swig_obj
[1] ;
11316 if (!args
) SWIG_fail
;
11317 swig_obj
[0] = args
;
11318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11319 if (!SWIG_IsOK(res1
)) {
11320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11322 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11326 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11327 result
= (wxArrayInt
*) &_result_ref
;
11329 wxPyEndAllowThreads(__tstate
);
11330 if (PyErr_Occurred()) SWIG_fail
;
11333 resultobj
= PyList_New(0);
11335 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
11336 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
11337 PyList_Append(resultobj
, val
);
11347 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11348 PyObject
*resultobj
= 0;
11349 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11353 PyObject
*swig_obj
[1] ;
11355 if (!args
) SWIG_fail
;
11356 swig_obj
[0] = args
;
11357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11358 if (!SWIG_IsOK(res1
)) {
11359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11361 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11364 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11365 wxPyEndAllowThreads(__tstate
);
11366 if (PyErr_Occurred()) SWIG_fail
;
11368 resultobj
= SWIG_From_long(static_cast< long >(result
));
11375 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11376 PyObject
*resultobj
= 0;
11377 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11381 PyObject
*swig_obj
[1] ;
11383 if (!args
) SWIG_fail
;
11384 swig_obj
[0] = args
;
11385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11386 if (!SWIG_IsOK(res1
)) {
11387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11389 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11392 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11393 wxPyEndAllowThreads(__tstate
);
11394 if (PyErr_Occurred()) SWIG_fail
;
11396 resultobj
= SWIG_From_long(static_cast< long >(result
));
11403 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11404 PyObject
*resultobj
= 0;
11405 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11409 PyObject
*swig_obj
[1] ;
11411 if (!args
) SWIG_fail
;
11412 swig_obj
[0] = args
;
11413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11414 if (!SWIG_IsOK(res1
)) {
11415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11417 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11420 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11421 wxPyEndAllowThreads(__tstate
);
11422 if (PyErr_Occurred()) SWIG_fail
;
11424 resultobj
= SWIG_From_long(static_cast< long >(result
));
11431 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11432 PyObject
*resultobj
= 0;
11433 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11437 PyObject
*swig_obj
[1] ;
11439 if (!args
) SWIG_fail
;
11440 swig_obj
[0] = args
;
11441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11442 if (!SWIG_IsOK(res1
)) {
11443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11445 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11448 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11449 wxPyEndAllowThreads(__tstate
);
11450 if (PyErr_Occurred()) SWIG_fail
;
11452 resultobj
= SWIG_From_long(static_cast< long >(result
));
11459 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11460 PyObject
*resultobj
= 0;
11461 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11465 PyObject
*swig_obj
[1] ;
11467 if (!args
) SWIG_fail
;
11468 swig_obj
[0] = args
;
11469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11470 if (!SWIG_IsOK(res1
)) {
11471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11473 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11476 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11477 wxPyEndAllowThreads(__tstate
);
11478 if (PyErr_Occurred()) SWIG_fail
;
11481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11489 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11490 PyObject
*resultobj
= 0;
11491 wxTextAttr
*arg1
= 0 ;
11492 wxTextAttr
*arg2
= 0 ;
11493 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11501 PyObject
* obj0
= 0 ;
11502 PyObject
* obj1
= 0 ;
11503 PyObject
* obj2
= 0 ;
11504 char * kwnames
[] = {
11505 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11509 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11510 if (!SWIG_IsOK(res1
)) {
11511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11514 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11516 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11517 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11518 if (!SWIG_IsOK(res2
)) {
11519 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11522 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11524 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11525 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11526 if (!SWIG_IsOK(res3
)) {
11527 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11529 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11532 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11533 wxPyEndAllowThreads(__tstate
);
11534 if (PyErr_Occurred()) SWIG_fail
;
11536 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11543 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11545 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11546 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11547 return SWIG_Py_Void();
11550 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11551 return SWIG_Python_InitShadowInstance(args
);
11554 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11555 PyObject
*resultobj
= 0;
11556 wxWindow
*arg1
= (wxWindow
*) 0 ;
11557 int arg2
= (int) -1 ;
11558 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11559 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11560 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11561 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11562 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11563 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11564 long arg6
= (long) 0 ;
11565 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11566 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11567 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11568 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11569 wxTextCtrl
*result
= 0 ;
11574 bool temp3
= false ;
11581 bool temp8
= false ;
11582 PyObject
* obj0
= 0 ;
11583 PyObject
* obj1
= 0 ;
11584 PyObject
* obj2
= 0 ;
11585 PyObject
* obj3
= 0 ;
11586 PyObject
* obj4
= 0 ;
11587 PyObject
* obj5
= 0 ;
11588 PyObject
* obj6
= 0 ;
11589 PyObject
* obj7
= 0 ;
11590 char * kwnames
[] = {
11591 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11596 if (!SWIG_IsOK(res1
)) {
11597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11599 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11601 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11602 if (!SWIG_IsOK(ecode2
)) {
11603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11605 arg2
= static_cast< int >(val2
);
11609 arg3
= wxString_in_helper(obj2
);
11610 if (arg3
== NULL
) SWIG_fail
;
11617 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11623 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11627 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11628 if (!SWIG_IsOK(ecode6
)) {
11629 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11631 arg6
= static_cast< long >(val6
);
11634 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11635 if (!SWIG_IsOK(res7
)) {
11636 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11639 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11641 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11645 arg8
= wxString_in_helper(obj7
);
11646 if (arg8
== NULL
) SWIG_fail
;
11651 if (!wxPyCheckForApp()) SWIG_fail
;
11652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11653 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11654 wxPyEndAllowThreads(__tstate
);
11655 if (PyErr_Occurred()) SWIG_fail
;
11657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11680 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11681 PyObject
*resultobj
= 0;
11682 wxTextCtrl
*result
= 0 ;
11684 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11686 if (!wxPyCheckForApp()) SWIG_fail
;
11687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11688 result
= (wxTextCtrl
*)new wxTextCtrl();
11689 wxPyEndAllowThreads(__tstate
);
11690 if (PyErr_Occurred()) SWIG_fail
;
11692 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11699 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11700 PyObject
*resultobj
= 0;
11701 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11702 wxWindow
*arg2
= (wxWindow
*) 0 ;
11703 int arg3
= (int) -1 ;
11704 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11705 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11706 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11707 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11708 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11709 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11710 long arg7
= (long) 0 ;
11711 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11712 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11713 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11714 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11722 bool temp4
= false ;
11729 bool temp9
= false ;
11730 PyObject
* obj0
= 0 ;
11731 PyObject
* obj1
= 0 ;
11732 PyObject
* obj2
= 0 ;
11733 PyObject
* obj3
= 0 ;
11734 PyObject
* obj4
= 0 ;
11735 PyObject
* obj5
= 0 ;
11736 PyObject
* obj6
= 0 ;
11737 PyObject
* obj7
= 0 ;
11738 PyObject
* obj8
= 0 ;
11739 char * kwnames
[] = {
11740 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11745 if (!SWIG_IsOK(res1
)) {
11746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11748 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11749 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11750 if (!SWIG_IsOK(res2
)) {
11751 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11753 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11755 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11756 if (!SWIG_IsOK(ecode3
)) {
11757 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11759 arg3
= static_cast< int >(val3
);
11763 arg4
= wxString_in_helper(obj3
);
11764 if (arg4
== NULL
) SWIG_fail
;
11771 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11777 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11781 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11782 if (!SWIG_IsOK(ecode7
)) {
11783 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11785 arg7
= static_cast< long >(val7
);
11788 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11789 if (!SWIG_IsOK(res8
)) {
11790 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11793 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11795 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11799 arg9
= wxString_in_helper(obj8
);
11800 if (arg9
== NULL
) SWIG_fail
;
11805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11806 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11807 wxPyEndAllowThreads(__tstate
);
11808 if (PyErr_Occurred()) SWIG_fail
;
11811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11835 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11836 PyObject
*resultobj
= 0;
11837 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11841 PyObject
*swig_obj
[1] ;
11843 if (!args
) SWIG_fail
;
11844 swig_obj
[0] = args
;
11845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11846 if (!SWIG_IsOK(res1
)) {
11847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11849 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11852 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11853 wxPyEndAllowThreads(__tstate
);
11854 if (PyErr_Occurred()) SWIG_fail
;
11858 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11860 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11869 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11870 PyObject
*resultobj
= 0;
11871 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11872 wxString
*arg2
= 0 ;
11875 bool temp2
= false ;
11876 PyObject
* obj0
= 0 ;
11877 PyObject
* obj1
= 0 ;
11878 char * kwnames
[] = {
11879 (char *) "self",(char *) "value", NULL
11882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11884 if (!SWIG_IsOK(res1
)) {
11885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11887 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11889 arg2
= wxString_in_helper(obj1
);
11890 if (arg2
== NULL
) SWIG_fail
;
11894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11895 (arg1
)->SetValue((wxString
const &)*arg2
);
11896 wxPyEndAllowThreads(__tstate
);
11897 if (PyErr_Occurred()) SWIG_fail
;
11899 resultobj
= SWIG_Py_Void();
11914 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11915 PyObject
*resultobj
= 0;
11916 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11926 PyObject
* obj0
= 0 ;
11927 PyObject
* obj1
= 0 ;
11928 PyObject
* obj2
= 0 ;
11929 char * kwnames
[] = {
11930 (char *) "self",(char *) "from",(char *) "to", NULL
11933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11935 if (!SWIG_IsOK(res1
)) {
11936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11938 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11939 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11940 if (!SWIG_IsOK(ecode2
)) {
11941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11943 arg2
= static_cast< long >(val2
);
11944 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11945 if (!SWIG_IsOK(ecode3
)) {
11946 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
11948 arg3
= static_cast< long >(val3
);
11950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11951 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
11952 wxPyEndAllowThreads(__tstate
);
11953 if (PyErr_Occurred()) SWIG_fail
;
11957 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11959 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11968 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11969 PyObject
*resultobj
= 0;
11970 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11977 PyObject
* obj0
= 0 ;
11978 PyObject
* obj1
= 0 ;
11979 char * kwnames
[] = {
11980 (char *) "self",(char *) "lineNo", NULL
11983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11985 if (!SWIG_IsOK(res1
)) {
11986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11988 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11989 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11990 if (!SWIG_IsOK(ecode2
)) {
11991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
11993 arg2
= static_cast< long >(val2
);
11995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11996 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
11997 wxPyEndAllowThreads(__tstate
);
11998 if (PyErr_Occurred()) SWIG_fail
;
12000 resultobj
= SWIG_From_int(static_cast< int >(result
));
12007 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12008 PyObject
*resultobj
= 0;
12009 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12016 PyObject
* obj0
= 0 ;
12017 PyObject
* obj1
= 0 ;
12018 char * kwnames
[] = {
12019 (char *) "self",(char *) "lineNo", NULL
12022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12024 if (!SWIG_IsOK(res1
)) {
12025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12027 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12028 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12029 if (!SWIG_IsOK(ecode2
)) {
12030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12032 arg2
= static_cast< long >(val2
);
12034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12035 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12036 wxPyEndAllowThreads(__tstate
);
12037 if (PyErr_Occurred()) SWIG_fail
;
12041 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12043 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12052 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12053 PyObject
*resultobj
= 0;
12054 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12058 PyObject
*swig_obj
[1] ;
12060 if (!args
) SWIG_fail
;
12061 swig_obj
[0] = args
;
12062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12063 if (!SWIG_IsOK(res1
)) {
12064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12066 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12069 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12070 wxPyEndAllowThreads(__tstate
);
12071 if (PyErr_Occurred()) SWIG_fail
;
12073 resultobj
= SWIG_From_int(static_cast< int >(result
));
12080 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12081 PyObject
*resultobj
= 0;
12082 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12086 PyObject
*swig_obj
[1] ;
12088 if (!args
) SWIG_fail
;
12089 swig_obj
[0] = args
;
12090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12091 if (!SWIG_IsOK(res1
)) {
12092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12094 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12097 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12098 wxPyEndAllowThreads(__tstate
);
12099 if (PyErr_Occurred()) SWIG_fail
;
12102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12110 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12111 PyObject
*resultobj
= 0;
12112 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12116 PyObject
*swig_obj
[1] ;
12118 if (!args
) SWIG_fail
;
12119 swig_obj
[0] = args
;
12120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12121 if (!SWIG_IsOK(res1
)) {
12122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12124 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12127 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12128 wxPyEndAllowThreads(__tstate
);
12129 if (PyErr_Occurred()) SWIG_fail
;
12132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12140 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12141 PyObject
*resultobj
= 0;
12142 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12146 PyObject
*swig_obj
[1] ;
12148 if (!args
) SWIG_fail
;
12149 swig_obj
[0] = args
;
12150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12151 if (!SWIG_IsOK(res1
)) {
12152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12154 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12157 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12158 wxPyEndAllowThreads(__tstate
);
12159 if (PyErr_Occurred()) SWIG_fail
;
12162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12170 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12171 PyObject
*resultobj
= 0;
12172 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12176 PyObject
*swig_obj
[1] ;
12178 if (!args
) SWIG_fail
;
12179 swig_obj
[0] = args
;
12180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12181 if (!SWIG_IsOK(res1
)) {
12182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12184 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12187 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12188 wxPyEndAllowThreads(__tstate
);
12189 if (PyErr_Occurred()) SWIG_fail
;
12192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12200 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12201 PyObject
*resultobj
= 0;
12202 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12203 long *arg2
= (long *) 0 ;
12204 long *arg3
= (long *) 0 ;
12208 int res2
= SWIG_TMPOBJ
;
12210 int res3
= SWIG_TMPOBJ
;
12211 PyObject
*swig_obj
[1] ;
12215 if (!args
) SWIG_fail
;
12216 swig_obj
[0] = args
;
12217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12218 if (!SWIG_IsOK(res1
)) {
12219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12221 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12224 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12225 wxPyEndAllowThreads(__tstate
);
12226 if (PyErr_Occurred()) SWIG_fail
;
12228 resultobj
= SWIG_Py_Void();
12229 if (SWIG_IsTmpObj(res2
)) {
12230 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12232 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12233 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12235 if (SWIG_IsTmpObj(res3
)) {
12236 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12238 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12239 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12247 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12248 PyObject
*resultobj
= 0;
12249 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12253 PyObject
*swig_obj
[1] ;
12255 if (!args
) SWIG_fail
;
12256 swig_obj
[0] = args
;
12257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12258 if (!SWIG_IsOK(res1
)) {
12259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12261 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12264 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12265 wxPyEndAllowThreads(__tstate
);
12266 if (PyErr_Occurred()) SWIG_fail
;
12270 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12272 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12281 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12282 PyObject
*resultobj
= 0;
12283 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12286 PyObject
*swig_obj
[1] ;
12288 if (!args
) SWIG_fail
;
12289 swig_obj
[0] = args
;
12290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12291 if (!SWIG_IsOK(res1
)) {
12292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12294 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12298 wxPyEndAllowThreads(__tstate
);
12299 if (PyErr_Occurred()) SWIG_fail
;
12301 resultobj
= SWIG_Py_Void();
12308 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12309 PyObject
*resultobj
= 0;
12310 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12313 wxString
*arg4
= 0 ;
12320 bool temp4
= false ;
12321 PyObject
* obj0
= 0 ;
12322 PyObject
* obj1
= 0 ;
12323 PyObject
* obj2
= 0 ;
12324 PyObject
* obj3
= 0 ;
12325 char * kwnames
[] = {
12326 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12331 if (!SWIG_IsOK(res1
)) {
12332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12334 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12335 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12336 if (!SWIG_IsOK(ecode2
)) {
12337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12339 arg2
= static_cast< long >(val2
);
12340 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12341 if (!SWIG_IsOK(ecode3
)) {
12342 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12344 arg3
= static_cast< long >(val3
);
12346 arg4
= wxString_in_helper(obj3
);
12347 if (arg4
== NULL
) SWIG_fail
;
12351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12352 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12353 wxPyEndAllowThreads(__tstate
);
12354 if (PyErr_Occurred()) SWIG_fail
;
12356 resultobj
= SWIG_Py_Void();
12371 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12372 PyObject
*resultobj
= 0;
12373 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12382 PyObject
* obj0
= 0 ;
12383 PyObject
* obj1
= 0 ;
12384 PyObject
* obj2
= 0 ;
12385 char * kwnames
[] = {
12386 (char *) "self",(char *) "from",(char *) "to", NULL
12389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12391 if (!SWIG_IsOK(res1
)) {
12392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12394 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12395 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12396 if (!SWIG_IsOK(ecode2
)) {
12397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12399 arg2
= static_cast< long >(val2
);
12400 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12401 if (!SWIG_IsOK(ecode3
)) {
12402 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12404 arg3
= static_cast< long >(val3
);
12406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12407 (arg1
)->Remove(arg2
,arg3
);
12408 wxPyEndAllowThreads(__tstate
);
12409 if (PyErr_Occurred()) SWIG_fail
;
12411 resultobj
= SWIG_Py_Void();
12418 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12419 PyObject
*resultobj
= 0;
12420 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12421 wxString
*arg2
= 0 ;
12425 bool temp2
= false ;
12426 PyObject
* obj0
= 0 ;
12427 PyObject
* obj1
= 0 ;
12428 char * kwnames
[] = {
12429 (char *) "self",(char *) "file", NULL
12432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12434 if (!SWIG_IsOK(res1
)) {
12435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12437 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12439 arg2
= wxString_in_helper(obj1
);
12440 if (arg2
== NULL
) SWIG_fail
;
12444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12445 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
12446 wxPyEndAllowThreads(__tstate
);
12447 if (PyErr_Occurred()) SWIG_fail
;
12450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12466 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12467 PyObject
*resultobj
= 0;
12468 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12469 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12470 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12474 bool temp2
= false ;
12475 PyObject
* obj0
= 0 ;
12476 PyObject
* obj1
= 0 ;
12477 char * kwnames
[] = {
12478 (char *) "self",(char *) "file", NULL
12481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12483 if (!SWIG_IsOK(res1
)) {
12484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12486 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12489 arg2
= wxString_in_helper(obj1
);
12490 if (arg2
== NULL
) SWIG_fail
;
12495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12496 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
12497 wxPyEndAllowThreads(__tstate
);
12498 if (PyErr_Occurred()) SWIG_fail
;
12501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12517 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12518 PyObject
*resultobj
= 0;
12519 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12522 PyObject
*swig_obj
[1] ;
12524 if (!args
) SWIG_fail
;
12525 swig_obj
[0] = args
;
12526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12527 if (!SWIG_IsOK(res1
)) {
12528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12530 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12533 (arg1
)->MarkDirty();
12534 wxPyEndAllowThreads(__tstate
);
12535 if (PyErr_Occurred()) SWIG_fail
;
12537 resultobj
= SWIG_Py_Void();
12544 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12545 PyObject
*resultobj
= 0;
12546 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12549 PyObject
*swig_obj
[1] ;
12551 if (!args
) SWIG_fail
;
12552 swig_obj
[0] = args
;
12553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12554 if (!SWIG_IsOK(res1
)) {
12555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12557 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12560 (arg1
)->DiscardEdits();
12561 wxPyEndAllowThreads(__tstate
);
12562 if (PyErr_Occurred()) SWIG_fail
;
12564 resultobj
= SWIG_Py_Void();
12571 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12572 PyObject
*resultobj
= 0;
12573 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12574 unsigned long arg2
;
12577 unsigned long val2
;
12579 PyObject
* obj0
= 0 ;
12580 PyObject
* obj1
= 0 ;
12581 char * kwnames
[] = {
12582 (char *) "self",(char *) "len", NULL
12585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12587 if (!SWIG_IsOK(res1
)) {
12588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12590 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12591 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12592 if (!SWIG_IsOK(ecode2
)) {
12593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12595 arg2
= static_cast< unsigned long >(val2
);
12597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12598 (arg1
)->SetMaxLength(arg2
);
12599 wxPyEndAllowThreads(__tstate
);
12600 if (PyErr_Occurred()) SWIG_fail
;
12602 resultobj
= SWIG_Py_Void();
12609 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12610 PyObject
*resultobj
= 0;
12611 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12612 wxString
*arg2
= 0 ;
12615 bool temp2
= false ;
12616 PyObject
* obj0
= 0 ;
12617 PyObject
* obj1
= 0 ;
12618 char * kwnames
[] = {
12619 (char *) "self",(char *) "text", NULL
12622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12624 if (!SWIG_IsOK(res1
)) {
12625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12627 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12629 arg2
= wxString_in_helper(obj1
);
12630 if (arg2
== NULL
) SWIG_fail
;
12634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12635 (arg1
)->WriteText((wxString
const &)*arg2
);
12636 wxPyEndAllowThreads(__tstate
);
12637 if (PyErr_Occurred()) SWIG_fail
;
12639 resultobj
= SWIG_Py_Void();
12654 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12655 PyObject
*resultobj
= 0;
12656 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12657 wxString
*arg2
= 0 ;
12660 bool temp2
= false ;
12661 PyObject
* obj0
= 0 ;
12662 PyObject
* obj1
= 0 ;
12663 char * kwnames
[] = {
12664 (char *) "self",(char *) "text", NULL
12667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12669 if (!SWIG_IsOK(res1
)) {
12670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12672 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12674 arg2
= wxString_in_helper(obj1
);
12675 if (arg2
== NULL
) SWIG_fail
;
12679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12680 (arg1
)->AppendText((wxString
const &)*arg2
);
12681 wxPyEndAllowThreads(__tstate
);
12682 if (PyErr_Occurred()) SWIG_fail
;
12684 resultobj
= SWIG_Py_Void();
12699 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12700 PyObject
*resultobj
= 0;
12701 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12702 wxKeyEvent
*arg2
= 0 ;
12708 PyObject
* obj0
= 0 ;
12709 PyObject
* obj1
= 0 ;
12710 char * kwnames
[] = {
12711 (char *) "self",(char *) "event", NULL
12714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12716 if (!SWIG_IsOK(res1
)) {
12717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12719 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12720 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12721 if (!SWIG_IsOK(res2
)) {
12722 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12725 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12727 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12730 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12731 wxPyEndAllowThreads(__tstate
);
12732 if (PyErr_Occurred()) SWIG_fail
;
12735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12743 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12744 PyObject
*resultobj
= 0;
12745 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12748 wxTextAttr
*arg4
= 0 ;
12758 PyObject
* obj0
= 0 ;
12759 PyObject
* obj1
= 0 ;
12760 PyObject
* obj2
= 0 ;
12761 PyObject
* obj3
= 0 ;
12762 char * kwnames
[] = {
12763 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12768 if (!SWIG_IsOK(res1
)) {
12769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12771 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12772 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12773 if (!SWIG_IsOK(ecode2
)) {
12774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12776 arg2
= static_cast< long >(val2
);
12777 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12778 if (!SWIG_IsOK(ecode3
)) {
12779 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12781 arg3
= static_cast< long >(val3
);
12782 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12783 if (!SWIG_IsOK(res4
)) {
12784 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12787 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12789 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12792 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12793 wxPyEndAllowThreads(__tstate
);
12794 if (PyErr_Occurred()) SWIG_fail
;
12797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12805 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12806 PyObject
*resultobj
= 0;
12807 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12809 wxTextAttr
*arg3
= 0 ;
12817 PyObject
* obj0
= 0 ;
12818 PyObject
* obj1
= 0 ;
12819 PyObject
* obj2
= 0 ;
12820 char * kwnames
[] = {
12821 (char *) "self",(char *) "position",(char *) "style", NULL
12824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12826 if (!SWIG_IsOK(res1
)) {
12827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12829 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12830 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12831 if (!SWIG_IsOK(ecode2
)) {
12832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12834 arg2
= static_cast< long >(val2
);
12835 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12836 if (!SWIG_IsOK(res3
)) {
12837 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12842 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12845 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12846 wxPyEndAllowThreads(__tstate
);
12847 if (PyErr_Occurred()) SWIG_fail
;
12850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12858 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12859 PyObject
*resultobj
= 0;
12860 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12861 wxTextAttr
*arg2
= 0 ;
12867 PyObject
* obj0
= 0 ;
12868 PyObject
* obj1
= 0 ;
12869 char * kwnames
[] = {
12870 (char *) "self",(char *) "style", NULL
12873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12875 if (!SWIG_IsOK(res1
)) {
12876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12878 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12879 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12880 if (!SWIG_IsOK(res2
)) {
12881 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12884 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12886 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
12888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12889 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
12890 wxPyEndAllowThreads(__tstate
);
12891 if (PyErr_Occurred()) SWIG_fail
;
12894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12902 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12903 PyObject
*resultobj
= 0;
12904 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12905 wxTextAttr
*result
= 0 ;
12908 PyObject
*swig_obj
[1] ;
12910 if (!args
) SWIG_fail
;
12911 swig_obj
[0] = args
;
12912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12913 if (!SWIG_IsOK(res1
)) {
12914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12916 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12920 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
12921 result
= (wxTextAttr
*) &_result_ref
;
12923 wxPyEndAllowThreads(__tstate
);
12924 if (PyErr_Occurred()) SWIG_fail
;
12926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
12933 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12934 PyObject
*resultobj
= 0;
12935 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12945 PyObject
* obj0
= 0 ;
12946 PyObject
* obj1
= 0 ;
12947 PyObject
* obj2
= 0 ;
12948 char * kwnames
[] = {
12949 (char *) "self",(char *) "x",(char *) "y", NULL
12952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12954 if (!SWIG_IsOK(res1
)) {
12955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12957 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12958 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12959 if (!SWIG_IsOK(ecode2
)) {
12960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
12962 arg2
= static_cast< long >(val2
);
12963 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12964 if (!SWIG_IsOK(ecode3
)) {
12965 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
12967 arg3
= static_cast< long >(val3
);
12969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12970 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
12971 wxPyEndAllowThreads(__tstate
);
12972 if (PyErr_Occurred()) SWIG_fail
;
12974 resultobj
= SWIG_From_long(static_cast< long >(result
));
12981 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12982 PyObject
*resultobj
= 0;
12983 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12985 long *arg3
= (long *) 0 ;
12986 long *arg4
= (long *) 0 ;
12992 int res3
= SWIG_TMPOBJ
;
12994 int res4
= SWIG_TMPOBJ
;
12995 PyObject
* obj0
= 0 ;
12996 PyObject
* obj1
= 0 ;
12997 char * kwnames
[] = {
12998 (char *) "self",(char *) "pos", NULL
13003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13005 if (!SWIG_IsOK(res1
)) {
13006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13008 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13009 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13010 if (!SWIG_IsOK(ecode2
)) {
13011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13013 arg2
= static_cast< long >(val2
);
13015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13016 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13017 wxPyEndAllowThreads(__tstate
);
13018 if (PyErr_Occurred()) SWIG_fail
;
13020 resultobj
= SWIG_Py_Void();
13021 if (SWIG_IsTmpObj(res3
)) {
13022 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13024 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13025 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13027 if (SWIG_IsTmpObj(res4
)) {
13028 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13030 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13031 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13039 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13040 PyObject
*resultobj
= 0;
13041 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13047 PyObject
* obj0
= 0 ;
13048 PyObject
* obj1
= 0 ;
13049 char * kwnames
[] = {
13050 (char *) "self",(char *) "pos", NULL
13053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13055 if (!SWIG_IsOK(res1
)) {
13056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13058 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13059 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13060 if (!SWIG_IsOK(ecode2
)) {
13061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13063 arg2
= static_cast< long >(val2
);
13065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13066 (arg1
)->ShowPosition(arg2
);
13067 wxPyEndAllowThreads(__tstate
);
13068 if (PyErr_Occurred()) SWIG_fail
;
13070 resultobj
= SWIG_Py_Void();
13077 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13078 PyObject
*resultobj
= 0;
13079 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13080 wxPoint
*arg2
= 0 ;
13081 long *arg3
= (long *) 0 ;
13082 long *arg4
= (long *) 0 ;
13083 wxTextCtrlHitTestResult result
;
13088 int res3
= SWIG_TMPOBJ
;
13090 int res4
= SWIG_TMPOBJ
;
13091 PyObject
* obj0
= 0 ;
13092 PyObject
* obj1
= 0 ;
13093 char * kwnames
[] = {
13094 (char *) "self",(char *) "pt", NULL
13099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13101 if (!SWIG_IsOK(res1
)) {
13102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13104 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13107 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13111 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13112 wxPyEndAllowThreads(__tstate
);
13113 if (PyErr_Occurred()) SWIG_fail
;
13115 resultobj
= SWIG_From_int(static_cast< int >(result
));
13116 if (SWIG_IsTmpObj(res3
)) {
13117 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13119 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13120 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13122 if (SWIG_IsTmpObj(res4
)) {
13123 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13125 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13126 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13134 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13135 PyObject
*resultobj
= 0;
13136 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13137 wxPoint
*arg2
= 0 ;
13138 long *arg3
= (long *) 0 ;
13139 wxTextCtrlHitTestResult result
;
13144 int res3
= SWIG_TMPOBJ
;
13145 PyObject
* obj0
= 0 ;
13146 PyObject
* obj1
= 0 ;
13147 char * kwnames
[] = {
13148 (char *) "self",(char *) "pt", NULL
13152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13154 if (!SWIG_IsOK(res1
)) {
13155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13157 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13160 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13164 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13165 wxPyEndAllowThreads(__tstate
);
13166 if (PyErr_Occurred()) SWIG_fail
;
13168 resultobj
= SWIG_From_int(static_cast< int >(result
));
13169 if (SWIG_IsTmpObj(res3
)) {
13170 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13172 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13173 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13181 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13182 PyObject
*resultobj
= 0;
13183 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13186 PyObject
*swig_obj
[1] ;
13188 if (!args
) SWIG_fail
;
13189 swig_obj
[0] = args
;
13190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13191 if (!SWIG_IsOK(res1
)) {
13192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13194 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13198 wxPyEndAllowThreads(__tstate
);
13199 if (PyErr_Occurred()) SWIG_fail
;
13201 resultobj
= SWIG_Py_Void();
13208 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13209 PyObject
*resultobj
= 0;
13210 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13213 PyObject
*swig_obj
[1] ;
13215 if (!args
) SWIG_fail
;
13216 swig_obj
[0] = args
;
13217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13218 if (!SWIG_IsOK(res1
)) {
13219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13221 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13225 wxPyEndAllowThreads(__tstate
);
13226 if (PyErr_Occurred()) SWIG_fail
;
13228 resultobj
= SWIG_Py_Void();
13235 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13236 PyObject
*resultobj
= 0;
13237 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13240 PyObject
*swig_obj
[1] ;
13242 if (!args
) SWIG_fail
;
13243 swig_obj
[0] = args
;
13244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13245 if (!SWIG_IsOK(res1
)) {
13246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13248 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13252 wxPyEndAllowThreads(__tstate
);
13253 if (PyErr_Occurred()) SWIG_fail
;
13255 resultobj
= SWIG_Py_Void();
13262 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13263 PyObject
*resultobj
= 0;
13264 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13268 PyObject
*swig_obj
[1] ;
13270 if (!args
) SWIG_fail
;
13271 swig_obj
[0] = args
;
13272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13273 if (!SWIG_IsOK(res1
)) {
13274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13276 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13279 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13280 wxPyEndAllowThreads(__tstate
);
13281 if (PyErr_Occurred()) SWIG_fail
;
13284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13292 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13293 PyObject
*resultobj
= 0;
13294 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13298 PyObject
*swig_obj
[1] ;
13300 if (!args
) SWIG_fail
;
13301 swig_obj
[0] = args
;
13302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13303 if (!SWIG_IsOK(res1
)) {
13304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13306 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13309 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13310 wxPyEndAllowThreads(__tstate
);
13311 if (PyErr_Occurred()) SWIG_fail
;
13314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13322 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13323 PyObject
*resultobj
= 0;
13324 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13328 PyObject
*swig_obj
[1] ;
13330 if (!args
) SWIG_fail
;
13331 swig_obj
[0] = args
;
13332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13333 if (!SWIG_IsOK(res1
)) {
13334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13336 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13339 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13340 wxPyEndAllowThreads(__tstate
);
13341 if (PyErr_Occurred()) SWIG_fail
;
13344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13352 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13353 PyObject
*resultobj
= 0;
13354 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13357 PyObject
*swig_obj
[1] ;
13359 if (!args
) SWIG_fail
;
13360 swig_obj
[0] = args
;
13361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13362 if (!SWIG_IsOK(res1
)) {
13363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13365 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13369 wxPyEndAllowThreads(__tstate
);
13370 if (PyErr_Occurred()) SWIG_fail
;
13372 resultobj
= SWIG_Py_Void();
13379 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13380 PyObject
*resultobj
= 0;
13381 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13384 PyObject
*swig_obj
[1] ;
13386 if (!args
) SWIG_fail
;
13387 swig_obj
[0] = args
;
13388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13389 if (!SWIG_IsOK(res1
)) {
13390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13392 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13396 wxPyEndAllowThreads(__tstate
);
13397 if (PyErr_Occurred()) SWIG_fail
;
13399 resultobj
= SWIG_Py_Void();
13406 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13407 PyObject
*resultobj
= 0;
13408 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13412 PyObject
*swig_obj
[1] ;
13414 if (!args
) SWIG_fail
;
13415 swig_obj
[0] = args
;
13416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13417 if (!SWIG_IsOK(res1
)) {
13418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13420 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13423 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13424 wxPyEndAllowThreads(__tstate
);
13425 if (PyErr_Occurred()) SWIG_fail
;
13428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13436 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13437 PyObject
*resultobj
= 0;
13438 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13442 PyObject
*swig_obj
[1] ;
13444 if (!args
) SWIG_fail
;
13445 swig_obj
[0] = args
;
13446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13447 if (!SWIG_IsOK(res1
)) {
13448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13450 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13453 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13454 wxPyEndAllowThreads(__tstate
);
13455 if (PyErr_Occurred()) SWIG_fail
;
13458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13466 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13467 PyObject
*resultobj
= 0;
13468 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13474 PyObject
* obj0
= 0 ;
13475 PyObject
* obj1
= 0 ;
13476 char * kwnames
[] = {
13477 (char *) "self",(char *) "pos", NULL
13480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13482 if (!SWIG_IsOK(res1
)) {
13483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13485 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13486 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13487 if (!SWIG_IsOK(ecode2
)) {
13488 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13490 arg2
= static_cast< long >(val2
);
13492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13493 (arg1
)->SetInsertionPoint(arg2
);
13494 wxPyEndAllowThreads(__tstate
);
13495 if (PyErr_Occurred()) SWIG_fail
;
13497 resultobj
= SWIG_Py_Void();
13504 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13505 PyObject
*resultobj
= 0;
13506 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13509 PyObject
*swig_obj
[1] ;
13511 if (!args
) SWIG_fail
;
13512 swig_obj
[0] = args
;
13513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13514 if (!SWIG_IsOK(res1
)) {
13515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13517 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13520 (arg1
)->SetInsertionPointEnd();
13521 wxPyEndAllowThreads(__tstate
);
13522 if (PyErr_Occurred()) SWIG_fail
;
13524 resultobj
= SWIG_Py_Void();
13531 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13532 PyObject
*resultobj
= 0;
13533 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13537 PyObject
*swig_obj
[1] ;
13539 if (!args
) SWIG_fail
;
13540 swig_obj
[0] = args
;
13541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13542 if (!SWIG_IsOK(res1
)) {
13543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13545 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13548 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13549 wxPyEndAllowThreads(__tstate
);
13550 if (PyErr_Occurred()) SWIG_fail
;
13552 resultobj
= SWIG_From_long(static_cast< long >(result
));
13559 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13560 PyObject
*resultobj
= 0;
13561 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13565 PyObject
*swig_obj
[1] ;
13567 if (!args
) SWIG_fail
;
13568 swig_obj
[0] = args
;
13569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13570 if (!SWIG_IsOK(res1
)) {
13571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13573 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13576 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13577 wxPyEndAllowThreads(__tstate
);
13578 if (PyErr_Occurred()) SWIG_fail
;
13580 resultobj
= SWIG_From_long(static_cast< long >(result
));
13587 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13588 PyObject
*resultobj
= 0;
13589 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13598 PyObject
* obj0
= 0 ;
13599 PyObject
* obj1
= 0 ;
13600 PyObject
* obj2
= 0 ;
13601 char * kwnames
[] = {
13602 (char *) "self",(char *) "from",(char *) "to", NULL
13605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13607 if (!SWIG_IsOK(res1
)) {
13608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13610 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13611 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13612 if (!SWIG_IsOK(ecode2
)) {
13613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13615 arg2
= static_cast< long >(val2
);
13616 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13617 if (!SWIG_IsOK(ecode3
)) {
13618 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13620 arg3
= static_cast< long >(val3
);
13622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13623 (arg1
)->SetSelection(arg2
,arg3
);
13624 wxPyEndAllowThreads(__tstate
);
13625 if (PyErr_Occurred()) SWIG_fail
;
13627 resultobj
= SWIG_Py_Void();
13634 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13635 PyObject
*resultobj
= 0;
13636 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13639 PyObject
*swig_obj
[1] ;
13641 if (!args
) SWIG_fail
;
13642 swig_obj
[0] = args
;
13643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13644 if (!SWIG_IsOK(res1
)) {
13645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13647 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13650 (arg1
)->SelectAll();
13651 wxPyEndAllowThreads(__tstate
);
13652 if (PyErr_Occurred()) SWIG_fail
;
13654 resultobj
= SWIG_Py_Void();
13661 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13662 PyObject
*resultobj
= 0;
13663 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13669 PyObject
* obj0
= 0 ;
13670 PyObject
* obj1
= 0 ;
13671 char * kwnames
[] = {
13672 (char *) "self",(char *) "editable", NULL
13675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13677 if (!SWIG_IsOK(res1
)) {
13678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13680 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13681 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13682 if (!SWIG_IsOK(ecode2
)) {
13683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13685 arg2
= static_cast< bool >(val2
);
13687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13688 (arg1
)->SetEditable(arg2
);
13689 wxPyEndAllowThreads(__tstate
);
13690 if (PyErr_Occurred()) SWIG_fail
;
13692 resultobj
= SWIG_Py_Void();
13699 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13700 PyObject
*resultobj
= 0;
13701 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13702 wxString
*arg2
= 0 ;
13705 bool temp2
= false ;
13706 PyObject
* obj0
= 0 ;
13707 PyObject
* obj1
= 0 ;
13708 char * kwnames
[] = {
13709 (char *) "self",(char *) "text", NULL
13712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13714 if (!SWIG_IsOK(res1
)) {
13715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13717 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13719 arg2
= wxString_in_helper(obj1
);
13720 if (arg2
== NULL
) SWIG_fail
;
13724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13725 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13726 wxPyEndAllowThreads(__tstate
);
13727 if (PyErr_Occurred()) SWIG_fail
;
13729 resultobj
= SWIG_Py_Void();
13744 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13745 PyObject
*resultobj
= 0;
13746 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13756 PyObject
* obj0
= 0 ;
13757 PyObject
* obj1
= 0 ;
13758 PyObject
* obj2
= 0 ;
13759 char * kwnames
[] = {
13760 (char *) "self",(char *) "from",(char *) "to", NULL
13763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13765 if (!SWIG_IsOK(res1
)) {
13766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13768 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13769 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13770 if (!SWIG_IsOK(ecode2
)) {
13771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13773 arg2
= static_cast< long >(val2
);
13774 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13775 if (!SWIG_IsOK(ecode3
)) {
13776 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13778 arg3
= static_cast< long >(val3
);
13780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13781 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13782 wxPyEndAllowThreads(__tstate
);
13783 if (PyErr_Occurred()) SWIG_fail
;
13787 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13789 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13798 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13799 PyObject
*resultobj
= 0;
13800 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13801 SwigValueWrapper
<wxVisualAttributes
> result
;
13804 PyObject
* obj0
= 0 ;
13805 char * kwnames
[] = {
13806 (char *) "variant", NULL
13809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
13811 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13812 if (!SWIG_IsOK(ecode1
)) {
13813 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13815 arg1
= static_cast< wxWindowVariant
>(val1
);
13818 if (!wxPyCheckForApp()) SWIG_fail
;
13819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13820 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
13821 wxPyEndAllowThreads(__tstate
);
13822 if (PyErr_Occurred()) SWIG_fail
;
13824 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
13831 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13833 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13834 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
13835 return SWIG_Py_Void();
13838 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13839 return SWIG_Python_InitShadowInstance(args
);
13842 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13843 PyObject
*resultobj
= 0;
13845 wxMouseEvent
*arg2
= 0 ;
13848 wxTextUrlEvent
*result
= 0 ;
13857 PyObject
* obj0
= 0 ;
13858 PyObject
* obj1
= 0 ;
13859 PyObject
* obj2
= 0 ;
13860 PyObject
* obj3
= 0 ;
13861 char * kwnames
[] = {
13862 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
13865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13866 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13867 if (!SWIG_IsOK(ecode1
)) {
13868 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
13870 arg1
= static_cast< int >(val1
);
13871 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
13872 if (!SWIG_IsOK(res2
)) {
13873 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13876 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13878 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
13879 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13880 if (!SWIG_IsOK(ecode3
)) {
13881 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
13883 arg3
= static_cast< long >(val3
);
13884 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
13885 if (!SWIG_IsOK(ecode4
)) {
13886 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
13888 arg4
= static_cast< long >(val4
);
13890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13891 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
13892 wxPyEndAllowThreads(__tstate
);
13893 if (PyErr_Occurred()) SWIG_fail
;
13895 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
13902 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13903 PyObject
*resultobj
= 0;
13904 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13905 wxMouseEvent
*result
= 0 ;
13908 PyObject
*swig_obj
[1] ;
13910 if (!args
) SWIG_fail
;
13911 swig_obj
[0] = args
;
13912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13913 if (!SWIG_IsOK(res1
)) {
13914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
13916 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13920 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
13921 result
= (wxMouseEvent
*) &_result_ref
;
13923 wxPyEndAllowThreads(__tstate
);
13924 if (PyErr_Occurred()) SWIG_fail
;
13926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
13933 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13934 PyObject
*resultobj
= 0;
13935 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13939 PyObject
*swig_obj
[1] ;
13941 if (!args
) SWIG_fail
;
13942 swig_obj
[0] = args
;
13943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13944 if (!SWIG_IsOK(res1
)) {
13945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13947 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13950 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
13951 wxPyEndAllowThreads(__tstate
);
13952 if (PyErr_Occurred()) SWIG_fail
;
13954 resultobj
= SWIG_From_long(static_cast< long >(result
));
13961 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13962 PyObject
*resultobj
= 0;
13963 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13967 PyObject
*swig_obj
[1] ;
13969 if (!args
) SWIG_fail
;
13970 swig_obj
[0] = args
;
13971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13972 if (!SWIG_IsOK(res1
)) {
13973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13975 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13978 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
13979 wxPyEndAllowThreads(__tstate
);
13980 if (PyErr_Occurred()) SWIG_fail
;
13982 resultobj
= SWIG_From_long(static_cast< long >(result
));
13989 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13991 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13992 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
13993 return SWIG_Py_Void();
13996 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13997 return SWIG_Python_InitShadowInstance(args
);
14000 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14001 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14006 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14007 PyObject
*pyobj
= 0;
14011 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14013 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14020 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14021 PyObject
*resultobj
= 0;
14022 wxWindow
*arg1
= (wxWindow
*) 0 ;
14023 int arg2
= (int) -1 ;
14024 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14025 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14026 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14027 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14028 long arg5
= (long) wxSB_HORIZONTAL
;
14029 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14030 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14031 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14032 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14033 wxScrollBar
*result
= 0 ;
14044 bool temp7
= false ;
14045 PyObject
* obj0
= 0 ;
14046 PyObject
* obj1
= 0 ;
14047 PyObject
* obj2
= 0 ;
14048 PyObject
* obj3
= 0 ;
14049 PyObject
* obj4
= 0 ;
14050 PyObject
* obj5
= 0 ;
14051 PyObject
* obj6
= 0 ;
14052 char * kwnames
[] = {
14053 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14058 if (!SWIG_IsOK(res1
)) {
14059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14061 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14063 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14064 if (!SWIG_IsOK(ecode2
)) {
14065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14067 arg2
= static_cast< int >(val2
);
14072 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14078 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14082 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14083 if (!SWIG_IsOK(ecode5
)) {
14084 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14086 arg5
= static_cast< long >(val5
);
14089 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14090 if (!SWIG_IsOK(res6
)) {
14091 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14094 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14096 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14100 arg7
= wxString_in_helper(obj6
);
14101 if (arg7
== NULL
) SWIG_fail
;
14106 if (!wxPyCheckForApp()) SWIG_fail
;
14107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14108 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14109 wxPyEndAllowThreads(__tstate
);
14110 if (PyErr_Occurred()) SWIG_fail
;
14112 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14127 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14128 PyObject
*resultobj
= 0;
14129 wxScrollBar
*result
= 0 ;
14131 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14133 if (!wxPyCheckForApp()) SWIG_fail
;
14134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14135 result
= (wxScrollBar
*)new wxScrollBar();
14136 wxPyEndAllowThreads(__tstate
);
14137 if (PyErr_Occurred()) SWIG_fail
;
14139 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14146 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14147 PyObject
*resultobj
= 0;
14148 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14149 wxWindow
*arg2
= (wxWindow
*) 0 ;
14150 int arg3
= (int) -1 ;
14151 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14152 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14153 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14154 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14155 long arg6
= (long) wxSB_HORIZONTAL
;
14156 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14157 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14158 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14159 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14173 bool temp8
= false ;
14174 PyObject
* obj0
= 0 ;
14175 PyObject
* obj1
= 0 ;
14176 PyObject
* obj2
= 0 ;
14177 PyObject
* obj3
= 0 ;
14178 PyObject
* obj4
= 0 ;
14179 PyObject
* obj5
= 0 ;
14180 PyObject
* obj6
= 0 ;
14181 PyObject
* obj7
= 0 ;
14182 char * kwnames
[] = {
14183 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14188 if (!SWIG_IsOK(res1
)) {
14189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14191 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14192 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14193 if (!SWIG_IsOK(res2
)) {
14194 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14196 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14198 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14199 if (!SWIG_IsOK(ecode3
)) {
14200 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14202 arg3
= static_cast< int >(val3
);
14207 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14213 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14217 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14218 if (!SWIG_IsOK(ecode6
)) {
14219 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14221 arg6
= static_cast< long >(val6
);
14224 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14225 if (!SWIG_IsOK(res7
)) {
14226 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14229 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14231 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14235 arg8
= wxString_in_helper(obj7
);
14236 if (arg8
== NULL
) SWIG_fail
;
14241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14242 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14243 wxPyEndAllowThreads(__tstate
);
14244 if (PyErr_Occurred()) SWIG_fail
;
14247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14263 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14264 PyObject
*resultobj
= 0;
14265 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14269 PyObject
*swig_obj
[1] ;
14271 if (!args
) SWIG_fail
;
14272 swig_obj
[0] = args
;
14273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14274 if (!SWIG_IsOK(res1
)) {
14275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14277 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14280 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14281 wxPyEndAllowThreads(__tstate
);
14282 if (PyErr_Occurred()) SWIG_fail
;
14284 resultobj
= SWIG_From_int(static_cast< int >(result
));
14291 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14292 PyObject
*resultobj
= 0;
14293 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14297 PyObject
*swig_obj
[1] ;
14299 if (!args
) SWIG_fail
;
14300 swig_obj
[0] = args
;
14301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14302 if (!SWIG_IsOK(res1
)) {
14303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14305 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14308 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14309 wxPyEndAllowThreads(__tstate
);
14310 if (PyErr_Occurred()) SWIG_fail
;
14312 resultobj
= SWIG_From_int(static_cast< int >(result
));
14319 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14320 PyObject
*resultobj
= 0;
14321 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14325 PyObject
*swig_obj
[1] ;
14327 if (!args
) SWIG_fail
;
14328 swig_obj
[0] = args
;
14329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14330 if (!SWIG_IsOK(res1
)) {
14331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14333 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14336 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14337 wxPyEndAllowThreads(__tstate
);
14338 if (PyErr_Occurred()) SWIG_fail
;
14340 resultobj
= SWIG_From_int(static_cast< int >(result
));
14347 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14348 PyObject
*resultobj
= 0;
14349 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14353 PyObject
*swig_obj
[1] ;
14355 if (!args
) SWIG_fail
;
14356 swig_obj
[0] = args
;
14357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14358 if (!SWIG_IsOK(res1
)) {
14359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14361 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14364 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14365 wxPyEndAllowThreads(__tstate
);
14366 if (PyErr_Occurred()) SWIG_fail
;
14368 resultobj
= SWIG_From_int(static_cast< int >(result
));
14375 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14376 PyObject
*resultobj
= 0;
14377 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14381 PyObject
*swig_obj
[1] ;
14383 if (!args
) SWIG_fail
;
14384 swig_obj
[0] = args
;
14385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14386 if (!SWIG_IsOK(res1
)) {
14387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14389 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14392 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14393 wxPyEndAllowThreads(__tstate
);
14394 if (PyErr_Occurred()) SWIG_fail
;
14397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14405 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14406 PyObject
*resultobj
= 0;
14407 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14413 PyObject
* obj0
= 0 ;
14414 PyObject
* obj1
= 0 ;
14415 char * kwnames
[] = {
14416 (char *) "self",(char *) "viewStart", NULL
14419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14421 if (!SWIG_IsOK(res1
)) {
14422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14424 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14425 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14426 if (!SWIG_IsOK(ecode2
)) {
14427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14429 arg2
= static_cast< int >(val2
);
14431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14432 (arg1
)->SetThumbPosition(arg2
);
14433 wxPyEndAllowThreads(__tstate
);
14434 if (PyErr_Occurred()) SWIG_fail
;
14436 resultobj
= SWIG_Py_Void();
14443 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14444 PyObject
*resultobj
= 0;
14445 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14446 SwigValueWrapper
<wxVisualAttributes
> result
;
14449 PyObject
* obj0
= 0 ;
14450 char * kwnames
[] = {
14451 (char *) "variant", NULL
14454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14456 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14457 if (!SWIG_IsOK(ecode1
)) {
14458 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14460 arg1
= static_cast< wxWindowVariant
>(val1
);
14463 if (!wxPyCheckForApp()) SWIG_fail
;
14464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14465 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14466 wxPyEndAllowThreads(__tstate
);
14467 if (PyErr_Occurred()) SWIG_fail
;
14469 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14476 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14478 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14479 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14480 return SWIG_Py_Void();
14483 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14484 return SWIG_Python_InitShadowInstance(args
);
14487 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14488 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14493 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14494 PyObject
*pyobj
= 0;
14498 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14500 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14507 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14508 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14513 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14514 PyObject
*pyobj
= 0;
14518 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14520 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14527 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14528 PyObject
*resultobj
= 0;
14529 wxWindow
*arg1
= (wxWindow
*) 0 ;
14530 int arg2
= (int) -1 ;
14531 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14532 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14533 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14534 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14535 long arg5
= (long) wxSP_HORIZONTAL
;
14536 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14537 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14538 wxSpinButton
*result
= 0 ;
14547 bool temp6
= false ;
14548 PyObject
* obj0
= 0 ;
14549 PyObject
* obj1
= 0 ;
14550 PyObject
* obj2
= 0 ;
14551 PyObject
* obj3
= 0 ;
14552 PyObject
* obj4
= 0 ;
14553 PyObject
* obj5
= 0 ;
14554 char * kwnames
[] = {
14555 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14560 if (!SWIG_IsOK(res1
)) {
14561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14563 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14565 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14566 if (!SWIG_IsOK(ecode2
)) {
14567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14569 arg2
= static_cast< int >(val2
);
14574 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14580 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14584 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14585 if (!SWIG_IsOK(ecode5
)) {
14586 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14588 arg5
= static_cast< long >(val5
);
14592 arg6
= wxString_in_helper(obj5
);
14593 if (arg6
== NULL
) SWIG_fail
;
14598 if (!wxPyCheckForApp()) SWIG_fail
;
14599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14600 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14601 wxPyEndAllowThreads(__tstate
);
14602 if (PyErr_Occurred()) SWIG_fail
;
14604 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14619 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14620 PyObject
*resultobj
= 0;
14621 wxSpinButton
*result
= 0 ;
14623 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14625 if (!wxPyCheckForApp()) SWIG_fail
;
14626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14627 result
= (wxSpinButton
*)new wxSpinButton();
14628 wxPyEndAllowThreads(__tstate
);
14629 if (PyErr_Occurred()) SWIG_fail
;
14631 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14638 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14639 PyObject
*resultobj
= 0;
14640 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14641 wxWindow
*arg2
= (wxWindow
*) 0 ;
14642 int arg3
= (int) -1 ;
14643 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14644 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14645 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14646 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14647 long arg6
= (long) wxSP_HORIZONTAL
;
14648 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14649 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14661 bool temp7
= false ;
14662 PyObject
* obj0
= 0 ;
14663 PyObject
* obj1
= 0 ;
14664 PyObject
* obj2
= 0 ;
14665 PyObject
* obj3
= 0 ;
14666 PyObject
* obj4
= 0 ;
14667 PyObject
* obj5
= 0 ;
14668 PyObject
* obj6
= 0 ;
14669 char * kwnames
[] = {
14670 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14675 if (!SWIG_IsOK(res1
)) {
14676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14678 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14679 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14680 if (!SWIG_IsOK(res2
)) {
14681 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14683 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14685 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14686 if (!SWIG_IsOK(ecode3
)) {
14687 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14689 arg3
= static_cast< int >(val3
);
14694 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14700 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14704 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14705 if (!SWIG_IsOK(ecode6
)) {
14706 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14708 arg6
= static_cast< long >(val6
);
14712 arg7
= wxString_in_helper(obj6
);
14713 if (arg7
== NULL
) SWIG_fail
;
14718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14719 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14720 wxPyEndAllowThreads(__tstate
);
14721 if (PyErr_Occurred()) SWIG_fail
;
14724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14740 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14741 PyObject
*resultobj
= 0;
14742 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14746 PyObject
*swig_obj
[1] ;
14748 if (!args
) SWIG_fail
;
14749 swig_obj
[0] = args
;
14750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14751 if (!SWIG_IsOK(res1
)) {
14752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14754 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14757 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14758 wxPyEndAllowThreads(__tstate
);
14759 if (PyErr_Occurred()) SWIG_fail
;
14761 resultobj
= SWIG_From_int(static_cast< int >(result
));
14768 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14769 PyObject
*resultobj
= 0;
14770 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14774 PyObject
*swig_obj
[1] ;
14776 if (!args
) SWIG_fail
;
14777 swig_obj
[0] = args
;
14778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14779 if (!SWIG_IsOK(res1
)) {
14780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14782 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14785 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14786 wxPyEndAllowThreads(__tstate
);
14787 if (PyErr_Occurred()) SWIG_fail
;
14789 resultobj
= SWIG_From_int(static_cast< int >(result
));
14796 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14797 PyObject
*resultobj
= 0;
14798 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14802 PyObject
*swig_obj
[1] ;
14804 if (!args
) SWIG_fail
;
14805 swig_obj
[0] = args
;
14806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14807 if (!SWIG_IsOK(res1
)) {
14808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14810 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14813 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
14814 wxPyEndAllowThreads(__tstate
);
14815 if (PyErr_Occurred()) SWIG_fail
;
14817 resultobj
= SWIG_From_int(static_cast< int >(result
));
14824 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14825 PyObject
*resultobj
= 0;
14826 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14832 PyObject
* obj0
= 0 ;
14833 PyObject
* obj1
= 0 ;
14834 char * kwnames
[] = {
14835 (char *) "self",(char *) "val", NULL
14838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14840 if (!SWIG_IsOK(res1
)) {
14841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14843 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14844 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14845 if (!SWIG_IsOK(ecode2
)) {
14846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
14848 arg2
= static_cast< int >(val2
);
14850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14851 (arg1
)->SetValue(arg2
);
14852 wxPyEndAllowThreads(__tstate
);
14853 if (PyErr_Occurred()) SWIG_fail
;
14855 resultobj
= SWIG_Py_Void();
14862 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14863 PyObject
*resultobj
= 0;
14864 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14870 PyObject
* obj0
= 0 ;
14871 PyObject
* obj1
= 0 ;
14872 char * kwnames
[] = {
14873 (char *) "self",(char *) "minVal", NULL
14876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14878 if (!SWIG_IsOK(res1
)) {
14879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14881 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14882 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14883 if (!SWIG_IsOK(ecode2
)) {
14884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
14886 arg2
= static_cast< int >(val2
);
14888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14889 (arg1
)->SetMin(arg2
);
14890 wxPyEndAllowThreads(__tstate
);
14891 if (PyErr_Occurred()) SWIG_fail
;
14893 resultobj
= SWIG_Py_Void();
14900 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(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 *) "maxVal", NULL
14914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",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_SetMax" "', 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_SetMax" "', expected argument " "2"" of type '" "int""'");
14924 arg2
= static_cast< int >(val2
);
14926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14927 (arg1
)->SetMax(arg2
);
14928 wxPyEndAllowThreads(__tstate
);
14929 if (PyErr_Occurred()) SWIG_fail
;
14931 resultobj
= SWIG_Py_Void();
14938 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14939 PyObject
*resultobj
= 0;
14940 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14949 PyObject
* obj0
= 0 ;
14950 PyObject
* obj1
= 0 ;
14951 PyObject
* obj2
= 0 ;
14952 char * kwnames
[] = {
14953 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
14956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14958 if (!SWIG_IsOK(res1
)) {
14959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14961 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14962 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14963 if (!SWIG_IsOK(ecode2
)) {
14964 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
14966 arg2
= static_cast< int >(val2
);
14967 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14968 if (!SWIG_IsOK(ecode3
)) {
14969 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
14971 arg3
= static_cast< int >(val3
);
14973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14974 (arg1
)->SetRange(arg2
,arg3
);
14975 wxPyEndAllowThreads(__tstate
);
14976 if (PyErr_Occurred()) SWIG_fail
;
14978 resultobj
= SWIG_Py_Void();
14985 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14986 PyObject
*resultobj
= 0;
14987 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14991 PyObject
*swig_obj
[1] ;
14993 if (!args
) SWIG_fail
;
14994 swig_obj
[0] = args
;
14995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14996 if (!SWIG_IsOK(res1
)) {
14997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14999 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15002 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15003 wxPyEndAllowThreads(__tstate
);
15004 if (PyErr_Occurred()) SWIG_fail
;
15007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15015 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15016 PyObject
*resultobj
= 0;
15017 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15018 SwigValueWrapper
<wxVisualAttributes
> result
;
15021 PyObject
* obj0
= 0 ;
15022 char * kwnames
[] = {
15023 (char *) "variant", NULL
15026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15028 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15029 if (!SWIG_IsOK(ecode1
)) {
15030 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15032 arg1
= static_cast< wxWindowVariant
>(val1
);
15035 if (!wxPyCheckForApp()) SWIG_fail
;
15036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15037 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15038 wxPyEndAllowThreads(__tstate
);
15039 if (PyErr_Occurred()) SWIG_fail
;
15041 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15048 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15050 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15051 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15052 return SWIG_Py_Void();
15055 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15056 return SWIG_Python_InitShadowInstance(args
);
15059 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15060 PyObject
*resultobj
= 0;
15061 wxWindow
*arg1
= (wxWindow
*) 0 ;
15062 int arg2
= (int) -1 ;
15063 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15064 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15065 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15066 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15067 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15068 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15069 long arg6
= (long) wxSP_ARROW_KEYS
;
15070 int arg7
= (int) 0 ;
15071 int arg8
= (int) 100 ;
15072 int arg9
= (int) 0 ;
15073 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15074 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15075 wxSpinCtrl
*result
= 0 ;
15080 bool temp3
= false ;
15091 bool temp10
= false ;
15092 PyObject
* obj0
= 0 ;
15093 PyObject
* obj1
= 0 ;
15094 PyObject
* obj2
= 0 ;
15095 PyObject
* obj3
= 0 ;
15096 PyObject
* obj4
= 0 ;
15097 PyObject
* obj5
= 0 ;
15098 PyObject
* obj6
= 0 ;
15099 PyObject
* obj7
= 0 ;
15100 PyObject
* obj8
= 0 ;
15101 PyObject
* obj9
= 0 ;
15102 char * kwnames
[] = {
15103 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15108 if (!SWIG_IsOK(res1
)) {
15109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15111 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15113 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15114 if (!SWIG_IsOK(ecode2
)) {
15115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15117 arg2
= static_cast< int >(val2
);
15121 arg3
= wxString_in_helper(obj2
);
15122 if (arg3
== NULL
) SWIG_fail
;
15129 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15135 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15139 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15140 if (!SWIG_IsOK(ecode6
)) {
15141 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15143 arg6
= static_cast< long >(val6
);
15146 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15147 if (!SWIG_IsOK(ecode7
)) {
15148 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15150 arg7
= static_cast< int >(val7
);
15153 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15154 if (!SWIG_IsOK(ecode8
)) {
15155 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15157 arg8
= static_cast< int >(val8
);
15160 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15161 if (!SWIG_IsOK(ecode9
)) {
15162 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15164 arg9
= static_cast< int >(val9
);
15168 arg10
= wxString_in_helper(obj9
);
15169 if (arg10
== NULL
) SWIG_fail
;
15174 if (!wxPyCheckForApp()) SWIG_fail
;
15175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15176 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15177 wxPyEndAllowThreads(__tstate
);
15178 if (PyErr_Occurred()) SWIG_fail
;
15180 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15203 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15204 PyObject
*resultobj
= 0;
15205 wxSpinCtrl
*result
= 0 ;
15207 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15209 if (!wxPyCheckForApp()) SWIG_fail
;
15210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15211 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15212 wxPyEndAllowThreads(__tstate
);
15213 if (PyErr_Occurred()) SWIG_fail
;
15215 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15222 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15223 PyObject
*resultobj
= 0;
15224 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15225 wxWindow
*arg2
= (wxWindow
*) 0 ;
15226 int arg3
= (int) -1 ;
15227 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15228 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15229 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15230 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15231 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15232 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15233 long arg7
= (long) wxSP_ARROW_KEYS
;
15234 int arg8
= (int) 0 ;
15235 int arg9
= (int) 100 ;
15236 int arg10
= (int) 0 ;
15237 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15238 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15246 bool temp4
= false ;
15257 bool temp11
= false ;
15258 PyObject
* obj0
= 0 ;
15259 PyObject
* obj1
= 0 ;
15260 PyObject
* obj2
= 0 ;
15261 PyObject
* obj3
= 0 ;
15262 PyObject
* obj4
= 0 ;
15263 PyObject
* obj5
= 0 ;
15264 PyObject
* obj6
= 0 ;
15265 PyObject
* obj7
= 0 ;
15266 PyObject
* obj8
= 0 ;
15267 PyObject
* obj9
= 0 ;
15268 PyObject
* obj10
= 0 ;
15269 char * kwnames
[] = {
15270 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15275 if (!SWIG_IsOK(res1
)) {
15276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15278 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15279 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15280 if (!SWIG_IsOK(res2
)) {
15281 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15283 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15285 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15286 if (!SWIG_IsOK(ecode3
)) {
15287 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15289 arg3
= static_cast< int >(val3
);
15293 arg4
= wxString_in_helper(obj3
);
15294 if (arg4
== NULL
) SWIG_fail
;
15301 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15307 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15311 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15312 if (!SWIG_IsOK(ecode7
)) {
15313 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15315 arg7
= static_cast< long >(val7
);
15318 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15319 if (!SWIG_IsOK(ecode8
)) {
15320 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15322 arg8
= static_cast< int >(val8
);
15325 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15326 if (!SWIG_IsOK(ecode9
)) {
15327 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15329 arg9
= static_cast< int >(val9
);
15332 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15333 if (!SWIG_IsOK(ecode10
)) {
15334 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15336 arg10
= static_cast< int >(val10
);
15340 arg11
= wxString_in_helper(obj10
);
15341 if (arg11
== NULL
) SWIG_fail
;
15346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15347 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15348 wxPyEndAllowThreads(__tstate
);
15349 if (PyErr_Occurred()) SWIG_fail
;
15352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15376 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15377 PyObject
*resultobj
= 0;
15378 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15382 PyObject
*swig_obj
[1] ;
15384 if (!args
) SWIG_fail
;
15385 swig_obj
[0] = args
;
15386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15387 if (!SWIG_IsOK(res1
)) {
15388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15390 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15393 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15394 wxPyEndAllowThreads(__tstate
);
15395 if (PyErr_Occurred()) SWIG_fail
;
15397 resultobj
= SWIG_From_int(static_cast< int >(result
));
15404 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15405 PyObject
*resultobj
= 0;
15406 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15412 PyObject
* obj0
= 0 ;
15413 PyObject
* obj1
= 0 ;
15414 char * kwnames
[] = {
15415 (char *) "self",(char *) "value", NULL
15418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15420 if (!SWIG_IsOK(res1
)) {
15421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15423 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15424 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15425 if (!SWIG_IsOK(ecode2
)) {
15426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15428 arg2
= static_cast< int >(val2
);
15430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15431 (arg1
)->SetValue(arg2
);
15432 wxPyEndAllowThreads(__tstate
);
15433 if (PyErr_Occurred()) SWIG_fail
;
15435 resultobj
= SWIG_Py_Void();
15442 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15443 PyObject
*resultobj
= 0;
15444 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15445 wxString
*arg2
= 0 ;
15448 bool temp2
= false ;
15449 PyObject
* obj0
= 0 ;
15450 PyObject
* obj1
= 0 ;
15451 char * kwnames
[] = {
15452 (char *) "self",(char *) "text", NULL
15455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15457 if (!SWIG_IsOK(res1
)) {
15458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15460 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15462 arg2
= wxString_in_helper(obj1
);
15463 if (arg2
== NULL
) SWIG_fail
;
15467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15468 (arg1
)->SetValue((wxString
const &)*arg2
);
15469 wxPyEndAllowThreads(__tstate
);
15470 if (PyErr_Occurred()) SWIG_fail
;
15472 resultobj
= SWIG_Py_Void();
15487 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15488 PyObject
*resultobj
= 0;
15489 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15498 PyObject
* obj0
= 0 ;
15499 PyObject
* obj1
= 0 ;
15500 PyObject
* obj2
= 0 ;
15501 char * kwnames
[] = {
15502 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15507 if (!SWIG_IsOK(res1
)) {
15508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15510 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15511 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15512 if (!SWIG_IsOK(ecode2
)) {
15513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15515 arg2
= static_cast< int >(val2
);
15516 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15517 if (!SWIG_IsOK(ecode3
)) {
15518 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15520 arg3
= static_cast< int >(val3
);
15522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15523 (arg1
)->SetRange(arg2
,arg3
);
15524 wxPyEndAllowThreads(__tstate
);
15525 if (PyErr_Occurred()) SWIG_fail
;
15527 resultobj
= SWIG_Py_Void();
15534 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15535 PyObject
*resultobj
= 0;
15536 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15540 PyObject
*swig_obj
[1] ;
15542 if (!args
) SWIG_fail
;
15543 swig_obj
[0] = args
;
15544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15545 if (!SWIG_IsOK(res1
)) {
15546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15548 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15551 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15552 wxPyEndAllowThreads(__tstate
);
15553 if (PyErr_Occurred()) SWIG_fail
;
15555 resultobj
= SWIG_From_int(static_cast< int >(result
));
15562 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15563 PyObject
*resultobj
= 0;
15564 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15568 PyObject
*swig_obj
[1] ;
15570 if (!args
) SWIG_fail
;
15571 swig_obj
[0] = args
;
15572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15573 if (!SWIG_IsOK(res1
)) {
15574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15576 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15579 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15580 wxPyEndAllowThreads(__tstate
);
15581 if (PyErr_Occurred()) SWIG_fail
;
15583 resultobj
= SWIG_From_int(static_cast< int >(result
));
15590 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15591 PyObject
*resultobj
= 0;
15592 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15601 PyObject
* obj0
= 0 ;
15602 PyObject
* obj1
= 0 ;
15603 PyObject
* obj2
= 0 ;
15604 char * kwnames
[] = {
15605 (char *) "self",(char *) "from",(char *) "to", NULL
15608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15610 if (!SWIG_IsOK(res1
)) {
15611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15613 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15614 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15615 if (!SWIG_IsOK(ecode2
)) {
15616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15618 arg2
= static_cast< long >(val2
);
15619 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15620 if (!SWIG_IsOK(ecode3
)) {
15621 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15623 arg3
= static_cast< long >(val3
);
15625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15626 (arg1
)->SetSelection(arg2
,arg3
);
15627 wxPyEndAllowThreads(__tstate
);
15628 if (PyErr_Occurred()) SWIG_fail
;
15630 resultobj
= SWIG_Py_Void();
15637 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15638 PyObject
*resultobj
= 0;
15639 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15640 SwigValueWrapper
<wxVisualAttributes
> result
;
15643 PyObject
* obj0
= 0 ;
15644 char * kwnames
[] = {
15645 (char *) "variant", NULL
15648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15650 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15651 if (!SWIG_IsOK(ecode1
)) {
15652 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15654 arg1
= static_cast< wxWindowVariant
>(val1
);
15657 if (!wxPyCheckForApp()) SWIG_fail
;
15658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15659 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15660 wxPyEndAllowThreads(__tstate
);
15661 if (PyErr_Occurred()) SWIG_fail
;
15663 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15670 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15672 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15673 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15674 return SWIG_Py_Void();
15677 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15678 return SWIG_Python_InitShadowInstance(args
);
15681 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15682 PyObject
*resultobj
= 0;
15683 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15684 int arg2
= (int) 0 ;
15685 wxSpinEvent
*result
= 0 ;
15690 PyObject
* obj0
= 0 ;
15691 PyObject
* obj1
= 0 ;
15692 char * kwnames
[] = {
15693 (char *) "commandType",(char *) "winid", NULL
15696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15698 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15699 if (!SWIG_IsOK(ecode1
)) {
15700 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15702 arg1
= static_cast< wxEventType
>(val1
);
15705 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15706 if (!SWIG_IsOK(ecode2
)) {
15707 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15709 arg2
= static_cast< int >(val2
);
15712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15713 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15714 wxPyEndAllowThreads(__tstate
);
15715 if (PyErr_Occurred()) SWIG_fail
;
15717 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15724 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15725 PyObject
*resultobj
= 0;
15726 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15730 PyObject
*swig_obj
[1] ;
15732 if (!args
) SWIG_fail
;
15733 swig_obj
[0] = args
;
15734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15735 if (!SWIG_IsOK(res1
)) {
15736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15738 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15741 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15742 wxPyEndAllowThreads(__tstate
);
15743 if (PyErr_Occurred()) SWIG_fail
;
15745 resultobj
= SWIG_From_int(static_cast< int >(result
));
15752 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15753 PyObject
*resultobj
= 0;
15754 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15760 PyObject
* obj0
= 0 ;
15761 PyObject
* obj1
= 0 ;
15762 char * kwnames
[] = {
15763 (char *) "self",(char *) "pos", NULL
15766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15768 if (!SWIG_IsOK(res1
)) {
15769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15771 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15772 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15773 if (!SWIG_IsOK(ecode2
)) {
15774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15776 arg2
= static_cast< int >(val2
);
15778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15779 (arg1
)->SetPosition(arg2
);
15780 wxPyEndAllowThreads(__tstate
);
15781 if (PyErr_Occurred()) SWIG_fail
;
15783 resultobj
= SWIG_Py_Void();
15790 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15792 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15793 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15794 return SWIG_Py_Void();
15797 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15798 return SWIG_Python_InitShadowInstance(args
);
15801 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15802 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
15807 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
15808 PyObject
*pyobj
= 0;
15812 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15814 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15821 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
15822 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
15827 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
15828 PyObject
*pyobj
= 0;
15832 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15834 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15841 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15842 PyObject
*resultobj
= 0;
15843 wxWindow
*arg1
= (wxWindow
*) 0 ;
15844 int arg2
= (int) -1 ;
15845 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15846 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15847 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15848 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15849 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15850 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15851 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
15852 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
15853 int arg7
= (int) 0 ;
15854 long arg8
= (long) wxRA_HORIZONTAL
;
15855 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
15856 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
15857 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
15858 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15859 wxRadioBox
*result
= 0 ;
15864 bool temp3
= false ;
15867 bool temp6
= false ;
15874 bool temp10
= false ;
15875 PyObject
* obj0
= 0 ;
15876 PyObject
* obj1
= 0 ;
15877 PyObject
* obj2
= 0 ;
15878 PyObject
* obj3
= 0 ;
15879 PyObject
* obj4
= 0 ;
15880 PyObject
* obj5
= 0 ;
15881 PyObject
* obj6
= 0 ;
15882 PyObject
* obj7
= 0 ;
15883 PyObject
* obj8
= 0 ;
15884 PyObject
* obj9
= 0 ;
15885 char * kwnames
[] = {
15886 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
15889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15891 if (!SWIG_IsOK(res1
)) {
15892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15894 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15896 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15897 if (!SWIG_IsOK(ecode2
)) {
15898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
15900 arg2
= static_cast< int >(val2
);
15904 arg3
= wxString_in_helper(obj2
);
15905 if (arg3
== NULL
) SWIG_fail
;
15912 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15918 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15923 if (! PySequence_Check(obj5
)) {
15924 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
15927 arg6
= new wxArrayString
;
15929 int i
, len
=PySequence_Length(obj5
);
15930 for (i
=0; i
<len
; i
++) {
15931 PyObject
* item
= PySequence_GetItem(obj5
, i
);
15932 wxString
* s
= wxString_in_helper(item
);
15933 if (PyErr_Occurred()) SWIG_fail
;
15941 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15942 if (!SWIG_IsOK(ecode7
)) {
15943 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
15945 arg7
= static_cast< int >(val7
);
15948 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
15949 if (!SWIG_IsOK(ecode8
)) {
15950 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
15952 arg8
= static_cast< long >(val8
);
15955 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
15956 if (!SWIG_IsOK(res9
)) {
15957 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15960 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15962 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
15966 arg10
= wxString_in_helper(obj9
);
15967 if (arg10
== NULL
) SWIG_fail
;
15972 if (!wxPyCheckForApp()) SWIG_fail
;
15973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15974 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
);
15975 wxPyEndAllowThreads(__tstate
);
15976 if (PyErr_Occurred()) SWIG_fail
;
15978 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
15984 if (temp6
) delete arg6
;
15997 if (temp6
) delete arg6
;
16007 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16008 PyObject
*resultobj
= 0;
16009 wxRadioBox
*result
= 0 ;
16011 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16013 if (!wxPyCheckForApp()) SWIG_fail
;
16014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16015 result
= (wxRadioBox
*)new wxRadioBox();
16016 wxPyEndAllowThreads(__tstate
);
16017 if (PyErr_Occurred()) SWIG_fail
;
16019 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16026 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16027 PyObject
*resultobj
= 0;
16028 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16029 wxWindow
*arg2
= (wxWindow
*) 0 ;
16030 int arg3
= (int) -1 ;
16031 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16032 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16033 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16034 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16035 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16036 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16037 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16038 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16039 int arg8
= (int) 0 ;
16040 long arg9
= (long) wxRA_HORIZONTAL
;
16041 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16042 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16043 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16044 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16052 bool temp4
= false ;
16055 bool temp7
= false ;
16062 bool temp11
= false ;
16063 PyObject
* obj0
= 0 ;
16064 PyObject
* obj1
= 0 ;
16065 PyObject
* obj2
= 0 ;
16066 PyObject
* obj3
= 0 ;
16067 PyObject
* obj4
= 0 ;
16068 PyObject
* obj5
= 0 ;
16069 PyObject
* obj6
= 0 ;
16070 PyObject
* obj7
= 0 ;
16071 PyObject
* obj8
= 0 ;
16072 PyObject
* obj9
= 0 ;
16073 PyObject
* obj10
= 0 ;
16074 char * kwnames
[] = {
16075 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16080 if (!SWIG_IsOK(res1
)) {
16081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16083 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16084 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16085 if (!SWIG_IsOK(res2
)) {
16086 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16088 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16090 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16091 if (!SWIG_IsOK(ecode3
)) {
16092 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16094 arg3
= static_cast< int >(val3
);
16098 arg4
= wxString_in_helper(obj3
);
16099 if (arg4
== NULL
) SWIG_fail
;
16106 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16112 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16117 if (! PySequence_Check(obj6
)) {
16118 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16121 arg7
= new wxArrayString
;
16123 int i
, len
=PySequence_Length(obj6
);
16124 for (i
=0; i
<len
; i
++) {
16125 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16126 wxString
* s
= wxString_in_helper(item
);
16127 if (PyErr_Occurred()) SWIG_fail
;
16135 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16136 if (!SWIG_IsOK(ecode8
)) {
16137 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16139 arg8
= static_cast< int >(val8
);
16142 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16143 if (!SWIG_IsOK(ecode9
)) {
16144 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16146 arg9
= static_cast< long >(val9
);
16149 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16150 if (!SWIG_IsOK(res10
)) {
16151 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16154 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16156 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16160 arg11
= wxString_in_helper(obj10
);
16161 if (arg11
== NULL
) SWIG_fail
;
16166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16167 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
);
16168 wxPyEndAllowThreads(__tstate
);
16169 if (PyErr_Occurred()) SWIG_fail
;
16172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16179 if (temp7
) delete arg7
;
16192 if (temp7
) delete arg7
;
16202 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16203 PyObject
*resultobj
= 0;
16204 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16210 PyObject
* obj0
= 0 ;
16211 PyObject
* obj1
= 0 ;
16212 char * kwnames
[] = {
16213 (char *) "self",(char *) "n", NULL
16216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16218 if (!SWIG_IsOK(res1
)) {
16219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16221 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16222 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16223 if (!SWIG_IsOK(ecode2
)) {
16224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16226 arg2
= static_cast< int >(val2
);
16228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16229 (arg1
)->SetSelection(arg2
);
16230 wxPyEndAllowThreads(__tstate
);
16231 if (PyErr_Occurred()) SWIG_fail
;
16233 resultobj
= SWIG_Py_Void();
16240 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16241 PyObject
*resultobj
= 0;
16242 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16246 PyObject
*swig_obj
[1] ;
16248 if (!args
) SWIG_fail
;
16249 swig_obj
[0] = args
;
16250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16251 if (!SWIG_IsOK(res1
)) {
16252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16254 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16257 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16258 wxPyEndAllowThreads(__tstate
);
16259 if (PyErr_Occurred()) SWIG_fail
;
16261 resultobj
= SWIG_From_int(static_cast< int >(result
));
16268 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16269 PyObject
*resultobj
= 0;
16270 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16274 PyObject
*swig_obj
[1] ;
16276 if (!args
) SWIG_fail
;
16277 swig_obj
[0] = args
;
16278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16279 if (!SWIG_IsOK(res1
)) {
16280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16282 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16285 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16286 wxPyEndAllowThreads(__tstate
);
16287 if (PyErr_Occurred()) SWIG_fail
;
16291 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16293 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16302 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16303 PyObject
*resultobj
= 0;
16304 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16305 wxString
*arg2
= 0 ;
16309 bool temp2
= false ;
16310 PyObject
* obj0
= 0 ;
16311 PyObject
* obj1
= 0 ;
16312 char * kwnames
[] = {
16313 (char *) "self",(char *) "s", NULL
16316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16318 if (!SWIG_IsOK(res1
)) {
16319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16321 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16323 arg2
= wxString_in_helper(obj1
);
16324 if (arg2
== NULL
) SWIG_fail
;
16328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16329 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16330 wxPyEndAllowThreads(__tstate
);
16331 if (PyErr_Occurred()) SWIG_fail
;
16334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16350 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16351 PyObject
*resultobj
= 0;
16352 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16356 PyObject
*swig_obj
[1] ;
16358 if (!args
) SWIG_fail
;
16359 swig_obj
[0] = args
;
16360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16361 if (!SWIG_IsOK(res1
)) {
16362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16364 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16367 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16368 wxPyEndAllowThreads(__tstate
);
16369 if (PyErr_Occurred()) SWIG_fail
;
16371 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16378 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(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_FindString",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_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16397 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16399 arg2
= wxString_in_helper(obj1
);
16400 if (arg2
== NULL
) SWIG_fail
;
16404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16405 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16406 wxPyEndAllowThreads(__tstate
);
16407 if (PyErr_Occurred()) SWIG_fail
;
16409 resultobj
= SWIG_From_int(static_cast< int >(result
));
16424 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16425 PyObject
*resultobj
= 0;
16426 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16433 PyObject
* obj0
= 0 ;
16434 PyObject
* obj1
= 0 ;
16435 char * kwnames
[] = {
16436 (char *) "self",(char *) "n", NULL
16439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16441 if (!SWIG_IsOK(res1
)) {
16442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16444 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16446 if (!SWIG_IsOK(ecode2
)) {
16447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16449 arg2
= static_cast< int >(val2
);
16451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16452 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16453 wxPyEndAllowThreads(__tstate
);
16454 if (PyErr_Occurred()) SWIG_fail
;
16458 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16460 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16469 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16470 PyObject
*resultobj
= 0;
16471 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16473 wxString
*arg3
= 0 ;
16478 bool temp3
= false ;
16479 PyObject
* obj0
= 0 ;
16480 PyObject
* obj1
= 0 ;
16481 PyObject
* obj2
= 0 ;
16482 char * kwnames
[] = {
16483 (char *) "self",(char *) "n",(char *) "label", NULL
16486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16488 if (!SWIG_IsOK(res1
)) {
16489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16491 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16492 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16493 if (!SWIG_IsOK(ecode2
)) {
16494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16496 arg2
= static_cast< int >(val2
);
16498 arg3
= wxString_in_helper(obj2
);
16499 if (arg3
== NULL
) SWIG_fail
;
16503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16504 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16505 wxPyEndAllowThreads(__tstate
);
16506 if (PyErr_Occurred()) SWIG_fail
;
16508 resultobj
= SWIG_Py_Void();
16523 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16524 PyObject
*resultobj
= 0;
16525 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16526 unsigned int arg2
;
16527 bool arg3
= (bool) true ;
16530 unsigned int val2
;
16534 PyObject
* obj0
= 0 ;
16535 PyObject
* obj1
= 0 ;
16536 PyObject
* obj2
= 0 ;
16537 char * kwnames
[] = {
16538 (char *) "self",(char *) "n",(char *) "enable", NULL
16541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16543 if (!SWIG_IsOK(res1
)) {
16544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16546 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16547 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16548 if (!SWIG_IsOK(ecode2
)) {
16549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16551 arg2
= static_cast< unsigned int >(val2
);
16553 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16554 if (!SWIG_IsOK(ecode3
)) {
16555 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16557 arg3
= static_cast< bool >(val3
);
16560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16561 (arg1
)->Enable(arg2
,arg3
);
16562 wxPyEndAllowThreads(__tstate
);
16563 if (PyErr_Occurred()) SWIG_fail
;
16565 resultobj
= SWIG_Py_Void();
16572 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16573 PyObject
*resultobj
= 0;
16574 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16575 unsigned int arg2
;
16576 bool arg3
= (bool) true ;
16579 unsigned int val2
;
16583 PyObject
* obj0
= 0 ;
16584 PyObject
* obj1
= 0 ;
16585 PyObject
* obj2
= 0 ;
16586 char * kwnames
[] = {
16587 (char *) "self",(char *) "n",(char *) "show", NULL
16590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16592 if (!SWIG_IsOK(res1
)) {
16593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16595 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16596 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16597 if (!SWIG_IsOK(ecode2
)) {
16598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16600 arg2
= static_cast< unsigned int >(val2
);
16602 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16603 if (!SWIG_IsOK(ecode3
)) {
16604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16606 arg3
= static_cast< bool >(val3
);
16609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16610 (arg1
)->Show(arg2
,arg3
);
16611 wxPyEndAllowThreads(__tstate
);
16612 if (PyErr_Occurred()) SWIG_fail
;
16614 resultobj
= SWIG_Py_Void();
16621 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16622 PyObject
*resultobj
= 0;
16623 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16624 unsigned int arg2
;
16628 unsigned int val2
;
16630 PyObject
* obj0
= 0 ;
16631 PyObject
* obj1
= 0 ;
16632 char * kwnames
[] = {
16633 (char *) "self",(char *) "n", NULL
16636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16638 if (!SWIG_IsOK(res1
)) {
16639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16641 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16642 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16643 if (!SWIG_IsOK(ecode2
)) {
16644 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16646 arg2
= static_cast< unsigned int >(val2
);
16648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16649 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16650 wxPyEndAllowThreads(__tstate
);
16651 if (PyErr_Occurred()) SWIG_fail
;
16654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16662 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16663 PyObject
*resultobj
= 0;
16664 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16665 unsigned int arg2
;
16669 unsigned int val2
;
16671 PyObject
* obj0
= 0 ;
16672 PyObject
* obj1
= 0 ;
16673 char * kwnames
[] = {
16674 (char *) "self",(char *) "n", NULL
16677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16679 if (!SWIG_IsOK(res1
)) {
16680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16682 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16683 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16684 if (!SWIG_IsOK(ecode2
)) {
16685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16687 arg2
= static_cast< unsigned int >(val2
);
16689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16690 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16691 wxPyEndAllowThreads(__tstate
);
16692 if (PyErr_Occurred()) SWIG_fail
;
16695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16703 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16704 PyObject
*resultobj
= 0;
16705 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16706 unsigned int result
;
16709 PyObject
*swig_obj
[1] ;
16711 if (!args
) SWIG_fail
;
16712 swig_obj
[0] = args
;
16713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16714 if (!SWIG_IsOK(res1
)) {
16715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16717 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16720 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16721 wxPyEndAllowThreads(__tstate
);
16722 if (PyErr_Occurred()) SWIG_fail
;
16724 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16731 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16732 PyObject
*resultobj
= 0;
16733 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16734 unsigned int result
;
16737 PyObject
*swig_obj
[1] ;
16739 if (!args
) SWIG_fail
;
16740 swig_obj
[0] = args
;
16741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16742 if (!SWIG_IsOK(res1
)) {
16743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16745 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16748 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16749 wxPyEndAllowThreads(__tstate
);
16750 if (PyErr_Occurred()) SWIG_fail
;
16752 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16759 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16760 PyObject
*resultobj
= 0;
16761 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16774 PyObject
* obj0
= 0 ;
16775 PyObject
* obj1
= 0 ;
16776 PyObject
* obj2
= 0 ;
16777 PyObject
* obj3
= 0 ;
16778 char * kwnames
[] = {
16779 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16784 if (!SWIG_IsOK(res1
)) {
16785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16787 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16788 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16789 if (!SWIG_IsOK(ecode2
)) {
16790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16792 arg2
= static_cast< int >(val2
);
16793 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16794 if (!SWIG_IsOK(ecode3
)) {
16795 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16797 arg3
= static_cast< wxDirection
>(val3
);
16798 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16799 if (!SWIG_IsOK(ecode4
)) {
16800 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16802 arg4
= static_cast< long >(val4
);
16804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16805 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
16806 wxPyEndAllowThreads(__tstate
);
16807 if (PyErr_Occurred()) SWIG_fail
;
16809 resultobj
= SWIG_From_int(static_cast< int >(result
));
16816 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16817 PyObject
*resultobj
= 0;
16818 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16819 unsigned int arg2
;
16820 wxString
*arg3
= 0 ;
16823 unsigned int val2
;
16825 bool temp3
= false ;
16826 PyObject
* obj0
= 0 ;
16827 PyObject
* obj1
= 0 ;
16828 PyObject
* obj2
= 0 ;
16829 char * kwnames
[] = {
16830 (char *) "self",(char *) "item",(char *) "text", NULL
16833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16835 if (!SWIG_IsOK(res1
)) {
16836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16838 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16839 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16840 if (!SWIG_IsOK(ecode2
)) {
16841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16843 arg2
= static_cast< unsigned int >(val2
);
16845 arg3
= wxString_in_helper(obj2
);
16846 if (arg3
== NULL
) SWIG_fail
;
16850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16851 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
16852 wxPyEndAllowThreads(__tstate
);
16853 if (PyErr_Occurred()) SWIG_fail
;
16855 resultobj
= SWIG_Py_Void();
16870 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16871 PyObject
*resultobj
= 0;
16872 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16873 unsigned int arg2
;
16874 wxToolTip
*result
= 0 ;
16877 unsigned int val2
;
16879 PyObject
* obj0
= 0 ;
16880 PyObject
* obj1
= 0 ;
16881 char * kwnames
[] = {
16882 (char *) "self",(char *) "item", NULL
16885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16887 if (!SWIG_IsOK(res1
)) {
16888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16890 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16891 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16892 if (!SWIG_IsOK(ecode2
)) {
16893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16895 arg2
= static_cast< unsigned int >(val2
);
16897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16898 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
16899 wxPyEndAllowThreads(__tstate
);
16900 if (PyErr_Occurred()) SWIG_fail
;
16903 resultobj
= wxPyMake_wxObject(result
, (bool)0);
16911 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16912 PyObject
*resultobj
= 0;
16913 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16914 SwigValueWrapper
<wxVisualAttributes
> result
;
16917 PyObject
* obj0
= 0 ;
16918 char * kwnames
[] = {
16919 (char *) "variant", NULL
16922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
16924 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16925 if (!SWIG_IsOK(ecode1
)) {
16926 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
16928 arg1
= static_cast< wxWindowVariant
>(val1
);
16931 if (!wxPyCheckForApp()) SWIG_fail
;
16932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16933 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
16934 wxPyEndAllowThreads(__tstate
);
16935 if (PyErr_Occurred()) SWIG_fail
;
16937 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
16944 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16946 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16947 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
16948 return SWIG_Py_Void();
16951 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16952 return SWIG_Python_InitShadowInstance(args
);
16955 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16956 PyObject
*resultobj
= 0;
16957 wxWindow
*arg1
= (wxWindow
*) 0 ;
16958 int arg2
= (int) -1 ;
16959 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16960 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16961 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16962 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16963 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16964 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16965 long arg6
= (long) 0 ;
16966 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
16967 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
16968 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
16969 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16970 wxRadioButton
*result
= 0 ;
16975 bool temp3
= false ;
16982 bool temp8
= false ;
16983 PyObject
* obj0
= 0 ;
16984 PyObject
* obj1
= 0 ;
16985 PyObject
* obj2
= 0 ;
16986 PyObject
* obj3
= 0 ;
16987 PyObject
* obj4
= 0 ;
16988 PyObject
* obj5
= 0 ;
16989 PyObject
* obj6
= 0 ;
16990 PyObject
* obj7
= 0 ;
16991 char * kwnames
[] = {
16992 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
16996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16997 if (!SWIG_IsOK(res1
)) {
16998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17000 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17002 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17003 if (!SWIG_IsOK(ecode2
)) {
17004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17006 arg2
= static_cast< int >(val2
);
17010 arg3
= wxString_in_helper(obj2
);
17011 if (arg3
== NULL
) SWIG_fail
;
17018 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17024 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17028 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17029 if (!SWIG_IsOK(ecode6
)) {
17030 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17032 arg6
= static_cast< long >(val6
);
17035 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17036 if (!SWIG_IsOK(res7
)) {
17037 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17040 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17042 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17046 arg8
= wxString_in_helper(obj7
);
17047 if (arg8
== NULL
) SWIG_fail
;
17052 if (!wxPyCheckForApp()) SWIG_fail
;
17053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17054 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17055 wxPyEndAllowThreads(__tstate
);
17056 if (PyErr_Occurred()) SWIG_fail
;
17058 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17081 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17082 PyObject
*resultobj
= 0;
17083 wxRadioButton
*result
= 0 ;
17085 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17087 if (!wxPyCheckForApp()) SWIG_fail
;
17088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17089 result
= (wxRadioButton
*)new wxRadioButton();
17090 wxPyEndAllowThreads(__tstate
);
17091 if (PyErr_Occurred()) SWIG_fail
;
17093 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17100 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17101 PyObject
*resultobj
= 0;
17102 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17103 wxWindow
*arg2
= (wxWindow
*) 0 ;
17104 int arg3
= (int) -1 ;
17105 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17106 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17107 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17108 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17109 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17110 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17111 long arg7
= (long) 0 ;
17112 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17113 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17114 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17115 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17123 bool temp4
= false ;
17130 bool temp9
= false ;
17131 PyObject
* obj0
= 0 ;
17132 PyObject
* obj1
= 0 ;
17133 PyObject
* obj2
= 0 ;
17134 PyObject
* obj3
= 0 ;
17135 PyObject
* obj4
= 0 ;
17136 PyObject
* obj5
= 0 ;
17137 PyObject
* obj6
= 0 ;
17138 PyObject
* obj7
= 0 ;
17139 PyObject
* obj8
= 0 ;
17140 char * kwnames
[] = {
17141 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17146 if (!SWIG_IsOK(res1
)) {
17147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17149 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17150 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17151 if (!SWIG_IsOK(res2
)) {
17152 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17154 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17156 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17157 if (!SWIG_IsOK(ecode3
)) {
17158 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17160 arg3
= static_cast< int >(val3
);
17164 arg4
= wxString_in_helper(obj3
);
17165 if (arg4
== NULL
) SWIG_fail
;
17172 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17178 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17182 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17183 if (!SWIG_IsOK(ecode7
)) {
17184 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17186 arg7
= static_cast< long >(val7
);
17189 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17190 if (!SWIG_IsOK(res8
)) {
17191 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17194 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17196 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17200 arg9
= wxString_in_helper(obj8
);
17201 if (arg9
== NULL
) SWIG_fail
;
17206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17207 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17208 wxPyEndAllowThreads(__tstate
);
17209 if (PyErr_Occurred()) SWIG_fail
;
17212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17236 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17237 PyObject
*resultobj
= 0;
17238 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17242 PyObject
*swig_obj
[1] ;
17244 if (!args
) SWIG_fail
;
17245 swig_obj
[0] = args
;
17246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17247 if (!SWIG_IsOK(res1
)) {
17248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17250 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17253 result
= (bool)(arg1
)->GetValue();
17254 wxPyEndAllowThreads(__tstate
);
17255 if (PyErr_Occurred()) SWIG_fail
;
17258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17266 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17267 PyObject
*resultobj
= 0;
17268 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17274 PyObject
* obj0
= 0 ;
17275 PyObject
* obj1
= 0 ;
17276 char * kwnames
[] = {
17277 (char *) "self",(char *) "value", NULL
17280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17282 if (!SWIG_IsOK(res1
)) {
17283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17285 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17286 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17287 if (!SWIG_IsOK(ecode2
)) {
17288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17290 arg2
= static_cast< bool >(val2
);
17292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17293 (arg1
)->SetValue(arg2
);
17294 wxPyEndAllowThreads(__tstate
);
17295 if (PyErr_Occurred()) SWIG_fail
;
17297 resultobj
= SWIG_Py_Void();
17304 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17305 PyObject
*resultobj
= 0;
17306 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17307 SwigValueWrapper
<wxVisualAttributes
> result
;
17310 PyObject
* obj0
= 0 ;
17311 char * kwnames
[] = {
17312 (char *) "variant", NULL
17315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17317 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17318 if (!SWIG_IsOK(ecode1
)) {
17319 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17321 arg1
= static_cast< wxWindowVariant
>(val1
);
17324 if (!wxPyCheckForApp()) SWIG_fail
;
17325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17326 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17327 wxPyEndAllowThreads(__tstate
);
17328 if (PyErr_Occurred()) SWIG_fail
;
17330 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17337 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17339 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17340 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17341 return SWIG_Py_Void();
17344 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17345 return SWIG_Python_InitShadowInstance(args
);
17348 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17349 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17354 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17355 PyObject
*pyobj
= 0;
17359 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17361 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17368 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17369 PyObject
*resultobj
= 0;
17370 wxWindow
*arg1
= (wxWindow
*) 0 ;
17371 int arg2
= (int) -1 ;
17372 int arg3
= (int) 0 ;
17373 int arg4
= (int) 0 ;
17374 int arg5
= (int) 100 ;
17375 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17376 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17377 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17378 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17379 long arg8
= (long) wxSL_HORIZONTAL
;
17380 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17381 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17382 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17383 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17384 wxSlider
*result
= 0 ;
17401 bool temp10
= false ;
17402 PyObject
* obj0
= 0 ;
17403 PyObject
* obj1
= 0 ;
17404 PyObject
* obj2
= 0 ;
17405 PyObject
* obj3
= 0 ;
17406 PyObject
* obj4
= 0 ;
17407 PyObject
* obj5
= 0 ;
17408 PyObject
* obj6
= 0 ;
17409 PyObject
* obj7
= 0 ;
17410 PyObject
* obj8
= 0 ;
17411 PyObject
* obj9
= 0 ;
17412 char * kwnames
[] = {
17413 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17418 if (!SWIG_IsOK(res1
)) {
17419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17421 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17423 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17424 if (!SWIG_IsOK(ecode2
)) {
17425 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17427 arg2
= static_cast< int >(val2
);
17430 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17431 if (!SWIG_IsOK(ecode3
)) {
17432 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17434 arg3
= static_cast< int >(val3
);
17437 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17438 if (!SWIG_IsOK(ecode4
)) {
17439 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17441 arg4
= static_cast< int >(val4
);
17444 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17445 if (!SWIG_IsOK(ecode5
)) {
17446 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17448 arg5
= static_cast< int >(val5
);
17453 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17459 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17463 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17464 if (!SWIG_IsOK(ecode8
)) {
17465 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17467 arg8
= static_cast< long >(val8
);
17470 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17471 if (!SWIG_IsOK(res9
)) {
17472 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17475 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17477 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17481 arg10
= wxString_in_helper(obj9
);
17482 if (arg10
== NULL
) SWIG_fail
;
17487 if (!wxPyCheckForApp()) SWIG_fail
;
17488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17489 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17490 wxPyEndAllowThreads(__tstate
);
17491 if (PyErr_Occurred()) SWIG_fail
;
17493 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17508 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17509 PyObject
*resultobj
= 0;
17510 wxSlider
*result
= 0 ;
17512 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17514 if (!wxPyCheckForApp()) SWIG_fail
;
17515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17516 result
= (wxSlider
*)new wxSlider();
17517 wxPyEndAllowThreads(__tstate
);
17518 if (PyErr_Occurred()) SWIG_fail
;
17520 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17527 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17528 PyObject
*resultobj
= 0;
17529 wxSlider
*arg1
= (wxSlider
*) 0 ;
17530 wxWindow
*arg2
= (wxWindow
*) 0 ;
17531 int arg3
= (int) -1 ;
17532 int arg4
= (int) 0 ;
17533 int arg5
= (int) 0 ;
17534 int arg6
= (int) 100 ;
17535 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17536 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17537 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17538 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17539 long arg9
= (long) wxSL_HORIZONTAL
;
17540 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17541 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17542 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17543 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17563 bool temp11
= false ;
17564 PyObject
* obj0
= 0 ;
17565 PyObject
* obj1
= 0 ;
17566 PyObject
* obj2
= 0 ;
17567 PyObject
* obj3
= 0 ;
17568 PyObject
* obj4
= 0 ;
17569 PyObject
* obj5
= 0 ;
17570 PyObject
* obj6
= 0 ;
17571 PyObject
* obj7
= 0 ;
17572 PyObject
* obj8
= 0 ;
17573 PyObject
* obj9
= 0 ;
17574 PyObject
* obj10
= 0 ;
17575 char * kwnames
[] = {
17576 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17581 if (!SWIG_IsOK(res1
)) {
17582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17584 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17585 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17586 if (!SWIG_IsOK(res2
)) {
17587 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17589 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17591 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17592 if (!SWIG_IsOK(ecode3
)) {
17593 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17595 arg3
= static_cast< int >(val3
);
17598 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17599 if (!SWIG_IsOK(ecode4
)) {
17600 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17602 arg4
= static_cast< int >(val4
);
17605 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17606 if (!SWIG_IsOK(ecode5
)) {
17607 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17609 arg5
= static_cast< int >(val5
);
17612 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17613 if (!SWIG_IsOK(ecode6
)) {
17614 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17616 arg6
= static_cast< int >(val6
);
17621 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17627 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17631 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17632 if (!SWIG_IsOK(ecode9
)) {
17633 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17635 arg9
= static_cast< long >(val9
);
17638 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17639 if (!SWIG_IsOK(res10
)) {
17640 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17643 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17645 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17649 arg11
= wxString_in_helper(obj10
);
17650 if (arg11
== NULL
) SWIG_fail
;
17655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17656 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17657 wxPyEndAllowThreads(__tstate
);
17658 if (PyErr_Occurred()) SWIG_fail
;
17661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17677 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17678 PyObject
*resultobj
= 0;
17679 wxSlider
*arg1
= (wxSlider
*) 0 ;
17683 PyObject
*swig_obj
[1] ;
17685 if (!args
) SWIG_fail
;
17686 swig_obj
[0] = args
;
17687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17688 if (!SWIG_IsOK(res1
)) {
17689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17691 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17694 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17695 wxPyEndAllowThreads(__tstate
);
17696 if (PyErr_Occurred()) SWIG_fail
;
17698 resultobj
= SWIG_From_int(static_cast< int >(result
));
17705 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17706 PyObject
*resultobj
= 0;
17707 wxSlider
*arg1
= (wxSlider
*) 0 ;
17713 PyObject
* obj0
= 0 ;
17714 PyObject
* obj1
= 0 ;
17715 char * kwnames
[] = {
17716 (char *) "self",(char *) "value", NULL
17719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17721 if (!SWIG_IsOK(res1
)) {
17722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17724 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17725 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17726 if (!SWIG_IsOK(ecode2
)) {
17727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17729 arg2
= static_cast< int >(val2
);
17731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17732 (arg1
)->SetValue(arg2
);
17733 wxPyEndAllowThreads(__tstate
);
17734 if (PyErr_Occurred()) SWIG_fail
;
17736 resultobj
= SWIG_Py_Void();
17743 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17744 PyObject
*resultobj
= 0;
17745 wxSlider
*arg1
= (wxSlider
*) 0 ;
17754 PyObject
* obj0
= 0 ;
17755 PyObject
* obj1
= 0 ;
17756 PyObject
* obj2
= 0 ;
17757 char * kwnames
[] = {
17758 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
17761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17763 if (!SWIG_IsOK(res1
)) {
17764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
17766 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17767 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17768 if (!SWIG_IsOK(ecode2
)) {
17769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
17771 arg2
= static_cast< int >(val2
);
17772 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17773 if (!SWIG_IsOK(ecode3
)) {
17774 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
17776 arg3
= static_cast< int >(val3
);
17778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17779 (arg1
)->SetRange(arg2
,arg3
);
17780 wxPyEndAllowThreads(__tstate
);
17781 if (PyErr_Occurred()) SWIG_fail
;
17783 resultobj
= SWIG_Py_Void();
17790 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17791 PyObject
*resultobj
= 0;
17792 wxSlider
*arg1
= (wxSlider
*) 0 ;
17796 PyObject
*swig_obj
[1] ;
17798 if (!args
) SWIG_fail
;
17799 swig_obj
[0] = args
;
17800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17801 if (!SWIG_IsOK(res1
)) {
17802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
17804 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17807 result
= (int)((wxSlider
const *)arg1
)->GetMin();
17808 wxPyEndAllowThreads(__tstate
);
17809 if (PyErr_Occurred()) SWIG_fail
;
17811 resultobj
= SWIG_From_int(static_cast< int >(result
));
17818 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17819 PyObject
*resultobj
= 0;
17820 wxSlider
*arg1
= (wxSlider
*) 0 ;
17824 PyObject
*swig_obj
[1] ;
17826 if (!args
) SWIG_fail
;
17827 swig_obj
[0] = args
;
17828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17829 if (!SWIG_IsOK(res1
)) {
17830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
17832 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17835 result
= (int)((wxSlider
const *)arg1
)->GetMax();
17836 wxPyEndAllowThreads(__tstate
);
17837 if (PyErr_Occurred()) SWIG_fail
;
17839 resultobj
= SWIG_From_int(static_cast< int >(result
));
17846 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17847 PyObject
*resultobj
= 0;
17848 wxSlider
*arg1
= (wxSlider
*) 0 ;
17854 PyObject
* obj0
= 0 ;
17855 PyObject
* obj1
= 0 ;
17856 char * kwnames
[] = {
17857 (char *) "self",(char *) "minValue", NULL
17860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17862 if (!SWIG_IsOK(res1
)) {
17863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
17865 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17866 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17867 if (!SWIG_IsOK(ecode2
)) {
17868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
17870 arg2
= static_cast< int >(val2
);
17872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17873 (arg1
)->SetMin(arg2
);
17874 wxPyEndAllowThreads(__tstate
);
17875 if (PyErr_Occurred()) SWIG_fail
;
17877 resultobj
= SWIG_Py_Void();
17884 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17885 PyObject
*resultobj
= 0;
17886 wxSlider
*arg1
= (wxSlider
*) 0 ;
17892 PyObject
* obj0
= 0 ;
17893 PyObject
* obj1
= 0 ;
17894 char * kwnames
[] = {
17895 (char *) "self",(char *) "maxValue", NULL
17898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17900 if (!SWIG_IsOK(res1
)) {
17901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
17903 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17905 if (!SWIG_IsOK(ecode2
)) {
17906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
17908 arg2
= static_cast< int >(val2
);
17910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17911 (arg1
)->SetMax(arg2
);
17912 wxPyEndAllowThreads(__tstate
);
17913 if (PyErr_Occurred()) SWIG_fail
;
17915 resultobj
= SWIG_Py_Void();
17922 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(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 *) "lineSize", NULL
17936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",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_SetLineSize" "', 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_SetLineSize" "', expected argument " "2"" of type '" "int""'");
17946 arg2
= static_cast< int >(val2
);
17948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17949 (arg1
)->SetLineSize(arg2
);
17950 wxPyEndAllowThreads(__tstate
);
17951 if (PyErr_Occurred()) SWIG_fail
;
17953 resultobj
= SWIG_Py_Void();
17960 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(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 *) "pageSize", NULL
17974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",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_SetPageSize" "', 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_SetPageSize" "', expected argument " "2"" of type '" "int""'");
17984 arg2
= static_cast< int >(val2
);
17986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17987 (arg1
)->SetPageSize(arg2
);
17988 wxPyEndAllowThreads(__tstate
);
17989 if (PyErr_Occurred()) SWIG_fail
;
17991 resultobj
= SWIG_Py_Void();
17998 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17999 PyObject
*resultobj
= 0;
18000 wxSlider
*arg1
= (wxSlider
*) 0 ;
18004 PyObject
*swig_obj
[1] ;
18006 if (!args
) SWIG_fail
;
18007 swig_obj
[0] = args
;
18008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18009 if (!SWIG_IsOK(res1
)) {
18010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18012 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18015 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18016 wxPyEndAllowThreads(__tstate
);
18017 if (PyErr_Occurred()) SWIG_fail
;
18019 resultobj
= SWIG_From_int(static_cast< int >(result
));
18026 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18027 PyObject
*resultobj
= 0;
18028 wxSlider
*arg1
= (wxSlider
*) 0 ;
18032 PyObject
*swig_obj
[1] ;
18034 if (!args
) SWIG_fail
;
18035 swig_obj
[0] = args
;
18036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18037 if (!SWIG_IsOK(res1
)) {
18038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18040 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18043 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18044 wxPyEndAllowThreads(__tstate
);
18045 if (PyErr_Occurred()) SWIG_fail
;
18047 resultobj
= SWIG_From_int(static_cast< int >(result
));
18054 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18055 PyObject
*resultobj
= 0;
18056 wxSlider
*arg1
= (wxSlider
*) 0 ;
18062 PyObject
* obj0
= 0 ;
18063 PyObject
* obj1
= 0 ;
18064 char * kwnames
[] = {
18065 (char *) "self",(char *) "lenPixels", NULL
18068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18070 if (!SWIG_IsOK(res1
)) {
18071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18073 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18075 if (!SWIG_IsOK(ecode2
)) {
18076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18078 arg2
= static_cast< int >(val2
);
18080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18081 (arg1
)->SetThumbLength(arg2
);
18082 wxPyEndAllowThreads(__tstate
);
18083 if (PyErr_Occurred()) SWIG_fail
;
18085 resultobj
= SWIG_Py_Void();
18092 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18093 PyObject
*resultobj
= 0;
18094 wxSlider
*arg1
= (wxSlider
*) 0 ;
18098 PyObject
*swig_obj
[1] ;
18100 if (!args
) SWIG_fail
;
18101 swig_obj
[0] = args
;
18102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18103 if (!SWIG_IsOK(res1
)) {
18104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18106 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18109 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18110 wxPyEndAllowThreads(__tstate
);
18111 if (PyErr_Occurred()) SWIG_fail
;
18113 resultobj
= SWIG_From_int(static_cast< int >(result
));
18120 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18121 PyObject
*resultobj
= 0;
18122 wxSlider
*arg1
= (wxSlider
*) 0 ;
18124 int arg3
= (int) 1 ;
18131 PyObject
* obj0
= 0 ;
18132 PyObject
* obj1
= 0 ;
18133 PyObject
* obj2
= 0 ;
18134 char * kwnames
[] = {
18135 (char *) "self",(char *) "n",(char *) "pos", NULL
18138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18140 if (!SWIG_IsOK(res1
)) {
18141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18143 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18144 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18145 if (!SWIG_IsOK(ecode2
)) {
18146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18148 arg2
= static_cast< int >(val2
);
18150 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18151 if (!SWIG_IsOK(ecode3
)) {
18152 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18154 arg3
= static_cast< int >(val3
);
18157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18158 (arg1
)->SetTickFreq(arg2
,arg3
);
18159 wxPyEndAllowThreads(__tstate
);
18160 if (PyErr_Occurred()) SWIG_fail
;
18162 resultobj
= SWIG_Py_Void();
18169 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18170 PyObject
*resultobj
= 0;
18171 wxSlider
*arg1
= (wxSlider
*) 0 ;
18175 PyObject
*swig_obj
[1] ;
18177 if (!args
) SWIG_fail
;
18178 swig_obj
[0] = args
;
18179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18180 if (!SWIG_IsOK(res1
)) {
18181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18183 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18186 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18187 wxPyEndAllowThreads(__tstate
);
18188 if (PyErr_Occurred()) SWIG_fail
;
18190 resultobj
= SWIG_From_int(static_cast< int >(result
));
18197 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18198 PyObject
*resultobj
= 0;
18199 wxSlider
*arg1
= (wxSlider
*) 0 ;
18202 PyObject
*swig_obj
[1] ;
18204 if (!args
) SWIG_fail
;
18205 swig_obj
[0] = args
;
18206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18207 if (!SWIG_IsOK(res1
)) {
18208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18210 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18213 (arg1
)->ClearTicks();
18214 wxPyEndAllowThreads(__tstate
);
18215 if (PyErr_Occurred()) SWIG_fail
;
18217 resultobj
= SWIG_Py_Void();
18224 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18225 PyObject
*resultobj
= 0;
18226 wxSlider
*arg1
= (wxSlider
*) 0 ;
18232 PyObject
* obj0
= 0 ;
18233 PyObject
* obj1
= 0 ;
18234 char * kwnames
[] = {
18235 (char *) "self",(char *) "tickPos", NULL
18238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18240 if (!SWIG_IsOK(res1
)) {
18241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18243 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18244 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18245 if (!SWIG_IsOK(ecode2
)) {
18246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18248 arg2
= static_cast< int >(val2
);
18250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18251 (arg1
)->SetTick(arg2
);
18252 wxPyEndAllowThreads(__tstate
);
18253 if (PyErr_Occurred()) SWIG_fail
;
18255 resultobj
= SWIG_Py_Void();
18262 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18263 PyObject
*resultobj
= 0;
18264 wxSlider
*arg1
= (wxSlider
*) 0 ;
18267 PyObject
*swig_obj
[1] ;
18269 if (!args
) SWIG_fail
;
18270 swig_obj
[0] = args
;
18271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18272 if (!SWIG_IsOK(res1
)) {
18273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18275 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18278 (arg1
)->ClearSel();
18279 wxPyEndAllowThreads(__tstate
);
18280 if (PyErr_Occurred()) SWIG_fail
;
18282 resultobj
= SWIG_Py_Void();
18289 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18290 PyObject
*resultobj
= 0;
18291 wxSlider
*arg1
= (wxSlider
*) 0 ;
18295 PyObject
*swig_obj
[1] ;
18297 if (!args
) SWIG_fail
;
18298 swig_obj
[0] = args
;
18299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18300 if (!SWIG_IsOK(res1
)) {
18301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18303 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18306 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18307 wxPyEndAllowThreads(__tstate
);
18308 if (PyErr_Occurred()) SWIG_fail
;
18310 resultobj
= SWIG_From_int(static_cast< int >(result
));
18317 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18318 PyObject
*resultobj
= 0;
18319 wxSlider
*arg1
= (wxSlider
*) 0 ;
18323 PyObject
*swig_obj
[1] ;
18325 if (!args
) SWIG_fail
;
18326 swig_obj
[0] = args
;
18327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18328 if (!SWIG_IsOK(res1
)) {
18329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18331 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18334 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18335 wxPyEndAllowThreads(__tstate
);
18336 if (PyErr_Occurred()) SWIG_fail
;
18338 resultobj
= SWIG_From_int(static_cast< int >(result
));
18345 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18346 PyObject
*resultobj
= 0;
18347 wxSlider
*arg1
= (wxSlider
*) 0 ;
18356 PyObject
* obj0
= 0 ;
18357 PyObject
* obj1
= 0 ;
18358 PyObject
* obj2
= 0 ;
18359 char * kwnames
[] = {
18360 (char *) "self",(char *) "min",(char *) "max", NULL
18363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18365 if (!SWIG_IsOK(res1
)) {
18366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18368 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18369 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18370 if (!SWIG_IsOK(ecode2
)) {
18371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18373 arg2
= static_cast< int >(val2
);
18374 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18375 if (!SWIG_IsOK(ecode3
)) {
18376 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18378 arg3
= static_cast< int >(val3
);
18380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18381 (arg1
)->SetSelection(arg2
,arg3
);
18382 wxPyEndAllowThreads(__tstate
);
18383 if (PyErr_Occurred()) SWIG_fail
;
18385 resultobj
= SWIG_Py_Void();
18392 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18393 PyObject
*resultobj
= 0;
18394 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18395 SwigValueWrapper
<wxVisualAttributes
> result
;
18398 PyObject
* obj0
= 0 ;
18399 char * kwnames
[] = {
18400 (char *) "variant", NULL
18403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18405 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18406 if (!SWIG_IsOK(ecode1
)) {
18407 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18409 arg1
= static_cast< wxWindowVariant
>(val1
);
18412 if (!wxPyCheckForApp()) SWIG_fail
;
18413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18414 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18415 wxPyEndAllowThreads(__tstate
);
18416 if (PyErr_Occurred()) SWIG_fail
;
18418 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18425 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18427 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18428 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18429 return SWIG_Py_Void();
18432 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18433 return SWIG_Python_InitShadowInstance(args
);
18436 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18437 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18442 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18443 PyObject
*pyobj
= 0;
18447 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18449 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18456 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18457 PyObject
*resultobj
= 0;
18458 wxWindow
*arg1
= (wxWindow
*) 0 ;
18459 int arg2
= (int) -1 ;
18460 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18461 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18462 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18463 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18464 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18465 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18466 long arg6
= (long) 0 ;
18467 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18468 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18469 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18470 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18471 wxToggleButton
*result
= 0 ;
18476 bool temp3
= false ;
18483 bool temp8
= false ;
18484 PyObject
* obj0
= 0 ;
18485 PyObject
* obj1
= 0 ;
18486 PyObject
* obj2
= 0 ;
18487 PyObject
* obj3
= 0 ;
18488 PyObject
* obj4
= 0 ;
18489 PyObject
* obj5
= 0 ;
18490 PyObject
* obj6
= 0 ;
18491 PyObject
* obj7
= 0 ;
18492 char * kwnames
[] = {
18493 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18498 if (!SWIG_IsOK(res1
)) {
18499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18501 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18504 if (!SWIG_IsOK(ecode2
)) {
18505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18507 arg2
= static_cast< int >(val2
);
18511 arg3
= wxString_in_helper(obj2
);
18512 if (arg3
== NULL
) SWIG_fail
;
18519 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18525 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18529 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18530 if (!SWIG_IsOK(ecode6
)) {
18531 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18533 arg6
= static_cast< long >(val6
);
18536 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18537 if (!SWIG_IsOK(res7
)) {
18538 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18541 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18543 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18547 arg8
= wxString_in_helper(obj7
);
18548 if (arg8
== NULL
) SWIG_fail
;
18553 if (!wxPyCheckForApp()) SWIG_fail
;
18554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18555 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18556 wxPyEndAllowThreads(__tstate
);
18557 if (PyErr_Occurred()) SWIG_fail
;
18559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18582 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18583 PyObject
*resultobj
= 0;
18584 wxToggleButton
*result
= 0 ;
18586 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18588 if (!wxPyCheckForApp()) SWIG_fail
;
18589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18590 result
= (wxToggleButton
*)new wxToggleButton();
18591 wxPyEndAllowThreads(__tstate
);
18592 if (PyErr_Occurred()) SWIG_fail
;
18594 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18601 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18602 PyObject
*resultobj
= 0;
18603 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18604 wxWindow
*arg2
= (wxWindow
*) 0 ;
18605 int arg3
= (int) -1 ;
18606 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18607 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18608 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18609 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18610 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18611 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18612 long arg7
= (long) 0 ;
18613 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18614 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18615 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18616 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18624 bool temp4
= false ;
18631 bool temp9
= false ;
18632 PyObject
* obj0
= 0 ;
18633 PyObject
* obj1
= 0 ;
18634 PyObject
* obj2
= 0 ;
18635 PyObject
* obj3
= 0 ;
18636 PyObject
* obj4
= 0 ;
18637 PyObject
* obj5
= 0 ;
18638 PyObject
* obj6
= 0 ;
18639 PyObject
* obj7
= 0 ;
18640 PyObject
* obj8
= 0 ;
18641 char * kwnames
[] = {
18642 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18647 if (!SWIG_IsOK(res1
)) {
18648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18650 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18651 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18652 if (!SWIG_IsOK(res2
)) {
18653 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18655 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18657 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18658 if (!SWIG_IsOK(ecode3
)) {
18659 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18661 arg3
= static_cast< int >(val3
);
18665 arg4
= wxString_in_helper(obj3
);
18666 if (arg4
== NULL
) SWIG_fail
;
18673 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18679 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18683 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18684 if (!SWIG_IsOK(ecode7
)) {
18685 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18687 arg7
= static_cast< long >(val7
);
18690 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18691 if (!SWIG_IsOK(res8
)) {
18692 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18695 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18697 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18701 arg9
= wxString_in_helper(obj8
);
18702 if (arg9
== NULL
) SWIG_fail
;
18707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18708 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18709 wxPyEndAllowThreads(__tstate
);
18710 if (PyErr_Occurred()) SWIG_fail
;
18713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18737 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18738 PyObject
*resultobj
= 0;
18739 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18745 PyObject
* obj0
= 0 ;
18746 PyObject
* obj1
= 0 ;
18747 char * kwnames
[] = {
18748 (char *) "self",(char *) "value", NULL
18751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18753 if (!SWIG_IsOK(res1
)) {
18754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18756 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18757 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18758 if (!SWIG_IsOK(ecode2
)) {
18759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
18761 arg2
= static_cast< bool >(val2
);
18763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18764 (arg1
)->SetValue(arg2
);
18765 wxPyEndAllowThreads(__tstate
);
18766 if (PyErr_Occurred()) SWIG_fail
;
18768 resultobj
= SWIG_Py_Void();
18775 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18776 PyObject
*resultobj
= 0;
18777 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18781 PyObject
*swig_obj
[1] ;
18783 if (!args
) SWIG_fail
;
18784 swig_obj
[0] = args
;
18785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18786 if (!SWIG_IsOK(res1
)) {
18787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
18789 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18792 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
18793 wxPyEndAllowThreads(__tstate
);
18794 if (PyErr_Occurred()) SWIG_fail
;
18797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18805 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18806 PyObject
*resultobj
= 0;
18807 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18808 SwigValueWrapper
<wxVisualAttributes
> result
;
18811 PyObject
* obj0
= 0 ;
18812 char * kwnames
[] = {
18813 (char *) "variant", NULL
18816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18818 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18819 if (!SWIG_IsOK(ecode1
)) {
18820 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18822 arg1
= static_cast< wxWindowVariant
>(val1
);
18825 if (!wxPyCheckForApp()) SWIG_fail
;
18826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18827 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
18828 wxPyEndAllowThreads(__tstate
);
18829 if (PyErr_Occurred()) SWIG_fail
;
18831 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18838 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18840 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18841 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
18842 return SWIG_Py_Void();
18845 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18846 return SWIG_Python_InitShadowInstance(args
);
18849 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
18850 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
18855 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
18856 PyObject
*pyobj
= 0;
18860 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18862 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18869 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18870 PyObject
*resultobj
= 0;
18871 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18875 PyObject
*swig_obj
[1] ;
18877 if (!args
) SWIG_fail
;
18878 swig_obj
[0] = args
;
18879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18880 if (!SWIG_IsOK(res1
)) {
18881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18883 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18886 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
18887 wxPyEndAllowThreads(__tstate
);
18888 if (PyErr_Occurred()) SWIG_fail
;
18890 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
18897 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18898 PyObject
*resultobj
= 0;
18899 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18901 wxWindow
*result
= 0 ;
18906 PyObject
* obj0
= 0 ;
18907 PyObject
* obj1
= 0 ;
18908 char * kwnames
[] = {
18909 (char *) "self",(char *) "n", NULL
18912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18914 if (!SWIG_IsOK(res1
)) {
18915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18917 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18918 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
18919 if (!SWIG_IsOK(ecode2
)) {
18920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
18922 arg2
= static_cast< size_t >(val2
);
18924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18925 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
18926 wxPyEndAllowThreads(__tstate
);
18927 if (PyErr_Occurred()) SWIG_fail
;
18930 resultobj
= wxPyMake_wxObject(result
, 0);
18938 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18939 PyObject
*resultobj
= 0;
18940 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18941 wxWindow
*result
= 0 ;
18944 PyObject
*swig_obj
[1] ;
18946 if (!args
) SWIG_fail
;
18947 swig_obj
[0] = args
;
18948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18949 if (!SWIG_IsOK(res1
)) {
18950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18952 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18955 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
18956 wxPyEndAllowThreads(__tstate
);
18957 if (PyErr_Occurred()) SWIG_fail
;
18960 resultobj
= wxPyMake_wxObject(result
, 0);
18968 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18969 PyObject
*resultobj
= 0;
18970 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18974 PyObject
*swig_obj
[1] ;
18976 if (!args
) SWIG_fail
;
18977 swig_obj
[0] = args
;
18978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18979 if (!SWIG_IsOK(res1
)) {
18980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18982 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18985 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
18986 wxPyEndAllowThreads(__tstate
);
18987 if (PyErr_Occurred()) SWIG_fail
;
18989 resultobj
= SWIG_From_int(static_cast< int >(result
));
18996 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18997 PyObject
*resultobj
= 0;
18998 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19000 wxString
*arg3
= 0 ;
19006 bool temp3
= false ;
19007 PyObject
* obj0
= 0 ;
19008 PyObject
* obj1
= 0 ;
19009 PyObject
* obj2
= 0 ;
19010 char * kwnames
[] = {
19011 (char *) "self",(char *) "n",(char *) "strText", NULL
19014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19016 if (!SWIG_IsOK(res1
)) {
19017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19019 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19020 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19021 if (!SWIG_IsOK(ecode2
)) {
19022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19024 arg2
= static_cast< size_t >(val2
);
19026 arg3
= wxString_in_helper(obj2
);
19027 if (arg3
== NULL
) SWIG_fail
;
19031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19032 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19033 wxPyEndAllowThreads(__tstate
);
19034 if (PyErr_Occurred()) SWIG_fail
;
19037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19053 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19054 PyObject
*resultobj
= 0;
19055 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19062 PyObject
* obj0
= 0 ;
19063 PyObject
* obj1
= 0 ;
19064 char * kwnames
[] = {
19065 (char *) "self",(char *) "n", NULL
19068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19070 if (!SWIG_IsOK(res1
)) {
19071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19073 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19074 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19075 if (!SWIG_IsOK(ecode2
)) {
19076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19078 arg2
= static_cast< size_t >(val2
);
19080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19081 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19082 wxPyEndAllowThreads(__tstate
);
19083 if (PyErr_Occurred()) SWIG_fail
;
19087 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19089 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19098 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19099 PyObject
*resultobj
= 0;
19100 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19101 wxImageList
*arg2
= (wxImageList
*) 0 ;
19106 PyObject
* obj0
= 0 ;
19107 PyObject
* obj1
= 0 ;
19108 char * kwnames
[] = {
19109 (char *) "self",(char *) "imageList", NULL
19112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19114 if (!SWIG_IsOK(res1
)) {
19115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19117 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19118 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19119 if (!SWIG_IsOK(res2
)) {
19120 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19122 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19125 (arg1
)->SetImageList(arg2
);
19126 wxPyEndAllowThreads(__tstate
);
19127 if (PyErr_Occurred()) SWIG_fail
;
19129 resultobj
= SWIG_Py_Void();
19136 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19137 PyObject
*resultobj
= 0;
19138 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19139 wxImageList
*arg2
= (wxImageList
*) 0 ;
19143 PyObject
* obj0
= 0 ;
19144 PyObject
* obj1
= 0 ;
19145 char * kwnames
[] = {
19146 (char *) "self",(char *) "imageList", NULL
19149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19151 if (!SWIG_IsOK(res1
)) {
19152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19154 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19155 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19156 if (!SWIG_IsOK(res2
)) {
19157 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19161 (arg1
)->AssignImageList(arg2
);
19162 wxPyEndAllowThreads(__tstate
);
19163 if (PyErr_Occurred()) SWIG_fail
;
19165 resultobj
= SWIG_Py_Void();
19172 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19173 PyObject
*resultobj
= 0;
19174 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19175 wxImageList
*result
= 0 ;
19178 PyObject
*swig_obj
[1] ;
19180 if (!args
) SWIG_fail
;
19181 swig_obj
[0] = args
;
19182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19183 if (!SWIG_IsOK(res1
)) {
19184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19186 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19189 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19190 wxPyEndAllowThreads(__tstate
);
19191 if (PyErr_Occurred()) SWIG_fail
;
19194 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19202 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19203 PyObject
*resultobj
= 0;
19204 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19211 PyObject
* obj0
= 0 ;
19212 PyObject
* obj1
= 0 ;
19213 char * kwnames
[] = {
19214 (char *) "self",(char *) "n", NULL
19217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19219 if (!SWIG_IsOK(res1
)) {
19220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19222 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19223 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19224 if (!SWIG_IsOK(ecode2
)) {
19225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19227 arg2
= static_cast< size_t >(val2
);
19229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19230 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19231 wxPyEndAllowThreads(__tstate
);
19232 if (PyErr_Occurred()) SWIG_fail
;
19234 resultobj
= SWIG_From_int(static_cast< int >(result
));
19241 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19242 PyObject
*resultobj
= 0;
19243 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19253 PyObject
* obj0
= 0 ;
19254 PyObject
* obj1
= 0 ;
19255 PyObject
* obj2
= 0 ;
19256 char * kwnames
[] = {
19257 (char *) "self",(char *) "n",(char *) "imageId", NULL
19260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19262 if (!SWIG_IsOK(res1
)) {
19263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19265 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19266 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19267 if (!SWIG_IsOK(ecode2
)) {
19268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19270 arg2
= static_cast< size_t >(val2
);
19271 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19272 if (!SWIG_IsOK(ecode3
)) {
19273 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19275 arg3
= static_cast< int >(val3
);
19277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19278 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19279 wxPyEndAllowThreads(__tstate
);
19280 if (PyErr_Occurred()) SWIG_fail
;
19283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19291 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19292 PyObject
*resultobj
= 0;
19293 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19298 PyObject
* obj0
= 0 ;
19299 PyObject
* obj1
= 0 ;
19300 char * kwnames
[] = {
19301 (char *) "self",(char *) "size", NULL
19304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19306 if (!SWIG_IsOK(res1
)) {
19307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19309 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19312 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19316 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19317 wxPyEndAllowThreads(__tstate
);
19318 if (PyErr_Occurred()) SWIG_fail
;
19320 resultobj
= SWIG_Py_Void();
19327 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19328 PyObject
*resultobj
= 0;
19329 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19335 PyObject
* obj0
= 0 ;
19336 PyObject
* obj1
= 0 ;
19337 char * kwnames
[] = {
19338 (char *) "self",(char *) "sizePage", NULL
19341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19343 if (!SWIG_IsOK(res1
)) {
19344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19346 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19349 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19353 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19354 wxPyEndAllowThreads(__tstate
);
19355 if (PyErr_Occurred()) SWIG_fail
;
19357 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19364 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19365 PyObject
*resultobj
= 0;
19366 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19367 unsigned int result
;
19370 PyObject
*swig_obj
[1] ;
19372 if (!args
) SWIG_fail
;
19373 swig_obj
[0] = args
;
19374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19375 if (!SWIG_IsOK(res1
)) {
19376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19378 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19381 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19382 wxPyEndAllowThreads(__tstate
);
19383 if (PyErr_Occurred()) SWIG_fail
;
19385 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19392 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19393 PyObject
*resultobj
= 0;
19394 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19395 unsigned int arg2
;
19398 unsigned int val2
;
19400 PyObject
* obj0
= 0 ;
19401 PyObject
* obj1
= 0 ;
19402 char * kwnames
[] = {
19403 (char *) "self",(char *) "internalBorder", NULL
19406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19408 if (!SWIG_IsOK(res1
)) {
19409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19411 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19412 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19413 if (!SWIG_IsOK(ecode2
)) {
19414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19416 arg2
= static_cast< unsigned int >(val2
);
19418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19419 (arg1
)->SetInternalBorder(arg2
);
19420 wxPyEndAllowThreads(__tstate
);
19421 if (PyErr_Occurred()) SWIG_fail
;
19423 resultobj
= SWIG_Py_Void();
19430 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19431 PyObject
*resultobj
= 0;
19432 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19436 PyObject
*swig_obj
[1] ;
19438 if (!args
) SWIG_fail
;
19439 swig_obj
[0] = args
;
19440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19441 if (!SWIG_IsOK(res1
)) {
19442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19444 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19447 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19448 wxPyEndAllowThreads(__tstate
);
19449 if (PyErr_Occurred()) SWIG_fail
;
19452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19460 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19461 PyObject
*resultobj
= 0;
19462 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19468 PyObject
* obj0
= 0 ;
19469 PyObject
* obj1
= 0 ;
19470 char * kwnames
[] = {
19471 (char *) "self",(char *) "margin", NULL
19474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19476 if (!SWIG_IsOK(res1
)) {
19477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19479 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19481 if (!SWIG_IsOK(ecode2
)) {
19482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19484 arg2
= static_cast< int >(val2
);
19486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19487 (arg1
)->SetControlMargin(arg2
);
19488 wxPyEndAllowThreads(__tstate
);
19489 if (PyErr_Occurred()) SWIG_fail
;
19491 resultobj
= SWIG_Py_Void();
19498 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19499 PyObject
*resultobj
= 0;
19500 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19504 PyObject
*swig_obj
[1] ;
19506 if (!args
) SWIG_fail
;
19507 swig_obj
[0] = args
;
19508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19509 if (!SWIG_IsOK(res1
)) {
19510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19512 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19515 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19516 wxPyEndAllowThreads(__tstate
);
19517 if (PyErr_Occurred()) SWIG_fail
;
19519 resultobj
= SWIG_From_int(static_cast< int >(result
));
19526 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19527 PyObject
*resultobj
= 0;
19528 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19534 PyObject
* obj0
= 0 ;
19535 PyObject
* obj1
= 0 ;
19536 char * kwnames
[] = {
19537 (char *) "self",(char *) "fit", NULL
19540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19542 if (!SWIG_IsOK(res1
)) {
19543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19545 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19546 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19547 if (!SWIG_IsOK(ecode2
)) {
19548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19550 arg2
= static_cast< bool >(val2
);
19552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19553 (arg1
)->SetFitToCurrentPage(arg2
);
19554 wxPyEndAllowThreads(__tstate
);
19555 if (PyErr_Occurred()) SWIG_fail
;
19557 resultobj
= SWIG_Py_Void();
19564 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19565 PyObject
*resultobj
= 0;
19566 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19570 PyObject
*swig_obj
[1] ;
19572 if (!args
) SWIG_fail
;
19573 swig_obj
[0] = args
;
19574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19575 if (!SWIG_IsOK(res1
)) {
19576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19578 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19581 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19582 wxPyEndAllowThreads(__tstate
);
19583 if (PyErr_Occurred()) SWIG_fail
;
19586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19594 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19595 PyObject
*resultobj
= 0;
19596 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19597 wxSizer
*result
= 0 ;
19600 PyObject
*swig_obj
[1] ;
19602 if (!args
) SWIG_fail
;
19603 swig_obj
[0] = args
;
19604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19605 if (!SWIG_IsOK(res1
)) {
19606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19608 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19611 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19612 wxPyEndAllowThreads(__tstate
);
19613 if (PyErr_Occurred()) SWIG_fail
;
19616 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19624 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19625 PyObject
*resultobj
= 0;
19626 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19633 PyObject
* obj0
= 0 ;
19634 PyObject
* obj1
= 0 ;
19635 char * kwnames
[] = {
19636 (char *) "self",(char *) "n", NULL
19639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19641 if (!SWIG_IsOK(res1
)) {
19642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19644 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19645 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19646 if (!SWIG_IsOK(ecode2
)) {
19647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19649 arg2
= static_cast< size_t >(val2
);
19651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19652 result
= (bool)(arg1
)->DeletePage(arg2
);
19653 wxPyEndAllowThreads(__tstate
);
19654 if (PyErr_Occurred()) SWIG_fail
;
19657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19665 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19666 PyObject
*resultobj
= 0;
19667 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19674 PyObject
* obj0
= 0 ;
19675 PyObject
* obj1
= 0 ;
19676 char * kwnames
[] = {
19677 (char *) "self",(char *) "n", NULL
19680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19682 if (!SWIG_IsOK(res1
)) {
19683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19685 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19686 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19687 if (!SWIG_IsOK(ecode2
)) {
19688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19690 arg2
= static_cast< size_t >(val2
);
19692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19693 result
= (bool)(arg1
)->RemovePage(arg2
);
19694 wxPyEndAllowThreads(__tstate
);
19695 if (PyErr_Occurred()) SWIG_fail
;
19698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19706 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19707 PyObject
*resultobj
= 0;
19708 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19712 PyObject
*swig_obj
[1] ;
19714 if (!args
) SWIG_fail
;
19715 swig_obj
[0] = args
;
19716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19717 if (!SWIG_IsOK(res1
)) {
19718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19720 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19723 result
= (bool)(arg1
)->DeleteAllPages();
19724 wxPyEndAllowThreads(__tstate
);
19725 if (PyErr_Occurred()) SWIG_fail
;
19728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19736 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19737 PyObject
*resultobj
= 0;
19738 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19739 wxWindow
*arg2
= (wxWindow
*) 0 ;
19740 wxString
*arg3
= 0 ;
19741 bool arg4
= (bool) false ;
19742 int arg5
= (int) -1 ;
19748 bool temp3
= false ;
19753 PyObject
* obj0
= 0 ;
19754 PyObject
* obj1
= 0 ;
19755 PyObject
* obj2
= 0 ;
19756 PyObject
* obj3
= 0 ;
19757 PyObject
* obj4
= 0 ;
19758 char * kwnames
[] = {
19759 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19764 if (!SWIG_IsOK(res1
)) {
19765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19767 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19768 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19769 if (!SWIG_IsOK(res2
)) {
19770 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
19772 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19774 arg3
= wxString_in_helper(obj2
);
19775 if (arg3
== NULL
) SWIG_fail
;
19779 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19780 if (!SWIG_IsOK(ecode4
)) {
19781 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
19783 arg4
= static_cast< bool >(val4
);
19786 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19787 if (!SWIG_IsOK(ecode5
)) {
19788 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
19790 arg5
= static_cast< int >(val5
);
19793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19794 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19795 wxPyEndAllowThreads(__tstate
);
19796 if (PyErr_Occurred()) SWIG_fail
;
19799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19815 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19816 PyObject
*resultobj
= 0;
19817 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19819 wxWindow
*arg3
= (wxWindow
*) 0 ;
19820 wxString
*arg4
= 0 ;
19821 bool arg5
= (bool) false ;
19822 int arg6
= (int) -1 ;
19830 bool temp4
= false ;
19835 PyObject
* obj0
= 0 ;
19836 PyObject
* obj1
= 0 ;
19837 PyObject
* obj2
= 0 ;
19838 PyObject
* obj3
= 0 ;
19839 PyObject
* obj4
= 0 ;
19840 PyObject
* obj5
= 0 ;
19841 char * kwnames
[] = {
19842 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19847 if (!SWIG_IsOK(res1
)) {
19848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19850 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19851 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19852 if (!SWIG_IsOK(ecode2
)) {
19853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
19855 arg2
= static_cast< size_t >(val2
);
19856 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19857 if (!SWIG_IsOK(res3
)) {
19858 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
19860 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
19862 arg4
= wxString_in_helper(obj3
);
19863 if (arg4
== NULL
) SWIG_fail
;
19867 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19868 if (!SWIG_IsOK(ecode5
)) {
19869 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
19871 arg5
= static_cast< bool >(val5
);
19874 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19875 if (!SWIG_IsOK(ecode6
)) {
19876 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
19878 arg6
= static_cast< int >(val6
);
19881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19882 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
19883 wxPyEndAllowThreads(__tstate
);
19884 if (PyErr_Occurred()) SWIG_fail
;
19887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19903 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19904 PyObject
*resultobj
= 0;
19905 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19912 PyObject
* obj0
= 0 ;
19913 PyObject
* obj1
= 0 ;
19914 char * kwnames
[] = {
19915 (char *) "self",(char *) "n", NULL
19918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19920 if (!SWIG_IsOK(res1
)) {
19921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19923 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19924 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19925 if (!SWIG_IsOK(ecode2
)) {
19926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
19928 arg2
= static_cast< size_t >(val2
);
19930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19931 result
= (int)(arg1
)->SetSelection(arg2
);
19932 wxPyEndAllowThreads(__tstate
);
19933 if (PyErr_Occurred()) SWIG_fail
;
19935 resultobj
= SWIG_From_int(static_cast< int >(result
));
19942 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19943 PyObject
*resultobj
= 0;
19944 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19945 bool arg2
= (bool) true ;
19950 PyObject
* obj0
= 0 ;
19951 PyObject
* obj1
= 0 ;
19952 char * kwnames
[] = {
19953 (char *) "self",(char *) "forward", NULL
19956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19958 if (!SWIG_IsOK(res1
)) {
19959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19961 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19963 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19964 if (!SWIG_IsOK(ecode2
)) {
19965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
19967 arg2
= static_cast< bool >(val2
);
19970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19971 (arg1
)->AdvanceSelection(arg2
);
19972 wxPyEndAllowThreads(__tstate
);
19973 if (PyErr_Occurred()) SWIG_fail
;
19975 resultobj
= SWIG_Py_Void();
19982 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19983 PyObject
*resultobj
= 0;
19984 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19985 SwigValueWrapper
<wxVisualAttributes
> result
;
19988 PyObject
* obj0
= 0 ;
19989 char * kwnames
[] = {
19990 (char *) "variant", NULL
19993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19995 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19996 if (!SWIG_IsOK(ecode1
)) {
19997 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19999 arg1
= static_cast< wxWindowVariant
>(val1
);
20002 if (!wxPyCheckForApp()) SWIG_fail
;
20003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20004 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20005 wxPyEndAllowThreads(__tstate
);
20006 if (PyErr_Occurred()) SWIG_fail
;
20008 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20015 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20017 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20018 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20019 return SWIG_Py_Void();
20022 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20023 PyObject
*resultobj
= 0;
20024 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20025 int arg2
= (int) 0 ;
20026 int arg3
= (int) -1 ;
20027 int arg4
= (int) -1 ;
20028 wxBookCtrlBaseEvent
*result
= 0 ;
20037 PyObject
* obj0
= 0 ;
20038 PyObject
* obj1
= 0 ;
20039 PyObject
* obj2
= 0 ;
20040 PyObject
* obj3
= 0 ;
20041 char * kwnames
[] = {
20042 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20047 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20048 if (!SWIG_IsOK(ecode1
)) {
20049 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20051 arg1
= static_cast< wxEventType
>(val1
);
20054 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20055 if (!SWIG_IsOK(ecode2
)) {
20056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20058 arg2
= static_cast< int >(val2
);
20061 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20062 if (!SWIG_IsOK(ecode3
)) {
20063 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20065 arg3
= static_cast< int >(val3
);
20068 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20069 if (!SWIG_IsOK(ecode4
)) {
20070 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20072 arg4
= static_cast< int >(val4
);
20075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20076 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20077 wxPyEndAllowThreads(__tstate
);
20078 if (PyErr_Occurred()) SWIG_fail
;
20080 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20087 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20088 PyObject
*resultobj
= 0;
20089 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20093 PyObject
*swig_obj
[1] ;
20095 if (!args
) SWIG_fail
;
20096 swig_obj
[0] = args
;
20097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20098 if (!SWIG_IsOK(res1
)) {
20099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20101 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20104 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20105 wxPyEndAllowThreads(__tstate
);
20106 if (PyErr_Occurred()) SWIG_fail
;
20108 resultobj
= SWIG_From_int(static_cast< int >(result
));
20115 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20116 PyObject
*resultobj
= 0;
20117 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20123 PyObject
* obj0
= 0 ;
20124 PyObject
* obj1
= 0 ;
20125 char * kwnames
[] = {
20126 (char *) "self",(char *) "nSel", NULL
20129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20131 if (!SWIG_IsOK(res1
)) {
20132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20134 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20135 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20136 if (!SWIG_IsOK(ecode2
)) {
20137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20139 arg2
= static_cast< int >(val2
);
20141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20142 (arg1
)->SetSelection(arg2
);
20143 wxPyEndAllowThreads(__tstate
);
20144 if (PyErr_Occurred()) SWIG_fail
;
20146 resultobj
= SWIG_Py_Void();
20153 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20154 PyObject
*resultobj
= 0;
20155 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20159 PyObject
*swig_obj
[1] ;
20161 if (!args
) SWIG_fail
;
20162 swig_obj
[0] = args
;
20163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20164 if (!SWIG_IsOK(res1
)) {
20165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20167 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20170 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20171 wxPyEndAllowThreads(__tstate
);
20172 if (PyErr_Occurred()) SWIG_fail
;
20174 resultobj
= SWIG_From_int(static_cast< int >(result
));
20181 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20182 PyObject
*resultobj
= 0;
20183 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20189 PyObject
* obj0
= 0 ;
20190 PyObject
* obj1
= 0 ;
20191 char * kwnames
[] = {
20192 (char *) "self",(char *) "nOldSel", NULL
20195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20197 if (!SWIG_IsOK(res1
)) {
20198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20200 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20201 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20202 if (!SWIG_IsOK(ecode2
)) {
20203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20205 arg2
= static_cast< int >(val2
);
20207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20208 (arg1
)->SetOldSelection(arg2
);
20209 wxPyEndAllowThreads(__tstate
);
20210 if (PyErr_Occurred()) SWIG_fail
;
20212 resultobj
= SWIG_Py_Void();
20219 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20221 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20222 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20223 return SWIG_Py_Void();
20226 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20227 return SWIG_Python_InitShadowInstance(args
);
20230 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20231 PyObject
*resultobj
= 0;
20232 wxWindow
*arg1
= (wxWindow
*) 0 ;
20233 int arg2
= (int) -1 ;
20234 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20235 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20236 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20237 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20238 long arg5
= (long) 0 ;
20239 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20240 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20241 wxNotebook
*result
= 0 ;
20250 bool temp6
= false ;
20251 PyObject
* obj0
= 0 ;
20252 PyObject
* obj1
= 0 ;
20253 PyObject
* obj2
= 0 ;
20254 PyObject
* obj3
= 0 ;
20255 PyObject
* obj4
= 0 ;
20256 PyObject
* obj5
= 0 ;
20257 char * kwnames
[] = {
20258 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20263 if (!SWIG_IsOK(res1
)) {
20264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20266 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20268 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20269 if (!SWIG_IsOK(ecode2
)) {
20270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20272 arg2
= static_cast< int >(val2
);
20277 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20283 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20287 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20288 if (!SWIG_IsOK(ecode5
)) {
20289 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20291 arg5
= static_cast< long >(val5
);
20295 arg6
= wxString_in_helper(obj5
);
20296 if (arg6
== NULL
) SWIG_fail
;
20301 if (!wxPyCheckForApp()) SWIG_fail
;
20302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20303 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20304 wxPyEndAllowThreads(__tstate
);
20305 if (PyErr_Occurred()) SWIG_fail
;
20307 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20322 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20323 PyObject
*resultobj
= 0;
20324 wxNotebook
*result
= 0 ;
20326 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20328 if (!wxPyCheckForApp()) SWIG_fail
;
20329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20330 result
= (wxNotebook
*)new wxNotebook();
20331 wxPyEndAllowThreads(__tstate
);
20332 if (PyErr_Occurred()) SWIG_fail
;
20334 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20341 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20342 PyObject
*resultobj
= 0;
20343 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20344 wxWindow
*arg2
= (wxWindow
*) 0 ;
20345 int arg3
= (int) -1 ;
20346 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20347 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20348 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20349 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20350 long arg6
= (long) 0 ;
20351 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20352 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20364 bool temp7
= false ;
20365 PyObject
* obj0
= 0 ;
20366 PyObject
* obj1
= 0 ;
20367 PyObject
* obj2
= 0 ;
20368 PyObject
* obj3
= 0 ;
20369 PyObject
* obj4
= 0 ;
20370 PyObject
* obj5
= 0 ;
20371 PyObject
* obj6
= 0 ;
20372 char * kwnames
[] = {
20373 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20378 if (!SWIG_IsOK(res1
)) {
20379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20381 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20382 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20383 if (!SWIG_IsOK(res2
)) {
20384 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20386 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20388 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20389 if (!SWIG_IsOK(ecode3
)) {
20390 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20392 arg3
= static_cast< int >(val3
);
20397 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20403 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20407 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20408 if (!SWIG_IsOK(ecode6
)) {
20409 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20411 arg6
= static_cast< long >(val6
);
20415 arg7
= wxString_in_helper(obj6
);
20416 if (arg7
== NULL
) SWIG_fail
;
20421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20422 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20423 wxPyEndAllowThreads(__tstate
);
20424 if (PyErr_Occurred()) SWIG_fail
;
20427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20443 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20444 PyObject
*resultobj
= 0;
20445 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20449 PyObject
*swig_obj
[1] ;
20451 if (!args
) SWIG_fail
;
20452 swig_obj
[0] = args
;
20453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20454 if (!SWIG_IsOK(res1
)) {
20455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20457 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20460 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20461 wxPyEndAllowThreads(__tstate
);
20462 if (PyErr_Occurred()) SWIG_fail
;
20464 resultobj
= SWIG_From_int(static_cast< int >(result
));
20471 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20472 PyObject
*resultobj
= 0;
20473 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20478 PyObject
* obj0
= 0 ;
20479 PyObject
* obj1
= 0 ;
20480 char * kwnames
[] = {
20481 (char *) "self",(char *) "padding", NULL
20484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20486 if (!SWIG_IsOK(res1
)) {
20487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20489 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20492 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20496 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20497 wxPyEndAllowThreads(__tstate
);
20498 if (PyErr_Occurred()) SWIG_fail
;
20500 resultobj
= SWIG_Py_Void();
20507 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20508 PyObject
*resultobj
= 0;
20509 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20514 PyObject
* obj0
= 0 ;
20515 PyObject
* obj1
= 0 ;
20516 char * kwnames
[] = {
20517 (char *) "self",(char *) "sz", NULL
20520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20522 if (!SWIG_IsOK(res1
)) {
20523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20525 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20528 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20532 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20533 wxPyEndAllowThreads(__tstate
);
20534 if (PyErr_Occurred()) SWIG_fail
;
20536 resultobj
= SWIG_Py_Void();
20543 SWIGINTERN PyObject
*_wrap_Notebook_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20544 PyObject
*resultobj
= 0;
20545 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20546 wxPoint
*arg2
= 0 ;
20547 long *arg3
= (long *) 0 ;
20553 int res3
= SWIG_TMPOBJ
;
20554 PyObject
* obj0
= 0 ;
20555 PyObject
* obj1
= 0 ;
20556 char * kwnames
[] = {
20557 (char *) "self",(char *) "pt", NULL
20561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20563 if (!SWIG_IsOK(res1
)) {
20564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_HitTest" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20566 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20569 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20573 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20574 wxPyEndAllowThreads(__tstate
);
20575 if (PyErr_Occurred()) SWIG_fail
;
20577 resultobj
= SWIG_From_int(static_cast< int >(result
));
20578 if (SWIG_IsTmpObj(res3
)) {
20579 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20581 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20582 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20590 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20591 PyObject
*resultobj
= 0;
20592 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20596 PyObject
*swig_obj
[1] ;
20598 if (!args
) SWIG_fail
;
20599 swig_obj
[0] = args
;
20600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20601 if (!SWIG_IsOK(res1
)) {
20602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20604 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20607 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20608 wxPyEndAllowThreads(__tstate
);
20609 if (PyErr_Occurred()) SWIG_fail
;
20611 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20618 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20619 PyObject
*resultobj
= 0;
20620 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20621 SwigValueWrapper
<wxVisualAttributes
> result
;
20624 PyObject
* obj0
= 0 ;
20625 char * kwnames
[] = {
20626 (char *) "variant", NULL
20629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20631 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20632 if (!SWIG_IsOK(ecode1
)) {
20633 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20635 arg1
= static_cast< wxWindowVariant
>(val1
);
20638 if (!wxPyCheckForApp()) SWIG_fail
;
20639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20640 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20641 wxPyEndAllowThreads(__tstate
);
20642 if (PyErr_Occurred()) SWIG_fail
;
20644 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20651 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20653 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20654 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
20655 return SWIG_Py_Void();
20658 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20659 return SWIG_Python_InitShadowInstance(args
);
20662 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20663 PyObject
*resultobj
= 0;
20664 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20665 int arg2
= (int) 0 ;
20666 int arg3
= (int) -1 ;
20667 int arg4
= (int) -1 ;
20668 wxNotebookEvent
*result
= 0 ;
20677 PyObject
* obj0
= 0 ;
20678 PyObject
* obj1
= 0 ;
20679 PyObject
* obj2
= 0 ;
20680 PyObject
* obj3
= 0 ;
20681 char * kwnames
[] = {
20682 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20687 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20688 if (!SWIG_IsOK(ecode1
)) {
20689 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20691 arg1
= static_cast< wxEventType
>(val1
);
20694 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20695 if (!SWIG_IsOK(ecode2
)) {
20696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
20698 arg2
= static_cast< int >(val2
);
20701 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20702 if (!SWIG_IsOK(ecode3
)) {
20703 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
20705 arg3
= static_cast< int >(val3
);
20708 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20709 if (!SWIG_IsOK(ecode4
)) {
20710 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
20712 arg4
= static_cast< int >(val4
);
20715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20716 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
20717 wxPyEndAllowThreads(__tstate
);
20718 if (PyErr_Occurred()) SWIG_fail
;
20720 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
20727 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20729 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20730 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
20731 return SWIG_Py_Void();
20734 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20735 return SWIG_Python_InitShadowInstance(args
);
20738 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20739 PyObject
*resultobj
= 0;
20740 wxWindow
*arg1
= (wxWindow
*) 0 ;
20741 int arg2
= (int) -1 ;
20742 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20743 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20744 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20745 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20746 long arg5
= (long) 0 ;
20747 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20748 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20749 wxListbook
*result
= 0 ;
20758 bool temp6
= false ;
20759 PyObject
* obj0
= 0 ;
20760 PyObject
* obj1
= 0 ;
20761 PyObject
* obj2
= 0 ;
20762 PyObject
* obj3
= 0 ;
20763 PyObject
* obj4
= 0 ;
20764 PyObject
* obj5
= 0 ;
20765 char * kwnames
[] = {
20766 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20771 if (!SWIG_IsOK(res1
)) {
20772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
20774 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20776 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20777 if (!SWIG_IsOK(ecode2
)) {
20778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
20780 arg2
= static_cast< int >(val2
);
20785 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20791 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20795 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20796 if (!SWIG_IsOK(ecode5
)) {
20797 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
20799 arg5
= static_cast< long >(val5
);
20803 arg6
= wxString_in_helper(obj5
);
20804 if (arg6
== NULL
) SWIG_fail
;
20809 if (!wxPyCheckForApp()) SWIG_fail
;
20810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20811 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20812 wxPyEndAllowThreads(__tstate
);
20813 if (PyErr_Occurred()) SWIG_fail
;
20815 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
20830 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20831 PyObject
*resultobj
= 0;
20832 wxListbook
*result
= 0 ;
20834 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
20836 if (!wxPyCheckForApp()) SWIG_fail
;
20837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20838 result
= (wxListbook
*)new wxListbook();
20839 wxPyEndAllowThreads(__tstate
);
20840 if (PyErr_Occurred()) SWIG_fail
;
20842 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
20849 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20850 PyObject
*resultobj
= 0;
20851 wxListbook
*arg1
= (wxListbook
*) 0 ;
20852 wxWindow
*arg2
= (wxWindow
*) 0 ;
20853 int arg3
= (int) -1 ;
20854 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20855 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20856 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20857 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20858 long arg6
= (long) 0 ;
20859 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20860 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20872 bool temp7
= false ;
20873 PyObject
* obj0
= 0 ;
20874 PyObject
* obj1
= 0 ;
20875 PyObject
* obj2
= 0 ;
20876 PyObject
* obj3
= 0 ;
20877 PyObject
* obj4
= 0 ;
20878 PyObject
* obj5
= 0 ;
20879 PyObject
* obj6
= 0 ;
20880 char * kwnames
[] = {
20881 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
20886 if (!SWIG_IsOK(res1
)) {
20887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
20889 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
20890 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20891 if (!SWIG_IsOK(res2
)) {
20892 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20894 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20896 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20897 if (!SWIG_IsOK(ecode3
)) {
20898 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
20900 arg3
= static_cast< int >(val3
);
20905 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20911 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20915 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20916 if (!SWIG_IsOK(ecode6
)) {
20917 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
20919 arg6
= static_cast< long >(val6
);
20923 arg7
= wxString_in_helper(obj6
);
20924 if (arg7
== NULL
) SWIG_fail
;
20929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20930 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20931 wxPyEndAllowThreads(__tstate
);
20932 if (PyErr_Occurred()) SWIG_fail
;
20935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20951 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20952 PyObject
*resultobj
= 0;
20953 wxListbook
*arg1
= (wxListbook
*) 0 ;
20954 wxListView
*result
= 0 ;
20957 PyObject
*swig_obj
[1] ;
20959 if (!args
) SWIG_fail
;
20960 swig_obj
[0] = args
;
20961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
20962 if (!SWIG_IsOK(res1
)) {
20963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
20965 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
20967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20968 result
= (wxListView
*)(arg1
)->GetListView();
20969 wxPyEndAllowThreads(__tstate
);
20970 if (PyErr_Occurred()) SWIG_fail
;
20972 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
20979 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20981 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20982 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
20983 return SWIG_Py_Void();
20986 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20987 return SWIG_Python_InitShadowInstance(args
);
20990 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20991 PyObject
*resultobj
= 0;
20992 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20993 int arg2
= (int) 0 ;
20994 int arg3
= (int) -1 ;
20995 int arg4
= (int) -1 ;
20996 wxListbookEvent
*result
= 0 ;
21005 PyObject
* obj0
= 0 ;
21006 PyObject
* obj1
= 0 ;
21007 PyObject
* obj2
= 0 ;
21008 PyObject
* obj3
= 0 ;
21009 char * kwnames
[] = {
21010 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21015 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21016 if (!SWIG_IsOK(ecode1
)) {
21017 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21019 arg1
= static_cast< wxEventType
>(val1
);
21022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21023 if (!SWIG_IsOK(ecode2
)) {
21024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21026 arg2
= static_cast< int >(val2
);
21029 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21030 if (!SWIG_IsOK(ecode3
)) {
21031 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21033 arg3
= static_cast< int >(val3
);
21036 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21037 if (!SWIG_IsOK(ecode4
)) {
21038 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21040 arg4
= static_cast< int >(val4
);
21043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21044 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21045 wxPyEndAllowThreads(__tstate
);
21046 if (PyErr_Occurred()) SWIG_fail
;
21048 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21055 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21057 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21058 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21059 return SWIG_Py_Void();
21062 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21063 return SWIG_Python_InitShadowInstance(args
);
21066 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21067 PyObject
*resultobj
= 0;
21068 wxWindow
*arg1
= (wxWindow
*) 0 ;
21070 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21071 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21072 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21073 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21074 long arg5
= (long) 0 ;
21075 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21076 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21077 wxChoicebook
*result
= 0 ;
21086 bool temp6
= false ;
21087 PyObject
* obj0
= 0 ;
21088 PyObject
* obj1
= 0 ;
21089 PyObject
* obj2
= 0 ;
21090 PyObject
* obj3
= 0 ;
21091 PyObject
* obj4
= 0 ;
21092 PyObject
* obj5
= 0 ;
21093 char * kwnames
[] = {
21094 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21099 if (!SWIG_IsOK(res1
)) {
21100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21102 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21103 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21104 if (!SWIG_IsOK(ecode2
)) {
21105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21107 arg2
= static_cast< int >(val2
);
21111 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21117 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21121 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21122 if (!SWIG_IsOK(ecode5
)) {
21123 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21125 arg5
= static_cast< long >(val5
);
21129 arg6
= wxString_in_helper(obj5
);
21130 if (arg6
== NULL
) SWIG_fail
;
21135 if (!wxPyCheckForApp()) SWIG_fail
;
21136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21137 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21138 wxPyEndAllowThreads(__tstate
);
21139 if (PyErr_Occurred()) SWIG_fail
;
21141 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21156 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21157 PyObject
*resultobj
= 0;
21158 wxChoicebook
*result
= 0 ;
21160 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21162 if (!wxPyCheckForApp()) SWIG_fail
;
21163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21164 result
= (wxChoicebook
*)new wxChoicebook();
21165 wxPyEndAllowThreads(__tstate
);
21166 if (PyErr_Occurred()) SWIG_fail
;
21168 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21175 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21176 PyObject
*resultobj
= 0;
21177 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21178 wxWindow
*arg2
= (wxWindow
*) 0 ;
21180 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21181 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21182 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21183 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21184 long arg6
= (long) 0 ;
21185 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21186 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21198 bool temp7
= false ;
21199 PyObject
* obj0
= 0 ;
21200 PyObject
* obj1
= 0 ;
21201 PyObject
* obj2
= 0 ;
21202 PyObject
* obj3
= 0 ;
21203 PyObject
* obj4
= 0 ;
21204 PyObject
* obj5
= 0 ;
21205 PyObject
* obj6
= 0 ;
21206 char * kwnames
[] = {
21207 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21212 if (!SWIG_IsOK(res1
)) {
21213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21215 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21216 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21217 if (!SWIG_IsOK(res2
)) {
21218 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21220 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21221 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21222 if (!SWIG_IsOK(ecode3
)) {
21223 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21225 arg3
= static_cast< int >(val3
);
21229 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21235 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21239 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21240 if (!SWIG_IsOK(ecode6
)) {
21241 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21243 arg6
= static_cast< long >(val6
);
21247 arg7
= wxString_in_helper(obj6
);
21248 if (arg7
== NULL
) SWIG_fail
;
21253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21254 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21255 wxPyEndAllowThreads(__tstate
);
21256 if (PyErr_Occurred()) SWIG_fail
;
21259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21275 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21276 PyObject
*resultobj
= 0;
21277 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21278 wxChoice
*result
= 0 ;
21281 PyObject
*swig_obj
[1] ;
21283 if (!args
) SWIG_fail
;
21284 swig_obj
[0] = args
;
21285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21286 if (!SWIG_IsOK(res1
)) {
21287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21289 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21292 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21293 wxPyEndAllowThreads(__tstate
);
21294 if (PyErr_Occurred()) SWIG_fail
;
21296 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21303 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21305 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21306 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21307 return SWIG_Py_Void();
21310 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21311 return SWIG_Python_InitShadowInstance(args
);
21314 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21315 PyObject
*resultobj
= 0;
21316 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21317 int arg2
= (int) 0 ;
21318 int arg3
= (int) -1 ;
21319 int arg4
= (int) -1 ;
21320 wxChoicebookEvent
*result
= 0 ;
21329 PyObject
* obj0
= 0 ;
21330 PyObject
* obj1
= 0 ;
21331 PyObject
* obj2
= 0 ;
21332 PyObject
* obj3
= 0 ;
21333 char * kwnames
[] = {
21334 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21339 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21340 if (!SWIG_IsOK(ecode1
)) {
21341 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21343 arg1
= static_cast< wxEventType
>(val1
);
21346 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21347 if (!SWIG_IsOK(ecode2
)) {
21348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21350 arg2
= static_cast< int >(val2
);
21353 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21354 if (!SWIG_IsOK(ecode3
)) {
21355 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21357 arg3
= static_cast< int >(val3
);
21360 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21361 if (!SWIG_IsOK(ecode4
)) {
21362 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21364 arg4
= static_cast< int >(val4
);
21367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21368 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21369 wxPyEndAllowThreads(__tstate
);
21370 if (PyErr_Occurred()) SWIG_fail
;
21372 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21379 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21381 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21382 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21383 return SWIG_Py_Void();
21386 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21387 return SWIG_Python_InitShadowInstance(args
);
21390 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21391 PyObject
*resultobj
= 0;
21392 wxWindow
*arg1
= (wxWindow
*) 0 ;
21394 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21395 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21396 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21397 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21398 long arg5
= (long) wxBK_DEFAULT
;
21399 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21400 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21401 wxTreebook
*result
= 0 ;
21410 bool temp6
= false ;
21411 PyObject
* obj0
= 0 ;
21412 PyObject
* obj1
= 0 ;
21413 PyObject
* obj2
= 0 ;
21414 PyObject
* obj3
= 0 ;
21415 PyObject
* obj4
= 0 ;
21416 PyObject
* obj5
= 0 ;
21417 char * kwnames
[] = {
21418 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21423 if (!SWIG_IsOK(res1
)) {
21424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21426 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21427 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21428 if (!SWIG_IsOK(ecode2
)) {
21429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21431 arg2
= static_cast< int >(val2
);
21435 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21441 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21445 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21446 if (!SWIG_IsOK(ecode5
)) {
21447 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21449 arg5
= static_cast< long >(val5
);
21453 arg6
= wxString_in_helper(obj5
);
21454 if (arg6
== NULL
) SWIG_fail
;
21459 if (!wxPyCheckForApp()) SWIG_fail
;
21460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21461 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21462 wxPyEndAllowThreads(__tstate
);
21463 if (PyErr_Occurred()) SWIG_fail
;
21465 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21480 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21481 PyObject
*resultobj
= 0;
21482 wxTreebook
*result
= 0 ;
21484 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21486 if (!wxPyCheckForApp()) SWIG_fail
;
21487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21488 result
= (wxTreebook
*)new wxTreebook();
21489 wxPyEndAllowThreads(__tstate
);
21490 if (PyErr_Occurred()) SWIG_fail
;
21492 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21499 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21500 PyObject
*resultobj
= 0;
21501 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21502 wxWindow
*arg2
= (wxWindow
*) 0 ;
21504 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21505 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21506 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21507 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21508 long arg6
= (long) wxBK_DEFAULT
;
21509 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21510 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21522 bool temp7
= false ;
21523 PyObject
* obj0
= 0 ;
21524 PyObject
* obj1
= 0 ;
21525 PyObject
* obj2
= 0 ;
21526 PyObject
* obj3
= 0 ;
21527 PyObject
* obj4
= 0 ;
21528 PyObject
* obj5
= 0 ;
21529 PyObject
* obj6
= 0 ;
21530 char * kwnames
[] = {
21531 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21536 if (!SWIG_IsOK(res1
)) {
21537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21539 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21540 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21541 if (!SWIG_IsOK(res2
)) {
21542 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21544 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21545 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21546 if (!SWIG_IsOK(ecode3
)) {
21547 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21549 arg3
= static_cast< int >(val3
);
21553 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21559 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21563 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21564 if (!SWIG_IsOK(ecode6
)) {
21565 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21567 arg6
= static_cast< long >(val6
);
21571 arg7
= wxString_in_helper(obj6
);
21572 if (arg7
== NULL
) SWIG_fail
;
21577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21578 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21579 wxPyEndAllowThreads(__tstate
);
21580 if (PyErr_Occurred()) SWIG_fail
;
21583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21599 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21600 PyObject
*resultobj
= 0;
21601 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21603 wxWindow
*arg3
= (wxWindow
*) 0 ;
21604 wxString
*arg4
= 0 ;
21605 bool arg5
= (bool) false ;
21606 int arg6
= (int) wxNOT_FOUND
;
21614 bool temp4
= false ;
21619 PyObject
* obj0
= 0 ;
21620 PyObject
* obj1
= 0 ;
21621 PyObject
* obj2
= 0 ;
21622 PyObject
* obj3
= 0 ;
21623 PyObject
* obj4
= 0 ;
21624 PyObject
* obj5
= 0 ;
21625 char * kwnames
[] = {
21626 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21631 if (!SWIG_IsOK(res1
)) {
21632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21634 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21635 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21636 if (!SWIG_IsOK(ecode2
)) {
21637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
21639 arg2
= static_cast< size_t >(val2
);
21640 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21641 if (!SWIG_IsOK(res3
)) {
21642 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
21644 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
21646 arg4
= wxString_in_helper(obj3
);
21647 if (arg4
== NULL
) SWIG_fail
;
21651 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
21652 if (!SWIG_IsOK(ecode5
)) {
21653 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
21655 arg5
= static_cast< bool >(val5
);
21658 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21659 if (!SWIG_IsOK(ecode6
)) {
21660 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
21662 arg6
= static_cast< int >(val6
);
21665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21666 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
21667 wxPyEndAllowThreads(__tstate
);
21668 if (PyErr_Occurred()) SWIG_fail
;
21671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21687 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21688 PyObject
*resultobj
= 0;
21689 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21690 wxWindow
*arg2
= (wxWindow
*) 0 ;
21691 wxString
*arg3
= 0 ;
21692 bool arg4
= (bool) false ;
21693 int arg5
= (int) wxNOT_FOUND
;
21699 bool temp3
= false ;
21704 PyObject
* obj0
= 0 ;
21705 PyObject
* obj1
= 0 ;
21706 PyObject
* obj2
= 0 ;
21707 PyObject
* obj3
= 0 ;
21708 PyObject
* obj4
= 0 ;
21709 char * kwnames
[] = {
21710 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21715 if (!SWIG_IsOK(res1
)) {
21716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21718 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21719 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21720 if (!SWIG_IsOK(res2
)) {
21721 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
21723 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21725 arg3
= wxString_in_helper(obj2
);
21726 if (arg3
== NULL
) SWIG_fail
;
21730 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
21731 if (!SWIG_IsOK(ecode4
)) {
21732 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
21734 arg4
= static_cast< bool >(val4
);
21737 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21738 if (!SWIG_IsOK(ecode5
)) {
21739 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
21741 arg5
= static_cast< int >(val5
);
21744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21745 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
21746 wxPyEndAllowThreads(__tstate
);
21747 if (PyErr_Occurred()) SWIG_fail
;
21750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21766 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21767 PyObject
*resultobj
= 0;
21768 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21775 PyObject
* obj0
= 0 ;
21776 PyObject
* obj1
= 0 ;
21777 char * kwnames
[] = {
21778 (char *) "self",(char *) "pos", NULL
21781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21783 if (!SWIG_IsOK(res1
)) {
21784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21786 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21787 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21788 if (!SWIG_IsOK(ecode2
)) {
21789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
21791 arg2
= static_cast< size_t >(val2
);
21793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21794 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
21795 wxPyEndAllowThreads(__tstate
);
21796 if (PyErr_Occurred()) SWIG_fail
;
21799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21807 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21808 PyObject
*resultobj
= 0;
21809 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21811 bool arg3
= (bool) true ;
21819 PyObject
* obj0
= 0 ;
21820 PyObject
* obj1
= 0 ;
21821 PyObject
* obj2
= 0 ;
21822 char * kwnames
[] = {
21823 (char *) "self",(char *) "pos",(char *) "expand", NULL
21826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21828 if (!SWIG_IsOK(res1
)) {
21829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21831 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21832 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21833 if (!SWIG_IsOK(ecode2
)) {
21834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
21836 arg2
= static_cast< size_t >(val2
);
21838 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21839 if (!SWIG_IsOK(ecode3
)) {
21840 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
21842 arg3
= static_cast< bool >(val3
);
21845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21846 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
21847 wxPyEndAllowThreads(__tstate
);
21848 if (PyErr_Occurred()) SWIG_fail
;
21851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21859 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21860 PyObject
*resultobj
= 0;
21861 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21868 PyObject
* obj0
= 0 ;
21869 PyObject
* obj1
= 0 ;
21870 char * kwnames
[] = {
21871 (char *) "self",(char *) "pos", NULL
21874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21876 if (!SWIG_IsOK(res1
)) {
21877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21879 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21880 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21881 if (!SWIG_IsOK(ecode2
)) {
21882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
21884 arg2
= static_cast< size_t >(val2
);
21886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21887 result
= (bool)(arg1
)->CollapseNode(arg2
);
21888 wxPyEndAllowThreads(__tstate
);
21889 if (PyErr_Occurred()) SWIG_fail
;
21892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21900 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21901 PyObject
*resultobj
= 0;
21902 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21909 PyObject
* obj0
= 0 ;
21910 PyObject
* obj1
= 0 ;
21911 char * kwnames
[] = {
21912 (char *) "self",(char *) "pos", NULL
21915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21917 if (!SWIG_IsOK(res1
)) {
21918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21920 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21921 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21922 if (!SWIG_IsOK(ecode2
)) {
21923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
21925 arg2
= static_cast< size_t >(val2
);
21927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21928 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
21929 wxPyEndAllowThreads(__tstate
);
21930 if (PyErr_Occurred()) SWIG_fail
;
21932 resultobj
= SWIG_From_int(static_cast< int >(result
));
21939 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21940 PyObject
*resultobj
= 0;
21941 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21942 wxTreeCtrl
*result
= 0 ;
21945 PyObject
*swig_obj
[1] ;
21947 if (!args
) SWIG_fail
;
21948 swig_obj
[0] = args
;
21949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21950 if (!SWIG_IsOK(res1
)) {
21951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21953 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21956 result
= (wxTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
21957 wxPyEndAllowThreads(__tstate
);
21958 if (PyErr_Occurred()) SWIG_fail
;
21960 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeCtrl
, 0 | 0 );
21967 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21969 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21970 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
21971 return SWIG_Py_Void();
21974 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21975 return SWIG_Python_InitShadowInstance(args
);
21978 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21979 PyObject
*resultobj
= 0;
21980 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21981 int arg2
= (int) 0 ;
21982 int arg3
= (int) wxNOT_FOUND
;
21983 int arg4
= (int) wxNOT_FOUND
;
21984 wxTreebookEvent
*result
= 0 ;
21993 PyObject
* obj0
= 0 ;
21994 PyObject
* obj1
= 0 ;
21995 PyObject
* obj2
= 0 ;
21996 PyObject
* obj3
= 0 ;
21997 char * kwnames
[] = {
21998 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22003 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22004 if (!SWIG_IsOK(ecode1
)) {
22005 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22007 arg1
= static_cast< wxEventType
>(val1
);
22010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22011 if (!SWIG_IsOK(ecode2
)) {
22012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22014 arg2
= static_cast< int >(val2
);
22017 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22018 if (!SWIG_IsOK(ecode3
)) {
22019 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22021 arg3
= static_cast< int >(val3
);
22024 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22025 if (!SWIG_IsOK(ecode4
)) {
22026 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22028 arg4
= static_cast< int >(val4
);
22031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22032 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22033 wxPyEndAllowThreads(__tstate
);
22034 if (PyErr_Occurred()) SWIG_fail
;
22036 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22043 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22045 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22046 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22047 return SWIG_Py_Void();
22050 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22051 return SWIG_Python_InitShadowInstance(args
);
22054 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22055 PyObject
*resultobj
= 0;
22056 wxWindow
*arg1
= (wxWindow
*) 0 ;
22058 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22059 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22060 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22061 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22062 long arg5
= (long) wxBK_DEFAULT
;
22063 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22064 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22065 wxToolbook
*result
= 0 ;
22074 bool temp6
= false ;
22075 PyObject
* obj0
= 0 ;
22076 PyObject
* obj1
= 0 ;
22077 PyObject
* obj2
= 0 ;
22078 PyObject
* obj3
= 0 ;
22079 PyObject
* obj4
= 0 ;
22080 PyObject
* obj5
= 0 ;
22081 char * kwnames
[] = {
22082 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22087 if (!SWIG_IsOK(res1
)) {
22088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22090 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22091 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22092 if (!SWIG_IsOK(ecode2
)) {
22093 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22095 arg2
= static_cast< int >(val2
);
22099 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22105 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22109 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22110 if (!SWIG_IsOK(ecode5
)) {
22111 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22113 arg5
= static_cast< long >(val5
);
22117 arg6
= wxString_in_helper(obj5
);
22118 if (arg6
== NULL
) SWIG_fail
;
22123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22124 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22125 wxPyEndAllowThreads(__tstate
);
22126 if (PyErr_Occurred()) SWIG_fail
;
22128 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22143 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22144 PyObject
*resultobj
= 0;
22145 wxToolbook
*result
= 0 ;
22147 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22150 result
= (wxToolbook
*)new wxToolbook();
22151 wxPyEndAllowThreads(__tstate
);
22152 if (PyErr_Occurred()) SWIG_fail
;
22154 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22161 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22162 PyObject
*resultobj
= 0;
22163 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22164 wxWindow
*arg2
= (wxWindow
*) 0 ;
22166 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22167 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22168 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22169 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22170 long arg6
= (long) 0 ;
22171 wxString
const &arg7_defvalue
= wxEmptyString
;
22172 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22184 bool temp7
= false ;
22185 PyObject
* obj0
= 0 ;
22186 PyObject
* obj1
= 0 ;
22187 PyObject
* obj2
= 0 ;
22188 PyObject
* obj3
= 0 ;
22189 PyObject
* obj4
= 0 ;
22190 PyObject
* obj5
= 0 ;
22191 PyObject
* obj6
= 0 ;
22192 char * kwnames
[] = {
22193 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22198 if (!SWIG_IsOK(res1
)) {
22199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22201 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22202 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22203 if (!SWIG_IsOK(res2
)) {
22204 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22206 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22207 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22208 if (!SWIG_IsOK(ecode3
)) {
22209 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22211 arg3
= static_cast< int >(val3
);
22215 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22221 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22225 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22226 if (!SWIG_IsOK(ecode6
)) {
22227 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22229 arg6
= static_cast< long >(val6
);
22233 arg7
= wxString_in_helper(obj6
);
22234 if (arg7
== NULL
) SWIG_fail
;
22239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22240 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22241 wxPyEndAllowThreads(__tstate
);
22242 if (PyErr_Occurred()) SWIG_fail
;
22245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22261 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22262 PyObject
*resultobj
= 0;
22263 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22264 wxToolBarBase
*result
= 0 ;
22267 PyObject
*swig_obj
[1] ;
22269 if (!args
) SWIG_fail
;
22270 swig_obj
[0] = args
;
22271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22272 if (!SWIG_IsOK(res1
)) {
22273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22275 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22278 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22279 wxPyEndAllowThreads(__tstate
);
22280 if (PyErr_Occurred()) SWIG_fail
;
22283 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22291 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22292 PyObject
*resultobj
= 0;
22293 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22296 PyObject
*swig_obj
[1] ;
22298 if (!args
) SWIG_fail
;
22299 swig_obj
[0] = args
;
22300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22301 if (!SWIG_IsOK(res1
)) {
22302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22304 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22308 wxPyEndAllowThreads(__tstate
);
22309 if (PyErr_Occurred()) SWIG_fail
;
22311 resultobj
= SWIG_Py_Void();
22318 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22320 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22321 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22322 return SWIG_Py_Void();
22325 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22326 return SWIG_Python_InitShadowInstance(args
);
22329 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22330 PyObject
*resultobj
= 0;
22331 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22332 int arg2
= (int) 0 ;
22333 int arg3
= (int) wxNOT_FOUND
;
22334 int arg4
= (int) wxNOT_FOUND
;
22335 wxToolbookEvent
*result
= 0 ;
22344 PyObject
* obj0
= 0 ;
22345 PyObject
* obj1
= 0 ;
22346 PyObject
* obj2
= 0 ;
22347 PyObject
* obj3
= 0 ;
22348 char * kwnames
[] = {
22349 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22354 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22355 if (!SWIG_IsOK(ecode1
)) {
22356 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22358 arg1
= static_cast< wxEventType
>(val1
);
22361 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22362 if (!SWIG_IsOK(ecode2
)) {
22363 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22365 arg2
= static_cast< int >(val2
);
22368 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22369 if (!SWIG_IsOK(ecode3
)) {
22370 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22372 arg3
= static_cast< int >(val3
);
22375 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22376 if (!SWIG_IsOK(ecode4
)) {
22377 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22379 arg4
= static_cast< int >(val4
);
22382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22383 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22384 wxPyEndAllowThreads(__tstate
);
22385 if (PyErr_Occurred()) SWIG_fail
;
22387 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22394 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22396 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22397 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22398 return SWIG_Py_Void();
22401 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22402 return SWIG_Python_InitShadowInstance(args
);
22405 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22406 PyObject
*resultobj
= 0;
22407 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22411 PyObject
*swig_obj
[1] ;
22413 if (!args
) SWIG_fail
;
22414 swig_obj
[0] = args
;
22415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22416 if (!SWIG_IsOK(res1
)) {
22417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22419 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22422 result
= (int)(arg1
)->GetId();
22423 wxPyEndAllowThreads(__tstate
);
22424 if (PyErr_Occurred()) SWIG_fail
;
22426 resultobj
= SWIG_From_int(static_cast< int >(result
));
22433 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22434 PyObject
*resultobj
= 0;
22435 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22436 wxControl
*result
= 0 ;
22439 PyObject
*swig_obj
[1] ;
22441 if (!args
) SWIG_fail
;
22442 swig_obj
[0] = args
;
22443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22444 if (!SWIG_IsOK(res1
)) {
22445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22447 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22450 result
= (wxControl
*)(arg1
)->GetControl();
22451 wxPyEndAllowThreads(__tstate
);
22452 if (PyErr_Occurred()) SWIG_fail
;
22455 resultobj
= wxPyMake_wxObject(result
, 0);
22463 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22464 PyObject
*resultobj
= 0;
22465 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22466 wxToolBarBase
*result
= 0 ;
22469 PyObject
*swig_obj
[1] ;
22471 if (!args
) SWIG_fail
;
22472 swig_obj
[0] = args
;
22473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22474 if (!SWIG_IsOK(res1
)) {
22475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22477 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22480 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22481 wxPyEndAllowThreads(__tstate
);
22482 if (PyErr_Occurred()) SWIG_fail
;
22485 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22493 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22494 PyObject
*resultobj
= 0;
22495 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22499 PyObject
*swig_obj
[1] ;
22501 if (!args
) SWIG_fail
;
22502 swig_obj
[0] = args
;
22503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22504 if (!SWIG_IsOK(res1
)) {
22505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22507 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22510 result
= (int)(arg1
)->IsButton();
22511 wxPyEndAllowThreads(__tstate
);
22512 if (PyErr_Occurred()) SWIG_fail
;
22514 resultobj
= SWIG_From_int(static_cast< int >(result
));
22521 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22522 PyObject
*resultobj
= 0;
22523 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22527 PyObject
*swig_obj
[1] ;
22529 if (!args
) SWIG_fail
;
22530 swig_obj
[0] = args
;
22531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22532 if (!SWIG_IsOK(res1
)) {
22533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22535 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22538 result
= (int)(arg1
)->IsControl();
22539 wxPyEndAllowThreads(__tstate
);
22540 if (PyErr_Occurred()) SWIG_fail
;
22542 resultobj
= SWIG_From_int(static_cast< int >(result
));
22549 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22550 PyObject
*resultobj
= 0;
22551 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22555 PyObject
*swig_obj
[1] ;
22557 if (!args
) SWIG_fail
;
22558 swig_obj
[0] = args
;
22559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22560 if (!SWIG_IsOK(res1
)) {
22561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22563 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22566 result
= (int)(arg1
)->IsSeparator();
22567 wxPyEndAllowThreads(__tstate
);
22568 if (PyErr_Occurred()) SWIG_fail
;
22570 resultobj
= SWIG_From_int(static_cast< int >(result
));
22577 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22578 PyObject
*resultobj
= 0;
22579 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22583 PyObject
*swig_obj
[1] ;
22585 if (!args
) SWIG_fail
;
22586 swig_obj
[0] = args
;
22587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22588 if (!SWIG_IsOK(res1
)) {
22589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22591 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22594 result
= (int)(arg1
)->GetStyle();
22595 wxPyEndAllowThreads(__tstate
);
22596 if (PyErr_Occurred()) SWIG_fail
;
22598 resultobj
= SWIG_From_int(static_cast< int >(result
));
22605 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22606 PyObject
*resultobj
= 0;
22607 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22611 PyObject
*swig_obj
[1] ;
22613 if (!args
) SWIG_fail
;
22614 swig_obj
[0] = args
;
22615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22616 if (!SWIG_IsOK(res1
)) {
22617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22619 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22622 result
= (wxItemKind
)(arg1
)->GetKind();
22623 wxPyEndAllowThreads(__tstate
);
22624 if (PyErr_Occurred()) SWIG_fail
;
22626 resultobj
= SWIG_From_int(static_cast< int >(result
));
22633 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22634 PyObject
*resultobj
= 0;
22635 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22639 PyObject
*swig_obj
[1] ;
22641 if (!args
) SWIG_fail
;
22642 swig_obj
[0] = args
;
22643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22644 if (!SWIG_IsOK(res1
)) {
22645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22647 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22650 result
= (bool)(arg1
)->IsEnabled();
22651 wxPyEndAllowThreads(__tstate
);
22652 if (PyErr_Occurred()) SWIG_fail
;
22655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22663 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22664 PyObject
*resultobj
= 0;
22665 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22669 PyObject
*swig_obj
[1] ;
22671 if (!args
) SWIG_fail
;
22672 swig_obj
[0] = args
;
22673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22674 if (!SWIG_IsOK(res1
)) {
22675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22677 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22680 result
= (bool)(arg1
)->IsToggled();
22681 wxPyEndAllowThreads(__tstate
);
22682 if (PyErr_Occurred()) SWIG_fail
;
22685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22693 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22694 PyObject
*resultobj
= 0;
22695 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22699 PyObject
*swig_obj
[1] ;
22701 if (!args
) SWIG_fail
;
22702 swig_obj
[0] = args
;
22703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22704 if (!SWIG_IsOK(res1
)) {
22705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22707 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22710 result
= (bool)(arg1
)->CanBeToggled();
22711 wxPyEndAllowThreads(__tstate
);
22712 if (PyErr_Occurred()) SWIG_fail
;
22715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22723 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22724 PyObject
*resultobj
= 0;
22725 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22726 wxBitmap
*result
= 0 ;
22729 PyObject
*swig_obj
[1] ;
22731 if (!args
) SWIG_fail
;
22732 swig_obj
[0] = args
;
22733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22734 if (!SWIG_IsOK(res1
)) {
22735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22737 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22741 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
22742 result
= (wxBitmap
*) &_result_ref
;
22744 wxPyEndAllowThreads(__tstate
);
22745 if (PyErr_Occurred()) SWIG_fail
;
22748 wxBitmap
* resultptr
= new wxBitmap(*result
);
22749 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22757 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22758 PyObject
*resultobj
= 0;
22759 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22760 wxBitmap
*result
= 0 ;
22763 PyObject
*swig_obj
[1] ;
22765 if (!args
) SWIG_fail
;
22766 swig_obj
[0] = args
;
22767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22768 if (!SWIG_IsOK(res1
)) {
22769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22771 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22775 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
22776 result
= (wxBitmap
*) &_result_ref
;
22778 wxPyEndAllowThreads(__tstate
);
22779 if (PyErr_Occurred()) SWIG_fail
;
22782 wxBitmap
* resultptr
= new wxBitmap(*result
);
22783 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22791 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22792 PyObject
*resultobj
= 0;
22793 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22797 PyObject
*swig_obj
[1] ;
22799 if (!args
) SWIG_fail
;
22800 swig_obj
[0] = args
;
22801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22802 if (!SWIG_IsOK(res1
)) {
22803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22805 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22808 result
= (arg1
)->GetBitmap();
22809 wxPyEndAllowThreads(__tstate
);
22810 if (PyErr_Occurred()) SWIG_fail
;
22812 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
22819 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22820 PyObject
*resultobj
= 0;
22821 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22825 PyObject
*swig_obj
[1] ;
22827 if (!args
) SWIG_fail
;
22828 swig_obj
[0] = args
;
22829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22830 if (!SWIG_IsOK(res1
)) {
22831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22833 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22836 result
= (arg1
)->GetLabel();
22837 wxPyEndAllowThreads(__tstate
);
22838 if (PyErr_Occurred()) SWIG_fail
;
22842 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22844 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22853 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22854 PyObject
*resultobj
= 0;
22855 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22859 PyObject
*swig_obj
[1] ;
22861 if (!args
) SWIG_fail
;
22862 swig_obj
[0] = args
;
22863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22864 if (!SWIG_IsOK(res1
)) {
22865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22867 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22870 result
= (arg1
)->GetShortHelp();
22871 wxPyEndAllowThreads(__tstate
);
22872 if (PyErr_Occurred()) SWIG_fail
;
22876 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22878 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22887 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22888 PyObject
*resultobj
= 0;
22889 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22893 PyObject
*swig_obj
[1] ;
22895 if (!args
) SWIG_fail
;
22896 swig_obj
[0] = args
;
22897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22898 if (!SWIG_IsOK(res1
)) {
22899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22901 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22904 result
= (arg1
)->GetLongHelp();
22905 wxPyEndAllowThreads(__tstate
);
22906 if (PyErr_Occurred()) SWIG_fail
;
22910 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22912 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22921 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22922 PyObject
*resultobj
= 0;
22923 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22930 PyObject
* obj0
= 0 ;
22931 PyObject
* obj1
= 0 ;
22932 char * kwnames
[] = {
22933 (char *) "self",(char *) "enable", NULL
22936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22938 if (!SWIG_IsOK(res1
)) {
22939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22941 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22942 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22943 if (!SWIG_IsOK(ecode2
)) {
22944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
22946 arg2
= static_cast< bool >(val2
);
22948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22949 result
= (bool)(arg1
)->Enable(arg2
);
22950 wxPyEndAllowThreads(__tstate
);
22951 if (PyErr_Occurred()) SWIG_fail
;
22954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22962 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22963 PyObject
*resultobj
= 0;
22964 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22967 PyObject
*swig_obj
[1] ;
22969 if (!args
) SWIG_fail
;
22970 swig_obj
[0] = args
;
22971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22972 if (!SWIG_IsOK(res1
)) {
22973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22975 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22979 wxPyEndAllowThreads(__tstate
);
22980 if (PyErr_Occurred()) SWIG_fail
;
22982 resultobj
= SWIG_Py_Void();
22989 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22990 PyObject
*resultobj
= 0;
22991 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22998 PyObject
* obj0
= 0 ;
22999 PyObject
* obj1
= 0 ;
23000 char * kwnames
[] = {
23001 (char *) "self",(char *) "toggle", NULL
23004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23006 if (!SWIG_IsOK(res1
)) {
23007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23009 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23010 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23011 if (!SWIG_IsOK(ecode2
)) {
23012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23014 arg2
= static_cast< bool >(val2
);
23016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23017 result
= (bool)(arg1
)->SetToggle(arg2
);
23018 wxPyEndAllowThreads(__tstate
);
23019 if (PyErr_Occurred()) SWIG_fail
;
23022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23030 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23031 PyObject
*resultobj
= 0;
23032 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23033 wxString
*arg2
= 0 ;
23037 bool temp2
= false ;
23038 PyObject
* obj0
= 0 ;
23039 PyObject
* obj1
= 0 ;
23040 char * kwnames
[] = {
23041 (char *) "self",(char *) "help", NULL
23044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23046 if (!SWIG_IsOK(res1
)) {
23047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23049 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23051 arg2
= wxString_in_helper(obj1
);
23052 if (arg2
== NULL
) SWIG_fail
;
23056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23057 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23058 wxPyEndAllowThreads(__tstate
);
23059 if (PyErr_Occurred()) SWIG_fail
;
23062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23078 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23079 PyObject
*resultobj
= 0;
23080 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23081 wxString
*arg2
= 0 ;
23085 bool temp2
= false ;
23086 PyObject
* obj0
= 0 ;
23087 PyObject
* obj1
= 0 ;
23088 char * kwnames
[] = {
23089 (char *) "self",(char *) "help", NULL
23092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23094 if (!SWIG_IsOK(res1
)) {
23095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23097 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23099 arg2
= wxString_in_helper(obj1
);
23100 if (arg2
== NULL
) SWIG_fail
;
23104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23105 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23106 wxPyEndAllowThreads(__tstate
);
23107 if (PyErr_Occurred()) SWIG_fail
;
23110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23126 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23127 PyObject
*resultobj
= 0;
23128 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23129 wxBitmap
*arg2
= 0 ;
23134 PyObject
* obj0
= 0 ;
23135 PyObject
* obj1
= 0 ;
23136 char * kwnames
[] = {
23137 (char *) "self",(char *) "bmp", NULL
23140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23142 if (!SWIG_IsOK(res1
)) {
23143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23145 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23146 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23147 if (!SWIG_IsOK(res2
)) {
23148 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23151 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23153 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23156 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23157 wxPyEndAllowThreads(__tstate
);
23158 if (PyErr_Occurred()) SWIG_fail
;
23160 resultobj
= SWIG_Py_Void();
23167 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23168 PyObject
*resultobj
= 0;
23169 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23170 wxBitmap
*arg2
= 0 ;
23175 PyObject
* obj0
= 0 ;
23176 PyObject
* obj1
= 0 ;
23177 char * kwnames
[] = {
23178 (char *) "self",(char *) "bmp", NULL
23181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23183 if (!SWIG_IsOK(res1
)) {
23184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23186 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23187 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23188 if (!SWIG_IsOK(res2
)) {
23189 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23192 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23194 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23197 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23198 wxPyEndAllowThreads(__tstate
);
23199 if (PyErr_Occurred()) SWIG_fail
;
23201 resultobj
= SWIG_Py_Void();
23208 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23209 PyObject
*resultobj
= 0;
23210 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23211 wxString
*arg2
= 0 ;
23214 bool temp2
= false ;
23215 PyObject
* obj0
= 0 ;
23216 PyObject
* obj1
= 0 ;
23217 char * kwnames
[] = {
23218 (char *) "self",(char *) "label", NULL
23221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23223 if (!SWIG_IsOK(res1
)) {
23224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23226 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23228 arg2
= wxString_in_helper(obj1
);
23229 if (arg2
== NULL
) SWIG_fail
;
23233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23234 (arg1
)->SetLabel((wxString
const &)*arg2
);
23235 wxPyEndAllowThreads(__tstate
);
23236 if (PyErr_Occurred()) SWIG_fail
;
23238 resultobj
= SWIG_Py_Void();
23253 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23254 PyObject
*resultobj
= 0;
23255 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23258 PyObject
*swig_obj
[1] ;
23260 if (!args
) SWIG_fail
;
23261 swig_obj
[0] = args
;
23262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23263 if (!SWIG_IsOK(res1
)) {
23264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23266 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23270 wxPyEndAllowThreads(__tstate
);
23271 if (PyErr_Occurred()) SWIG_fail
;
23273 resultobj
= SWIG_Py_Void();
23280 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23281 PyObject
*resultobj
= 0;
23282 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23283 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23288 PyObject
* obj0
= 0 ;
23289 PyObject
* obj1
= 0 ;
23290 char * kwnames
[] = {
23291 (char *) "self",(char *) "tbar", NULL
23294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23296 if (!SWIG_IsOK(res1
)) {
23297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23299 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23300 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23301 if (!SWIG_IsOK(res2
)) {
23302 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23304 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23307 (arg1
)->Attach(arg2
);
23308 wxPyEndAllowThreads(__tstate
);
23309 if (PyErr_Occurred()) SWIG_fail
;
23311 resultobj
= SWIG_Py_Void();
23318 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23319 PyObject
*resultobj
= 0;
23320 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23321 PyObject
*result
= 0 ;
23324 PyObject
*swig_obj
[1] ;
23326 if (!args
) SWIG_fail
;
23327 swig_obj
[0] = args
;
23328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23329 if (!SWIG_IsOK(res1
)) {
23330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23332 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23335 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23336 wxPyEndAllowThreads(__tstate
);
23337 if (PyErr_Occurred()) SWIG_fail
;
23339 resultobj
= result
;
23346 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23347 PyObject
*resultobj
= 0;
23348 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23349 PyObject
*arg2
= (PyObject
*) 0 ;
23352 PyObject
* obj0
= 0 ;
23353 PyObject
* obj1
= 0 ;
23354 char * kwnames
[] = {
23355 (char *) "self",(char *) "clientData", NULL
23358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23360 if (!SWIG_IsOK(res1
)) {
23361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23363 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23367 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23368 wxPyEndAllowThreads(__tstate
);
23369 if (PyErr_Occurred()) SWIG_fail
;
23371 resultobj
= SWIG_Py_Void();
23378 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23380 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23381 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23382 return SWIG_Py_Void();
23385 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23386 PyObject
*resultobj
= 0;
23387 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23389 wxString
*arg3
= 0 ;
23390 wxBitmap
*arg4
= 0 ;
23391 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23392 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23393 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23394 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23395 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23396 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23397 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23398 PyObject
*arg9
= (PyObject
*) NULL
;
23399 wxToolBarToolBase
*result
= 0 ;
23404 bool temp3
= false ;
23411 bool temp7
= false ;
23412 bool temp8
= false ;
23413 PyObject
* obj0
= 0 ;
23414 PyObject
* obj1
= 0 ;
23415 PyObject
* obj2
= 0 ;
23416 PyObject
* obj3
= 0 ;
23417 PyObject
* obj4
= 0 ;
23418 PyObject
* obj5
= 0 ;
23419 PyObject
* obj6
= 0 ;
23420 PyObject
* obj7
= 0 ;
23421 PyObject
* obj8
= 0 ;
23422 char * kwnames
[] = {
23423 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23428 if (!SWIG_IsOK(res1
)) {
23429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23431 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23432 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23433 if (!SWIG_IsOK(ecode2
)) {
23434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23436 arg2
= static_cast< int >(val2
);
23438 arg3
= wxString_in_helper(obj2
);
23439 if (arg3
== NULL
) SWIG_fail
;
23442 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23443 if (!SWIG_IsOK(res4
)) {
23444 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23447 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23449 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23451 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23452 if (!SWIG_IsOK(res5
)) {
23453 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23456 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23458 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23461 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23462 if (!SWIG_IsOK(ecode6
)) {
23463 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23465 arg6
= static_cast< wxItemKind
>(val6
);
23469 arg7
= wxString_in_helper(obj6
);
23470 if (arg7
== NULL
) SWIG_fail
;
23476 arg8
= wxString_in_helper(obj7
);
23477 if (arg8
== NULL
) SWIG_fail
;
23485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23486 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23487 wxPyEndAllowThreads(__tstate
);
23488 if (PyErr_Occurred()) SWIG_fail
;
23491 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23523 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23524 PyObject
*resultobj
= 0;
23525 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23528 wxString
*arg4
= 0 ;
23529 wxBitmap
*arg5
= 0 ;
23530 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23531 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23532 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23533 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23534 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23535 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23536 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23537 PyObject
*arg10
= (PyObject
*) NULL
;
23538 wxToolBarToolBase
*result
= 0 ;
23545 bool temp4
= false ;
23552 bool temp8
= false ;
23553 bool temp9
= false ;
23554 PyObject
* obj0
= 0 ;
23555 PyObject
* obj1
= 0 ;
23556 PyObject
* obj2
= 0 ;
23557 PyObject
* obj3
= 0 ;
23558 PyObject
* obj4
= 0 ;
23559 PyObject
* obj5
= 0 ;
23560 PyObject
* obj6
= 0 ;
23561 PyObject
* obj7
= 0 ;
23562 PyObject
* obj8
= 0 ;
23563 PyObject
* obj9
= 0 ;
23564 char * kwnames
[] = {
23565 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23570 if (!SWIG_IsOK(res1
)) {
23571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23573 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23574 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23575 if (!SWIG_IsOK(ecode2
)) {
23576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23578 arg2
= static_cast< size_t >(val2
);
23579 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23580 if (!SWIG_IsOK(ecode3
)) {
23581 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23583 arg3
= static_cast< int >(val3
);
23585 arg4
= wxString_in_helper(obj3
);
23586 if (arg4
== NULL
) SWIG_fail
;
23589 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23590 if (!SWIG_IsOK(res5
)) {
23591 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23594 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23596 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23598 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23599 if (!SWIG_IsOK(res6
)) {
23600 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23603 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23605 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
23608 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23609 if (!SWIG_IsOK(ecode7
)) {
23610 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23612 arg7
= static_cast< wxItemKind
>(val7
);
23616 arg8
= wxString_in_helper(obj7
);
23617 if (arg8
== NULL
) SWIG_fail
;
23623 arg9
= wxString_in_helper(obj8
);
23624 if (arg9
== NULL
) SWIG_fail
;
23632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23633 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
23634 wxPyEndAllowThreads(__tstate
);
23635 if (PyErr_Occurred()) SWIG_fail
;
23638 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23670 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23671 PyObject
*resultobj
= 0;
23672 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23673 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
23674 wxToolBarToolBase
*result
= 0 ;
23679 PyObject
* obj0
= 0 ;
23680 PyObject
* obj1
= 0 ;
23681 char * kwnames
[] = {
23682 (char *) "self",(char *) "tool", NULL
23685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23687 if (!SWIG_IsOK(res1
)) {
23688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23690 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23691 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23692 if (!SWIG_IsOK(res2
)) {
23693 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
23695 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
23697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23698 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
23699 wxPyEndAllowThreads(__tstate
);
23700 if (PyErr_Occurred()) SWIG_fail
;
23703 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23711 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23712 PyObject
*resultobj
= 0;
23713 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23715 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
23716 wxToolBarToolBase
*result
= 0 ;
23723 PyObject
* obj0
= 0 ;
23724 PyObject
* obj1
= 0 ;
23725 PyObject
* obj2
= 0 ;
23726 char * kwnames
[] = {
23727 (char *) "self",(char *) "pos",(char *) "tool", NULL
23730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23732 if (!SWIG_IsOK(res1
)) {
23733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23735 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23736 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23737 if (!SWIG_IsOK(ecode2
)) {
23738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
23740 arg2
= static_cast< size_t >(val2
);
23741 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23742 if (!SWIG_IsOK(res3
)) {
23743 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
23745 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
23747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23748 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
23749 wxPyEndAllowThreads(__tstate
);
23750 if (PyErr_Occurred()) SWIG_fail
;
23753 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23761 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23762 PyObject
*resultobj
= 0;
23763 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23764 wxControl
*arg2
= (wxControl
*) 0 ;
23765 wxToolBarToolBase
*result
= 0 ;
23770 PyObject
* obj0
= 0 ;
23771 PyObject
* obj1
= 0 ;
23772 char * kwnames
[] = {
23773 (char *) "self",(char *) "control", NULL
23776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23778 if (!SWIG_IsOK(res1
)) {
23779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23781 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23782 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
23783 if (!SWIG_IsOK(res2
)) {
23784 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
23786 arg2
= reinterpret_cast< wxControl
* >(argp2
);
23788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23789 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
23790 wxPyEndAllowThreads(__tstate
);
23791 if (PyErr_Occurred()) SWIG_fail
;
23794 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23802 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23803 PyObject
*resultobj
= 0;
23804 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23806 wxControl
*arg3
= (wxControl
*) 0 ;
23807 wxToolBarToolBase
*result
= 0 ;
23814 PyObject
* obj0
= 0 ;
23815 PyObject
* obj1
= 0 ;
23816 PyObject
* obj2
= 0 ;
23817 char * kwnames
[] = {
23818 (char *) "self",(char *) "pos",(char *) "control", NULL
23821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23823 if (!SWIG_IsOK(res1
)) {
23824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23826 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23827 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23828 if (!SWIG_IsOK(ecode2
)) {
23829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
23831 arg2
= static_cast< size_t >(val2
);
23832 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
23833 if (!SWIG_IsOK(res3
)) {
23834 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
23836 arg3
= reinterpret_cast< wxControl
* >(argp3
);
23838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23839 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
23840 wxPyEndAllowThreads(__tstate
);
23841 if (PyErr_Occurred()) SWIG_fail
;
23844 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23852 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23853 PyObject
*resultobj
= 0;
23854 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23856 wxControl
*result
= 0 ;
23861 PyObject
* obj0
= 0 ;
23862 PyObject
* obj1
= 0 ;
23863 char * kwnames
[] = {
23864 (char *) "self",(char *) "id", NULL
23867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23869 if (!SWIG_IsOK(res1
)) {
23870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23872 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23873 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23874 if (!SWIG_IsOK(ecode2
)) {
23875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
23877 arg2
= static_cast< int >(val2
);
23879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23880 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
23881 wxPyEndAllowThreads(__tstate
);
23882 if (PyErr_Occurred()) SWIG_fail
;
23885 resultobj
= wxPyMake_wxObject(result
, 0);
23893 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23894 PyObject
*resultobj
= 0;
23895 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23896 wxToolBarToolBase
*result
= 0 ;
23899 PyObject
*swig_obj
[1] ;
23901 if (!args
) SWIG_fail
;
23902 swig_obj
[0] = args
;
23903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23904 if (!SWIG_IsOK(res1
)) {
23905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23907 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23910 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
23911 wxPyEndAllowThreads(__tstate
);
23912 if (PyErr_Occurred()) SWIG_fail
;
23915 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23923 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23924 PyObject
*resultobj
= 0;
23925 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23927 wxToolBarToolBase
*result
= 0 ;
23932 PyObject
* obj0
= 0 ;
23933 PyObject
* obj1
= 0 ;
23934 char * kwnames
[] = {
23935 (char *) "self",(char *) "pos", NULL
23938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23940 if (!SWIG_IsOK(res1
)) {
23941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23943 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23944 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23945 if (!SWIG_IsOK(ecode2
)) {
23946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
23948 arg2
= static_cast< size_t >(val2
);
23950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23951 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
23952 wxPyEndAllowThreads(__tstate
);
23953 if (PyErr_Occurred()) SWIG_fail
;
23956 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23964 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23965 PyObject
*resultobj
= 0;
23966 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23968 wxToolBarToolBase
*result
= 0 ;
23973 PyObject
* obj0
= 0 ;
23974 PyObject
* obj1
= 0 ;
23975 char * kwnames
[] = {
23976 (char *) "self",(char *) "id", NULL
23979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23981 if (!SWIG_IsOK(res1
)) {
23982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23984 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23985 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23986 if (!SWIG_IsOK(ecode2
)) {
23987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
23989 arg2
= static_cast< int >(val2
);
23991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23992 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
23993 wxPyEndAllowThreads(__tstate
);
23994 if (PyErr_Occurred()) SWIG_fail
;
23997 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24005 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24006 PyObject
*resultobj
= 0;
24007 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24014 PyObject
* obj0
= 0 ;
24015 PyObject
* obj1
= 0 ;
24016 char * kwnames
[] = {
24017 (char *) "self",(char *) "pos", NULL
24020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24022 if (!SWIG_IsOK(res1
)) {
24023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24025 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24026 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24027 if (!SWIG_IsOK(ecode2
)) {
24028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24030 arg2
= static_cast< size_t >(val2
);
24032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24033 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24034 wxPyEndAllowThreads(__tstate
);
24035 if (PyErr_Occurred()) SWIG_fail
;
24038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24046 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24047 PyObject
*resultobj
= 0;
24048 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24055 PyObject
* obj0
= 0 ;
24056 PyObject
* obj1
= 0 ;
24057 char * kwnames
[] = {
24058 (char *) "self",(char *) "id", NULL
24061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24063 if (!SWIG_IsOK(res1
)) {
24064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24066 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24068 if (!SWIG_IsOK(ecode2
)) {
24069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24071 arg2
= static_cast< int >(val2
);
24073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24074 result
= (bool)(arg1
)->DeleteTool(arg2
);
24075 wxPyEndAllowThreads(__tstate
);
24076 if (PyErr_Occurred()) SWIG_fail
;
24079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24087 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24088 PyObject
*resultobj
= 0;
24089 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24092 PyObject
*swig_obj
[1] ;
24094 if (!args
) SWIG_fail
;
24095 swig_obj
[0] = args
;
24096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24097 if (!SWIG_IsOK(res1
)) {
24098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24100 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24103 (arg1
)->ClearTools();
24104 wxPyEndAllowThreads(__tstate
);
24105 if (PyErr_Occurred()) SWIG_fail
;
24107 resultobj
= SWIG_Py_Void();
24114 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24115 PyObject
*resultobj
= 0;
24116 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24120 PyObject
*swig_obj
[1] ;
24122 if (!args
) SWIG_fail
;
24123 swig_obj
[0] = args
;
24124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24125 if (!SWIG_IsOK(res1
)) {
24126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24128 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24131 result
= (bool)(arg1
)->Realize();
24132 wxPyEndAllowThreads(__tstate
);
24133 if (PyErr_Occurred()) SWIG_fail
;
24136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24144 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24145 PyObject
*resultobj
= 0;
24146 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24155 PyObject
* obj0
= 0 ;
24156 PyObject
* obj1
= 0 ;
24157 PyObject
* obj2
= 0 ;
24158 char * kwnames
[] = {
24159 (char *) "self",(char *) "id",(char *) "enable", NULL
24162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24164 if (!SWIG_IsOK(res1
)) {
24165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24167 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24168 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24169 if (!SWIG_IsOK(ecode2
)) {
24170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24172 arg2
= static_cast< int >(val2
);
24173 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24174 if (!SWIG_IsOK(ecode3
)) {
24175 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24177 arg3
= static_cast< bool >(val3
);
24179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24180 (arg1
)->EnableTool(arg2
,arg3
);
24181 wxPyEndAllowThreads(__tstate
);
24182 if (PyErr_Occurred()) SWIG_fail
;
24184 resultobj
= SWIG_Py_Void();
24191 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24192 PyObject
*resultobj
= 0;
24193 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24202 PyObject
* obj0
= 0 ;
24203 PyObject
* obj1
= 0 ;
24204 PyObject
* obj2
= 0 ;
24205 char * kwnames
[] = {
24206 (char *) "self",(char *) "id",(char *) "toggle", NULL
24209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24211 if (!SWIG_IsOK(res1
)) {
24212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24214 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24216 if (!SWIG_IsOK(ecode2
)) {
24217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24219 arg2
= static_cast< int >(val2
);
24220 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24221 if (!SWIG_IsOK(ecode3
)) {
24222 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24224 arg3
= static_cast< bool >(val3
);
24226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24227 (arg1
)->ToggleTool(arg2
,arg3
);
24228 wxPyEndAllowThreads(__tstate
);
24229 if (PyErr_Occurred()) SWIG_fail
;
24231 resultobj
= SWIG_Py_Void();
24238 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24239 PyObject
*resultobj
= 0;
24240 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24249 PyObject
* obj0
= 0 ;
24250 PyObject
* obj1
= 0 ;
24251 PyObject
* obj2
= 0 ;
24252 char * kwnames
[] = {
24253 (char *) "self",(char *) "id",(char *) "toggle", NULL
24256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24258 if (!SWIG_IsOK(res1
)) {
24259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24261 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24262 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24263 if (!SWIG_IsOK(ecode2
)) {
24264 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24266 arg2
= static_cast< int >(val2
);
24267 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24268 if (!SWIG_IsOK(ecode3
)) {
24269 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24271 arg3
= static_cast< bool >(val3
);
24273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24274 (arg1
)->SetToggle(arg2
,arg3
);
24275 wxPyEndAllowThreads(__tstate
);
24276 if (PyErr_Occurred()) SWIG_fail
;
24278 resultobj
= SWIG_Py_Void();
24285 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24286 PyObject
*resultobj
= 0;
24287 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24289 PyObject
*result
= 0 ;
24294 PyObject
* obj0
= 0 ;
24295 PyObject
* obj1
= 0 ;
24296 char * kwnames
[] = {
24297 (char *) "self",(char *) "id", NULL
24300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24302 if (!SWIG_IsOK(res1
)) {
24303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24305 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24306 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24307 if (!SWIG_IsOK(ecode2
)) {
24308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24310 arg2
= static_cast< int >(val2
);
24312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24313 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24314 wxPyEndAllowThreads(__tstate
);
24315 if (PyErr_Occurred()) SWIG_fail
;
24317 resultobj
= result
;
24324 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24325 PyObject
*resultobj
= 0;
24326 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24328 PyObject
*arg3
= (PyObject
*) 0 ;
24333 PyObject
* obj0
= 0 ;
24334 PyObject
* obj1
= 0 ;
24335 PyObject
* obj2
= 0 ;
24336 char * kwnames
[] = {
24337 (char *) "self",(char *) "id",(char *) "clientData", NULL
24340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24342 if (!SWIG_IsOK(res1
)) {
24343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24345 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24346 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24347 if (!SWIG_IsOK(ecode2
)) {
24348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24350 arg2
= static_cast< int >(val2
);
24353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24354 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24355 wxPyEndAllowThreads(__tstate
);
24356 if (PyErr_Occurred()) SWIG_fail
;
24358 resultobj
= SWIG_Py_Void();
24365 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24366 PyObject
*resultobj
= 0;
24367 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24374 PyObject
* obj0
= 0 ;
24375 PyObject
* obj1
= 0 ;
24376 char * kwnames
[] = {
24377 (char *) "self",(char *) "id", NULL
24380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24382 if (!SWIG_IsOK(res1
)) {
24383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24385 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24386 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24387 if (!SWIG_IsOK(ecode2
)) {
24388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24390 arg2
= static_cast< int >(val2
);
24392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24393 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24394 wxPyEndAllowThreads(__tstate
);
24395 if (PyErr_Occurred()) SWIG_fail
;
24397 resultobj
= SWIG_From_int(static_cast< int >(result
));
24404 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24405 PyObject
*resultobj
= 0;
24406 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24413 PyObject
* obj0
= 0 ;
24414 PyObject
* obj1
= 0 ;
24415 char * kwnames
[] = {
24416 (char *) "self",(char *) "id", NULL
24419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24421 if (!SWIG_IsOK(res1
)) {
24422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24424 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24425 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24426 if (!SWIG_IsOK(ecode2
)) {
24427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24429 arg2
= static_cast< int >(val2
);
24431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24432 result
= (bool)(arg1
)->GetToolState(arg2
);
24433 wxPyEndAllowThreads(__tstate
);
24434 if (PyErr_Occurred()) SWIG_fail
;
24437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24445 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24446 PyObject
*resultobj
= 0;
24447 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24454 PyObject
* obj0
= 0 ;
24455 PyObject
* obj1
= 0 ;
24456 char * kwnames
[] = {
24457 (char *) "self",(char *) "id", NULL
24460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24462 if (!SWIG_IsOK(res1
)) {
24463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24465 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24467 if (!SWIG_IsOK(ecode2
)) {
24468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24470 arg2
= static_cast< int >(val2
);
24472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24473 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24474 wxPyEndAllowThreads(__tstate
);
24475 if (PyErr_Occurred()) SWIG_fail
;
24478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24486 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24487 PyObject
*resultobj
= 0;
24488 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24490 wxString
*arg3
= 0 ;
24495 bool temp3
= false ;
24496 PyObject
* obj0
= 0 ;
24497 PyObject
* obj1
= 0 ;
24498 PyObject
* obj2
= 0 ;
24499 char * kwnames
[] = {
24500 (char *) "self",(char *) "id",(char *) "helpString", NULL
24503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24505 if (!SWIG_IsOK(res1
)) {
24506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24508 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24509 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24510 if (!SWIG_IsOK(ecode2
)) {
24511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24513 arg2
= static_cast< int >(val2
);
24515 arg3
= wxString_in_helper(obj2
);
24516 if (arg3
== NULL
) SWIG_fail
;
24520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24521 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24522 wxPyEndAllowThreads(__tstate
);
24523 if (PyErr_Occurred()) SWIG_fail
;
24525 resultobj
= SWIG_Py_Void();
24540 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24541 PyObject
*resultobj
= 0;
24542 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24549 PyObject
* obj0
= 0 ;
24550 PyObject
* obj1
= 0 ;
24551 char * kwnames
[] = {
24552 (char *) "self",(char *) "id", NULL
24555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24557 if (!SWIG_IsOK(res1
)) {
24558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24560 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24561 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24562 if (!SWIG_IsOK(ecode2
)) {
24563 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24565 arg2
= static_cast< int >(val2
);
24567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24568 result
= (arg1
)->GetToolShortHelp(arg2
);
24569 wxPyEndAllowThreads(__tstate
);
24570 if (PyErr_Occurred()) SWIG_fail
;
24574 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24576 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24585 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24586 PyObject
*resultobj
= 0;
24587 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24589 wxString
*arg3
= 0 ;
24594 bool temp3
= false ;
24595 PyObject
* obj0
= 0 ;
24596 PyObject
* obj1
= 0 ;
24597 PyObject
* obj2
= 0 ;
24598 char * kwnames
[] = {
24599 (char *) "self",(char *) "id",(char *) "helpString", NULL
24602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24604 if (!SWIG_IsOK(res1
)) {
24605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24607 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24608 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24609 if (!SWIG_IsOK(ecode2
)) {
24610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24612 arg2
= static_cast< int >(val2
);
24614 arg3
= wxString_in_helper(obj2
);
24615 if (arg3
== NULL
) SWIG_fail
;
24619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24620 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
24621 wxPyEndAllowThreads(__tstate
);
24622 if (PyErr_Occurred()) SWIG_fail
;
24624 resultobj
= SWIG_Py_Void();
24639 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24640 PyObject
*resultobj
= 0;
24641 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24648 PyObject
* obj0
= 0 ;
24649 PyObject
* obj1
= 0 ;
24650 char * kwnames
[] = {
24651 (char *) "self",(char *) "id", NULL
24654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24656 if (!SWIG_IsOK(res1
)) {
24657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24659 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24660 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24661 if (!SWIG_IsOK(ecode2
)) {
24662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24664 arg2
= static_cast< int >(val2
);
24666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24667 result
= (arg1
)->GetToolLongHelp(arg2
);
24668 wxPyEndAllowThreads(__tstate
);
24669 if (PyErr_Occurred()) SWIG_fail
;
24673 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24675 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24684 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24685 PyObject
*resultobj
= 0;
24686 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24695 PyObject
* obj0
= 0 ;
24696 PyObject
* obj1
= 0 ;
24697 PyObject
* obj2
= 0 ;
24698 char * kwnames
[] = {
24699 (char *) "self",(char *) "x",(char *) "y", NULL
24702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24704 if (!SWIG_IsOK(res1
)) {
24705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24707 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24708 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24709 if (!SWIG_IsOK(ecode2
)) {
24710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
24712 arg2
= static_cast< int >(val2
);
24713 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24714 if (!SWIG_IsOK(ecode3
)) {
24715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
24717 arg3
= static_cast< int >(val3
);
24719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24720 (arg1
)->SetMargins(arg2
,arg3
);
24721 wxPyEndAllowThreads(__tstate
);
24722 if (PyErr_Occurred()) SWIG_fail
;
24724 resultobj
= SWIG_Py_Void();
24731 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24732 PyObject
*resultobj
= 0;
24733 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24738 PyObject
* obj0
= 0 ;
24739 PyObject
* obj1
= 0 ;
24740 char * kwnames
[] = {
24741 (char *) "self",(char *) "size", NULL
24744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24746 if (!SWIG_IsOK(res1
)) {
24747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24749 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24752 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24756 (arg1
)->SetMargins((wxSize
const &)*arg2
);
24757 wxPyEndAllowThreads(__tstate
);
24758 if (PyErr_Occurred()) SWIG_fail
;
24760 resultobj
= SWIG_Py_Void();
24767 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24768 PyObject
*resultobj
= 0;
24769 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24775 PyObject
* obj0
= 0 ;
24776 PyObject
* obj1
= 0 ;
24777 char * kwnames
[] = {
24778 (char *) "self",(char *) "packing", NULL
24781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24783 if (!SWIG_IsOK(res1
)) {
24784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24786 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24787 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24788 if (!SWIG_IsOK(ecode2
)) {
24789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
24791 arg2
= static_cast< int >(val2
);
24793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24794 (arg1
)->SetToolPacking(arg2
);
24795 wxPyEndAllowThreads(__tstate
);
24796 if (PyErr_Occurred()) SWIG_fail
;
24798 resultobj
= SWIG_Py_Void();
24805 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24806 PyObject
*resultobj
= 0;
24807 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24813 PyObject
* obj0
= 0 ;
24814 PyObject
* obj1
= 0 ;
24815 char * kwnames
[] = {
24816 (char *) "self",(char *) "separation", NULL
24819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24821 if (!SWIG_IsOK(res1
)) {
24822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24824 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24825 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24826 if (!SWIG_IsOK(ecode2
)) {
24827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
24829 arg2
= static_cast< int >(val2
);
24831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24832 (arg1
)->SetToolSeparation(arg2
);
24833 wxPyEndAllowThreads(__tstate
);
24834 if (PyErr_Occurred()) SWIG_fail
;
24836 resultobj
= SWIG_Py_Void();
24843 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24844 PyObject
*resultobj
= 0;
24845 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24849 PyObject
*swig_obj
[1] ;
24851 if (!args
) SWIG_fail
;
24852 swig_obj
[0] = args
;
24853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24854 if (!SWIG_IsOK(res1
)) {
24855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24857 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24860 result
= (arg1
)->GetToolMargins();
24861 wxPyEndAllowThreads(__tstate
);
24862 if (PyErr_Occurred()) SWIG_fail
;
24864 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24871 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24872 PyObject
*resultobj
= 0;
24873 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24877 PyObject
*swig_obj
[1] ;
24879 if (!args
) SWIG_fail
;
24880 swig_obj
[0] = args
;
24881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24882 if (!SWIG_IsOK(res1
)) {
24883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24885 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24888 result
= (arg1
)->GetMargins();
24889 wxPyEndAllowThreads(__tstate
);
24890 if (PyErr_Occurred()) SWIG_fail
;
24892 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24899 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24900 PyObject
*resultobj
= 0;
24901 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24905 PyObject
*swig_obj
[1] ;
24907 if (!args
) SWIG_fail
;
24908 swig_obj
[0] = args
;
24909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24910 if (!SWIG_IsOK(res1
)) {
24911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24913 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24916 result
= (int)(arg1
)->GetToolPacking();
24917 wxPyEndAllowThreads(__tstate
);
24918 if (PyErr_Occurred()) SWIG_fail
;
24920 resultobj
= SWIG_From_int(static_cast< int >(result
));
24927 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24928 PyObject
*resultobj
= 0;
24929 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24933 PyObject
*swig_obj
[1] ;
24935 if (!args
) SWIG_fail
;
24936 swig_obj
[0] = args
;
24937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24938 if (!SWIG_IsOK(res1
)) {
24939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24941 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24944 result
= (int)(arg1
)->GetToolSeparation();
24945 wxPyEndAllowThreads(__tstate
);
24946 if (PyErr_Occurred()) SWIG_fail
;
24948 resultobj
= SWIG_From_int(static_cast< int >(result
));
24955 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24956 PyObject
*resultobj
= 0;
24957 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24963 PyObject
* obj0
= 0 ;
24964 PyObject
* obj1
= 0 ;
24965 char * kwnames
[] = {
24966 (char *) "self",(char *) "nRows", NULL
24969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24971 if (!SWIG_IsOK(res1
)) {
24972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24974 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24975 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24976 if (!SWIG_IsOK(ecode2
)) {
24977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
24979 arg2
= static_cast< int >(val2
);
24981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24982 (arg1
)->SetRows(arg2
);
24983 wxPyEndAllowThreads(__tstate
);
24984 if (PyErr_Occurred()) SWIG_fail
;
24986 resultobj
= SWIG_Py_Void();
24993 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24994 PyObject
*resultobj
= 0;
24995 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25004 PyObject
* obj0
= 0 ;
25005 PyObject
* obj1
= 0 ;
25006 PyObject
* obj2
= 0 ;
25007 char * kwnames
[] = {
25008 (char *) "self",(char *) "rows",(char *) "cols", NULL
25011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25013 if (!SWIG_IsOK(res1
)) {
25014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25016 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25017 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25018 if (!SWIG_IsOK(ecode2
)) {
25019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25021 arg2
= static_cast< int >(val2
);
25022 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25023 if (!SWIG_IsOK(ecode3
)) {
25024 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25026 arg3
= static_cast< int >(val3
);
25028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25029 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25030 wxPyEndAllowThreads(__tstate
);
25031 if (PyErr_Occurred()) SWIG_fail
;
25033 resultobj
= SWIG_Py_Void();
25040 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25041 PyObject
*resultobj
= 0;
25042 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25046 PyObject
*swig_obj
[1] ;
25048 if (!args
) SWIG_fail
;
25049 swig_obj
[0] = args
;
25050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25051 if (!SWIG_IsOK(res1
)) {
25052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25054 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25057 result
= (int)(arg1
)->GetMaxRows();
25058 wxPyEndAllowThreads(__tstate
);
25059 if (PyErr_Occurred()) SWIG_fail
;
25061 resultobj
= SWIG_From_int(static_cast< int >(result
));
25068 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25069 PyObject
*resultobj
= 0;
25070 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25074 PyObject
*swig_obj
[1] ;
25076 if (!args
) SWIG_fail
;
25077 swig_obj
[0] = args
;
25078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25079 if (!SWIG_IsOK(res1
)) {
25080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25082 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25085 result
= (int)(arg1
)->GetMaxCols();
25086 wxPyEndAllowThreads(__tstate
);
25087 if (PyErr_Occurred()) SWIG_fail
;
25089 resultobj
= SWIG_From_int(static_cast< int >(result
));
25096 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25097 PyObject
*resultobj
= 0;
25098 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25103 PyObject
* obj0
= 0 ;
25104 PyObject
* obj1
= 0 ;
25105 char * kwnames
[] = {
25106 (char *) "self",(char *) "size", NULL
25109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25111 if (!SWIG_IsOK(res1
)) {
25112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25114 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25117 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25121 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25122 wxPyEndAllowThreads(__tstate
);
25123 if (PyErr_Occurred()) SWIG_fail
;
25125 resultobj
= SWIG_Py_Void();
25132 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25133 PyObject
*resultobj
= 0;
25134 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25138 PyObject
*swig_obj
[1] ;
25140 if (!args
) SWIG_fail
;
25141 swig_obj
[0] = args
;
25142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25143 if (!SWIG_IsOK(res1
)) {
25144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25146 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25149 result
= (arg1
)->GetToolBitmapSize();
25150 wxPyEndAllowThreads(__tstate
);
25151 if (PyErr_Occurred()) SWIG_fail
;
25153 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25160 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25161 PyObject
*resultobj
= 0;
25162 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25166 PyObject
*swig_obj
[1] ;
25168 if (!args
) SWIG_fail
;
25169 swig_obj
[0] = args
;
25170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25171 if (!SWIG_IsOK(res1
)) {
25172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25174 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25177 result
= (arg1
)->GetToolSize();
25178 wxPyEndAllowThreads(__tstate
);
25179 if (PyErr_Occurred()) SWIG_fail
;
25181 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25188 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25189 PyObject
*resultobj
= 0;
25190 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25193 wxToolBarToolBase
*result
= 0 ;
25200 PyObject
* obj0
= 0 ;
25201 PyObject
* obj1
= 0 ;
25202 PyObject
* obj2
= 0 ;
25203 char * kwnames
[] = {
25204 (char *) "self",(char *) "x",(char *) "y", NULL
25207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25209 if (!SWIG_IsOK(res1
)) {
25210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25212 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25213 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25214 if (!SWIG_IsOK(ecode2
)) {
25215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25217 arg2
= static_cast< int >(val2
);
25218 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25219 if (!SWIG_IsOK(ecode3
)) {
25220 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25222 arg3
= static_cast< int >(val3
);
25224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25225 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25226 wxPyEndAllowThreads(__tstate
);
25227 if (PyErr_Occurred()) SWIG_fail
;
25230 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25238 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25239 PyObject
*resultobj
= 0;
25240 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25242 wxToolBarToolBase
*result
= 0 ;
25247 PyObject
* obj0
= 0 ;
25248 PyObject
* obj1
= 0 ;
25249 char * kwnames
[] = {
25250 (char *) "self",(char *) "toolid", NULL
25253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25255 if (!SWIG_IsOK(res1
)) {
25256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25258 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25259 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25260 if (!SWIG_IsOK(ecode2
)) {
25261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25263 arg2
= static_cast< int >(val2
);
25265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25266 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25267 wxPyEndAllowThreads(__tstate
);
25268 if (PyErr_Occurred()) SWIG_fail
;
25271 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25279 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25280 PyObject
*resultobj
= 0;
25281 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25285 PyObject
*swig_obj
[1] ;
25287 if (!args
) SWIG_fail
;
25288 swig_obj
[0] = args
;
25289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25290 if (!SWIG_IsOK(res1
)) {
25291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25293 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25296 result
= (bool)(arg1
)->IsVertical();
25297 wxPyEndAllowThreads(__tstate
);
25298 if (PyErr_Occurred()) SWIG_fail
;
25301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25309 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25310 PyObject
*resultobj
= 0;
25311 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25315 PyObject
*swig_obj
[1] ;
25317 if (!args
) SWIG_fail
;
25318 swig_obj
[0] = args
;
25319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25320 if (!SWIG_IsOK(res1
)) {
25321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25323 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25326 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25327 wxPyEndAllowThreads(__tstate
);
25328 if (PyErr_Occurred()) SWIG_fail
;
25330 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25337 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25339 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25340 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25341 return SWIG_Py_Void();
25344 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25345 PyObject
*resultobj
= 0;
25346 wxWindow
*arg1
= (wxWindow
*) 0 ;
25347 int arg2
= (int) -1 ;
25348 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25349 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25350 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25351 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25352 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25353 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25354 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25355 wxToolBar
*result
= 0 ;
25364 bool temp6
= false ;
25365 PyObject
* obj0
= 0 ;
25366 PyObject
* obj1
= 0 ;
25367 PyObject
* obj2
= 0 ;
25368 PyObject
* obj3
= 0 ;
25369 PyObject
* obj4
= 0 ;
25370 PyObject
* obj5
= 0 ;
25371 char * kwnames
[] = {
25372 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25377 if (!SWIG_IsOK(res1
)) {
25378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25380 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25382 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25383 if (!SWIG_IsOK(ecode2
)) {
25384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25386 arg2
= static_cast< int >(val2
);
25391 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25397 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25401 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25402 if (!SWIG_IsOK(ecode5
)) {
25403 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25405 arg5
= static_cast< long >(val5
);
25409 arg6
= wxString_in_helper(obj5
);
25410 if (arg6
== NULL
) SWIG_fail
;
25415 if (!wxPyCheckForApp()) SWIG_fail
;
25416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25417 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25418 wxPyEndAllowThreads(__tstate
);
25419 if (PyErr_Occurred()) SWIG_fail
;
25421 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25436 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25437 PyObject
*resultobj
= 0;
25438 wxToolBar
*result
= 0 ;
25440 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25442 if (!wxPyCheckForApp()) SWIG_fail
;
25443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25444 result
= (wxToolBar
*)new wxToolBar();
25445 wxPyEndAllowThreads(__tstate
);
25446 if (PyErr_Occurred()) SWIG_fail
;
25448 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25455 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25456 PyObject
*resultobj
= 0;
25457 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25458 wxWindow
*arg2
= (wxWindow
*) 0 ;
25459 int arg3
= (int) -1 ;
25460 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25461 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25462 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25463 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25464 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25465 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25466 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25478 bool temp7
= false ;
25479 PyObject
* obj0
= 0 ;
25480 PyObject
* obj1
= 0 ;
25481 PyObject
* obj2
= 0 ;
25482 PyObject
* obj3
= 0 ;
25483 PyObject
* obj4
= 0 ;
25484 PyObject
* obj5
= 0 ;
25485 PyObject
* obj6
= 0 ;
25486 char * kwnames
[] = {
25487 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25492 if (!SWIG_IsOK(res1
)) {
25493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25495 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25496 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25497 if (!SWIG_IsOK(res2
)) {
25498 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25500 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25502 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25503 if (!SWIG_IsOK(ecode3
)) {
25504 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25506 arg3
= static_cast< int >(val3
);
25511 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25517 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25521 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25522 if (!SWIG_IsOK(ecode6
)) {
25523 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25525 arg6
= static_cast< long >(val6
);
25529 arg7
= wxString_in_helper(obj6
);
25530 if (arg7
== NULL
) SWIG_fail
;
25535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25536 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25537 wxPyEndAllowThreads(__tstate
);
25538 if (PyErr_Occurred()) SWIG_fail
;
25541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25557 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25558 PyObject
*resultobj
= 0;
25559 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25560 SwigValueWrapper
<wxVisualAttributes
> result
;
25563 PyObject
* obj0
= 0 ;
25564 char * kwnames
[] = {
25565 (char *) "variant", NULL
25568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25570 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25571 if (!SWIG_IsOK(ecode1
)) {
25572 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25574 arg1
= static_cast< wxWindowVariant
>(val1
);
25577 if (!wxPyCheckForApp()) SWIG_fail
;
25578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25579 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
25580 wxPyEndAllowThreads(__tstate
);
25581 if (PyErr_Occurred()) SWIG_fail
;
25583 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25590 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25592 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25593 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
25594 return SWIG_Py_Void();
25597 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25598 return SWIG_Python_InitShadowInstance(args
);
25601 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
25602 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
25607 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
25608 PyObject
*pyobj
= 0;
25612 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25614 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25621 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25622 PyObject
*resultobj
= 0;
25623 wxColour
const &arg1_defvalue
= wxNullColour
;
25624 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
25625 wxColour
const &arg2_defvalue
= wxNullColour
;
25626 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
25627 wxFont
const &arg3_defvalue
= wxNullFont
;
25628 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
25629 wxListItemAttr
*result
= 0 ;
25634 PyObject
* obj0
= 0 ;
25635 PyObject
* obj1
= 0 ;
25636 PyObject
* obj2
= 0 ;
25637 char * kwnames
[] = {
25638 (char *) "colText",(char *) "colBack",(char *) "font", NULL
25641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25645 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
25651 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25655 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
25656 if (!SWIG_IsOK(res3
)) {
25657 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25660 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25662 arg3
= reinterpret_cast< wxFont
* >(argp3
);
25665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25666 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
25667 wxPyEndAllowThreads(__tstate
);
25668 if (PyErr_Occurred()) SWIG_fail
;
25670 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
25677 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25678 PyObject
*resultobj
= 0;
25679 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25682 PyObject
*swig_obj
[1] ;
25684 if (!args
) SWIG_fail
;
25685 swig_obj
[0] = args
;
25686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
25687 if (!SWIG_IsOK(res1
)) {
25688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25690 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25695 wxPyEndAllowThreads(__tstate
);
25696 if (PyErr_Occurred()) SWIG_fail
;
25698 resultobj
= SWIG_Py_Void();
25705 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25706 PyObject
*resultobj
= 0;
25707 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25708 wxColour
*arg2
= 0 ;
25712 PyObject
* obj0
= 0 ;
25713 PyObject
* obj1
= 0 ;
25714 char * kwnames
[] = {
25715 (char *) "self",(char *) "colText", NULL
25718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25720 if (!SWIG_IsOK(res1
)) {
25721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25723 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25726 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25730 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25731 wxPyEndAllowThreads(__tstate
);
25732 if (PyErr_Occurred()) SWIG_fail
;
25734 resultobj
= SWIG_Py_Void();
25741 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25742 PyObject
*resultobj
= 0;
25743 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25744 wxColour
*arg2
= 0 ;
25748 PyObject
* obj0
= 0 ;
25749 PyObject
* obj1
= 0 ;
25750 char * kwnames
[] = {
25751 (char *) "self",(char *) "colBack", NULL
25754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25756 if (!SWIG_IsOK(res1
)) {
25757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25759 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25762 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25766 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25767 wxPyEndAllowThreads(__tstate
);
25768 if (PyErr_Occurred()) SWIG_fail
;
25770 resultobj
= SWIG_Py_Void();
25777 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25778 PyObject
*resultobj
= 0;
25779 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25785 PyObject
* obj0
= 0 ;
25786 PyObject
* obj1
= 0 ;
25787 char * kwnames
[] = {
25788 (char *) "self",(char *) "font", NULL
25791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25793 if (!SWIG_IsOK(res1
)) {
25794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25796 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25797 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
25798 if (!SWIG_IsOK(res2
)) {
25799 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25802 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25804 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25807 (arg1
)->SetFont((wxFont
const &)*arg2
);
25808 wxPyEndAllowThreads(__tstate
);
25809 if (PyErr_Occurred()) SWIG_fail
;
25811 resultobj
= SWIG_Py_Void();
25818 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25819 PyObject
*resultobj
= 0;
25820 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25824 PyObject
*swig_obj
[1] ;
25826 if (!args
) SWIG_fail
;
25827 swig_obj
[0] = args
;
25828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25829 if (!SWIG_IsOK(res1
)) {
25830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25832 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25835 result
= (bool)(arg1
)->HasTextColour();
25836 wxPyEndAllowThreads(__tstate
);
25837 if (PyErr_Occurred()) SWIG_fail
;
25840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25848 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25849 PyObject
*resultobj
= 0;
25850 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25854 PyObject
*swig_obj
[1] ;
25856 if (!args
) SWIG_fail
;
25857 swig_obj
[0] = args
;
25858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25859 if (!SWIG_IsOK(res1
)) {
25860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25862 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25865 result
= (bool)(arg1
)->HasBackgroundColour();
25866 wxPyEndAllowThreads(__tstate
);
25867 if (PyErr_Occurred()) SWIG_fail
;
25870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25878 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25879 PyObject
*resultobj
= 0;
25880 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25884 PyObject
*swig_obj
[1] ;
25886 if (!args
) SWIG_fail
;
25887 swig_obj
[0] = args
;
25888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25889 if (!SWIG_IsOK(res1
)) {
25890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25892 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25895 result
= (bool)(arg1
)->HasFont();
25896 wxPyEndAllowThreads(__tstate
);
25897 if (PyErr_Occurred()) SWIG_fail
;
25900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25908 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25909 PyObject
*resultobj
= 0;
25910 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25914 PyObject
*swig_obj
[1] ;
25916 if (!args
) SWIG_fail
;
25917 swig_obj
[0] = args
;
25918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25919 if (!SWIG_IsOK(res1
)) {
25920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25922 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25925 result
= (arg1
)->GetTextColour();
25926 wxPyEndAllowThreads(__tstate
);
25927 if (PyErr_Occurred()) SWIG_fail
;
25929 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25936 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25937 PyObject
*resultobj
= 0;
25938 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25942 PyObject
*swig_obj
[1] ;
25944 if (!args
) SWIG_fail
;
25945 swig_obj
[0] = args
;
25946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25947 if (!SWIG_IsOK(res1
)) {
25948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25950 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25953 result
= (arg1
)->GetBackgroundColour();
25954 wxPyEndAllowThreads(__tstate
);
25955 if (PyErr_Occurred()) SWIG_fail
;
25957 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25964 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25965 PyObject
*resultobj
= 0;
25966 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25970 PyObject
*swig_obj
[1] ;
25972 if (!args
) SWIG_fail
;
25973 swig_obj
[0] = args
;
25974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25975 if (!SWIG_IsOK(res1
)) {
25976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25978 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25981 result
= (arg1
)->GetFont();
25982 wxPyEndAllowThreads(__tstate
);
25983 if (PyErr_Occurred()) SWIG_fail
;
25985 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
25992 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25993 PyObject
*resultobj
= 0;
25994 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25995 wxListItemAttr
*arg2
= 0 ;
26000 PyObject
* obj0
= 0 ;
26001 PyObject
* obj1
= 0 ;
26002 char * kwnames
[] = {
26003 (char *) "self",(char *) "source", NULL
26006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26008 if (!SWIG_IsOK(res1
)) {
26009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26011 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26012 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26013 if (!SWIG_IsOK(res2
)) {
26014 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26017 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26019 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26022 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26023 wxPyEndAllowThreads(__tstate
);
26024 if (PyErr_Occurred()) SWIG_fail
;
26026 resultobj
= SWIG_Py_Void();
26033 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26034 PyObject
*resultobj
= 0;
26035 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26038 PyObject
*swig_obj
[1] ;
26040 if (!args
) SWIG_fail
;
26041 swig_obj
[0] = args
;
26042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26043 if (!SWIG_IsOK(res1
)) {
26044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26046 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26049 wxListItemAttr_Destroy(arg1
);
26050 wxPyEndAllowThreads(__tstate
);
26051 if (PyErr_Occurred()) SWIG_fail
;
26053 resultobj
= SWIG_Py_Void();
26060 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26062 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26063 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26064 return SWIG_Py_Void();
26067 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26068 return SWIG_Python_InitShadowInstance(args
);
26071 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26072 PyObject
*resultobj
= 0;
26073 wxListItem
*result
= 0 ;
26075 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26078 result
= (wxListItem
*)new wxListItem();
26079 wxPyEndAllowThreads(__tstate
);
26080 if (PyErr_Occurred()) SWIG_fail
;
26083 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
26091 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26092 PyObject
*resultobj
= 0;
26093 wxListItem
*arg1
= (wxListItem
*) 0 ;
26096 PyObject
*swig_obj
[1] ;
26098 if (!args
) SWIG_fail
;
26099 swig_obj
[0] = args
;
26100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26101 if (!SWIG_IsOK(res1
)) {
26102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26104 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26109 wxPyEndAllowThreads(__tstate
);
26110 if (PyErr_Occurred()) SWIG_fail
;
26112 resultobj
= SWIG_Py_Void();
26119 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26120 PyObject
*resultobj
= 0;
26121 wxListItem
*arg1
= (wxListItem
*) 0 ;
26124 PyObject
*swig_obj
[1] ;
26126 if (!args
) SWIG_fail
;
26127 swig_obj
[0] = args
;
26128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26129 if (!SWIG_IsOK(res1
)) {
26130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26132 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26136 wxPyEndAllowThreads(__tstate
);
26137 if (PyErr_Occurred()) SWIG_fail
;
26139 resultobj
= SWIG_Py_Void();
26146 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26147 PyObject
*resultobj
= 0;
26148 wxListItem
*arg1
= (wxListItem
*) 0 ;
26151 PyObject
*swig_obj
[1] ;
26153 if (!args
) SWIG_fail
;
26154 swig_obj
[0] = args
;
26155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26156 if (!SWIG_IsOK(res1
)) {
26157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26159 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26162 (arg1
)->ClearAttributes();
26163 wxPyEndAllowThreads(__tstate
);
26164 if (PyErr_Occurred()) SWIG_fail
;
26166 resultobj
= SWIG_Py_Void();
26173 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26174 PyObject
*resultobj
= 0;
26175 wxListItem
*arg1
= (wxListItem
*) 0 ;
26181 PyObject
* obj0
= 0 ;
26182 PyObject
* obj1
= 0 ;
26183 char * kwnames
[] = {
26184 (char *) "self",(char *) "mask", NULL
26187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26189 if (!SWIG_IsOK(res1
)) {
26190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26192 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26193 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26194 if (!SWIG_IsOK(ecode2
)) {
26195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26197 arg2
= static_cast< long >(val2
);
26199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26200 (arg1
)->SetMask(arg2
);
26201 wxPyEndAllowThreads(__tstate
);
26202 if (PyErr_Occurred()) SWIG_fail
;
26204 resultobj
= SWIG_Py_Void();
26211 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26212 PyObject
*resultobj
= 0;
26213 wxListItem
*arg1
= (wxListItem
*) 0 ;
26219 PyObject
* obj0
= 0 ;
26220 PyObject
* obj1
= 0 ;
26221 char * kwnames
[] = {
26222 (char *) "self",(char *) "id", NULL
26225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26227 if (!SWIG_IsOK(res1
)) {
26228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26230 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26231 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26232 if (!SWIG_IsOK(ecode2
)) {
26233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26235 arg2
= static_cast< long >(val2
);
26237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26238 (arg1
)->SetId(arg2
);
26239 wxPyEndAllowThreads(__tstate
);
26240 if (PyErr_Occurred()) SWIG_fail
;
26242 resultobj
= SWIG_Py_Void();
26249 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(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 *) "col", NULL
26263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",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_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26268 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26269 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26270 if (!SWIG_IsOK(ecode2
)) {
26271 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26273 arg2
= static_cast< int >(val2
);
26275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26276 (arg1
)->SetColumn(arg2
);
26277 wxPyEndAllowThreads(__tstate
);
26278 if (PyErr_Occurred()) SWIG_fail
;
26280 resultobj
= SWIG_Py_Void();
26287 SWIGINTERN PyObject
*_wrap_ListItem_SetState(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 *) "state", NULL
26301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",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_SetState" "', 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_SetState" "', expected argument " "2"" of type '" "long""'");
26311 arg2
= static_cast< long >(val2
);
26313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26314 (arg1
)->SetState(arg2
);
26315 wxPyEndAllowThreads(__tstate
);
26316 if (PyErr_Occurred()) SWIG_fail
;
26318 resultobj
= SWIG_Py_Void();
26325 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(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 *) "stateMask", NULL
26339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",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_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26344 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26345 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26346 if (!SWIG_IsOK(ecode2
)) {
26347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26349 arg2
= static_cast< long >(val2
);
26351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26352 (arg1
)->SetStateMask(arg2
);
26353 wxPyEndAllowThreads(__tstate
);
26354 if (PyErr_Occurred()) SWIG_fail
;
26356 resultobj
= SWIG_Py_Void();
26363 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26364 PyObject
*resultobj
= 0;
26365 wxListItem
*arg1
= (wxListItem
*) 0 ;
26366 wxString
*arg2
= 0 ;
26369 bool temp2
= false ;
26370 PyObject
* obj0
= 0 ;
26371 PyObject
* obj1
= 0 ;
26372 char * kwnames
[] = {
26373 (char *) "self",(char *) "text", NULL
26376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26378 if (!SWIG_IsOK(res1
)) {
26379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26381 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26383 arg2
= wxString_in_helper(obj1
);
26384 if (arg2
== NULL
) SWIG_fail
;
26388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26389 (arg1
)->SetText((wxString
const &)*arg2
);
26390 wxPyEndAllowThreads(__tstate
);
26391 if (PyErr_Occurred()) SWIG_fail
;
26393 resultobj
= SWIG_Py_Void();
26408 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26409 PyObject
*resultobj
= 0;
26410 wxListItem
*arg1
= (wxListItem
*) 0 ;
26416 PyObject
* obj0
= 0 ;
26417 PyObject
* obj1
= 0 ;
26418 char * kwnames
[] = {
26419 (char *) "self",(char *) "image", NULL
26422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26424 if (!SWIG_IsOK(res1
)) {
26425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26427 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26428 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26429 if (!SWIG_IsOK(ecode2
)) {
26430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26432 arg2
= static_cast< int >(val2
);
26434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26435 (arg1
)->SetImage(arg2
);
26436 wxPyEndAllowThreads(__tstate
);
26437 if (PyErr_Occurred()) SWIG_fail
;
26439 resultobj
= SWIG_Py_Void();
26446 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26447 PyObject
*resultobj
= 0;
26448 wxListItem
*arg1
= (wxListItem
*) 0 ;
26454 PyObject
* obj0
= 0 ;
26455 PyObject
* obj1
= 0 ;
26456 char * kwnames
[] = {
26457 (char *) "self",(char *) "data", NULL
26460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26462 if (!SWIG_IsOK(res1
)) {
26463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26465 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26466 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26467 if (!SWIG_IsOK(ecode2
)) {
26468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26470 arg2
= static_cast< long >(val2
);
26472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26473 (arg1
)->SetData(arg2
);
26474 wxPyEndAllowThreads(__tstate
);
26475 if (PyErr_Occurred()) SWIG_fail
;
26477 resultobj
= SWIG_Py_Void();
26484 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(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 *) "width", NULL
26498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",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_SetWidth" "', 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_SetWidth" "', expected argument " "2"" of type '" "int""'");
26508 arg2
= static_cast< int >(val2
);
26510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26511 (arg1
)->SetWidth(arg2
);
26512 wxPyEndAllowThreads(__tstate
);
26513 if (PyErr_Occurred()) SWIG_fail
;
26515 resultobj
= SWIG_Py_Void();
26522 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26523 PyObject
*resultobj
= 0;
26524 wxListItem
*arg1
= (wxListItem
*) 0 ;
26525 wxListColumnFormat arg2
;
26530 PyObject
* obj0
= 0 ;
26531 PyObject
* obj1
= 0 ;
26532 char * kwnames
[] = {
26533 (char *) "self",(char *) "align", NULL
26536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",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_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26541 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26542 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26543 if (!SWIG_IsOK(ecode2
)) {
26544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26546 arg2
= static_cast< wxListColumnFormat
>(val2
);
26548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26549 (arg1
)->SetAlign(arg2
);
26550 wxPyEndAllowThreads(__tstate
);
26551 if (PyErr_Occurred()) SWIG_fail
;
26553 resultobj
= SWIG_Py_Void();
26560 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26561 PyObject
*resultobj
= 0;
26562 wxListItem
*arg1
= (wxListItem
*) 0 ;
26563 wxColour
*arg2
= 0 ;
26567 PyObject
* obj0
= 0 ;
26568 PyObject
* obj1
= 0 ;
26569 char * kwnames
[] = {
26570 (char *) "self",(char *) "colText", NULL
26573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26575 if (!SWIG_IsOK(res1
)) {
26576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26578 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26581 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26585 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26586 wxPyEndAllowThreads(__tstate
);
26587 if (PyErr_Occurred()) SWIG_fail
;
26589 resultobj
= SWIG_Py_Void();
26596 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26597 PyObject
*resultobj
= 0;
26598 wxListItem
*arg1
= (wxListItem
*) 0 ;
26599 wxColour
*arg2
= 0 ;
26603 PyObject
* obj0
= 0 ;
26604 PyObject
* obj1
= 0 ;
26605 char * kwnames
[] = {
26606 (char *) "self",(char *) "colBack", NULL
26609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26611 if (!SWIG_IsOK(res1
)) {
26612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26614 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26617 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26621 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26622 wxPyEndAllowThreads(__tstate
);
26623 if (PyErr_Occurred()) SWIG_fail
;
26625 resultobj
= SWIG_Py_Void();
26632 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26633 PyObject
*resultobj
= 0;
26634 wxListItem
*arg1
= (wxListItem
*) 0 ;
26640 PyObject
* obj0
= 0 ;
26641 PyObject
* obj1
= 0 ;
26642 char * kwnames
[] = {
26643 (char *) "self",(char *) "font", NULL
26646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26648 if (!SWIG_IsOK(res1
)) {
26649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
26651 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26652 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26653 if (!SWIG_IsOK(res2
)) {
26654 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26657 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26659 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26662 (arg1
)->SetFont((wxFont
const &)*arg2
);
26663 wxPyEndAllowThreads(__tstate
);
26664 if (PyErr_Occurred()) SWIG_fail
;
26666 resultobj
= SWIG_Py_Void();
26673 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26674 PyObject
*resultobj
= 0;
26675 wxListItem
*arg1
= (wxListItem
*) 0 ;
26679 PyObject
*swig_obj
[1] ;
26681 if (!args
) SWIG_fail
;
26682 swig_obj
[0] = args
;
26683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26684 if (!SWIG_IsOK(res1
)) {
26685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26687 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26690 result
= (long)(arg1
)->GetMask();
26691 wxPyEndAllowThreads(__tstate
);
26692 if (PyErr_Occurred()) SWIG_fail
;
26694 resultobj
= SWIG_From_long(static_cast< long >(result
));
26701 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26702 PyObject
*resultobj
= 0;
26703 wxListItem
*arg1
= (wxListItem
*) 0 ;
26707 PyObject
*swig_obj
[1] ;
26709 if (!args
) SWIG_fail
;
26710 swig_obj
[0] = args
;
26711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26712 if (!SWIG_IsOK(res1
)) {
26713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26715 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26718 result
= (long)(arg1
)->GetId();
26719 wxPyEndAllowThreads(__tstate
);
26720 if (PyErr_Occurred()) SWIG_fail
;
26722 resultobj
= SWIG_From_long(static_cast< long >(result
));
26729 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26730 PyObject
*resultobj
= 0;
26731 wxListItem
*arg1
= (wxListItem
*) 0 ;
26735 PyObject
*swig_obj
[1] ;
26737 if (!args
) SWIG_fail
;
26738 swig_obj
[0] = args
;
26739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26740 if (!SWIG_IsOK(res1
)) {
26741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26743 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26746 result
= (int)(arg1
)->GetColumn();
26747 wxPyEndAllowThreads(__tstate
);
26748 if (PyErr_Occurred()) SWIG_fail
;
26750 resultobj
= SWIG_From_int(static_cast< int >(result
));
26757 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26758 PyObject
*resultobj
= 0;
26759 wxListItem
*arg1
= (wxListItem
*) 0 ;
26763 PyObject
*swig_obj
[1] ;
26765 if (!args
) SWIG_fail
;
26766 swig_obj
[0] = args
;
26767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26768 if (!SWIG_IsOK(res1
)) {
26769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26771 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26774 result
= (long)(arg1
)->GetState();
26775 wxPyEndAllowThreads(__tstate
);
26776 if (PyErr_Occurred()) SWIG_fail
;
26778 resultobj
= SWIG_From_long(static_cast< long >(result
));
26785 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26786 PyObject
*resultobj
= 0;
26787 wxListItem
*arg1
= (wxListItem
*) 0 ;
26788 wxString
*result
= 0 ;
26791 PyObject
*swig_obj
[1] ;
26793 if (!args
) SWIG_fail
;
26794 swig_obj
[0] = args
;
26795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26796 if (!SWIG_IsOK(res1
)) {
26797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26799 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26803 wxString
const &_result_ref
= (arg1
)->GetText();
26804 result
= (wxString
*) &_result_ref
;
26806 wxPyEndAllowThreads(__tstate
);
26807 if (PyErr_Occurred()) SWIG_fail
;
26811 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
26813 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
26822 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26823 PyObject
*resultobj
= 0;
26824 wxListItem
*arg1
= (wxListItem
*) 0 ;
26828 PyObject
*swig_obj
[1] ;
26830 if (!args
) SWIG_fail
;
26831 swig_obj
[0] = args
;
26832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26833 if (!SWIG_IsOK(res1
)) {
26834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26836 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26839 result
= (int)(arg1
)->GetImage();
26840 wxPyEndAllowThreads(__tstate
);
26841 if (PyErr_Occurred()) SWIG_fail
;
26843 resultobj
= SWIG_From_int(static_cast< int >(result
));
26850 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26851 PyObject
*resultobj
= 0;
26852 wxListItem
*arg1
= (wxListItem
*) 0 ;
26856 PyObject
*swig_obj
[1] ;
26858 if (!args
) SWIG_fail
;
26859 swig_obj
[0] = args
;
26860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26861 if (!SWIG_IsOK(res1
)) {
26862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26864 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26867 result
= (long)(arg1
)->GetData();
26868 wxPyEndAllowThreads(__tstate
);
26869 if (PyErr_Occurred()) SWIG_fail
;
26871 resultobj
= SWIG_From_long(static_cast< long >(result
));
26878 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26879 PyObject
*resultobj
= 0;
26880 wxListItem
*arg1
= (wxListItem
*) 0 ;
26884 PyObject
*swig_obj
[1] ;
26886 if (!args
) SWIG_fail
;
26887 swig_obj
[0] = args
;
26888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26889 if (!SWIG_IsOK(res1
)) {
26890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26892 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26895 result
= (int)(arg1
)->GetWidth();
26896 wxPyEndAllowThreads(__tstate
);
26897 if (PyErr_Occurred()) SWIG_fail
;
26899 resultobj
= SWIG_From_int(static_cast< int >(result
));
26906 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26907 PyObject
*resultobj
= 0;
26908 wxListItem
*arg1
= (wxListItem
*) 0 ;
26909 wxListColumnFormat result
;
26912 PyObject
*swig_obj
[1] ;
26914 if (!args
) SWIG_fail
;
26915 swig_obj
[0] = args
;
26916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26917 if (!SWIG_IsOK(res1
)) {
26918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26920 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26923 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
26924 wxPyEndAllowThreads(__tstate
);
26925 if (PyErr_Occurred()) SWIG_fail
;
26927 resultobj
= SWIG_From_int(static_cast< int >(result
));
26934 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26935 PyObject
*resultobj
= 0;
26936 wxListItem
*arg1
= (wxListItem
*) 0 ;
26937 wxListItemAttr
*result
= 0 ;
26940 PyObject
*swig_obj
[1] ;
26942 if (!args
) SWIG_fail
;
26943 swig_obj
[0] = args
;
26944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26945 if (!SWIG_IsOK(res1
)) {
26946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26948 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26951 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
26952 wxPyEndAllowThreads(__tstate
);
26953 if (PyErr_Occurred()) SWIG_fail
;
26955 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26962 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26963 PyObject
*resultobj
= 0;
26964 wxListItem
*arg1
= (wxListItem
*) 0 ;
26968 PyObject
*swig_obj
[1] ;
26970 if (!args
) SWIG_fail
;
26971 swig_obj
[0] = args
;
26972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26973 if (!SWIG_IsOK(res1
)) {
26974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26976 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26979 result
= (bool)(arg1
)->HasAttributes();
26980 wxPyEndAllowThreads(__tstate
);
26981 if (PyErr_Occurred()) SWIG_fail
;
26984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26992 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26993 PyObject
*resultobj
= 0;
26994 wxListItem
*arg1
= (wxListItem
*) 0 ;
26998 PyObject
*swig_obj
[1] ;
27000 if (!args
) SWIG_fail
;
27001 swig_obj
[0] = args
;
27002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27003 if (!SWIG_IsOK(res1
)) {
27004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27006 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27009 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27010 wxPyEndAllowThreads(__tstate
);
27011 if (PyErr_Occurred()) SWIG_fail
;
27013 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27020 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27021 PyObject
*resultobj
= 0;
27022 wxListItem
*arg1
= (wxListItem
*) 0 ;
27026 PyObject
*swig_obj
[1] ;
27028 if (!args
) SWIG_fail
;
27029 swig_obj
[0] = args
;
27030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27031 if (!SWIG_IsOK(res1
)) {
27032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27034 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27037 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27038 wxPyEndAllowThreads(__tstate
);
27039 if (PyErr_Occurred()) SWIG_fail
;
27041 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27048 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27049 PyObject
*resultobj
= 0;
27050 wxListItem
*arg1
= (wxListItem
*) 0 ;
27054 PyObject
*swig_obj
[1] ;
27056 if (!args
) SWIG_fail
;
27057 swig_obj
[0] = args
;
27058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27059 if (!SWIG_IsOK(res1
)) {
27060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27062 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27065 result
= ((wxListItem
const *)arg1
)->GetFont();
27066 wxPyEndAllowThreads(__tstate
);
27067 if (PyErr_Occurred()) SWIG_fail
;
27069 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27076 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27077 PyObject
*resultobj
= 0;
27078 wxListItem
*arg1
= (wxListItem
*) 0 ;
27084 PyObject
*swig_obj
[2] ;
27086 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27088 if (!SWIG_IsOK(res1
)) {
27089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27091 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27092 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27093 if (!SWIG_IsOK(ecode2
)) {
27094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27096 arg2
= static_cast< long >(val2
);
27097 if (arg1
) (arg1
)->m_mask
= arg2
;
27099 resultobj
= SWIG_Py_Void();
27106 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27107 PyObject
*resultobj
= 0;
27108 wxListItem
*arg1
= (wxListItem
*) 0 ;
27112 PyObject
*swig_obj
[1] ;
27114 if (!args
) SWIG_fail
;
27115 swig_obj
[0] = args
;
27116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27117 if (!SWIG_IsOK(res1
)) {
27118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27120 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27121 result
= (long) ((arg1
)->m_mask
);
27122 resultobj
= SWIG_From_long(static_cast< long >(result
));
27129 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27130 PyObject
*resultobj
= 0;
27131 wxListItem
*arg1
= (wxListItem
*) 0 ;
27137 PyObject
*swig_obj
[2] ;
27139 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27141 if (!SWIG_IsOK(res1
)) {
27142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27144 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27145 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27146 if (!SWIG_IsOK(ecode2
)) {
27147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27149 arg2
= static_cast< long >(val2
);
27150 if (arg1
) (arg1
)->m_itemId
= arg2
;
27152 resultobj
= SWIG_Py_Void();
27159 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27160 PyObject
*resultobj
= 0;
27161 wxListItem
*arg1
= (wxListItem
*) 0 ;
27165 PyObject
*swig_obj
[1] ;
27167 if (!args
) SWIG_fail
;
27168 swig_obj
[0] = args
;
27169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27170 if (!SWIG_IsOK(res1
)) {
27171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27173 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27174 result
= (long) ((arg1
)->m_itemId
);
27175 resultobj
= SWIG_From_long(static_cast< long >(result
));
27182 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27183 PyObject
*resultobj
= 0;
27184 wxListItem
*arg1
= (wxListItem
*) 0 ;
27190 PyObject
*swig_obj
[2] ;
27192 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27194 if (!SWIG_IsOK(res1
)) {
27195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27197 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27198 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27199 if (!SWIG_IsOK(ecode2
)) {
27200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27202 arg2
= static_cast< int >(val2
);
27203 if (arg1
) (arg1
)->m_col
= arg2
;
27205 resultobj
= SWIG_Py_Void();
27212 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27213 PyObject
*resultobj
= 0;
27214 wxListItem
*arg1
= (wxListItem
*) 0 ;
27218 PyObject
*swig_obj
[1] ;
27220 if (!args
) SWIG_fail
;
27221 swig_obj
[0] = args
;
27222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27223 if (!SWIG_IsOK(res1
)) {
27224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27226 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27227 result
= (int) ((arg1
)->m_col
);
27228 resultobj
= SWIG_From_int(static_cast< int >(result
));
27235 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27236 PyObject
*resultobj
= 0;
27237 wxListItem
*arg1
= (wxListItem
*) 0 ;
27243 PyObject
*swig_obj
[2] ;
27245 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27247 if (!SWIG_IsOK(res1
)) {
27248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27250 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27251 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27252 if (!SWIG_IsOK(ecode2
)) {
27253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27255 arg2
= static_cast< long >(val2
);
27256 if (arg1
) (arg1
)->m_state
= arg2
;
27258 resultobj
= SWIG_Py_Void();
27265 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27266 PyObject
*resultobj
= 0;
27267 wxListItem
*arg1
= (wxListItem
*) 0 ;
27271 PyObject
*swig_obj
[1] ;
27273 if (!args
) SWIG_fail
;
27274 swig_obj
[0] = args
;
27275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27276 if (!SWIG_IsOK(res1
)) {
27277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27279 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27280 result
= (long) ((arg1
)->m_state
);
27281 resultobj
= SWIG_From_long(static_cast< long >(result
));
27288 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27289 PyObject
*resultobj
= 0;
27290 wxListItem
*arg1
= (wxListItem
*) 0 ;
27296 PyObject
*swig_obj
[2] ;
27298 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27300 if (!SWIG_IsOK(res1
)) {
27301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27303 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27304 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27305 if (!SWIG_IsOK(ecode2
)) {
27306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27308 arg2
= static_cast< long >(val2
);
27309 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27311 resultobj
= SWIG_Py_Void();
27318 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27319 PyObject
*resultobj
= 0;
27320 wxListItem
*arg1
= (wxListItem
*) 0 ;
27324 PyObject
*swig_obj
[1] ;
27326 if (!args
) SWIG_fail
;
27327 swig_obj
[0] = args
;
27328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27329 if (!SWIG_IsOK(res1
)) {
27330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27332 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27333 result
= (long) ((arg1
)->m_stateMask
);
27334 resultobj
= SWIG_From_long(static_cast< long >(result
));
27341 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27342 PyObject
*resultobj
= 0;
27343 wxListItem
*arg1
= (wxListItem
*) 0 ;
27344 wxString
*arg2
= (wxString
*) 0 ;
27347 bool temp2
= false ;
27348 PyObject
*swig_obj
[2] ;
27350 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
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_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27355 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27357 arg2
= wxString_in_helper(swig_obj
[1]);
27358 if (arg2
== NULL
) SWIG_fail
;
27361 if (arg1
) (arg1
)->m_text
= *arg2
;
27363 resultobj
= SWIG_Py_Void();
27378 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27379 PyObject
*resultobj
= 0;
27380 wxListItem
*arg1
= (wxListItem
*) 0 ;
27381 wxString
*result
= 0 ;
27384 PyObject
*swig_obj
[1] ;
27386 if (!args
) SWIG_fail
;
27387 swig_obj
[0] = args
;
27388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27389 if (!SWIG_IsOK(res1
)) {
27390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27392 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27393 result
= (wxString
*)& ((arg1
)->m_text
);
27396 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27398 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27407 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27408 PyObject
*resultobj
= 0;
27409 wxListItem
*arg1
= (wxListItem
*) 0 ;
27415 PyObject
*swig_obj
[2] ;
27417 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27419 if (!SWIG_IsOK(res1
)) {
27420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27422 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27423 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27424 if (!SWIG_IsOK(ecode2
)) {
27425 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27427 arg2
= static_cast< int >(val2
);
27428 if (arg1
) (arg1
)->m_image
= arg2
;
27430 resultobj
= SWIG_Py_Void();
27437 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27438 PyObject
*resultobj
= 0;
27439 wxListItem
*arg1
= (wxListItem
*) 0 ;
27443 PyObject
*swig_obj
[1] ;
27445 if (!args
) SWIG_fail
;
27446 swig_obj
[0] = args
;
27447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27448 if (!SWIG_IsOK(res1
)) {
27449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27451 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27452 result
= (int) ((arg1
)->m_image
);
27453 resultobj
= SWIG_From_int(static_cast< int >(result
));
27460 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27461 PyObject
*resultobj
= 0;
27462 wxListItem
*arg1
= (wxListItem
*) 0 ;
27468 PyObject
*swig_obj
[2] ;
27470 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27472 if (!SWIG_IsOK(res1
)) {
27473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27475 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27476 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27477 if (!SWIG_IsOK(ecode2
)) {
27478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27480 arg2
= static_cast< long >(val2
);
27481 if (arg1
) (arg1
)->m_data
= arg2
;
27483 resultobj
= SWIG_Py_Void();
27490 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27491 PyObject
*resultobj
= 0;
27492 wxListItem
*arg1
= (wxListItem
*) 0 ;
27496 PyObject
*swig_obj
[1] ;
27498 if (!args
) SWIG_fail
;
27499 swig_obj
[0] = args
;
27500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27501 if (!SWIG_IsOK(res1
)) {
27502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27504 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27505 result
= (long) ((arg1
)->m_data
);
27506 resultobj
= SWIG_From_long(static_cast< long >(result
));
27513 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27514 PyObject
*resultobj
= 0;
27515 wxListItem
*arg1
= (wxListItem
*) 0 ;
27521 PyObject
*swig_obj
[2] ;
27523 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27525 if (!SWIG_IsOK(res1
)) {
27526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27528 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27529 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27530 if (!SWIG_IsOK(ecode2
)) {
27531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27533 arg2
= static_cast< int >(val2
);
27534 if (arg1
) (arg1
)->m_format
= arg2
;
27536 resultobj
= SWIG_Py_Void();
27543 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27544 PyObject
*resultobj
= 0;
27545 wxListItem
*arg1
= (wxListItem
*) 0 ;
27549 PyObject
*swig_obj
[1] ;
27551 if (!args
) SWIG_fail
;
27552 swig_obj
[0] = args
;
27553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27554 if (!SWIG_IsOK(res1
)) {
27555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27557 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27558 result
= (int) ((arg1
)->m_format
);
27559 resultobj
= SWIG_From_int(static_cast< int >(result
));
27566 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27567 PyObject
*resultobj
= 0;
27568 wxListItem
*arg1
= (wxListItem
*) 0 ;
27574 PyObject
*swig_obj
[2] ;
27576 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
27577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27578 if (!SWIG_IsOK(res1
)) {
27579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27581 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27582 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27583 if (!SWIG_IsOK(ecode2
)) {
27584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27586 arg2
= static_cast< int >(val2
);
27587 if (arg1
) (arg1
)->m_width
= arg2
;
27589 resultobj
= SWIG_Py_Void();
27596 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27597 PyObject
*resultobj
= 0;
27598 wxListItem
*arg1
= (wxListItem
*) 0 ;
27602 PyObject
*swig_obj
[1] ;
27604 if (!args
) SWIG_fail
;
27605 swig_obj
[0] = args
;
27606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27607 if (!SWIG_IsOK(res1
)) {
27608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27610 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27611 result
= (int) ((arg1
)->m_width
);
27612 resultobj
= SWIG_From_int(static_cast< int >(result
));
27619 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27621 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27622 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
27623 return SWIG_Py_Void();
27626 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27627 return SWIG_Python_InitShadowInstance(args
);
27630 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27631 PyObject
*resultobj
= 0;
27632 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27633 int arg2
= (int) 0 ;
27634 wxListEvent
*result
= 0 ;
27639 PyObject
* obj0
= 0 ;
27640 PyObject
* obj1
= 0 ;
27641 char * kwnames
[] = {
27642 (char *) "commandType",(char *) "id", NULL
27645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27647 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27648 if (!SWIG_IsOK(ecode1
)) {
27649 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27651 arg1
= static_cast< wxEventType
>(val1
);
27654 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27655 if (!SWIG_IsOK(ecode2
)) {
27656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
27658 arg2
= static_cast< int >(val2
);
27661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27662 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
27663 wxPyEndAllowThreads(__tstate
);
27664 if (PyErr_Occurred()) SWIG_fail
;
27666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
27673 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27674 PyObject
*resultobj
= 0;
27675 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27681 PyObject
*swig_obj
[2] ;
27683 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
27684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27685 if (!SWIG_IsOK(res1
)) {
27686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27688 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27689 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27690 if (!SWIG_IsOK(ecode2
)) {
27691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
27693 arg2
= static_cast< int >(val2
);
27694 if (arg1
) (arg1
)->m_code
= arg2
;
27696 resultobj
= SWIG_Py_Void();
27703 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27704 PyObject
*resultobj
= 0;
27705 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27709 PyObject
*swig_obj
[1] ;
27711 if (!args
) SWIG_fail
;
27712 swig_obj
[0] = args
;
27713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27714 if (!SWIG_IsOK(res1
)) {
27715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27717 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27718 result
= (int) ((arg1
)->m_code
);
27719 resultobj
= SWIG_From_int(static_cast< int >(result
));
27726 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27727 PyObject
*resultobj
= 0;
27728 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27734 PyObject
*swig_obj
[2] ;
27736 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27738 if (!SWIG_IsOK(res1
)) {
27739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27741 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27742 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27743 if (!SWIG_IsOK(ecode2
)) {
27744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
27746 arg2
= static_cast< long >(val2
);
27747 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
27749 resultobj
= SWIG_Py_Void();
27756 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27757 PyObject
*resultobj
= 0;
27758 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27762 PyObject
*swig_obj
[1] ;
27764 if (!args
) SWIG_fail
;
27765 swig_obj
[0] = args
;
27766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27767 if (!SWIG_IsOK(res1
)) {
27768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27770 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27771 result
= (long) ((arg1
)->m_oldItemIndex
);
27772 resultobj
= SWIG_From_long(static_cast< long >(result
));
27779 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27780 PyObject
*resultobj
= 0;
27781 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27787 PyObject
*swig_obj
[2] ;
27789 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27791 if (!SWIG_IsOK(res1
)) {
27792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27794 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27795 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27796 if (!SWIG_IsOK(ecode2
)) {
27797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
27799 arg2
= static_cast< long >(val2
);
27800 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
27802 resultobj
= SWIG_Py_Void();
27809 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27810 PyObject
*resultobj
= 0;
27811 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27815 PyObject
*swig_obj
[1] ;
27817 if (!args
) SWIG_fail
;
27818 swig_obj
[0] = args
;
27819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27820 if (!SWIG_IsOK(res1
)) {
27821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27823 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27824 result
= (long) ((arg1
)->m_itemIndex
);
27825 resultobj
= SWIG_From_long(static_cast< long >(result
));
27832 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27833 PyObject
*resultobj
= 0;
27834 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27840 PyObject
*swig_obj
[2] ;
27842 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27844 if (!SWIG_IsOK(res1
)) {
27845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27847 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27848 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27849 if (!SWIG_IsOK(ecode2
)) {
27850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
27852 arg2
= static_cast< int >(val2
);
27853 if (arg1
) (arg1
)->m_col
= arg2
;
27855 resultobj
= SWIG_Py_Void();
27862 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27863 PyObject
*resultobj
= 0;
27864 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27868 PyObject
*swig_obj
[1] ;
27870 if (!args
) SWIG_fail
;
27871 swig_obj
[0] = args
;
27872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27873 if (!SWIG_IsOK(res1
)) {
27874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27876 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27877 result
= (int) ((arg1
)->m_col
);
27878 resultobj
= SWIG_From_int(static_cast< int >(result
));
27885 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27886 PyObject
*resultobj
= 0;
27887 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27888 wxPoint
*arg2
= (wxPoint
*) 0 ;
27893 PyObject
*swig_obj
[2] ;
27895 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
27896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27897 if (!SWIG_IsOK(res1
)) {
27898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27900 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27901 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
27902 if (!SWIG_IsOK(res2
)) {
27903 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
27905 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
27906 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
27908 resultobj
= SWIG_Py_Void();
27915 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27916 PyObject
*resultobj
= 0;
27917 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27918 wxPoint
*result
= 0 ;
27921 PyObject
*swig_obj
[1] ;
27923 if (!args
) SWIG_fail
;
27924 swig_obj
[0] = args
;
27925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27926 if (!SWIG_IsOK(res1
)) {
27927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27929 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27930 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
27931 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
27938 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27939 PyObject
*resultobj
= 0;
27940 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27941 wxListItem
*result
= 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_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27952 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27953 result
= (wxListItem
*)& ((arg1
)->m_item
);
27955 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27963 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27964 PyObject
*resultobj
= 0;
27965 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27969 PyObject
*swig_obj
[1] ;
27971 if (!args
) SWIG_fail
;
27972 swig_obj
[0] = args
;
27973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27974 if (!SWIG_IsOK(res1
)) {
27975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
27977 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27980 result
= (int)(arg1
)->GetKeyCode();
27981 wxPyEndAllowThreads(__tstate
);
27982 if (PyErr_Occurred()) SWIG_fail
;
27984 resultobj
= SWIG_From_int(static_cast< int >(result
));
27991 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27992 PyObject
*resultobj
= 0;
27993 wxListEvent
*arg1
= (wxListEvent
*) 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_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28005 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28008 result
= (long)(arg1
)->GetIndex();
28009 wxPyEndAllowThreads(__tstate
);
28010 if (PyErr_Occurred()) SWIG_fail
;
28012 resultobj
= SWIG_From_long(static_cast< long >(result
));
28019 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28020 PyObject
*resultobj
= 0;
28021 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28025 PyObject
*swig_obj
[1] ;
28027 if (!args
) SWIG_fail
;
28028 swig_obj
[0] = args
;
28029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28030 if (!SWIG_IsOK(res1
)) {
28031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28033 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28036 result
= (int)(arg1
)->GetColumn();
28037 wxPyEndAllowThreads(__tstate
);
28038 if (PyErr_Occurred()) SWIG_fail
;
28040 resultobj
= SWIG_From_int(static_cast< int >(result
));
28047 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28048 PyObject
*resultobj
= 0;
28049 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28053 PyObject
*swig_obj
[1] ;
28055 if (!args
) SWIG_fail
;
28056 swig_obj
[0] = args
;
28057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28058 if (!SWIG_IsOK(res1
)) {
28059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28061 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28064 result
= (arg1
)->GetPoint();
28065 wxPyEndAllowThreads(__tstate
);
28066 if (PyErr_Occurred()) SWIG_fail
;
28068 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28075 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28076 PyObject
*resultobj
= 0;
28077 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28078 wxString
*result
= 0 ;
28081 PyObject
*swig_obj
[1] ;
28083 if (!args
) SWIG_fail
;
28084 swig_obj
[0] = args
;
28085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28086 if (!SWIG_IsOK(res1
)) {
28087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28089 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28093 wxString
const &_result_ref
= (arg1
)->GetLabel();
28094 result
= (wxString
*) &_result_ref
;
28096 wxPyEndAllowThreads(__tstate
);
28097 if (PyErr_Occurred()) SWIG_fail
;
28101 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28103 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28112 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28113 PyObject
*resultobj
= 0;
28114 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28115 wxString
*result
= 0 ;
28118 PyObject
*swig_obj
[1] ;
28120 if (!args
) SWIG_fail
;
28121 swig_obj
[0] = args
;
28122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28123 if (!SWIG_IsOK(res1
)) {
28124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28126 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28130 wxString
const &_result_ref
= (arg1
)->GetText();
28131 result
= (wxString
*) &_result_ref
;
28133 wxPyEndAllowThreads(__tstate
);
28134 if (PyErr_Occurred()) SWIG_fail
;
28138 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28140 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28149 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28150 PyObject
*resultobj
= 0;
28151 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28155 PyObject
*swig_obj
[1] ;
28157 if (!args
) SWIG_fail
;
28158 swig_obj
[0] = args
;
28159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28160 if (!SWIG_IsOK(res1
)) {
28161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28163 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28166 result
= (int)(arg1
)->GetImage();
28167 wxPyEndAllowThreads(__tstate
);
28168 if (PyErr_Occurred()) SWIG_fail
;
28170 resultobj
= SWIG_From_int(static_cast< int >(result
));
28177 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28178 PyObject
*resultobj
= 0;
28179 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28183 PyObject
*swig_obj
[1] ;
28185 if (!args
) SWIG_fail
;
28186 swig_obj
[0] = args
;
28187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28188 if (!SWIG_IsOK(res1
)) {
28189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28191 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28194 result
= (long)(arg1
)->GetData();
28195 wxPyEndAllowThreads(__tstate
);
28196 if (PyErr_Occurred()) SWIG_fail
;
28198 resultobj
= SWIG_From_long(static_cast< long >(result
));
28205 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28206 PyObject
*resultobj
= 0;
28207 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28211 PyObject
*swig_obj
[1] ;
28213 if (!args
) SWIG_fail
;
28214 swig_obj
[0] = args
;
28215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28216 if (!SWIG_IsOK(res1
)) {
28217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28219 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28222 result
= (long)(arg1
)->GetMask();
28223 wxPyEndAllowThreads(__tstate
);
28224 if (PyErr_Occurred()) SWIG_fail
;
28226 resultobj
= SWIG_From_long(static_cast< long >(result
));
28233 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28234 PyObject
*resultobj
= 0;
28235 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28236 wxListItem
*result
= 0 ;
28239 PyObject
*swig_obj
[1] ;
28241 if (!args
) SWIG_fail
;
28242 swig_obj
[0] = args
;
28243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28244 if (!SWIG_IsOK(res1
)) {
28245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28247 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28251 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28252 result
= (wxListItem
*) &_result_ref
;
28254 wxPyEndAllowThreads(__tstate
);
28255 if (PyErr_Occurred()) SWIG_fail
;
28257 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28264 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28265 PyObject
*resultobj
= 0;
28266 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28270 PyObject
*swig_obj
[1] ;
28272 if (!args
) SWIG_fail
;
28273 swig_obj
[0] = args
;
28274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28275 if (!SWIG_IsOK(res1
)) {
28276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28278 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28281 result
= (long)(arg1
)->GetCacheFrom();
28282 wxPyEndAllowThreads(__tstate
);
28283 if (PyErr_Occurred()) SWIG_fail
;
28285 resultobj
= SWIG_From_long(static_cast< long >(result
));
28292 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28293 PyObject
*resultobj
= 0;
28294 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28298 PyObject
*swig_obj
[1] ;
28300 if (!args
) SWIG_fail
;
28301 swig_obj
[0] = args
;
28302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28303 if (!SWIG_IsOK(res1
)) {
28304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28306 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28309 result
= (long)(arg1
)->GetCacheTo();
28310 wxPyEndAllowThreads(__tstate
);
28311 if (PyErr_Occurred()) SWIG_fail
;
28313 resultobj
= SWIG_From_long(static_cast< long >(result
));
28320 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28321 PyObject
*resultobj
= 0;
28322 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28326 PyObject
*swig_obj
[1] ;
28328 if (!args
) SWIG_fail
;
28329 swig_obj
[0] = args
;
28330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28331 if (!SWIG_IsOK(res1
)) {
28332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28334 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28337 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28338 wxPyEndAllowThreads(__tstate
);
28339 if (PyErr_Occurred()) SWIG_fail
;
28342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28350 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28351 PyObject
*resultobj
= 0;
28352 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28358 PyObject
* obj0
= 0 ;
28359 PyObject
* obj1
= 0 ;
28360 char * kwnames
[] = {
28361 (char *) "self",(char *) "editCancelled", NULL
28364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28366 if (!SWIG_IsOK(res1
)) {
28367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28369 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28370 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28371 if (!SWIG_IsOK(ecode2
)) {
28372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28374 arg2
= static_cast< bool >(val2
);
28376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28377 (arg1
)->SetEditCanceled(arg2
);
28378 wxPyEndAllowThreads(__tstate
);
28379 if (PyErr_Occurred()) SWIG_fail
;
28381 resultobj
= SWIG_Py_Void();
28388 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28390 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28391 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28392 return SWIG_Py_Void();
28395 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28396 return SWIG_Python_InitShadowInstance(args
);
28399 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28400 PyObject
*resultobj
= 0;
28401 wxWindow
*arg1
= (wxWindow
*) 0 ;
28402 int arg2
= (int) -1 ;
28403 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28404 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28405 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28406 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28407 long arg5
= (long) wxLC_ICON
;
28408 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28409 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28410 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28411 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28412 wxPyListCtrl
*result
= 0 ;
28423 bool temp7
= false ;
28424 PyObject
* obj0
= 0 ;
28425 PyObject
* obj1
= 0 ;
28426 PyObject
* obj2
= 0 ;
28427 PyObject
* obj3
= 0 ;
28428 PyObject
* obj4
= 0 ;
28429 PyObject
* obj5
= 0 ;
28430 PyObject
* obj6
= 0 ;
28431 char * kwnames
[] = {
28432 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28437 if (!SWIG_IsOK(res1
)) {
28438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28440 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28442 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28443 if (!SWIG_IsOK(ecode2
)) {
28444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28446 arg2
= static_cast< int >(val2
);
28451 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28457 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28461 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28462 if (!SWIG_IsOK(ecode5
)) {
28463 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28465 arg5
= static_cast< long >(val5
);
28468 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28469 if (!SWIG_IsOK(res6
)) {
28470 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28473 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28475 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28479 arg7
= wxString_in_helper(obj6
);
28480 if (arg7
== NULL
) SWIG_fail
;
28485 if (!wxPyCheckForApp()) SWIG_fail
;
28486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28487 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28488 wxPyEndAllowThreads(__tstate
);
28489 if (PyErr_Occurred()) SWIG_fail
;
28491 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28506 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28507 PyObject
*resultobj
= 0;
28508 wxPyListCtrl
*result
= 0 ;
28510 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28512 if (!wxPyCheckForApp()) SWIG_fail
;
28513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28514 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28515 wxPyEndAllowThreads(__tstate
);
28516 if (PyErr_Occurred()) SWIG_fail
;
28518 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28525 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28526 PyObject
*resultobj
= 0;
28527 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28528 wxWindow
*arg2
= (wxWindow
*) 0 ;
28529 int arg3
= (int) -1 ;
28530 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28531 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28532 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28533 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28534 long arg6
= (long) wxLC_ICON
;
28535 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28536 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28537 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28538 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28552 bool temp8
= false ;
28553 PyObject
* obj0
= 0 ;
28554 PyObject
* obj1
= 0 ;
28555 PyObject
* obj2
= 0 ;
28556 PyObject
* obj3
= 0 ;
28557 PyObject
* obj4
= 0 ;
28558 PyObject
* obj5
= 0 ;
28559 PyObject
* obj6
= 0 ;
28560 PyObject
* obj7
= 0 ;
28561 char * kwnames
[] = {
28562 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28567 if (!SWIG_IsOK(res1
)) {
28568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28570 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28571 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28572 if (!SWIG_IsOK(res2
)) {
28573 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28575 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28577 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28578 if (!SWIG_IsOK(ecode3
)) {
28579 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28581 arg3
= static_cast< int >(val3
);
28586 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28592 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28596 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28597 if (!SWIG_IsOK(ecode6
)) {
28598 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28600 arg6
= static_cast< long >(val6
);
28603 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
28604 if (!SWIG_IsOK(res7
)) {
28605 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28608 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28610 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
28614 arg8
= wxString_in_helper(obj7
);
28615 if (arg8
== NULL
) SWIG_fail
;
28620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28621 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28622 wxPyEndAllowThreads(__tstate
);
28623 if (PyErr_Occurred()) SWIG_fail
;
28626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28642 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28643 PyObject
*resultobj
= 0;
28644 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28645 PyObject
*arg2
= (PyObject
*) 0 ;
28646 PyObject
*arg3
= (PyObject
*) 0 ;
28649 PyObject
* obj0
= 0 ;
28650 PyObject
* obj1
= 0 ;
28651 PyObject
* obj2
= 0 ;
28652 char * kwnames
[] = {
28653 (char *) "self",(char *) "self",(char *) "_class", NULL
28656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28658 if (!SWIG_IsOK(res1
)) {
28659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28661 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28666 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28667 wxPyEndAllowThreads(__tstate
);
28668 if (PyErr_Occurred()) SWIG_fail
;
28670 resultobj
= SWIG_Py_Void();
28677 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28678 PyObject
*resultobj
= 0;
28679 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28681 wxListItem
*result
= 0 ;
28686 PyObject
* obj0
= 0 ;
28687 PyObject
* obj1
= 0 ;
28688 char * kwnames
[] = {
28689 (char *) "self",(char *) "col", NULL
28692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28694 if (!SWIG_IsOK(res1
)) {
28695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28697 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28698 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28699 if (!SWIG_IsOK(ecode2
)) {
28700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
28702 arg2
= static_cast< int >(val2
);
28704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28705 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
28706 wxPyEndAllowThreads(__tstate
);
28707 if (PyErr_Occurred()) SWIG_fail
;
28710 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28718 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28719 PyObject
*resultobj
= 0;
28720 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28722 wxListItem
*arg3
= 0 ;
28730 PyObject
* obj0
= 0 ;
28731 PyObject
* obj1
= 0 ;
28732 PyObject
* obj2
= 0 ;
28733 char * kwnames
[] = {
28734 (char *) "self",(char *) "col",(char *) "item", NULL
28737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28739 if (!SWIG_IsOK(res1
)) {
28740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28742 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28744 if (!SWIG_IsOK(ecode2
)) {
28745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
28747 arg2
= static_cast< int >(val2
);
28748 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
28749 if (!SWIG_IsOK(res3
)) {
28750 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28753 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28755 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
28757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28758 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
28759 wxPyEndAllowThreads(__tstate
);
28760 if (PyErr_Occurred()) SWIG_fail
;
28763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28771 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28772 PyObject
*resultobj
= 0;
28773 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28780 PyObject
* obj0
= 0 ;
28781 PyObject
* obj1
= 0 ;
28782 char * kwnames
[] = {
28783 (char *) "self",(char *) "col", NULL
28786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28788 if (!SWIG_IsOK(res1
)) {
28789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28791 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28792 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28793 if (!SWIG_IsOK(ecode2
)) {
28794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28796 arg2
= static_cast< int >(val2
);
28798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28799 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
28800 wxPyEndAllowThreads(__tstate
);
28801 if (PyErr_Occurred()) SWIG_fail
;
28803 resultobj
= SWIG_From_int(static_cast< int >(result
));
28810 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28811 PyObject
*resultobj
= 0;
28812 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28822 PyObject
* obj0
= 0 ;
28823 PyObject
* obj1
= 0 ;
28824 PyObject
* obj2
= 0 ;
28825 char * kwnames
[] = {
28826 (char *) "self",(char *) "col",(char *) "width", NULL
28829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28831 if (!SWIG_IsOK(res1
)) {
28832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28834 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28835 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28836 if (!SWIG_IsOK(ecode2
)) {
28837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28839 arg2
= static_cast< int >(val2
);
28840 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28841 if (!SWIG_IsOK(ecode3
)) {
28842 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
28844 arg3
= static_cast< int >(val3
);
28846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28847 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
28848 wxPyEndAllowThreads(__tstate
);
28849 if (PyErr_Occurred()) SWIG_fail
;
28852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28860 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28861 PyObject
*resultobj
= 0;
28862 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28866 PyObject
*swig_obj
[1] ;
28868 if (!args
) SWIG_fail
;
28869 swig_obj
[0] = args
;
28870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28871 if (!SWIG_IsOK(res1
)) {
28872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28874 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28877 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
28878 wxPyEndAllowThreads(__tstate
);
28879 if (PyErr_Occurred()) SWIG_fail
;
28881 resultobj
= SWIG_From_int(static_cast< int >(result
));
28888 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28889 PyObject
*resultobj
= 0;
28890 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28894 PyObject
*swig_obj
[1] ;
28896 if (!args
) SWIG_fail
;
28897 swig_obj
[0] = args
;
28898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28899 if (!SWIG_IsOK(res1
)) {
28900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28902 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28905 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
28906 wxPyEndAllowThreads(__tstate
);
28907 if (PyErr_Occurred()) SWIG_fail
;
28909 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28916 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28917 PyObject
*resultobj
= 0;
28918 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28919 wxTextCtrl
*result
= 0 ;
28922 PyObject
*swig_obj
[1] ;
28924 if (!args
) SWIG_fail
;
28925 swig_obj
[0] = args
;
28926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28927 if (!SWIG_IsOK(res1
)) {
28928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28930 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28933 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
28934 wxPyEndAllowThreads(__tstate
);
28935 if (PyErr_Occurred()) SWIG_fail
;
28938 resultobj
= wxPyMake_wxObject(result
, 0);
28946 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28947 PyObject
*resultobj
= 0;
28948 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28950 int arg3
= (int) 0 ;
28951 wxListItem
*result
= 0 ;
28958 PyObject
* obj0
= 0 ;
28959 PyObject
* obj1
= 0 ;
28960 PyObject
* obj2
= 0 ;
28961 char * kwnames
[] = {
28962 (char *) "self",(char *) "itemId",(char *) "col", NULL
28965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28967 if (!SWIG_IsOK(res1
)) {
28968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28970 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28971 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28972 if (!SWIG_IsOK(ecode2
)) {
28973 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
28975 arg2
= static_cast< long >(val2
);
28977 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28978 if (!SWIG_IsOK(ecode3
)) {
28979 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
28981 arg3
= static_cast< int >(val3
);
28984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28985 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
28986 wxPyEndAllowThreads(__tstate
);
28987 if (PyErr_Occurred()) SWIG_fail
;
28990 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28998 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28999 PyObject
*resultobj
= 0;
29000 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29001 wxListItem
*arg2
= 0 ;
29007 PyObject
* obj0
= 0 ;
29008 PyObject
* obj1
= 0 ;
29009 char * kwnames
[] = {
29010 (char *) "self",(char *) "info", NULL
29013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29015 if (!SWIG_IsOK(res1
)) {
29016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29018 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29019 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29020 if (!SWIG_IsOK(res2
)) {
29021 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29024 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29026 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29029 result
= (bool)(arg1
)->SetItem(*arg2
);
29030 wxPyEndAllowThreads(__tstate
);
29031 if (PyErr_Occurred()) SWIG_fail
;
29034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29042 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29043 PyObject
*resultobj
= 0;
29044 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29047 wxString
*arg4
= 0 ;
29048 int arg5
= (int) -1 ;
29056 bool temp4
= false ;
29059 PyObject
* obj0
= 0 ;
29060 PyObject
* obj1
= 0 ;
29061 PyObject
* obj2
= 0 ;
29062 PyObject
* obj3
= 0 ;
29063 PyObject
* obj4
= 0 ;
29064 char * kwnames
[] = {
29065 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29070 if (!SWIG_IsOK(res1
)) {
29071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29073 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29074 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29075 if (!SWIG_IsOK(ecode2
)) {
29076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29078 arg2
= static_cast< long >(val2
);
29079 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29080 if (!SWIG_IsOK(ecode3
)) {
29081 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29083 arg3
= static_cast< int >(val3
);
29085 arg4
= wxString_in_helper(obj3
);
29086 if (arg4
== NULL
) SWIG_fail
;
29090 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29091 if (!SWIG_IsOK(ecode5
)) {
29092 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29094 arg5
= static_cast< int >(val5
);
29097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29098 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29099 wxPyEndAllowThreads(__tstate
);
29100 if (PyErr_Occurred()) SWIG_fail
;
29102 resultobj
= SWIG_From_long(static_cast< long >(result
));
29117 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29118 PyObject
*resultobj
= 0;
29119 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29129 PyObject
* obj0
= 0 ;
29130 PyObject
* obj1
= 0 ;
29131 PyObject
* obj2
= 0 ;
29132 char * kwnames
[] = {
29133 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29138 if (!SWIG_IsOK(res1
)) {
29139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29141 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29142 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29143 if (!SWIG_IsOK(ecode2
)) {
29144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29146 arg2
= static_cast< long >(val2
);
29147 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29148 if (!SWIG_IsOK(ecode3
)) {
29149 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29151 arg3
= static_cast< long >(val3
);
29153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29154 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29155 wxPyEndAllowThreads(__tstate
);
29156 if (PyErr_Occurred()) SWIG_fail
;
29158 resultobj
= SWIG_From_int(static_cast< int >(result
));
29165 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29166 PyObject
*resultobj
= 0;
29167 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29180 PyObject
* obj0
= 0 ;
29181 PyObject
* obj1
= 0 ;
29182 PyObject
* obj2
= 0 ;
29183 PyObject
* obj3
= 0 ;
29184 char * kwnames
[] = {
29185 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29190 if (!SWIG_IsOK(res1
)) {
29191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29193 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29194 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29195 if (!SWIG_IsOK(ecode2
)) {
29196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29198 arg2
= static_cast< long >(val2
);
29199 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29200 if (!SWIG_IsOK(ecode3
)) {
29201 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29203 arg3
= static_cast< long >(val3
);
29204 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29205 if (!SWIG_IsOK(ecode4
)) {
29206 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29208 arg4
= static_cast< long >(val4
);
29210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29211 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29212 wxPyEndAllowThreads(__tstate
);
29213 if (PyErr_Occurred()) SWIG_fail
;
29216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29224 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29225 PyObject
*resultobj
= 0;
29226 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29229 int arg4
= (int) -1 ;
29239 PyObject
* obj0
= 0 ;
29240 PyObject
* obj1
= 0 ;
29241 PyObject
* obj2
= 0 ;
29242 PyObject
* obj3
= 0 ;
29243 char * kwnames
[] = {
29244 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29249 if (!SWIG_IsOK(res1
)) {
29250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29252 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29253 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29254 if (!SWIG_IsOK(ecode2
)) {
29255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29257 arg2
= static_cast< long >(val2
);
29258 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29259 if (!SWIG_IsOK(ecode3
)) {
29260 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29262 arg3
= static_cast< int >(val3
);
29264 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29265 if (!SWIG_IsOK(ecode4
)) {
29266 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29268 arg4
= static_cast< int >(val4
);
29271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29272 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29273 wxPyEndAllowThreads(__tstate
);
29274 if (PyErr_Occurred()) SWIG_fail
;
29277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29285 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29286 PyObject
*resultobj
= 0;
29287 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29300 PyObject
* obj0
= 0 ;
29301 PyObject
* obj1
= 0 ;
29302 PyObject
* obj2
= 0 ;
29303 PyObject
* obj3
= 0 ;
29304 char * kwnames
[] = {
29305 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29310 if (!SWIG_IsOK(res1
)) {
29311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29313 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29314 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29315 if (!SWIG_IsOK(ecode2
)) {
29316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29318 arg2
= static_cast< long >(val2
);
29319 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29320 if (!SWIG_IsOK(ecode3
)) {
29321 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29323 arg3
= static_cast< long >(val3
);
29324 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29325 if (!SWIG_IsOK(ecode4
)) {
29326 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29328 arg4
= static_cast< int >(val4
);
29330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29331 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29332 wxPyEndAllowThreads(__tstate
);
29333 if (PyErr_Occurred()) SWIG_fail
;
29336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29344 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29345 PyObject
*resultobj
= 0;
29346 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29353 PyObject
* obj0
= 0 ;
29354 PyObject
* obj1
= 0 ;
29355 char * kwnames
[] = {
29356 (char *) "self",(char *) "item", NULL
29359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29361 if (!SWIG_IsOK(res1
)) {
29362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29364 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29365 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29366 if (!SWIG_IsOK(ecode2
)) {
29367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29369 arg2
= static_cast< long >(val2
);
29371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29372 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29373 wxPyEndAllowThreads(__tstate
);
29374 if (PyErr_Occurred()) SWIG_fail
;
29378 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29380 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29389 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29390 PyObject
*resultobj
= 0;
29391 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29393 wxString
*arg3
= 0 ;
29398 bool temp3
= false ;
29399 PyObject
* obj0
= 0 ;
29400 PyObject
* obj1
= 0 ;
29401 PyObject
* obj2
= 0 ;
29402 char * kwnames
[] = {
29403 (char *) "self",(char *) "item",(char *) "str", NULL
29406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29408 if (!SWIG_IsOK(res1
)) {
29409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29411 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29412 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29413 if (!SWIG_IsOK(ecode2
)) {
29414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29416 arg2
= static_cast< long >(val2
);
29418 arg3
= wxString_in_helper(obj2
);
29419 if (arg3
== NULL
) SWIG_fail
;
29423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29424 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29425 wxPyEndAllowThreads(__tstate
);
29426 if (PyErr_Occurred()) SWIG_fail
;
29428 resultobj
= SWIG_Py_Void();
29443 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29444 PyObject
*resultobj
= 0;
29445 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29452 PyObject
* obj0
= 0 ;
29453 PyObject
* obj1
= 0 ;
29454 char * kwnames
[] = {
29455 (char *) "self",(char *) "item", NULL
29458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29460 if (!SWIG_IsOK(res1
)) {
29461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29463 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29464 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29465 if (!SWIG_IsOK(ecode2
)) {
29466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29468 arg2
= static_cast< long >(val2
);
29470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29471 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29472 wxPyEndAllowThreads(__tstate
);
29473 if (PyErr_Occurred()) SWIG_fail
;
29475 resultobj
= SWIG_From_long(static_cast< long >(result
));
29482 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29483 PyObject
*resultobj
= 0;
29484 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29494 PyObject
* obj0
= 0 ;
29495 PyObject
* obj1
= 0 ;
29496 PyObject
* obj2
= 0 ;
29497 char * kwnames
[] = {
29498 (char *) "self",(char *) "item",(char *) "data", NULL
29501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29503 if (!SWIG_IsOK(res1
)) {
29504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29506 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29507 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29508 if (!SWIG_IsOK(ecode2
)) {
29509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29511 arg2
= static_cast< long >(val2
);
29512 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29513 if (!SWIG_IsOK(ecode3
)) {
29514 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29516 arg3
= static_cast< long >(val3
);
29518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29519 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29520 wxPyEndAllowThreads(__tstate
);
29521 if (PyErr_Occurred()) SWIG_fail
;
29524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29532 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29533 PyObject
*resultobj
= 0;
29534 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29541 PyObject
* obj0
= 0 ;
29542 PyObject
* obj1
= 0 ;
29543 char * kwnames
[] = {
29544 (char *) "self",(char *) "item", NULL
29547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29549 if (!SWIG_IsOK(res1
)) {
29550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29552 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29553 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29554 if (!SWIG_IsOK(ecode2
)) {
29555 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29557 arg2
= static_cast< long >(val2
);
29559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29560 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29561 wxPyEndAllowThreads(__tstate
);
29562 if (PyErr_Occurred()) SWIG_fail
;
29564 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29571 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29572 PyObject
*resultobj
= 0;
29573 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29575 int arg3
= (int) wxLIST_RECT_BOUNDS
;
29583 PyObject
* obj0
= 0 ;
29584 PyObject
* obj1
= 0 ;
29585 PyObject
* obj2
= 0 ;
29586 char * kwnames
[] = {
29587 (char *) "self",(char *) "item",(char *) "code", NULL
29590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29592 if (!SWIG_IsOK(res1
)) {
29593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29595 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29596 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29597 if (!SWIG_IsOK(ecode2
)) {
29598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29600 arg2
= static_cast< long >(val2
);
29602 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29603 if (!SWIG_IsOK(ecode3
)) {
29604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29606 arg3
= static_cast< int >(val3
);
29609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29610 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
29611 wxPyEndAllowThreads(__tstate
);
29612 if (PyErr_Occurred()) SWIG_fail
;
29614 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29621 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29622 PyObject
*resultobj
= 0;
29623 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29625 wxPoint
*arg3
= 0 ;
29632 PyObject
* obj0
= 0 ;
29633 PyObject
* obj1
= 0 ;
29634 PyObject
* obj2
= 0 ;
29635 char * kwnames
[] = {
29636 (char *) "self",(char *) "item",(char *) "pos", NULL
29639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29641 if (!SWIG_IsOK(res1
)) {
29642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29644 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29645 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29646 if (!SWIG_IsOK(ecode2
)) {
29647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
29649 arg2
= static_cast< long >(val2
);
29652 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29656 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
29657 wxPyEndAllowThreads(__tstate
);
29658 if (PyErr_Occurred()) SWIG_fail
;
29661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29669 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29670 PyObject
*resultobj
= 0;
29671 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29675 PyObject
*swig_obj
[1] ;
29677 if (!args
) SWIG_fail
;
29678 swig_obj
[0] = args
;
29679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29680 if (!SWIG_IsOK(res1
)) {
29681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29683 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29686 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
29687 wxPyEndAllowThreads(__tstate
);
29688 if (PyErr_Occurred()) SWIG_fail
;
29690 resultobj
= SWIG_From_int(static_cast< int >(result
));
29697 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29698 PyObject
*resultobj
= 0;
29699 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29703 PyObject
*swig_obj
[1] ;
29705 if (!args
) SWIG_fail
;
29706 swig_obj
[0] = args
;
29707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29708 if (!SWIG_IsOK(res1
)) {
29709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29711 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29714 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
29715 wxPyEndAllowThreads(__tstate
);
29716 if (PyErr_Occurred()) SWIG_fail
;
29718 resultobj
= SWIG_From_int(static_cast< int >(result
));
29725 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29726 PyObject
*resultobj
= 0;
29727 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29731 PyObject
*swig_obj
[1] ;
29733 if (!args
) SWIG_fail
;
29734 swig_obj
[0] = args
;
29735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29736 if (!SWIG_IsOK(res1
)) {
29737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29739 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29742 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
29743 wxPyEndAllowThreads(__tstate
);
29744 if (PyErr_Occurred()) SWIG_fail
;
29746 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
29753 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29754 PyObject
*resultobj
= 0;
29755 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29757 bool arg3
= (bool) false ;
29764 PyObject
* obj0
= 0 ;
29765 PyObject
* obj1
= 0 ;
29766 PyObject
* obj2
= 0 ;
29767 char * kwnames
[] = {
29768 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
29771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29773 if (!SWIG_IsOK(res1
)) {
29774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29776 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29777 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29778 if (!SWIG_IsOK(ecode2
)) {
29779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
29781 arg2
= static_cast< int >(val2
);
29783 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29784 if (!SWIG_IsOK(ecode3
)) {
29785 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
29787 arg3
= static_cast< bool >(val3
);
29790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29791 (arg1
)->SetItemSpacing(arg2
,arg3
);
29792 wxPyEndAllowThreads(__tstate
);
29793 if (PyErr_Occurred()) SWIG_fail
;
29795 resultobj
= SWIG_Py_Void();
29802 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29803 PyObject
*resultobj
= 0;
29804 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29808 PyObject
*swig_obj
[1] ;
29810 if (!args
) SWIG_fail
;
29811 swig_obj
[0] = args
;
29812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29813 if (!SWIG_IsOK(res1
)) {
29814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29816 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29819 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
29820 wxPyEndAllowThreads(__tstate
);
29821 if (PyErr_Occurred()) SWIG_fail
;
29823 resultobj
= SWIG_From_int(static_cast< int >(result
));
29830 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29831 PyObject
*resultobj
= 0;
29832 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29836 PyObject
*swig_obj
[1] ;
29838 if (!args
) SWIG_fail
;
29839 swig_obj
[0] = args
;
29840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29841 if (!SWIG_IsOK(res1
)) {
29842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29844 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29847 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
29848 wxPyEndAllowThreads(__tstate
);
29849 if (PyErr_Occurred()) SWIG_fail
;
29851 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29858 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29859 PyObject
*resultobj
= 0;
29860 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29861 wxColour
*arg2
= 0 ;
29865 PyObject
* obj0
= 0 ;
29866 PyObject
* obj1
= 0 ;
29867 char * kwnames
[] = {
29868 (char *) "self",(char *) "col", NULL
29871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29873 if (!SWIG_IsOK(res1
)) {
29874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29876 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29879 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29883 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
29884 wxPyEndAllowThreads(__tstate
);
29885 if (PyErr_Occurred()) SWIG_fail
;
29887 resultobj
= SWIG_Py_Void();
29894 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29895 PyObject
*resultobj
= 0;
29896 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29900 PyObject
*swig_obj
[1] ;
29902 if (!args
) SWIG_fail
;
29903 swig_obj
[0] = args
;
29904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29905 if (!SWIG_IsOK(res1
)) {
29906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29908 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29911 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
29912 wxPyEndAllowThreads(__tstate
);
29913 if (PyErr_Occurred()) SWIG_fail
;
29915 resultobj
= SWIG_From_long(static_cast< long >(result
));
29922 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29923 PyObject
*resultobj
= 0;
29924 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29926 bool arg3
= (bool) true ;
29933 PyObject
* obj0
= 0 ;
29934 PyObject
* obj1
= 0 ;
29935 PyObject
* obj2
= 0 ;
29936 char * kwnames
[] = {
29937 (char *) "self",(char *) "style",(char *) "add", NULL
29940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29942 if (!SWIG_IsOK(res1
)) {
29943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29945 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29946 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29947 if (!SWIG_IsOK(ecode2
)) {
29948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
29950 arg2
= static_cast< long >(val2
);
29952 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29953 if (!SWIG_IsOK(ecode3
)) {
29954 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
29956 arg3
= static_cast< bool >(val3
);
29959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29960 (arg1
)->SetSingleStyle(arg2
,arg3
);
29961 wxPyEndAllowThreads(__tstate
);
29962 if (PyErr_Occurred()) SWIG_fail
;
29964 resultobj
= SWIG_Py_Void();
29971 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29972 PyObject
*resultobj
= 0;
29973 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29975 int arg3
= (int) wxLIST_NEXT_ALL
;
29976 int arg4
= (int) wxLIST_STATE_DONTCARE
;
29986 PyObject
* obj0
= 0 ;
29987 PyObject
* obj1
= 0 ;
29988 PyObject
* obj2
= 0 ;
29989 PyObject
* obj3
= 0 ;
29990 char * kwnames
[] = {
29991 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
29994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29996 if (!SWIG_IsOK(res1
)) {
29997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29999 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30000 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30001 if (!SWIG_IsOK(ecode2
)) {
30002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30004 arg2
= static_cast< long >(val2
);
30006 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30007 if (!SWIG_IsOK(ecode3
)) {
30008 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30010 arg3
= static_cast< int >(val3
);
30013 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30014 if (!SWIG_IsOK(ecode4
)) {
30015 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30017 arg4
= static_cast< int >(val4
);
30020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30021 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30022 wxPyEndAllowThreads(__tstate
);
30023 if (PyErr_Occurred()) SWIG_fail
;
30025 resultobj
= SWIG_From_long(static_cast< long >(result
));
30032 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30033 PyObject
*resultobj
= 0;
30034 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30036 wxImageList
*result
= 0 ;
30041 PyObject
* obj0
= 0 ;
30042 PyObject
* obj1
= 0 ;
30043 char * kwnames
[] = {
30044 (char *) "self",(char *) "which", NULL
30047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30049 if (!SWIG_IsOK(res1
)) {
30050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30052 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30053 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30054 if (!SWIG_IsOK(ecode2
)) {
30055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30057 arg2
= static_cast< int >(val2
);
30059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30060 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30061 wxPyEndAllowThreads(__tstate
);
30062 if (PyErr_Occurred()) SWIG_fail
;
30065 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30073 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30074 PyObject
*resultobj
= 0;
30075 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30076 wxImageList
*arg2
= (wxImageList
*) 0 ;
30084 PyObject
* obj0
= 0 ;
30085 PyObject
* obj1
= 0 ;
30086 PyObject
* obj2
= 0 ;
30087 char * kwnames
[] = {
30088 (char *) "self",(char *) "imageList",(char *) "which", NULL
30091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30093 if (!SWIG_IsOK(res1
)) {
30094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30096 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30097 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30098 if (!SWIG_IsOK(res2
)) {
30099 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30101 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30102 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30103 if (!SWIG_IsOK(ecode3
)) {
30104 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30106 arg3
= static_cast< int >(val3
);
30108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30109 (arg1
)->SetImageList(arg2
,arg3
);
30110 wxPyEndAllowThreads(__tstate
);
30111 if (PyErr_Occurred()) SWIG_fail
;
30113 resultobj
= SWIG_Py_Void();
30120 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30121 PyObject
*resultobj
= 0;
30122 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30123 wxImageList
*arg2
= (wxImageList
*) 0 ;
30130 PyObject
* obj0
= 0 ;
30131 PyObject
* obj1
= 0 ;
30132 PyObject
* obj2
= 0 ;
30133 char * kwnames
[] = {
30134 (char *) "self",(char *) "imageList",(char *) "which", NULL
30137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30139 if (!SWIG_IsOK(res1
)) {
30140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30142 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30143 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30144 if (!SWIG_IsOK(res2
)) {
30145 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30147 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30148 if (!SWIG_IsOK(ecode3
)) {
30149 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30151 arg3
= static_cast< int >(val3
);
30153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30154 (arg1
)->AssignImageList(arg2
,arg3
);
30155 wxPyEndAllowThreads(__tstate
);
30156 if (PyErr_Occurred()) SWIG_fail
;
30158 resultobj
= SWIG_Py_Void();
30165 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30166 PyObject
*resultobj
= 0;
30167 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30171 PyObject
*swig_obj
[1] ;
30173 if (!args
) SWIG_fail
;
30174 swig_obj
[0] = args
;
30175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30176 if (!SWIG_IsOK(res1
)) {
30177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30179 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30182 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30183 wxPyEndAllowThreads(__tstate
);
30184 if (PyErr_Occurred()) SWIG_fail
;
30187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30195 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30196 PyObject
*resultobj
= 0;
30197 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30201 PyObject
*swig_obj
[1] ;
30203 if (!args
) SWIG_fail
;
30204 swig_obj
[0] = args
;
30205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30206 if (!SWIG_IsOK(res1
)) {
30207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30209 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30212 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30213 wxPyEndAllowThreads(__tstate
);
30214 if (PyErr_Occurred()) SWIG_fail
;
30217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30225 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30226 PyObject
*resultobj
= 0;
30227 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30233 PyObject
* obj0
= 0 ;
30234 PyObject
* obj1
= 0 ;
30235 char * kwnames
[] = {
30236 (char *) "self",(char *) "item", NULL
30239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30241 if (!SWIG_IsOK(res1
)) {
30242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30244 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30245 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30246 if (!SWIG_IsOK(ecode2
)) {
30247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30249 arg2
= static_cast< long >(val2
);
30251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30252 (arg1
)->RefreshItem(arg2
);
30253 wxPyEndAllowThreads(__tstate
);
30254 if (PyErr_Occurred()) SWIG_fail
;
30256 resultobj
= SWIG_Py_Void();
30263 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30264 PyObject
*resultobj
= 0;
30265 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30274 PyObject
* obj0
= 0 ;
30275 PyObject
* obj1
= 0 ;
30276 PyObject
* obj2
= 0 ;
30277 char * kwnames
[] = {
30278 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30283 if (!SWIG_IsOK(res1
)) {
30284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30286 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30287 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30288 if (!SWIG_IsOK(ecode2
)) {
30289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30291 arg2
= static_cast< long >(val2
);
30292 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30293 if (!SWIG_IsOK(ecode3
)) {
30294 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30296 arg3
= static_cast< long >(val3
);
30298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30299 (arg1
)->RefreshItems(arg2
,arg3
);
30300 wxPyEndAllowThreads(__tstate
);
30301 if (PyErr_Occurred()) SWIG_fail
;
30303 resultobj
= SWIG_Py_Void();
30310 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30311 PyObject
*resultobj
= 0;
30312 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30313 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30319 PyObject
* obj0
= 0 ;
30320 PyObject
* obj1
= 0 ;
30321 char * kwnames
[] = {
30322 (char *) "self",(char *) "flag", NULL
30325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30327 if (!SWIG_IsOK(res1
)) {
30328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30330 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30332 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30333 if (!SWIG_IsOK(ecode2
)) {
30334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30336 arg2
= static_cast< int >(val2
);
30339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30340 result
= (bool)(arg1
)->Arrange(arg2
);
30341 wxPyEndAllowThreads(__tstate
);
30342 if (PyErr_Occurred()) SWIG_fail
;
30345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30353 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30354 PyObject
*resultobj
= 0;
30355 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30362 PyObject
* obj0
= 0 ;
30363 PyObject
* obj1
= 0 ;
30364 char * kwnames
[] = {
30365 (char *) "self",(char *) "item", NULL
30368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30370 if (!SWIG_IsOK(res1
)) {
30371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30373 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30374 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30375 if (!SWIG_IsOK(ecode2
)) {
30376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30378 arg2
= static_cast< long >(val2
);
30380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30381 result
= (bool)(arg1
)->DeleteItem(arg2
);
30382 wxPyEndAllowThreads(__tstate
);
30383 if (PyErr_Occurred()) SWIG_fail
;
30386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30394 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30395 PyObject
*resultobj
= 0;
30396 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30400 PyObject
*swig_obj
[1] ;
30402 if (!args
) SWIG_fail
;
30403 swig_obj
[0] = args
;
30404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30405 if (!SWIG_IsOK(res1
)) {
30406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30408 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30411 result
= (bool)(arg1
)->DeleteAllItems();
30412 wxPyEndAllowThreads(__tstate
);
30413 if (PyErr_Occurred()) SWIG_fail
;
30416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30424 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30425 PyObject
*resultobj
= 0;
30426 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30433 PyObject
* obj0
= 0 ;
30434 PyObject
* obj1
= 0 ;
30435 char * kwnames
[] = {
30436 (char *) "self",(char *) "col", NULL
30439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30441 if (!SWIG_IsOK(res1
)) {
30442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30444 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30446 if (!SWIG_IsOK(ecode2
)) {
30447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30449 arg2
= static_cast< int >(val2
);
30451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30452 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30453 wxPyEndAllowThreads(__tstate
);
30454 if (PyErr_Occurred()) SWIG_fail
;
30457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30465 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30466 PyObject
*resultobj
= 0;
30467 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30471 PyObject
*swig_obj
[1] ;
30473 if (!args
) SWIG_fail
;
30474 swig_obj
[0] = args
;
30475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30476 if (!SWIG_IsOK(res1
)) {
30477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30479 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30482 result
= (bool)(arg1
)->DeleteAllColumns();
30483 wxPyEndAllowThreads(__tstate
);
30484 if (PyErr_Occurred()) SWIG_fail
;
30487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30495 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30496 PyObject
*resultobj
= 0;
30497 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30500 PyObject
*swig_obj
[1] ;
30502 if (!args
) SWIG_fail
;
30503 swig_obj
[0] = args
;
30504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30505 if (!SWIG_IsOK(res1
)) {
30506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30508 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30511 (arg1
)->ClearAll();
30512 wxPyEndAllowThreads(__tstate
);
30513 if (PyErr_Occurred()) SWIG_fail
;
30515 resultobj
= SWIG_Py_Void();
30522 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30523 PyObject
*resultobj
= 0;
30524 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30530 PyObject
* obj0
= 0 ;
30531 PyObject
* obj1
= 0 ;
30532 char * kwnames
[] = {
30533 (char *) "self",(char *) "item", NULL
30536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30538 if (!SWIG_IsOK(res1
)) {
30539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30541 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30542 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30543 if (!SWIG_IsOK(ecode2
)) {
30544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30546 arg2
= static_cast< long >(val2
);
30548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30549 (arg1
)->EditLabel(arg2
);
30550 wxPyEndAllowThreads(__tstate
);
30551 if (PyErr_Occurred()) SWIG_fail
;
30553 resultobj
= SWIG_Py_Void();
30560 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30561 PyObject
*resultobj
= 0;
30562 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30569 PyObject
* obj0
= 0 ;
30570 PyObject
* obj1
= 0 ;
30571 char * kwnames
[] = {
30572 (char *) "self",(char *) "item", NULL
30575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30577 if (!SWIG_IsOK(res1
)) {
30578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30580 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30581 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30582 if (!SWIG_IsOK(ecode2
)) {
30583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30585 arg2
= static_cast< long >(val2
);
30587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30588 result
= (bool)(arg1
)->EnsureVisible(arg2
);
30589 wxPyEndAllowThreads(__tstate
);
30590 if (PyErr_Occurred()) SWIG_fail
;
30593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30601 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30602 PyObject
*resultobj
= 0;
30603 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30605 wxString
*arg3
= 0 ;
30606 bool arg4
= (bool) false ;
30612 bool temp3
= false ;
30615 PyObject
* obj0
= 0 ;
30616 PyObject
* obj1
= 0 ;
30617 PyObject
* obj2
= 0 ;
30618 PyObject
* obj3
= 0 ;
30619 char * kwnames
[] = {
30620 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30625 if (!SWIG_IsOK(res1
)) {
30626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30628 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30629 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30630 if (!SWIG_IsOK(ecode2
)) {
30631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
30633 arg2
= static_cast< long >(val2
);
30635 arg3
= wxString_in_helper(obj2
);
30636 if (arg3
== NULL
) SWIG_fail
;
30640 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30641 if (!SWIG_IsOK(ecode4
)) {
30642 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
30644 arg4
= static_cast< bool >(val4
);
30647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30648 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
30649 wxPyEndAllowThreads(__tstate
);
30650 if (PyErr_Occurred()) SWIG_fail
;
30652 resultobj
= SWIG_From_long(static_cast< long >(result
));
30667 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30668 PyObject
*resultobj
= 0;
30669 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30679 PyObject
* obj0
= 0 ;
30680 PyObject
* obj1
= 0 ;
30681 PyObject
* obj2
= 0 ;
30682 char * kwnames
[] = {
30683 (char *) "self",(char *) "start",(char *) "data", NULL
30686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30688 if (!SWIG_IsOK(res1
)) {
30689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30691 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30692 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30693 if (!SWIG_IsOK(ecode2
)) {
30694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
30696 arg2
= static_cast< long >(val2
);
30697 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30698 if (!SWIG_IsOK(ecode3
)) {
30699 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
30701 arg3
= static_cast< long >(val3
);
30703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30704 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
30705 wxPyEndAllowThreads(__tstate
);
30706 if (PyErr_Occurred()) SWIG_fail
;
30708 resultobj
= SWIG_From_long(static_cast< long >(result
));
30715 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30716 PyObject
*resultobj
= 0;
30717 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30719 wxPoint
*arg3
= 0 ;
30729 PyObject
* obj0
= 0 ;
30730 PyObject
* obj1
= 0 ;
30731 PyObject
* obj2
= 0 ;
30732 PyObject
* obj3
= 0 ;
30733 char * kwnames
[] = {
30734 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
30737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30739 if (!SWIG_IsOK(res1
)) {
30740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30742 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30743 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30744 if (!SWIG_IsOK(ecode2
)) {
30745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
30747 arg2
= static_cast< long >(val2
);
30750 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30752 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30753 if (!SWIG_IsOK(ecode4
)) {
30754 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
30756 arg4
= static_cast< int >(val4
);
30758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30759 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
30760 wxPyEndAllowThreads(__tstate
);
30761 if (PyErr_Occurred()) SWIG_fail
;
30763 resultobj
= SWIG_From_long(static_cast< long >(result
));
30770 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30771 PyObject
*resultobj
= 0;
30772 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30773 wxPoint
*arg2
= 0 ;
30780 int res3
= SWIG_TMPOBJ
;
30781 PyObject
* obj0
= 0 ;
30782 PyObject
* obj1
= 0 ;
30783 char * kwnames
[] = {
30784 (char *) "self",(char *) "point", NULL
30788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30790 if (!SWIG_IsOK(res1
)) {
30791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30793 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30796 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30800 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30801 wxPyEndAllowThreads(__tstate
);
30802 if (PyErr_Occurred()) SWIG_fail
;
30804 resultobj
= SWIG_From_long(static_cast< long >(result
));
30805 if (SWIG_IsTmpObj(res3
)) {
30806 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30808 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30809 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30817 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30818 PyObject
*resultobj
= 0;
30819 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30820 wxListItem
*arg2
= 0 ;
30826 PyObject
* obj0
= 0 ;
30827 PyObject
* obj1
= 0 ;
30828 char * kwnames
[] = {
30829 (char *) "self",(char *) "info", NULL
30832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30834 if (!SWIG_IsOK(res1
)) {
30835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30837 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30838 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
30839 if (!SWIG_IsOK(res2
)) {
30840 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30843 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30845 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
30847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30848 result
= (long)(arg1
)->InsertItem(*arg2
);
30849 wxPyEndAllowThreads(__tstate
);
30850 if (PyErr_Occurred()) SWIG_fail
;
30852 resultobj
= SWIG_From_long(static_cast< long >(result
));
30859 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30860 PyObject
*resultobj
= 0;
30861 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30863 wxString
*arg3
= 0 ;
30864 int arg4
= (int) -1 ;
30870 bool temp3
= false ;
30873 PyObject
* obj0
= 0 ;
30874 PyObject
* obj1
= 0 ;
30875 PyObject
* obj2
= 0 ;
30876 PyObject
* obj3
= 0 ;
30877 char * kwnames
[] = {
30878 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
30881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30883 if (!SWIG_IsOK(res1
)) {
30884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30886 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30887 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30888 if (!SWIG_IsOK(ecode2
)) {
30889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
30891 arg2
= static_cast< long >(val2
);
30893 arg3
= wxString_in_helper(obj2
);
30894 if (arg3
== NULL
) SWIG_fail
;
30898 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30899 if (!SWIG_IsOK(ecode4
)) {
30900 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
30902 arg4
= static_cast< int >(val4
);
30905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30906 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
30907 wxPyEndAllowThreads(__tstate
);
30908 if (PyErr_Occurred()) SWIG_fail
;
30910 resultobj
= SWIG_From_long(static_cast< long >(result
));
30925 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30926 PyObject
*resultobj
= 0;
30927 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30937 PyObject
* obj0
= 0 ;
30938 PyObject
* obj1
= 0 ;
30939 PyObject
* obj2
= 0 ;
30940 char * kwnames
[] = {
30941 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
30944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30946 if (!SWIG_IsOK(res1
)) {
30947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30949 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30950 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30951 if (!SWIG_IsOK(ecode2
)) {
30952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
30954 arg2
= static_cast< long >(val2
);
30955 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30956 if (!SWIG_IsOK(ecode3
)) {
30957 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
30959 arg3
= static_cast< int >(val3
);
30961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30962 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
30963 wxPyEndAllowThreads(__tstate
);
30964 if (PyErr_Occurred()) SWIG_fail
;
30966 resultobj
= SWIG_From_long(static_cast< long >(result
));
30973 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30974 PyObject
*resultobj
= 0;
30975 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30977 wxString
*arg3
= 0 ;
30984 bool temp3
= false ;
30987 PyObject
* obj0
= 0 ;
30988 PyObject
* obj1
= 0 ;
30989 PyObject
* obj2
= 0 ;
30990 PyObject
* obj3
= 0 ;
30991 char * kwnames
[] = {
30992 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
30995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30997 if (!SWIG_IsOK(res1
)) {
30998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31000 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31001 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31002 if (!SWIG_IsOK(ecode2
)) {
31003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31005 arg2
= static_cast< long >(val2
);
31007 arg3
= wxString_in_helper(obj2
);
31008 if (arg3
== NULL
) SWIG_fail
;
31011 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31012 if (!SWIG_IsOK(ecode4
)) {
31013 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31015 arg4
= static_cast< int >(val4
);
31017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31018 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31019 wxPyEndAllowThreads(__tstate
);
31020 if (PyErr_Occurred()) SWIG_fail
;
31022 resultobj
= SWIG_From_long(static_cast< long >(result
));
31037 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31038 PyObject
*resultobj
= 0;
31039 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31041 wxListItem
*arg3
= 0 ;
31049 PyObject
* obj0
= 0 ;
31050 PyObject
* obj1
= 0 ;
31051 PyObject
* obj2
= 0 ;
31052 char * kwnames
[] = {
31053 (char *) "self",(char *) "col",(char *) "info", NULL
31056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31058 if (!SWIG_IsOK(res1
)) {
31059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31061 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31062 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31063 if (!SWIG_IsOK(ecode2
)) {
31064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31066 arg2
= static_cast< long >(val2
);
31067 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31068 if (!SWIG_IsOK(res3
)) {
31069 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31072 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31074 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31077 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31078 wxPyEndAllowThreads(__tstate
);
31079 if (PyErr_Occurred()) SWIG_fail
;
31081 resultobj
= SWIG_From_long(static_cast< long >(result
));
31088 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31089 PyObject
*resultobj
= 0;
31090 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31092 wxString
*arg3
= 0 ;
31093 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31094 int arg5
= (int) -1 ;
31100 bool temp3
= false ;
31105 PyObject
* obj0
= 0 ;
31106 PyObject
* obj1
= 0 ;
31107 PyObject
* obj2
= 0 ;
31108 PyObject
* obj3
= 0 ;
31109 PyObject
* obj4
= 0 ;
31110 char * kwnames
[] = {
31111 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31116 if (!SWIG_IsOK(res1
)) {
31117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31119 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31120 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31121 if (!SWIG_IsOK(ecode2
)) {
31122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31124 arg2
= static_cast< long >(val2
);
31126 arg3
= wxString_in_helper(obj2
);
31127 if (arg3
== NULL
) SWIG_fail
;
31131 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31132 if (!SWIG_IsOK(ecode4
)) {
31133 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31135 arg4
= static_cast< int >(val4
);
31138 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31139 if (!SWIG_IsOK(ecode5
)) {
31140 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31142 arg5
= static_cast< int >(val5
);
31145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31146 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31147 wxPyEndAllowThreads(__tstate
);
31148 if (PyErr_Occurred()) SWIG_fail
;
31150 resultobj
= SWIG_From_long(static_cast< long >(result
));
31165 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31166 PyObject
*resultobj
= 0;
31167 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31173 PyObject
* obj0
= 0 ;
31174 PyObject
* obj1
= 0 ;
31175 char * kwnames
[] = {
31176 (char *) "self",(char *) "count", NULL
31179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31181 if (!SWIG_IsOK(res1
)) {
31182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31184 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31185 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31186 if (!SWIG_IsOK(ecode2
)) {
31187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31189 arg2
= static_cast< long >(val2
);
31191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31192 (arg1
)->SetItemCount(arg2
);
31193 wxPyEndAllowThreads(__tstate
);
31194 if (PyErr_Occurred()) SWIG_fail
;
31196 resultobj
= SWIG_Py_Void();
31203 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31204 PyObject
*resultobj
= 0;
31205 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31215 PyObject
* obj0
= 0 ;
31216 PyObject
* obj1
= 0 ;
31217 PyObject
* obj2
= 0 ;
31218 char * kwnames
[] = {
31219 (char *) "self",(char *) "dx",(char *) "dy", NULL
31222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31224 if (!SWIG_IsOK(res1
)) {
31225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31227 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31228 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31229 if (!SWIG_IsOK(ecode2
)) {
31230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31232 arg2
= static_cast< int >(val2
);
31233 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31234 if (!SWIG_IsOK(ecode3
)) {
31235 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31237 arg3
= static_cast< int >(val3
);
31239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31240 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31241 wxPyEndAllowThreads(__tstate
);
31242 if (PyErr_Occurred()) SWIG_fail
;
31245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31253 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31254 PyObject
*resultobj
= 0;
31255 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31257 wxColour
*arg3
= 0 ;
31263 PyObject
* obj0
= 0 ;
31264 PyObject
* obj1
= 0 ;
31265 PyObject
* obj2
= 0 ;
31266 char * kwnames
[] = {
31267 (char *) "self",(char *) "item",(char *) "col", NULL
31270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31272 if (!SWIG_IsOK(res1
)) {
31273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31275 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31276 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31277 if (!SWIG_IsOK(ecode2
)) {
31278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31280 arg2
= static_cast< long >(val2
);
31283 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31287 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31288 wxPyEndAllowThreads(__tstate
);
31289 if (PyErr_Occurred()) SWIG_fail
;
31291 resultobj
= SWIG_Py_Void();
31298 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31299 PyObject
*resultobj
= 0;
31300 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31307 PyObject
* obj0
= 0 ;
31308 PyObject
* obj1
= 0 ;
31309 char * kwnames
[] = {
31310 (char *) "self",(char *) "item", NULL
31313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31315 if (!SWIG_IsOK(res1
)) {
31316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31318 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31319 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31320 if (!SWIG_IsOK(ecode2
)) {
31321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31323 arg2
= static_cast< long >(val2
);
31325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31326 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31327 wxPyEndAllowThreads(__tstate
);
31328 if (PyErr_Occurred()) SWIG_fail
;
31330 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31337 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31338 PyObject
*resultobj
= 0;
31339 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31341 wxColour
*arg3
= 0 ;
31347 PyObject
* obj0
= 0 ;
31348 PyObject
* obj1
= 0 ;
31349 PyObject
* obj2
= 0 ;
31350 char * kwnames
[] = {
31351 (char *) "self",(char *) "item",(char *) "col", NULL
31354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31356 if (!SWIG_IsOK(res1
)) {
31357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31359 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31360 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31361 if (!SWIG_IsOK(ecode2
)) {
31362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31364 arg2
= static_cast< long >(val2
);
31367 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31371 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31372 wxPyEndAllowThreads(__tstate
);
31373 if (PyErr_Occurred()) SWIG_fail
;
31375 resultobj
= SWIG_Py_Void();
31382 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31383 PyObject
*resultobj
= 0;
31384 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31391 PyObject
* obj0
= 0 ;
31392 PyObject
* obj1
= 0 ;
31393 char * kwnames
[] = {
31394 (char *) "self",(char *) "item", NULL
31397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31399 if (!SWIG_IsOK(res1
)) {
31400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31402 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31403 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31404 if (!SWIG_IsOK(ecode2
)) {
31405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31407 arg2
= static_cast< long >(val2
);
31409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31410 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31411 wxPyEndAllowThreads(__tstate
);
31412 if (PyErr_Occurred()) SWIG_fail
;
31414 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31421 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31422 PyObject
*resultobj
= 0;
31423 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31432 PyObject
* obj0
= 0 ;
31433 PyObject
* obj1
= 0 ;
31434 PyObject
* obj2
= 0 ;
31435 char * kwnames
[] = {
31436 (char *) "self",(char *) "item",(char *) "f", NULL
31439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31441 if (!SWIG_IsOK(res1
)) {
31442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31444 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31445 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31446 if (!SWIG_IsOK(ecode2
)) {
31447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31449 arg2
= static_cast< long >(val2
);
31450 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31451 if (!SWIG_IsOK(res3
)) {
31452 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31455 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31457 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31460 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31461 wxPyEndAllowThreads(__tstate
);
31462 if (PyErr_Occurred()) SWIG_fail
;
31464 resultobj
= SWIG_Py_Void();
31471 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31472 PyObject
*resultobj
= 0;
31473 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31480 PyObject
* obj0
= 0 ;
31481 PyObject
* obj1
= 0 ;
31482 char * kwnames
[] = {
31483 (char *) "self",(char *) "item", NULL
31486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31488 if (!SWIG_IsOK(res1
)) {
31489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31491 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31492 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31493 if (!SWIG_IsOK(ecode2
)) {
31494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31496 arg2
= static_cast< long >(val2
);
31498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31499 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31500 wxPyEndAllowThreads(__tstate
);
31501 if (PyErr_Occurred()) SWIG_fail
;
31503 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31510 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31511 PyObject
*resultobj
= 0;
31512 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31513 PyObject
*arg2
= (PyObject
*) 0 ;
31517 PyObject
* obj0
= 0 ;
31518 PyObject
* obj1
= 0 ;
31519 char * kwnames
[] = {
31520 (char *) "self",(char *) "func", NULL
31523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31525 if (!SWIG_IsOK(res1
)) {
31526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31528 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31532 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
31533 wxPyEndAllowThreads(__tstate
);
31534 if (PyErr_Occurred()) SWIG_fail
;
31537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31545 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31546 PyObject
*resultobj
= 0;
31547 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31548 wxWindow
*result
= 0 ;
31551 PyObject
*swig_obj
[1] ;
31553 if (!args
) SWIG_fail
;
31554 swig_obj
[0] = args
;
31555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31556 if (!SWIG_IsOK(res1
)) {
31557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31559 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31562 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
31563 wxPyEndAllowThreads(__tstate
);
31564 if (PyErr_Occurred()) SWIG_fail
;
31567 resultobj
= wxPyMake_wxObject(result
, 0);
31575 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31576 PyObject
*resultobj
= 0;
31577 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31578 SwigValueWrapper
<wxVisualAttributes
> result
;
31581 PyObject
* obj0
= 0 ;
31582 char * kwnames
[] = {
31583 (char *) "variant", NULL
31586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
31588 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31589 if (!SWIG_IsOK(ecode1
)) {
31590 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
31592 arg1
= static_cast< wxWindowVariant
>(val1
);
31595 if (!wxPyCheckForApp()) SWIG_fail
;
31596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31597 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
31598 wxPyEndAllowThreads(__tstate
);
31599 if (PyErr_Occurred()) SWIG_fail
;
31601 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
31608 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31610 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31611 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
31612 return SWIG_Py_Void();
31615 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31616 return SWIG_Python_InitShadowInstance(args
);
31619 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31620 PyObject
*resultobj
= 0;
31621 wxWindow
*arg1
= (wxWindow
*) 0 ;
31622 int arg2
= (int) -1 ;
31623 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31624 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31625 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31626 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31627 long arg5
= (long) wxLC_REPORT
;
31628 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31629 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31630 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
31631 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31632 wxListView
*result
= 0 ;
31643 bool temp7
= false ;
31644 PyObject
* obj0
= 0 ;
31645 PyObject
* obj1
= 0 ;
31646 PyObject
* obj2
= 0 ;
31647 PyObject
* obj3
= 0 ;
31648 PyObject
* obj4
= 0 ;
31649 PyObject
* obj5
= 0 ;
31650 PyObject
* obj6
= 0 ;
31651 char * kwnames
[] = {
31652 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31657 if (!SWIG_IsOK(res1
)) {
31658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
31660 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31662 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31663 if (!SWIG_IsOK(ecode2
)) {
31664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
31666 arg2
= static_cast< int >(val2
);
31671 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31677 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31681 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
31682 if (!SWIG_IsOK(ecode5
)) {
31683 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
31685 arg5
= static_cast< long >(val5
);
31688 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
31689 if (!SWIG_IsOK(res6
)) {
31690 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31693 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31695 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
31699 arg7
= wxString_in_helper(obj6
);
31700 if (arg7
== NULL
) SWIG_fail
;
31705 if (!wxPyCheckForApp()) SWIG_fail
;
31706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31707 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
31708 wxPyEndAllowThreads(__tstate
);
31709 if (PyErr_Occurred()) SWIG_fail
;
31711 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
31726 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31727 PyObject
*resultobj
= 0;
31728 wxListView
*result
= 0 ;
31730 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
31732 if (!wxPyCheckForApp()) SWIG_fail
;
31733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31734 result
= (wxListView
*)new wxListView();
31735 wxPyEndAllowThreads(__tstate
);
31736 if (PyErr_Occurred()) SWIG_fail
;
31738 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
31745 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31746 PyObject
*resultobj
= 0;
31747 wxListView
*arg1
= (wxListView
*) 0 ;
31748 wxWindow
*arg2
= (wxWindow
*) 0 ;
31749 int arg3
= (int) -1 ;
31750 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31751 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31752 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31753 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31754 long arg6
= (long) wxLC_REPORT
;
31755 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
31756 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
31757 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
31758 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31772 bool temp8
= false ;
31773 PyObject
* obj0
= 0 ;
31774 PyObject
* obj1
= 0 ;
31775 PyObject
* obj2
= 0 ;
31776 PyObject
* obj3
= 0 ;
31777 PyObject
* obj4
= 0 ;
31778 PyObject
* obj5
= 0 ;
31779 PyObject
* obj6
= 0 ;
31780 PyObject
* obj7
= 0 ;
31781 char * kwnames
[] = {
31782 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31787 if (!SWIG_IsOK(res1
)) {
31788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
31790 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31791 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31792 if (!SWIG_IsOK(res2
)) {
31793 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
31795 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31797 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31798 if (!SWIG_IsOK(ecode3
)) {
31799 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
31801 arg3
= static_cast< int >(val3
);
31806 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31812 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31816 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31817 if (!SWIG_IsOK(ecode6
)) {
31818 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
31820 arg6
= static_cast< long >(val6
);
31823 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
31824 if (!SWIG_IsOK(res7
)) {
31825 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31828 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31830 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
31834 arg8
= wxString_in_helper(obj7
);
31835 if (arg8
== NULL
) SWIG_fail
;
31840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31841 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
31842 wxPyEndAllowThreads(__tstate
);
31843 if (PyErr_Occurred()) SWIG_fail
;
31846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31862 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31863 PyObject
*resultobj
= 0;
31864 wxListView
*arg1
= (wxListView
*) 0 ;
31866 bool arg3
= (bool) true ;
31873 PyObject
* obj0
= 0 ;
31874 PyObject
* obj1
= 0 ;
31875 PyObject
* obj2
= 0 ;
31876 char * kwnames
[] = {
31877 (char *) "self",(char *) "n",(char *) "on", NULL
31880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31882 if (!SWIG_IsOK(res1
)) {
31883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
31885 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31886 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31887 if (!SWIG_IsOK(ecode2
)) {
31888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
31890 arg2
= static_cast< long >(val2
);
31892 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31893 if (!SWIG_IsOK(ecode3
)) {
31894 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
31896 arg3
= static_cast< bool >(val3
);
31899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31900 (arg1
)->Select(arg2
,arg3
);
31901 wxPyEndAllowThreads(__tstate
);
31902 if (PyErr_Occurred()) SWIG_fail
;
31904 resultobj
= SWIG_Py_Void();
31911 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31912 PyObject
*resultobj
= 0;
31913 wxListView
*arg1
= (wxListView
*) 0 ;
31919 PyObject
* obj0
= 0 ;
31920 PyObject
* obj1
= 0 ;
31921 char * kwnames
[] = {
31922 (char *) "self",(char *) "index", NULL
31925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31927 if (!SWIG_IsOK(res1
)) {
31928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
31930 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31931 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31932 if (!SWIG_IsOK(ecode2
)) {
31933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
31935 arg2
= static_cast< long >(val2
);
31937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31938 (arg1
)->Focus(arg2
);
31939 wxPyEndAllowThreads(__tstate
);
31940 if (PyErr_Occurred()) SWIG_fail
;
31942 resultobj
= SWIG_Py_Void();
31949 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31950 PyObject
*resultobj
= 0;
31951 wxListView
*arg1
= (wxListView
*) 0 ;
31955 PyObject
*swig_obj
[1] ;
31957 if (!args
) SWIG_fail
;
31958 swig_obj
[0] = args
;
31959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31960 if (!SWIG_IsOK(res1
)) {
31961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
31963 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31966 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
31967 wxPyEndAllowThreads(__tstate
);
31968 if (PyErr_Occurred()) SWIG_fail
;
31970 resultobj
= SWIG_From_long(static_cast< long >(result
));
31977 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31978 PyObject
*resultobj
= 0;
31979 wxListView
*arg1
= (wxListView
*) 0 ;
31986 PyObject
* obj0
= 0 ;
31987 PyObject
* obj1
= 0 ;
31988 char * kwnames
[] = {
31989 (char *) "self",(char *) "item", NULL
31992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31994 if (!SWIG_IsOK(res1
)) {
31995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
31997 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31998 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31999 if (!SWIG_IsOK(ecode2
)) {
32000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32002 arg2
= static_cast< long >(val2
);
32004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32005 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32006 wxPyEndAllowThreads(__tstate
);
32007 if (PyErr_Occurred()) SWIG_fail
;
32009 resultobj
= SWIG_From_long(static_cast< long >(result
));
32016 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32017 PyObject
*resultobj
= 0;
32018 wxListView
*arg1
= (wxListView
*) 0 ;
32022 PyObject
*swig_obj
[1] ;
32024 if (!args
) SWIG_fail
;
32025 swig_obj
[0] = args
;
32026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32027 if (!SWIG_IsOK(res1
)) {
32028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32030 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32033 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32034 wxPyEndAllowThreads(__tstate
);
32035 if (PyErr_Occurred()) SWIG_fail
;
32037 resultobj
= SWIG_From_long(static_cast< long >(result
));
32044 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32045 PyObject
*resultobj
= 0;
32046 wxListView
*arg1
= (wxListView
*) 0 ;
32053 PyObject
* obj0
= 0 ;
32054 PyObject
* obj1
= 0 ;
32055 char * kwnames
[] = {
32056 (char *) "self",(char *) "index", NULL
32059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32061 if (!SWIG_IsOK(res1
)) {
32062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32064 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32065 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32066 if (!SWIG_IsOK(ecode2
)) {
32067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32069 arg2
= static_cast< long >(val2
);
32071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32072 result
= (bool)(arg1
)->IsSelected(arg2
);
32073 wxPyEndAllowThreads(__tstate
);
32074 if (PyErr_Occurred()) SWIG_fail
;
32077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32085 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32086 PyObject
*resultobj
= 0;
32087 wxListView
*arg1
= (wxListView
*) 0 ;
32096 PyObject
* obj0
= 0 ;
32097 PyObject
* obj1
= 0 ;
32098 PyObject
* obj2
= 0 ;
32099 char * kwnames
[] = {
32100 (char *) "self",(char *) "col",(char *) "image", NULL
32103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32105 if (!SWIG_IsOK(res1
)) {
32106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32108 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32109 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32110 if (!SWIG_IsOK(ecode2
)) {
32111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32113 arg2
= static_cast< int >(val2
);
32114 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32115 if (!SWIG_IsOK(ecode3
)) {
32116 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32118 arg3
= static_cast< int >(val3
);
32120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32121 (arg1
)->SetColumnImage(arg2
,arg3
);
32122 wxPyEndAllowThreads(__tstate
);
32123 if (PyErr_Occurred()) SWIG_fail
;
32125 resultobj
= SWIG_Py_Void();
32132 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32133 PyObject
*resultobj
= 0;
32134 wxListView
*arg1
= (wxListView
*) 0 ;
32140 PyObject
* obj0
= 0 ;
32141 PyObject
* obj1
= 0 ;
32142 char * kwnames
[] = {
32143 (char *) "self",(char *) "col", NULL
32146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32148 if (!SWIG_IsOK(res1
)) {
32149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32151 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32152 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32153 if (!SWIG_IsOK(ecode2
)) {
32154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32156 arg2
= static_cast< int >(val2
);
32158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32159 (arg1
)->ClearColumnImage(arg2
);
32160 wxPyEndAllowThreads(__tstate
);
32161 if (PyErr_Occurred()) SWIG_fail
;
32163 resultobj
= SWIG_Py_Void();
32170 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32172 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32173 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32174 return SWIG_Py_Void();
32177 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32178 return SWIG_Python_InitShadowInstance(args
);
32181 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32182 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32187 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32188 PyObject
*pyobj
= 0;
32192 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32194 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32201 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32202 PyObject
*resultobj
= 0;
32203 wxTreeItemId
*result
= 0 ;
32205 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32208 result
= (wxTreeItemId
*)new wxTreeItemId();
32209 wxPyEndAllowThreads(__tstate
);
32210 if (PyErr_Occurred()) SWIG_fail
;
32212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32219 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32220 PyObject
*resultobj
= 0;
32221 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32224 PyObject
*swig_obj
[1] ;
32226 if (!args
) SWIG_fail
;
32227 swig_obj
[0] = args
;
32228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32229 if (!SWIG_IsOK(res1
)) {
32230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32232 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32237 wxPyEndAllowThreads(__tstate
);
32238 if (PyErr_Occurred()) SWIG_fail
;
32240 resultobj
= SWIG_Py_Void();
32247 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32248 PyObject
*resultobj
= 0;
32249 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32253 PyObject
*swig_obj
[1] ;
32255 if (!args
) SWIG_fail
;
32256 swig_obj
[0] = args
;
32257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32258 if (!SWIG_IsOK(res1
)) {
32259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32261 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32264 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32265 wxPyEndAllowThreads(__tstate
);
32266 if (PyErr_Occurred()) SWIG_fail
;
32269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32277 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32278 PyObject
*resultobj
= 0;
32279 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32280 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32286 PyObject
* obj0
= 0 ;
32287 PyObject
* obj1
= 0 ;
32288 char * kwnames
[] = {
32289 (char *) "self",(char *) "other", NULL
32292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32294 if (!SWIG_IsOK(res1
)) {
32295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32297 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32298 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32299 if (!SWIG_IsOK(res2
)) {
32300 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32302 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32305 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32306 wxPyEndAllowThreads(__tstate
);
32307 if (PyErr_Occurred()) SWIG_fail
;
32310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32318 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32319 PyObject
*resultobj
= 0;
32320 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32321 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32327 PyObject
* obj0
= 0 ;
32328 PyObject
* obj1
= 0 ;
32329 char * kwnames
[] = {
32330 (char *) "self",(char *) "other", NULL
32333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32335 if (!SWIG_IsOK(res1
)) {
32336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32338 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32339 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32340 if (!SWIG_IsOK(res2
)) {
32341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32343 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32346 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32347 wxPyEndAllowThreads(__tstate
);
32348 if (PyErr_Occurred()) SWIG_fail
;
32351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32359 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32360 PyObject
*resultobj
= 0;
32361 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32362 void *arg2
= (void *) 0 ;
32366 PyObject
*swig_obj
[2] ;
32368 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32370 if (!SWIG_IsOK(res1
)) {
32371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32373 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32374 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32375 if (!SWIG_IsOK(res2
)) {
32376 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32378 if (arg1
) (arg1
)->m_pItem
= arg2
;
32380 resultobj
= SWIG_Py_Void();
32387 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32388 PyObject
*resultobj
= 0;
32389 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32393 PyObject
*swig_obj
[1] ;
32395 if (!args
) SWIG_fail
;
32396 swig_obj
[0] = args
;
32397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32398 if (!SWIG_IsOK(res1
)) {
32399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32401 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32402 result
= (void *) ((arg1
)->m_pItem
);
32403 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32410 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32412 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32413 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32414 return SWIG_Py_Void();
32417 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32418 return SWIG_Python_InitShadowInstance(args
);
32421 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32422 PyObject
*resultobj
= 0;
32423 PyObject
*arg1
= (PyObject
*) NULL
;
32424 wxPyTreeItemData
*result
= 0 ;
32425 PyObject
* obj0
= 0 ;
32426 char * kwnames
[] = {
32427 (char *) "obj", NULL
32430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32436 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32437 wxPyEndAllowThreads(__tstate
);
32438 if (PyErr_Occurred()) SWIG_fail
;
32440 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32447 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32448 PyObject
*resultobj
= 0;
32449 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32452 PyObject
*swig_obj
[1] ;
32454 if (!args
) SWIG_fail
;
32455 swig_obj
[0] = args
;
32456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32457 if (!SWIG_IsOK(res1
)) {
32458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32460 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32465 wxPyEndAllowThreads(__tstate
);
32466 if (PyErr_Occurred()) SWIG_fail
;
32468 resultobj
= SWIG_Py_Void();
32475 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32476 PyObject
*resultobj
= 0;
32477 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32478 PyObject
*result
= 0 ;
32481 PyObject
*swig_obj
[1] ;
32483 if (!args
) SWIG_fail
;
32484 swig_obj
[0] = args
;
32485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32486 if (!SWIG_IsOK(res1
)) {
32487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32489 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32492 result
= (PyObject
*)(arg1
)->GetData();
32493 wxPyEndAllowThreads(__tstate
);
32494 if (PyErr_Occurred()) SWIG_fail
;
32496 resultobj
= result
;
32503 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32504 PyObject
*resultobj
= 0;
32505 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32506 PyObject
*arg2
= (PyObject
*) 0 ;
32509 PyObject
* obj0
= 0 ;
32510 PyObject
* obj1
= 0 ;
32511 char * kwnames
[] = {
32512 (char *) "self",(char *) "obj", NULL
32515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32517 if (!SWIG_IsOK(res1
)) {
32518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32520 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32524 (arg1
)->SetData(arg2
);
32525 wxPyEndAllowThreads(__tstate
);
32526 if (PyErr_Occurred()) SWIG_fail
;
32528 resultobj
= SWIG_Py_Void();
32535 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32536 PyObject
*resultobj
= 0;
32537 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32538 wxTreeItemId
*result
= 0 ;
32541 PyObject
*swig_obj
[1] ;
32543 if (!args
) SWIG_fail
;
32544 swig_obj
[0] = args
;
32545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32546 if (!SWIG_IsOK(res1
)) {
32547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32549 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32553 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
32554 result
= (wxTreeItemId
*) &_result_ref
;
32556 wxPyEndAllowThreads(__tstate
);
32557 if (PyErr_Occurred()) SWIG_fail
;
32559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32566 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32567 PyObject
*resultobj
= 0;
32568 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32569 wxTreeItemId
*arg2
= 0 ;
32574 PyObject
* obj0
= 0 ;
32575 PyObject
* obj1
= 0 ;
32576 char * kwnames
[] = {
32577 (char *) "self",(char *) "id", NULL
32580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32582 if (!SWIG_IsOK(res1
)) {
32583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32585 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32586 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32587 if (!SWIG_IsOK(res2
)) {
32588 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32591 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32593 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32596 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
32597 wxPyEndAllowThreads(__tstate
);
32598 if (PyErr_Occurred()) SWIG_fail
;
32600 resultobj
= SWIG_Py_Void();
32607 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32608 PyObject
*resultobj
= 0;
32609 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32612 PyObject
*swig_obj
[1] ;
32614 if (!args
) SWIG_fail
;
32615 swig_obj
[0] = args
;
32616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32617 if (!SWIG_IsOK(res1
)) {
32618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32620 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32623 wxPyTreeItemData_Destroy(arg1
);
32624 wxPyEndAllowThreads(__tstate
);
32625 if (PyErr_Occurred()) SWIG_fail
;
32627 resultobj
= SWIG_Py_Void();
32634 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32636 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32637 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
32638 return SWIG_Py_Void();
32641 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32642 return SWIG_Python_InitShadowInstance(args
);
32645 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32646 PyObject
*resultobj
= 0;
32647 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32648 int arg2
= (int) 0 ;
32649 wxTreeEvent
*result
= 0 ;
32654 PyObject
* obj0
= 0 ;
32655 PyObject
* obj1
= 0 ;
32656 char * kwnames
[] = {
32657 (char *) "commandType",(char *) "id", NULL
32660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32662 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32663 if (!SWIG_IsOK(ecode1
)) {
32664 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32666 arg1
= static_cast< wxEventType
>(val1
);
32669 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32670 if (!SWIG_IsOK(ecode2
)) {
32671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
32673 arg2
= static_cast< int >(val2
);
32676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32677 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
32678 wxPyEndAllowThreads(__tstate
);
32679 if (PyErr_Occurred()) SWIG_fail
;
32681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
32688 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32689 PyObject
*resultobj
= 0;
32690 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32691 wxTreeItemId result
;
32694 PyObject
*swig_obj
[1] ;
32696 if (!args
) SWIG_fail
;
32697 swig_obj
[0] = args
;
32698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32699 if (!SWIG_IsOK(res1
)) {
32700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32702 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32705 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
32706 wxPyEndAllowThreads(__tstate
);
32707 if (PyErr_Occurred()) SWIG_fail
;
32709 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32716 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32717 PyObject
*resultobj
= 0;
32718 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32719 wxTreeItemId
*arg2
= 0 ;
32724 PyObject
* obj0
= 0 ;
32725 PyObject
* obj1
= 0 ;
32726 char * kwnames
[] = {
32727 (char *) "self",(char *) "item", NULL
32730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32732 if (!SWIG_IsOK(res1
)) {
32733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32735 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32736 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32737 if (!SWIG_IsOK(res2
)) {
32738 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32741 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32743 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32746 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
32747 wxPyEndAllowThreads(__tstate
);
32748 if (PyErr_Occurred()) SWIG_fail
;
32750 resultobj
= SWIG_Py_Void();
32757 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32758 PyObject
*resultobj
= 0;
32759 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32760 wxTreeItemId result
;
32763 PyObject
*swig_obj
[1] ;
32765 if (!args
) SWIG_fail
;
32766 swig_obj
[0] = args
;
32767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32768 if (!SWIG_IsOK(res1
)) {
32769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32771 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32774 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
32775 wxPyEndAllowThreads(__tstate
);
32776 if (PyErr_Occurred()) SWIG_fail
;
32778 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32785 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32786 PyObject
*resultobj
= 0;
32787 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32788 wxTreeItemId
*arg2
= 0 ;
32793 PyObject
* obj0
= 0 ;
32794 PyObject
* obj1
= 0 ;
32795 char * kwnames
[] = {
32796 (char *) "self",(char *) "item", NULL
32799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32801 if (!SWIG_IsOK(res1
)) {
32802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32804 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32805 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32806 if (!SWIG_IsOK(res2
)) {
32807 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32810 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32812 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32815 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
32816 wxPyEndAllowThreads(__tstate
);
32817 if (PyErr_Occurred()) SWIG_fail
;
32819 resultobj
= SWIG_Py_Void();
32826 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32827 PyObject
*resultobj
= 0;
32828 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32832 PyObject
*swig_obj
[1] ;
32834 if (!args
) SWIG_fail
;
32835 swig_obj
[0] = args
;
32836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32837 if (!SWIG_IsOK(res1
)) {
32838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32840 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32843 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
32844 wxPyEndAllowThreads(__tstate
);
32845 if (PyErr_Occurred()) SWIG_fail
;
32847 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
32854 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32855 PyObject
*resultobj
= 0;
32856 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32857 wxPoint
*arg2
= 0 ;
32861 PyObject
* obj0
= 0 ;
32862 PyObject
* obj1
= 0 ;
32863 char * kwnames
[] = {
32864 (char *) "self",(char *) "pt", NULL
32867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32869 if (!SWIG_IsOK(res1
)) {
32870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32872 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32875 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32879 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
32880 wxPyEndAllowThreads(__tstate
);
32881 if (PyErr_Occurred()) SWIG_fail
;
32883 resultobj
= SWIG_Py_Void();
32890 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32891 PyObject
*resultobj
= 0;
32892 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32893 wxKeyEvent
*result
= 0 ;
32896 PyObject
*swig_obj
[1] ;
32898 if (!args
) SWIG_fail
;
32899 swig_obj
[0] = args
;
32900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32901 if (!SWIG_IsOK(res1
)) {
32902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32904 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32908 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
32909 result
= (wxKeyEvent
*) &_result_ref
;
32911 wxPyEndAllowThreads(__tstate
);
32912 if (PyErr_Occurred()) SWIG_fail
;
32914 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
32921 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32922 PyObject
*resultobj
= 0;
32923 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32927 PyObject
*swig_obj
[1] ;
32929 if (!args
) SWIG_fail
;
32930 swig_obj
[0] = args
;
32931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32932 if (!SWIG_IsOK(res1
)) {
32933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32935 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32938 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
32939 wxPyEndAllowThreads(__tstate
);
32940 if (PyErr_Occurred()) SWIG_fail
;
32942 resultobj
= SWIG_From_int(static_cast< int >(result
));
32949 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32950 PyObject
*resultobj
= 0;
32951 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32952 wxKeyEvent
*arg2
= 0 ;
32957 PyObject
* obj0
= 0 ;
32958 PyObject
* obj1
= 0 ;
32959 char * kwnames
[] = {
32960 (char *) "self",(char *) "evt", NULL
32963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32965 if (!SWIG_IsOK(res1
)) {
32966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32968 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32969 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
32970 if (!SWIG_IsOK(res2
)) {
32971 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
32974 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
32976 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
32978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32979 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
32980 wxPyEndAllowThreads(__tstate
);
32981 if (PyErr_Occurred()) SWIG_fail
;
32983 resultobj
= SWIG_Py_Void();
32990 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32991 PyObject
*resultobj
= 0;
32992 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32993 wxString
*result
= 0 ;
32996 PyObject
*swig_obj
[1] ;
32998 if (!args
) SWIG_fail
;
32999 swig_obj
[0] = args
;
33000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33001 if (!SWIG_IsOK(res1
)) {
33002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33004 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33008 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33009 result
= (wxString
*) &_result_ref
;
33011 wxPyEndAllowThreads(__tstate
);
33012 if (PyErr_Occurred()) SWIG_fail
;
33016 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33018 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33027 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33028 PyObject
*resultobj
= 0;
33029 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33030 wxString
*arg2
= 0 ;
33033 bool temp2
= false ;
33034 PyObject
* obj0
= 0 ;
33035 PyObject
* obj1
= 0 ;
33036 char * kwnames
[] = {
33037 (char *) "self",(char *) "label", NULL
33040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33042 if (!SWIG_IsOK(res1
)) {
33043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33045 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33047 arg2
= wxString_in_helper(obj1
);
33048 if (arg2
== NULL
) SWIG_fail
;
33052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33053 (arg1
)->SetLabel((wxString
const &)*arg2
);
33054 wxPyEndAllowThreads(__tstate
);
33055 if (PyErr_Occurred()) SWIG_fail
;
33057 resultobj
= SWIG_Py_Void();
33072 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33073 PyObject
*resultobj
= 0;
33074 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33078 PyObject
*swig_obj
[1] ;
33080 if (!args
) SWIG_fail
;
33081 swig_obj
[0] = args
;
33082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33083 if (!SWIG_IsOK(res1
)) {
33084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33086 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33089 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33090 wxPyEndAllowThreads(__tstate
);
33091 if (PyErr_Occurred()) SWIG_fail
;
33094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33102 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33103 PyObject
*resultobj
= 0;
33104 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33110 PyObject
* obj0
= 0 ;
33111 PyObject
* obj1
= 0 ;
33112 char * kwnames
[] = {
33113 (char *) "self",(char *) "editCancelled", NULL
33116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33118 if (!SWIG_IsOK(res1
)) {
33119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33121 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33122 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33123 if (!SWIG_IsOK(ecode2
)) {
33124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33126 arg2
= static_cast< bool >(val2
);
33128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33129 (arg1
)->SetEditCanceled(arg2
);
33130 wxPyEndAllowThreads(__tstate
);
33131 if (PyErr_Occurred()) SWIG_fail
;
33133 resultobj
= SWIG_Py_Void();
33140 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33141 PyObject
*resultobj
= 0;
33142 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33143 wxString
*arg2
= 0 ;
33146 bool temp2
= false ;
33147 PyObject
* obj0
= 0 ;
33148 PyObject
* obj1
= 0 ;
33149 char * kwnames
[] = {
33150 (char *) "self",(char *) "toolTip", NULL
33153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33155 if (!SWIG_IsOK(res1
)) {
33156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33158 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33160 arg2
= wxString_in_helper(obj1
);
33161 if (arg2
== NULL
) SWIG_fail
;
33165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33166 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33167 wxPyEndAllowThreads(__tstate
);
33168 if (PyErr_Occurred()) SWIG_fail
;
33170 resultobj
= SWIG_Py_Void();
33185 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33186 PyObject
*resultobj
= 0;
33187 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33191 PyObject
*swig_obj
[1] ;
33193 if (!args
) SWIG_fail
;
33194 swig_obj
[0] = args
;
33195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33196 if (!SWIG_IsOK(res1
)) {
33197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33199 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33202 result
= (arg1
)->GetToolTip();
33203 wxPyEndAllowThreads(__tstate
);
33204 if (PyErr_Occurred()) SWIG_fail
;
33208 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33210 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33219 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33221 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33222 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33223 return SWIG_Py_Void();
33226 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33227 return SWIG_Python_InitShadowInstance(args
);
33230 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33231 PyObject
*resultobj
= 0;
33232 wxWindow
*arg1
= (wxWindow
*) 0 ;
33233 int arg2
= (int) -1 ;
33234 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33235 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33236 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33237 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33238 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33239 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33240 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33241 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33242 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33243 wxPyTreeCtrl
*result
= 0 ;
33254 bool temp7
= false ;
33255 PyObject
* obj0
= 0 ;
33256 PyObject
* obj1
= 0 ;
33257 PyObject
* obj2
= 0 ;
33258 PyObject
* obj3
= 0 ;
33259 PyObject
* obj4
= 0 ;
33260 PyObject
* obj5
= 0 ;
33261 PyObject
* obj6
= 0 ;
33262 char * kwnames
[] = {
33263 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33268 if (!SWIG_IsOK(res1
)) {
33269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33271 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33273 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33274 if (!SWIG_IsOK(ecode2
)) {
33275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33277 arg2
= static_cast< int >(val2
);
33282 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33288 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33292 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33293 if (!SWIG_IsOK(ecode5
)) {
33294 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33296 arg5
= static_cast< long >(val5
);
33299 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33300 if (!SWIG_IsOK(res6
)) {
33301 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33304 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33306 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33310 arg7
= wxString_in_helper(obj6
);
33311 if (arg7
== NULL
) SWIG_fail
;
33316 if (!wxPyCheckForApp()) SWIG_fail
;
33317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33318 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33319 wxPyEndAllowThreads(__tstate
);
33320 if (PyErr_Occurred()) SWIG_fail
;
33322 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33337 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33338 PyObject
*resultobj
= 0;
33339 wxPyTreeCtrl
*result
= 0 ;
33341 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33343 if (!wxPyCheckForApp()) SWIG_fail
;
33344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33345 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33346 wxPyEndAllowThreads(__tstate
);
33347 if (PyErr_Occurred()) SWIG_fail
;
33349 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33356 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33357 PyObject
*resultobj
= 0;
33358 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33359 wxWindow
*arg2
= (wxWindow
*) 0 ;
33360 int arg3
= (int) -1 ;
33361 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33362 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33363 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33364 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33365 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33366 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33367 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33368 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33369 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33383 bool temp8
= false ;
33384 PyObject
* obj0
= 0 ;
33385 PyObject
* obj1
= 0 ;
33386 PyObject
* obj2
= 0 ;
33387 PyObject
* obj3
= 0 ;
33388 PyObject
* obj4
= 0 ;
33389 PyObject
* obj5
= 0 ;
33390 PyObject
* obj6
= 0 ;
33391 PyObject
* obj7
= 0 ;
33392 char * kwnames
[] = {
33393 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33398 if (!SWIG_IsOK(res1
)) {
33399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33401 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33402 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33403 if (!SWIG_IsOK(res2
)) {
33404 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33406 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33408 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33409 if (!SWIG_IsOK(ecode3
)) {
33410 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33412 arg3
= static_cast< int >(val3
);
33417 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33423 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33427 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33428 if (!SWIG_IsOK(ecode6
)) {
33429 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33431 arg6
= static_cast< long >(val6
);
33434 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
33435 if (!SWIG_IsOK(res7
)) {
33436 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33439 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33441 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
33445 arg8
= wxString_in_helper(obj7
);
33446 if (arg8
== NULL
) SWIG_fail
;
33451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33452 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33453 wxPyEndAllowThreads(__tstate
);
33454 if (PyErr_Occurred()) SWIG_fail
;
33457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33473 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33474 PyObject
*resultobj
= 0;
33475 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33476 PyObject
*arg2
= (PyObject
*) 0 ;
33477 PyObject
*arg3
= (PyObject
*) 0 ;
33480 PyObject
* obj0
= 0 ;
33481 PyObject
* obj1
= 0 ;
33482 PyObject
* obj2
= 0 ;
33483 char * kwnames
[] = {
33484 (char *) "self",(char *) "self",(char *) "_class", NULL
33487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33489 if (!SWIG_IsOK(res1
)) {
33490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33492 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33497 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33498 wxPyEndAllowThreads(__tstate
);
33499 if (PyErr_Occurred()) SWIG_fail
;
33501 resultobj
= SWIG_Py_Void();
33508 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33509 PyObject
*resultobj
= 0;
33510 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33511 unsigned int result
;
33514 PyObject
*swig_obj
[1] ;
33516 if (!args
) SWIG_fail
;
33517 swig_obj
[0] = args
;
33518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33519 if (!SWIG_IsOK(res1
)) {
33520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33522 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33525 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
33526 wxPyEndAllowThreads(__tstate
);
33527 if (PyErr_Occurred()) SWIG_fail
;
33529 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33536 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33537 PyObject
*resultobj
= 0;
33538 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33539 unsigned int result
;
33542 PyObject
*swig_obj
[1] ;
33544 if (!args
) SWIG_fail
;
33545 swig_obj
[0] = args
;
33546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33547 if (!SWIG_IsOK(res1
)) {
33548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33550 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33553 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
33554 wxPyEndAllowThreads(__tstate
);
33555 if (PyErr_Occurred()) SWIG_fail
;
33557 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33564 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33565 PyObject
*resultobj
= 0;
33566 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33567 unsigned int arg2
;
33570 unsigned int val2
;
33572 PyObject
* obj0
= 0 ;
33573 PyObject
* obj1
= 0 ;
33574 char * kwnames
[] = {
33575 (char *) "self",(char *) "indent", NULL
33578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33580 if (!SWIG_IsOK(res1
)) {
33581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33583 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33584 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33585 if (!SWIG_IsOK(ecode2
)) {
33586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
33588 arg2
= static_cast< unsigned int >(val2
);
33590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33591 (arg1
)->SetIndent(arg2
);
33592 wxPyEndAllowThreads(__tstate
);
33593 if (PyErr_Occurred()) SWIG_fail
;
33595 resultobj
= SWIG_Py_Void();
33602 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33603 PyObject
*resultobj
= 0;
33604 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33605 unsigned int result
;
33608 PyObject
*swig_obj
[1] ;
33610 if (!args
) SWIG_fail
;
33611 swig_obj
[0] = args
;
33612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33613 if (!SWIG_IsOK(res1
)) {
33614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33616 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33619 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
33620 wxPyEndAllowThreads(__tstate
);
33621 if (PyErr_Occurred()) SWIG_fail
;
33623 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33630 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33631 PyObject
*resultobj
= 0;
33632 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33633 unsigned int arg2
;
33636 unsigned int val2
;
33638 PyObject
* obj0
= 0 ;
33639 PyObject
* obj1
= 0 ;
33640 char * kwnames
[] = {
33641 (char *) "self",(char *) "spacing", NULL
33644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33646 if (!SWIG_IsOK(res1
)) {
33647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33649 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33650 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33651 if (!SWIG_IsOK(ecode2
)) {
33652 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
33654 arg2
= static_cast< unsigned int >(val2
);
33656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33657 (arg1
)->SetSpacing(arg2
);
33658 wxPyEndAllowThreads(__tstate
);
33659 if (PyErr_Occurred()) SWIG_fail
;
33661 resultobj
= SWIG_Py_Void();
33668 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33669 PyObject
*resultobj
= 0;
33670 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33671 wxImageList
*result
= 0 ;
33674 PyObject
*swig_obj
[1] ;
33676 if (!args
) SWIG_fail
;
33677 swig_obj
[0] = args
;
33678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33679 if (!SWIG_IsOK(res1
)) {
33680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33682 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33685 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
33686 wxPyEndAllowThreads(__tstate
);
33687 if (PyErr_Occurred()) SWIG_fail
;
33690 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33698 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33699 PyObject
*resultobj
= 0;
33700 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33701 wxImageList
*result
= 0 ;
33704 PyObject
*swig_obj
[1] ;
33706 if (!args
) SWIG_fail
;
33707 swig_obj
[0] = args
;
33708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33709 if (!SWIG_IsOK(res1
)) {
33710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33712 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33715 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
33716 wxPyEndAllowThreads(__tstate
);
33717 if (PyErr_Occurred()) SWIG_fail
;
33720 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33728 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33729 PyObject
*resultobj
= 0;
33730 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33731 wxImageList
*arg2
= (wxImageList
*) 0 ;
33736 PyObject
* obj0
= 0 ;
33737 PyObject
* obj1
= 0 ;
33738 char * kwnames
[] = {
33739 (char *) "self",(char *) "imageList", NULL
33742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33744 if (!SWIG_IsOK(res1
)) {
33745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33747 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33748 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33749 if (!SWIG_IsOK(res2
)) {
33750 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33752 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
33754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33755 (arg1
)->SetImageList(arg2
);
33756 wxPyEndAllowThreads(__tstate
);
33757 if (PyErr_Occurred()) SWIG_fail
;
33759 resultobj
= SWIG_Py_Void();
33766 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33767 PyObject
*resultobj
= 0;
33768 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33769 wxImageList
*arg2
= (wxImageList
*) 0 ;
33774 PyObject
* obj0
= 0 ;
33775 PyObject
* obj1
= 0 ;
33776 char * kwnames
[] = {
33777 (char *) "self",(char *) "imageList", NULL
33780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33782 if (!SWIG_IsOK(res1
)) {
33783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33785 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33786 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33787 if (!SWIG_IsOK(res2
)) {
33788 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33790 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
33792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33793 (arg1
)->SetStateImageList(arg2
);
33794 wxPyEndAllowThreads(__tstate
);
33795 if (PyErr_Occurred()) SWIG_fail
;
33797 resultobj
= SWIG_Py_Void();
33804 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33805 PyObject
*resultobj
= 0;
33806 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33807 wxImageList
*arg2
= (wxImageList
*) 0 ;
33811 PyObject
* obj0
= 0 ;
33812 PyObject
* obj1
= 0 ;
33813 char * kwnames
[] = {
33814 (char *) "self",(char *) "imageList", NULL
33817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33819 if (!SWIG_IsOK(res1
)) {
33820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33822 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33823 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
33824 if (!SWIG_IsOK(res2
)) {
33825 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33829 (arg1
)->AssignImageList(arg2
);
33830 wxPyEndAllowThreads(__tstate
);
33831 if (PyErr_Occurred()) SWIG_fail
;
33833 resultobj
= SWIG_Py_Void();
33840 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33841 PyObject
*resultobj
= 0;
33842 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33843 wxImageList
*arg2
= (wxImageList
*) 0 ;
33847 PyObject
* obj0
= 0 ;
33848 PyObject
* obj1
= 0 ;
33849 char * kwnames
[] = {
33850 (char *) "self",(char *) "imageList", NULL
33853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33855 if (!SWIG_IsOK(res1
)) {
33856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33858 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33859 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
33860 if (!SWIG_IsOK(res2
)) {
33861 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33865 (arg1
)->AssignStateImageList(arg2
);
33866 wxPyEndAllowThreads(__tstate
);
33867 if (PyErr_Occurred()) SWIG_fail
;
33869 resultobj
= SWIG_Py_Void();
33876 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33877 PyObject
*resultobj
= 0;
33878 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33879 wxTreeItemId
*arg2
= 0 ;
33885 PyObject
* obj0
= 0 ;
33886 PyObject
* obj1
= 0 ;
33887 char * kwnames
[] = {
33888 (char *) "self",(char *) "item", NULL
33891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33893 if (!SWIG_IsOK(res1
)) {
33894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33896 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33897 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33898 if (!SWIG_IsOK(res2
)) {
33899 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33902 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33904 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33907 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
33908 wxPyEndAllowThreads(__tstate
);
33909 if (PyErr_Occurred()) SWIG_fail
;
33913 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33915 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33924 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33925 PyObject
*resultobj
= 0;
33926 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33927 wxTreeItemId
*arg2
= 0 ;
33928 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
33936 PyObject
* obj0
= 0 ;
33937 PyObject
* obj1
= 0 ;
33938 PyObject
* obj2
= 0 ;
33939 char * kwnames
[] = {
33940 (char *) "self",(char *) "item",(char *) "which", NULL
33943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33945 if (!SWIG_IsOK(res1
)) {
33946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33948 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33949 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33950 if (!SWIG_IsOK(res2
)) {
33951 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33954 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33956 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33958 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33959 if (!SWIG_IsOK(ecode3
)) {
33960 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
33962 arg3
= static_cast< wxTreeItemIcon
>(val3
);
33965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33966 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
33967 wxPyEndAllowThreads(__tstate
);
33968 if (PyErr_Occurred()) SWIG_fail
;
33970 resultobj
= SWIG_From_int(static_cast< int >(result
));
33977 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33978 PyObject
*resultobj
= 0;
33979 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33980 wxTreeItemId
*arg2
= 0 ;
33981 wxPyTreeItemData
*result
= 0 ;
33986 PyObject
* obj0
= 0 ;
33987 PyObject
* obj1
= 0 ;
33988 char * kwnames
[] = {
33989 (char *) "self",(char *) "item", NULL
33992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33994 if (!SWIG_IsOK(res1
)) {
33995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33997 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33998 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33999 if (!SWIG_IsOK(res2
)) {
34000 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34003 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34005 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34008 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34009 wxPyEndAllowThreads(__tstate
);
34010 if (PyErr_Occurred()) SWIG_fail
;
34012 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34019 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34020 PyObject
*resultobj
= 0;
34021 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34022 wxTreeItemId
*arg2
= 0 ;
34023 PyObject
*result
= 0 ;
34028 PyObject
* obj0
= 0 ;
34029 PyObject
* obj1
= 0 ;
34030 char * kwnames
[] = {
34031 (char *) "self",(char *) "item", NULL
34034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34036 if (!SWIG_IsOK(res1
)) {
34037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34039 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34040 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34041 if (!SWIG_IsOK(res2
)) {
34042 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34045 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34047 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34050 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34051 wxPyEndAllowThreads(__tstate
);
34052 if (PyErr_Occurred()) SWIG_fail
;
34054 resultobj
= result
;
34061 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34062 PyObject
*resultobj
= 0;
34063 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34064 wxTreeItemId
*arg2
= 0 ;
34070 PyObject
* obj0
= 0 ;
34071 PyObject
* obj1
= 0 ;
34072 char * kwnames
[] = {
34073 (char *) "self",(char *) "item", NULL
34076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34078 if (!SWIG_IsOK(res1
)) {
34079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34081 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34082 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34083 if (!SWIG_IsOK(res2
)) {
34084 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34087 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34089 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34092 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34093 wxPyEndAllowThreads(__tstate
);
34094 if (PyErr_Occurred()) SWIG_fail
;
34096 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34103 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34104 PyObject
*resultobj
= 0;
34105 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34106 wxTreeItemId
*arg2
= 0 ;
34112 PyObject
* obj0
= 0 ;
34113 PyObject
* obj1
= 0 ;
34114 char * kwnames
[] = {
34115 (char *) "self",(char *) "item", NULL
34118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34120 if (!SWIG_IsOK(res1
)) {
34121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34123 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34124 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34125 if (!SWIG_IsOK(res2
)) {
34126 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34129 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34131 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34134 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34135 wxPyEndAllowThreads(__tstate
);
34136 if (PyErr_Occurred()) SWIG_fail
;
34138 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34145 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34146 PyObject
*resultobj
= 0;
34147 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34148 wxTreeItemId
*arg2
= 0 ;
34154 PyObject
* obj0
= 0 ;
34155 PyObject
* obj1
= 0 ;
34156 char * kwnames
[] = {
34157 (char *) "self",(char *) "item", NULL
34160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34162 if (!SWIG_IsOK(res1
)) {
34163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34165 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34166 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34167 if (!SWIG_IsOK(res2
)) {
34168 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34171 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34173 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34176 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34177 wxPyEndAllowThreads(__tstate
);
34178 if (PyErr_Occurred()) SWIG_fail
;
34180 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34187 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34188 PyObject
*resultobj
= 0;
34189 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34190 wxTreeItemId
*arg2
= 0 ;
34191 wxString
*arg3
= 0 ;
34196 bool temp3
= false ;
34197 PyObject
* obj0
= 0 ;
34198 PyObject
* obj1
= 0 ;
34199 PyObject
* obj2
= 0 ;
34200 char * kwnames
[] = {
34201 (char *) "self",(char *) "item",(char *) "text", NULL
34204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) 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_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
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_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34215 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34217 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34219 arg3
= wxString_in_helper(obj2
);
34220 if (arg3
== NULL
) SWIG_fail
;
34224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34225 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34226 wxPyEndAllowThreads(__tstate
);
34227 if (PyErr_Occurred()) SWIG_fail
;
34229 resultobj
= SWIG_Py_Void();
34244 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34245 PyObject
*resultobj
= 0;
34246 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34247 wxTreeItemId
*arg2
= 0 ;
34249 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34258 PyObject
* obj0
= 0 ;
34259 PyObject
* obj1
= 0 ;
34260 PyObject
* obj2
= 0 ;
34261 PyObject
* obj3
= 0 ;
34262 char * kwnames
[] = {
34263 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34268 if (!SWIG_IsOK(res1
)) {
34269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34271 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34272 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34273 if (!SWIG_IsOK(res2
)) {
34274 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34277 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34279 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34280 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34281 if (!SWIG_IsOK(ecode3
)) {
34282 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34284 arg3
= static_cast< int >(val3
);
34286 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34287 if (!SWIG_IsOK(ecode4
)) {
34288 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34290 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34294 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34295 wxPyEndAllowThreads(__tstate
);
34296 if (PyErr_Occurred()) SWIG_fail
;
34298 resultobj
= SWIG_Py_Void();
34305 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34306 PyObject
*resultobj
= 0;
34307 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34308 wxTreeItemId
*arg2
= 0 ;
34309 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34315 PyObject
* obj0
= 0 ;
34316 PyObject
* obj1
= 0 ;
34317 PyObject
* obj2
= 0 ;
34318 char * kwnames
[] = {
34319 (char *) "self",(char *) "item",(char *) "data", NULL
34322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34324 if (!SWIG_IsOK(res1
)) {
34325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34327 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34328 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34329 if (!SWIG_IsOK(res2
)) {
34330 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34333 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34335 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34336 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34337 if (!SWIG_IsOK(res3
)) {
34338 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34342 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34343 wxPyEndAllowThreads(__tstate
);
34344 if (PyErr_Occurred()) SWIG_fail
;
34346 resultobj
= SWIG_Py_Void();
34353 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34354 PyObject
*resultobj
= 0;
34355 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34356 wxTreeItemId
*arg2
= 0 ;
34357 PyObject
*arg3
= (PyObject
*) 0 ;
34362 PyObject
* obj0
= 0 ;
34363 PyObject
* obj1
= 0 ;
34364 PyObject
* obj2
= 0 ;
34365 char * kwnames
[] = {
34366 (char *) "self",(char *) "item",(char *) "obj", NULL
34369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34371 if (!SWIG_IsOK(res1
)) {
34372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34374 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34375 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34376 if (!SWIG_IsOK(res2
)) {
34377 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34380 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34382 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34386 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34387 wxPyEndAllowThreads(__tstate
);
34388 if (PyErr_Occurred()) SWIG_fail
;
34390 resultobj
= SWIG_Py_Void();
34397 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34398 PyObject
*resultobj
= 0;
34399 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34400 wxTreeItemId
*arg2
= 0 ;
34401 bool arg3
= (bool) true ;
34408 PyObject
* obj0
= 0 ;
34409 PyObject
* obj1
= 0 ;
34410 PyObject
* obj2
= 0 ;
34411 char * kwnames
[] = {
34412 (char *) "self",(char *) "item",(char *) "has", NULL
34415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34417 if (!SWIG_IsOK(res1
)) {
34418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34420 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34421 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34422 if (!SWIG_IsOK(res2
)) {
34423 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34426 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34428 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34430 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34431 if (!SWIG_IsOK(ecode3
)) {
34432 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34434 arg3
= static_cast< bool >(val3
);
34437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34438 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
34439 wxPyEndAllowThreads(__tstate
);
34440 if (PyErr_Occurred()) SWIG_fail
;
34442 resultobj
= SWIG_Py_Void();
34449 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34450 PyObject
*resultobj
= 0;
34451 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34452 wxTreeItemId
*arg2
= 0 ;
34453 bool arg3
= (bool) true ;
34460 PyObject
* obj0
= 0 ;
34461 PyObject
* obj1
= 0 ;
34462 PyObject
* obj2
= 0 ;
34463 char * kwnames
[] = {
34464 (char *) "self",(char *) "item",(char *) "bold", NULL
34467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34469 if (!SWIG_IsOK(res1
)) {
34470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34472 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34473 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34474 if (!SWIG_IsOK(res2
)) {
34475 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34478 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34480 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34482 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34483 if (!SWIG_IsOK(ecode3
)) {
34484 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
34486 arg3
= static_cast< bool >(val3
);
34489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34490 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
34491 wxPyEndAllowThreads(__tstate
);
34492 if (PyErr_Occurred()) SWIG_fail
;
34494 resultobj
= SWIG_Py_Void();
34501 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34502 PyObject
*resultobj
= 0;
34503 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34504 wxTreeItemId
*arg2
= 0 ;
34505 bool arg3
= (bool) true ;
34512 PyObject
* obj0
= 0 ;
34513 PyObject
* obj1
= 0 ;
34514 PyObject
* obj2
= 0 ;
34515 char * kwnames
[] = {
34516 (char *) "self",(char *) "item",(char *) "highlight", NULL
34519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34521 if (!SWIG_IsOK(res1
)) {
34522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34524 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34525 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34526 if (!SWIG_IsOK(res2
)) {
34527 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34530 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34532 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34534 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34535 if (!SWIG_IsOK(ecode3
)) {
34536 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
34538 arg3
= static_cast< bool >(val3
);
34541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34542 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
34543 wxPyEndAllowThreads(__tstate
);
34544 if (PyErr_Occurred()) SWIG_fail
;
34546 resultobj
= SWIG_Py_Void();
34553 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34554 PyObject
*resultobj
= 0;
34555 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34556 wxTreeItemId
*arg2
= 0 ;
34557 wxColour
*arg3
= 0 ;
34563 PyObject
* obj0
= 0 ;
34564 PyObject
* obj1
= 0 ;
34565 PyObject
* obj2
= 0 ;
34566 char * kwnames
[] = {
34567 (char *) "self",(char *) "item",(char *) "col", NULL
34570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34572 if (!SWIG_IsOK(res1
)) {
34573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34575 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34576 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34577 if (!SWIG_IsOK(res2
)) {
34578 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34581 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34583 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34586 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34590 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34591 wxPyEndAllowThreads(__tstate
);
34592 if (PyErr_Occurred()) SWIG_fail
;
34594 resultobj
= SWIG_Py_Void();
34601 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34602 PyObject
*resultobj
= 0;
34603 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34604 wxTreeItemId
*arg2
= 0 ;
34605 wxColour
*arg3
= 0 ;
34611 PyObject
* obj0
= 0 ;
34612 PyObject
* obj1
= 0 ;
34613 PyObject
* obj2
= 0 ;
34614 char * kwnames
[] = {
34615 (char *) "self",(char *) "item",(char *) "col", NULL
34618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34620 if (!SWIG_IsOK(res1
)) {
34621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34623 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34624 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34625 if (!SWIG_IsOK(res2
)) {
34626 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34629 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34631 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34634 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34638 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34639 wxPyEndAllowThreads(__tstate
);
34640 if (PyErr_Occurred()) SWIG_fail
;
34642 resultobj
= SWIG_Py_Void();
34649 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34650 PyObject
*resultobj
= 0;
34651 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34652 wxTreeItemId
*arg2
= 0 ;
34660 PyObject
* obj0
= 0 ;
34661 PyObject
* obj1
= 0 ;
34662 PyObject
* obj2
= 0 ;
34663 char * kwnames
[] = {
34664 (char *) "self",(char *) "item",(char *) "font", NULL
34667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34669 if (!SWIG_IsOK(res1
)) {
34670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34672 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34673 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34674 if (!SWIG_IsOK(res2
)) {
34675 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34678 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34680 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34681 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
34682 if (!SWIG_IsOK(res3
)) {
34683 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34686 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34688 arg3
= reinterpret_cast< wxFont
* >(argp3
);
34690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34691 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
34692 wxPyEndAllowThreads(__tstate
);
34693 if (PyErr_Occurred()) SWIG_fail
;
34695 resultobj
= SWIG_Py_Void();
34702 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34703 PyObject
*resultobj
= 0;
34704 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34705 wxTreeItemId
*arg2
= 0 ;
34711 PyObject
* obj0
= 0 ;
34712 PyObject
* obj1
= 0 ;
34713 char * kwnames
[] = {
34714 (char *) "self",(char *) "item", NULL
34717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34719 if (!SWIG_IsOK(res1
)) {
34720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34722 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34723 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34724 if (!SWIG_IsOK(res2
)) {
34725 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34728 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34730 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34733 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
34734 wxPyEndAllowThreads(__tstate
);
34735 if (PyErr_Occurred()) SWIG_fail
;
34738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34746 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34747 PyObject
*resultobj
= 0;
34748 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34749 wxTreeItemId
*arg2
= 0 ;
34755 PyObject
* obj0
= 0 ;
34756 PyObject
* obj1
= 0 ;
34757 char * kwnames
[] = {
34758 (char *) "self",(char *) "item", NULL
34761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34763 if (!SWIG_IsOK(res1
)) {
34764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34766 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34767 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34768 if (!SWIG_IsOK(res2
)) {
34769 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34772 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34774 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34777 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
34778 wxPyEndAllowThreads(__tstate
);
34779 if (PyErr_Occurred()) SWIG_fail
;
34782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34790 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34791 PyObject
*resultobj
= 0;
34792 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34793 wxTreeItemId
*arg2
= 0 ;
34799 PyObject
* obj0
= 0 ;
34800 PyObject
* obj1
= 0 ;
34801 char * kwnames
[] = {
34802 (char *) "self",(char *) "item", NULL
34805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34807 if (!SWIG_IsOK(res1
)) {
34808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34810 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34811 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34812 if (!SWIG_IsOK(res2
)) {
34813 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34816 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34818 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34821 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
34822 wxPyEndAllowThreads(__tstate
);
34823 if (PyErr_Occurred()) SWIG_fail
;
34826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34834 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34835 PyObject
*resultobj
= 0;
34836 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34837 wxTreeItemId
*arg2
= 0 ;
34843 PyObject
* obj0
= 0 ;
34844 PyObject
* obj1
= 0 ;
34845 char * kwnames
[] = {
34846 (char *) "self",(char *) "item", NULL
34849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34851 if (!SWIG_IsOK(res1
)) {
34852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34854 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34855 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34856 if (!SWIG_IsOK(res2
)) {
34857 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34860 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34862 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34865 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
34866 wxPyEndAllowThreads(__tstate
);
34867 if (PyErr_Occurred()) SWIG_fail
;
34870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34878 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34879 PyObject
*resultobj
= 0;
34880 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34881 wxTreeItemId
*arg2
= 0 ;
34887 PyObject
* obj0
= 0 ;
34888 PyObject
* obj1
= 0 ;
34889 char * kwnames
[] = {
34890 (char *) "self",(char *) "item", NULL
34893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34895 if (!SWIG_IsOK(res1
)) {
34896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34898 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34899 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34900 if (!SWIG_IsOK(res2
)) {
34901 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34904 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34906 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34909 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
34910 wxPyEndAllowThreads(__tstate
);
34911 if (PyErr_Occurred()) SWIG_fail
;
34914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34922 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34923 PyObject
*resultobj
= 0;
34924 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34925 wxTreeItemId
*arg2
= 0 ;
34926 bool arg3
= (bool) true ;
34934 PyObject
* obj0
= 0 ;
34935 PyObject
* obj1
= 0 ;
34936 PyObject
* obj2
= 0 ;
34937 char * kwnames
[] = {
34938 (char *) "self",(char *) "item",(char *) "recursively", NULL
34941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34943 if (!SWIG_IsOK(res1
)) {
34944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34946 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34947 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34948 if (!SWIG_IsOK(res2
)) {
34949 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34952 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34954 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34956 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34957 if (!SWIG_IsOK(ecode3
)) {
34958 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
34960 arg3
= static_cast< bool >(val3
);
34963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34964 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
34965 wxPyEndAllowThreads(__tstate
);
34966 if (PyErr_Occurred()) SWIG_fail
;
34968 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
34975 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34976 PyObject
*resultobj
= 0;
34977 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34978 wxTreeItemId result
;
34981 PyObject
*swig_obj
[1] ;
34983 if (!args
) SWIG_fail
;
34984 swig_obj
[0] = args
;
34985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34986 if (!SWIG_IsOK(res1
)) {
34987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34989 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34992 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
34993 wxPyEndAllowThreads(__tstate
);
34994 if (PyErr_Occurred()) SWIG_fail
;
34996 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35003 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35004 PyObject
*resultobj
= 0;
35005 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35006 wxTreeItemId result
;
35009 PyObject
*swig_obj
[1] ;
35011 if (!args
) SWIG_fail
;
35012 swig_obj
[0] = args
;
35013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35014 if (!SWIG_IsOK(res1
)) {
35015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35017 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35020 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35021 wxPyEndAllowThreads(__tstate
);
35022 if (PyErr_Occurred()) SWIG_fail
;
35024 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35031 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35032 PyObject
*resultobj
= 0;
35033 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35034 PyObject
*result
= 0 ;
35037 PyObject
*swig_obj
[1] ;
35039 if (!args
) SWIG_fail
;
35040 swig_obj
[0] = args
;
35041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35042 if (!SWIG_IsOK(res1
)) {
35043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35045 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35048 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35049 wxPyEndAllowThreads(__tstate
);
35050 if (PyErr_Occurred()) SWIG_fail
;
35052 resultobj
= result
;
35059 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35060 PyObject
*resultobj
= 0;
35061 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35062 wxTreeItemId
*arg2
= 0 ;
35063 wxTreeItemId result
;
35068 PyObject
* obj0
= 0 ;
35069 PyObject
* obj1
= 0 ;
35070 char * kwnames
[] = {
35071 (char *) "self",(char *) "item", NULL
35074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35076 if (!SWIG_IsOK(res1
)) {
35077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35079 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35080 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35081 if (!SWIG_IsOK(res2
)) {
35082 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35085 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35087 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35090 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35091 wxPyEndAllowThreads(__tstate
);
35092 if (PyErr_Occurred()) SWIG_fail
;
35094 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35101 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35102 PyObject
*resultobj
= 0;
35103 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35104 wxTreeItemId
*arg2
= 0 ;
35105 PyObject
*result
= 0 ;
35110 PyObject
* obj0
= 0 ;
35111 PyObject
* obj1
= 0 ;
35112 char * kwnames
[] = {
35113 (char *) "self",(char *) "item", NULL
35116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35118 if (!SWIG_IsOK(res1
)) {
35119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35121 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35122 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35123 if (!SWIG_IsOK(res2
)) {
35124 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35127 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35129 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35132 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35133 wxPyEndAllowThreads(__tstate
);
35134 if (PyErr_Occurred()) SWIG_fail
;
35136 resultobj
= result
;
35143 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35144 PyObject
*resultobj
= 0;
35145 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35146 wxTreeItemId
*arg2
= 0 ;
35147 void *arg3
= (void *) 0 ;
35148 PyObject
*result
= 0 ;
35154 PyObject
* obj0
= 0 ;
35155 PyObject
* obj1
= 0 ;
35156 PyObject
* obj2
= 0 ;
35157 char * kwnames
[] = {
35158 (char *) "self",(char *) "item",(char *) "cookie", NULL
35161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35163 if (!SWIG_IsOK(res1
)) {
35164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35166 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35167 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35168 if (!SWIG_IsOK(res2
)) {
35169 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35172 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35174 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35175 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35176 if (!SWIG_IsOK(res3
)) {
35177 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35181 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35182 wxPyEndAllowThreads(__tstate
);
35183 if (PyErr_Occurred()) SWIG_fail
;
35185 resultobj
= result
;
35192 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35193 PyObject
*resultobj
= 0;
35194 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35195 wxTreeItemId
*arg2
= 0 ;
35196 wxTreeItemId result
;
35201 PyObject
* obj0
= 0 ;
35202 PyObject
* obj1
= 0 ;
35203 char * kwnames
[] = {
35204 (char *) "self",(char *) "item", NULL
35207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35209 if (!SWIG_IsOK(res1
)) {
35210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35212 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35213 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35214 if (!SWIG_IsOK(res2
)) {
35215 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35218 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35220 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35223 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35224 wxPyEndAllowThreads(__tstate
);
35225 if (PyErr_Occurred()) SWIG_fail
;
35227 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35234 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35235 PyObject
*resultobj
= 0;
35236 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35237 wxTreeItemId
*arg2
= 0 ;
35238 wxTreeItemId result
;
35243 PyObject
* obj0
= 0 ;
35244 PyObject
* obj1
= 0 ;
35245 char * kwnames
[] = {
35246 (char *) "self",(char *) "item", NULL
35249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35251 if (!SWIG_IsOK(res1
)) {
35252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35254 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35255 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35256 if (!SWIG_IsOK(res2
)) {
35257 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35260 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35262 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35265 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35266 wxPyEndAllowThreads(__tstate
);
35267 if (PyErr_Occurred()) SWIG_fail
;
35269 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35276 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35277 PyObject
*resultobj
= 0;
35278 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35279 wxTreeItemId
*arg2
= 0 ;
35280 wxTreeItemId result
;
35285 PyObject
* obj0
= 0 ;
35286 PyObject
* obj1
= 0 ;
35287 char * kwnames
[] = {
35288 (char *) "self",(char *) "item", NULL
35291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35293 if (!SWIG_IsOK(res1
)) {
35294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35296 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35297 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35298 if (!SWIG_IsOK(res2
)) {
35299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35302 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35304 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35307 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35308 wxPyEndAllowThreads(__tstate
);
35309 if (PyErr_Occurred()) SWIG_fail
;
35311 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35318 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35319 PyObject
*resultobj
= 0;
35320 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35321 wxTreeItemId result
;
35324 PyObject
*swig_obj
[1] ;
35326 if (!args
) SWIG_fail
;
35327 swig_obj
[0] = args
;
35328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35329 if (!SWIG_IsOK(res1
)) {
35330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35332 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35335 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35336 wxPyEndAllowThreads(__tstate
);
35337 if (PyErr_Occurred()) SWIG_fail
;
35339 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35346 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35347 PyObject
*resultobj
= 0;
35348 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35349 wxTreeItemId
*arg2
= 0 ;
35350 wxTreeItemId result
;
35355 PyObject
* obj0
= 0 ;
35356 PyObject
* obj1
= 0 ;
35357 char * kwnames
[] = {
35358 (char *) "self",(char *) "item", NULL
35361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35363 if (!SWIG_IsOK(res1
)) {
35364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35366 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35367 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35368 if (!SWIG_IsOK(res2
)) {
35369 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35372 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35374 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35377 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35378 wxPyEndAllowThreads(__tstate
);
35379 if (PyErr_Occurred()) SWIG_fail
;
35381 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35388 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35389 PyObject
*resultobj
= 0;
35390 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35391 wxTreeItemId
*arg2
= 0 ;
35392 wxTreeItemId result
;
35397 PyObject
* obj0
= 0 ;
35398 PyObject
* obj1
= 0 ;
35399 char * kwnames
[] = {
35400 (char *) "self",(char *) "item", NULL
35403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35405 if (!SWIG_IsOK(res1
)) {
35406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35408 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35409 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35410 if (!SWIG_IsOK(res2
)) {
35411 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35414 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35416 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35419 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
35420 wxPyEndAllowThreads(__tstate
);
35421 if (PyErr_Occurred()) SWIG_fail
;
35423 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35430 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35431 PyObject
*resultobj
= 0;
35432 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35433 wxString
*arg2
= 0 ;
35434 int arg3
= (int) -1 ;
35435 int arg4
= (int) -1 ;
35436 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
35437 wxTreeItemId result
;
35440 bool temp2
= false ;
35446 PyObject
* obj0
= 0 ;
35447 PyObject
* obj1
= 0 ;
35448 PyObject
* obj2
= 0 ;
35449 PyObject
* obj3
= 0 ;
35450 PyObject
* obj4
= 0 ;
35451 char * kwnames
[] = {
35452 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35457 if (!SWIG_IsOK(res1
)) {
35458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35460 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35462 arg2
= wxString_in_helper(obj1
);
35463 if (arg2
== NULL
) SWIG_fail
;
35467 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35468 if (!SWIG_IsOK(ecode3
)) {
35469 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
35471 arg3
= static_cast< int >(val3
);
35474 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35475 if (!SWIG_IsOK(ecode4
)) {
35476 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
35478 arg4
= static_cast< int >(val4
);
35481 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35482 if (!SWIG_IsOK(res5
)) {
35483 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
35487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35488 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
35489 wxPyEndAllowThreads(__tstate
);
35490 if (PyErr_Occurred()) SWIG_fail
;
35492 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35507 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35508 PyObject
*resultobj
= 0;
35509 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35510 wxTreeItemId
*arg2
= 0 ;
35511 wxString
*arg3
= 0 ;
35512 int arg4
= (int) -1 ;
35513 int arg5
= (int) -1 ;
35514 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35515 wxTreeItemId result
;
35520 bool temp3
= false ;
35526 PyObject
* obj0
= 0 ;
35527 PyObject
* obj1
= 0 ;
35528 PyObject
* obj2
= 0 ;
35529 PyObject
* obj3
= 0 ;
35530 PyObject
* obj4
= 0 ;
35531 PyObject
* obj5
= 0 ;
35532 char * kwnames
[] = {
35533 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35538 if (!SWIG_IsOK(res1
)) {
35539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35541 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35542 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35543 if (!SWIG_IsOK(res2
)) {
35544 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35547 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35549 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35551 arg3
= wxString_in_helper(obj2
);
35552 if (arg3
== NULL
) SWIG_fail
;
35556 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35557 if (!SWIG_IsOK(ecode4
)) {
35558 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
35560 arg4
= static_cast< int >(val4
);
35563 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35564 if (!SWIG_IsOK(ecode5
)) {
35565 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
35567 arg5
= static_cast< int >(val5
);
35570 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35571 if (!SWIG_IsOK(res6
)) {
35572 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35577 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35578 wxPyEndAllowThreads(__tstate
);
35579 if (PyErr_Occurred()) SWIG_fail
;
35581 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35596 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35597 PyObject
*resultobj
= 0;
35598 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35599 wxTreeItemId
*arg2
= 0 ;
35600 wxTreeItemId
*arg3
= 0 ;
35601 wxString
*arg4
= 0 ;
35602 int arg5
= (int) -1 ;
35603 int arg6
= (int) -1 ;
35604 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35605 wxTreeItemId result
;
35612 bool temp4
= false ;
35618 PyObject
* obj0
= 0 ;
35619 PyObject
* obj1
= 0 ;
35620 PyObject
* obj2
= 0 ;
35621 PyObject
* obj3
= 0 ;
35622 PyObject
* obj4
= 0 ;
35623 PyObject
* obj5
= 0 ;
35624 PyObject
* obj6
= 0 ;
35625 char * kwnames
[] = {
35626 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35631 if (!SWIG_IsOK(res1
)) {
35632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35634 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35635 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35636 if (!SWIG_IsOK(res2
)) {
35637 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35640 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35642 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35643 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35644 if (!SWIG_IsOK(res3
)) {
35645 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35648 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35650 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
35652 arg4
= wxString_in_helper(obj3
);
35653 if (arg4
== NULL
) SWIG_fail
;
35657 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35658 if (!SWIG_IsOK(ecode5
)) {
35659 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
35661 arg5
= static_cast< int >(val5
);
35664 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35665 if (!SWIG_IsOK(ecode6
)) {
35666 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
35668 arg6
= static_cast< int >(val6
);
35671 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35672 if (!SWIG_IsOK(res7
)) {
35673 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35678 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35679 wxPyEndAllowThreads(__tstate
);
35680 if (PyErr_Occurred()) SWIG_fail
;
35682 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35697 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35698 PyObject
*resultobj
= 0;
35699 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35700 wxTreeItemId
*arg2
= 0 ;
35702 wxString
*arg4
= 0 ;
35703 int arg5
= (int) -1 ;
35704 int arg6
= (int) -1 ;
35705 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35706 wxTreeItemId result
;
35713 bool temp4
= false ;
35719 PyObject
* obj0
= 0 ;
35720 PyObject
* obj1
= 0 ;
35721 PyObject
* obj2
= 0 ;
35722 PyObject
* obj3
= 0 ;
35723 PyObject
* obj4
= 0 ;
35724 PyObject
* obj5
= 0 ;
35725 PyObject
* obj6
= 0 ;
35726 char * kwnames
[] = {
35727 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35732 if (!SWIG_IsOK(res1
)) {
35733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35735 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35736 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35737 if (!SWIG_IsOK(res2
)) {
35738 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35741 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35743 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35744 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
35745 if (!SWIG_IsOK(ecode3
)) {
35746 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
35748 arg3
= static_cast< size_t >(val3
);
35750 arg4
= wxString_in_helper(obj3
);
35751 if (arg4
== NULL
) SWIG_fail
;
35755 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35756 if (!SWIG_IsOK(ecode5
)) {
35757 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
35759 arg5
= static_cast< int >(val5
);
35762 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35763 if (!SWIG_IsOK(ecode6
)) {
35764 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
35766 arg6
= static_cast< int >(val6
);
35769 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35770 if (!SWIG_IsOK(res7
)) {
35771 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35776 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35777 wxPyEndAllowThreads(__tstate
);
35778 if (PyErr_Occurred()) SWIG_fail
;
35780 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35795 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35796 PyObject
*resultobj
= 0;
35797 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35798 wxTreeItemId
*arg2
= 0 ;
35799 wxString
*arg3
= 0 ;
35800 int arg4
= (int) -1 ;
35801 int arg5
= (int) -1 ;
35802 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35803 wxTreeItemId result
;
35808 bool temp3
= false ;
35814 PyObject
* obj0
= 0 ;
35815 PyObject
* obj1
= 0 ;
35816 PyObject
* obj2
= 0 ;
35817 PyObject
* obj3
= 0 ;
35818 PyObject
* obj4
= 0 ;
35819 PyObject
* obj5
= 0 ;
35820 char * kwnames
[] = {
35821 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35826 if (!SWIG_IsOK(res1
)) {
35827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35829 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35830 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35831 if (!SWIG_IsOK(res2
)) {
35832 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35835 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35837 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35839 arg3
= wxString_in_helper(obj2
);
35840 if (arg3
== NULL
) SWIG_fail
;
35844 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35845 if (!SWIG_IsOK(ecode4
)) {
35846 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
35848 arg4
= static_cast< int >(val4
);
35851 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35852 if (!SWIG_IsOK(ecode5
)) {
35853 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
35855 arg5
= static_cast< int >(val5
);
35858 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35859 if (!SWIG_IsOK(res6
)) {
35860 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35865 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35866 wxPyEndAllowThreads(__tstate
);
35867 if (PyErr_Occurred()) SWIG_fail
;
35869 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35884 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35885 PyObject
*resultobj
= 0;
35886 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35887 wxTreeItemId
*arg2
= 0 ;
35892 PyObject
* obj0
= 0 ;
35893 PyObject
* obj1
= 0 ;
35894 char * kwnames
[] = {
35895 (char *) "self",(char *) "item", NULL
35898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35900 if (!SWIG_IsOK(res1
)) {
35901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35903 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35904 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35905 if (!SWIG_IsOK(res2
)) {
35906 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35909 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35911 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35914 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
35915 wxPyEndAllowThreads(__tstate
);
35916 if (PyErr_Occurred()) SWIG_fail
;
35918 resultobj
= SWIG_Py_Void();
35925 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35926 PyObject
*resultobj
= 0;
35927 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35928 wxTreeItemId
*arg2
= 0 ;
35933 PyObject
* obj0
= 0 ;
35934 PyObject
* obj1
= 0 ;
35935 char * kwnames
[] = {
35936 (char *) "self",(char *) "item", NULL
35939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35941 if (!SWIG_IsOK(res1
)) {
35942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35944 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35945 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35946 if (!SWIG_IsOK(res2
)) {
35947 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35950 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35952 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35955 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
35956 wxPyEndAllowThreads(__tstate
);
35957 if (PyErr_Occurred()) SWIG_fail
;
35959 resultobj
= SWIG_Py_Void();
35966 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35967 PyObject
*resultobj
= 0;
35968 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35971 PyObject
*swig_obj
[1] ;
35973 if (!args
) SWIG_fail
;
35974 swig_obj
[0] = args
;
35975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35976 if (!SWIG_IsOK(res1
)) {
35977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35979 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35982 (arg1
)->DeleteAllItems();
35983 wxPyEndAllowThreads(__tstate
);
35984 if (PyErr_Occurred()) SWIG_fail
;
35986 resultobj
= SWIG_Py_Void();
35993 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35994 PyObject
*resultobj
= 0;
35995 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35996 wxTreeItemId
*arg2
= 0 ;
36001 PyObject
* obj0
= 0 ;
36002 PyObject
* obj1
= 0 ;
36003 char * kwnames
[] = {
36004 (char *) "self",(char *) "item", NULL
36007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36009 if (!SWIG_IsOK(res1
)) {
36010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36012 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36013 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36014 if (!SWIG_IsOK(res2
)) {
36015 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36018 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36020 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36023 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36024 wxPyEndAllowThreads(__tstate
);
36025 if (PyErr_Occurred()) SWIG_fail
;
36027 resultobj
= SWIG_Py_Void();
36034 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36035 PyObject
*resultobj
= 0;
36036 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36037 wxTreeItemId
*arg2
= 0 ;
36042 PyObject
* obj0
= 0 ;
36043 PyObject
* obj1
= 0 ;
36044 char * kwnames
[] = {
36045 (char *) "self",(char *) "item", NULL
36048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36050 if (!SWIG_IsOK(res1
)) {
36051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36053 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36054 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36055 if (!SWIG_IsOK(res2
)) {
36056 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36059 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36061 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36064 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36065 wxPyEndAllowThreads(__tstate
);
36066 if (PyErr_Occurred()) SWIG_fail
;
36068 resultobj
= SWIG_Py_Void();
36075 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36076 PyObject
*resultobj
= 0;
36077 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36078 wxTreeItemId
*arg2
= 0 ;
36083 PyObject
* obj0
= 0 ;
36084 PyObject
* obj1
= 0 ;
36085 char * kwnames
[] = {
36086 (char *) "self",(char *) "item", NULL
36089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36091 if (!SWIG_IsOK(res1
)) {
36092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36094 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36095 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36096 if (!SWIG_IsOK(res2
)) {
36097 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36100 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36102 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36105 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36106 wxPyEndAllowThreads(__tstate
);
36107 if (PyErr_Occurred()) SWIG_fail
;
36109 resultobj
= SWIG_Py_Void();
36116 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36117 PyObject
*resultobj
= 0;
36118 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36119 wxTreeItemId
*arg2
= 0 ;
36124 PyObject
* obj0
= 0 ;
36125 PyObject
* obj1
= 0 ;
36126 char * kwnames
[] = {
36127 (char *) "self",(char *) "item", NULL
36130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36132 if (!SWIG_IsOK(res1
)) {
36133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36135 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36136 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36137 if (!SWIG_IsOK(res2
)) {
36138 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36141 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36143 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36146 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36147 wxPyEndAllowThreads(__tstate
);
36148 if (PyErr_Occurred()) SWIG_fail
;
36150 resultobj
= SWIG_Py_Void();
36157 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36158 PyObject
*resultobj
= 0;
36159 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36162 PyObject
*swig_obj
[1] ;
36164 if (!args
) SWIG_fail
;
36165 swig_obj
[0] = args
;
36166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36167 if (!SWIG_IsOK(res1
)) {
36168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36170 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36173 (arg1
)->Unselect();
36174 wxPyEndAllowThreads(__tstate
);
36175 if (PyErr_Occurred()) SWIG_fail
;
36177 resultobj
= SWIG_Py_Void();
36184 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36185 PyObject
*resultobj
= 0;
36186 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36187 wxTreeItemId
*arg2
= 0 ;
36192 PyObject
* obj0
= 0 ;
36193 PyObject
* obj1
= 0 ;
36194 char * kwnames
[] = {
36195 (char *) "self",(char *) "item", NULL
36198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36200 if (!SWIG_IsOK(res1
)) {
36201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36203 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36204 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36205 if (!SWIG_IsOK(res2
)) {
36206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36209 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36211 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36214 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36215 wxPyEndAllowThreads(__tstate
);
36216 if (PyErr_Occurred()) SWIG_fail
;
36218 resultobj
= SWIG_Py_Void();
36225 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36226 PyObject
*resultobj
= 0;
36227 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36230 PyObject
*swig_obj
[1] ;
36232 if (!args
) SWIG_fail
;
36233 swig_obj
[0] = args
;
36234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36235 if (!SWIG_IsOK(res1
)) {
36236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36238 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36241 (arg1
)->UnselectAll();
36242 wxPyEndAllowThreads(__tstate
);
36243 if (PyErr_Occurred()) SWIG_fail
;
36245 resultobj
= SWIG_Py_Void();
36252 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36253 PyObject
*resultobj
= 0;
36254 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36255 wxTreeItemId
*arg2
= 0 ;
36256 bool arg3
= (bool) true ;
36263 PyObject
* obj0
= 0 ;
36264 PyObject
* obj1
= 0 ;
36265 PyObject
* obj2
= 0 ;
36266 char * kwnames
[] = {
36267 (char *) "self",(char *) "item",(char *) "select", NULL
36270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36272 if (!SWIG_IsOK(res1
)) {
36273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36275 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36276 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36277 if (!SWIG_IsOK(res2
)) {
36278 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36281 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36283 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36285 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36286 if (!SWIG_IsOK(ecode3
)) {
36287 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36289 arg3
= static_cast< bool >(val3
);
36292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36293 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36294 wxPyEndAllowThreads(__tstate
);
36295 if (PyErr_Occurred()) SWIG_fail
;
36297 resultobj
= SWIG_Py_Void();
36304 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36305 PyObject
*resultobj
= 0;
36306 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36307 wxTreeItemId
*arg2
= 0 ;
36312 PyObject
* obj0
= 0 ;
36313 PyObject
* obj1
= 0 ;
36314 char * kwnames
[] = {
36315 (char *) "self",(char *) "item", NULL
36318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36320 if (!SWIG_IsOK(res1
)) {
36321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36323 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36324 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36325 if (!SWIG_IsOK(res2
)) {
36326 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36329 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36331 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36334 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
36335 wxPyEndAllowThreads(__tstate
);
36336 if (PyErr_Occurred()) SWIG_fail
;
36338 resultobj
= SWIG_Py_Void();
36345 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36346 PyObject
*resultobj
= 0;
36347 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36348 wxTreeItemId
*arg2
= 0 ;
36353 PyObject
* obj0
= 0 ;
36354 PyObject
* obj1
= 0 ;
36355 char * kwnames
[] = {
36356 (char *) "self",(char *) "item", NULL
36359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36361 if (!SWIG_IsOK(res1
)) {
36362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36364 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36365 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36366 if (!SWIG_IsOK(res2
)) {
36367 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36370 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36372 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36375 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
36376 wxPyEndAllowThreads(__tstate
);
36377 if (PyErr_Occurred()) SWIG_fail
;
36379 resultobj
= SWIG_Py_Void();
36386 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36387 PyObject
*resultobj
= 0;
36388 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36389 wxTreeItemId
*arg2
= 0 ;
36394 PyObject
* obj0
= 0 ;
36395 PyObject
* obj1
= 0 ;
36396 char * kwnames
[] = {
36397 (char *) "self",(char *) "item", NULL
36400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36402 if (!SWIG_IsOK(res1
)) {
36403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36405 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36406 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36407 if (!SWIG_IsOK(res2
)) {
36408 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36411 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36413 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36416 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
36417 wxPyEndAllowThreads(__tstate
);
36418 if (PyErr_Occurred()) SWIG_fail
;
36420 resultobj
= SWIG_Py_Void();
36427 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36428 PyObject
*resultobj
= 0;
36429 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36430 wxTreeItemId
*arg2
= 0 ;
36435 PyObject
* obj0
= 0 ;
36436 PyObject
* obj1
= 0 ;
36437 char * kwnames
[] = {
36438 (char *) "self",(char *) "item", NULL
36441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36443 if (!SWIG_IsOK(res1
)) {
36444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36446 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36447 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36448 if (!SWIG_IsOK(res2
)) {
36449 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36452 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36454 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36457 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
36458 wxPyEndAllowThreads(__tstate
);
36459 if (PyErr_Occurred()) SWIG_fail
;
36461 resultobj
= SWIG_Py_Void();
36468 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36469 PyObject
*resultobj
= 0;
36470 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36471 wxTextCtrl
*result
= 0 ;
36474 PyObject
*swig_obj
[1] ;
36476 if (!args
) SWIG_fail
;
36477 swig_obj
[0] = args
;
36478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36479 if (!SWIG_IsOK(res1
)) {
36480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36482 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36485 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
36486 wxPyEndAllowThreads(__tstate
);
36487 if (PyErr_Occurred()) SWIG_fail
;
36490 resultobj
= wxPyMake_wxObject(result
, 0);
36498 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36499 PyObject
*resultobj
= 0;
36500 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36501 wxTreeItemId
*arg2
= 0 ;
36506 PyObject
* obj0
= 0 ;
36507 PyObject
* obj1
= 0 ;
36508 char * kwnames
[] = {
36509 (char *) "self",(char *) "item", NULL
36512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36514 if (!SWIG_IsOK(res1
)) {
36515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36517 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36518 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36519 if (!SWIG_IsOK(res2
)) {
36520 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36523 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36525 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36528 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
36529 wxPyEndAllowThreads(__tstate
);
36530 if (PyErr_Occurred()) SWIG_fail
;
36532 resultobj
= SWIG_Py_Void();
36539 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36540 PyObject
*resultobj
= 0;
36541 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36542 wxPoint
*arg2
= 0 ;
36544 wxTreeItemId result
;
36549 int res3
= SWIG_TMPOBJ
;
36550 PyObject
* obj0
= 0 ;
36551 PyObject
* obj1
= 0 ;
36552 char * kwnames
[] = {
36553 (char *) "self",(char *) "point", NULL
36557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36559 if (!SWIG_IsOK(res1
)) {
36560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36562 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36565 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36569 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
36570 wxPyEndAllowThreads(__tstate
);
36571 if (PyErr_Occurred()) SWIG_fail
;
36573 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36574 if (SWIG_IsTmpObj(res3
)) {
36575 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
36577 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36578 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
36586 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36587 PyObject
*resultobj
= 0;
36588 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36589 wxTreeItemId
*arg2
= 0 ;
36590 bool arg3
= (bool) false ;
36591 PyObject
*result
= 0 ;
36598 PyObject
* obj0
= 0 ;
36599 PyObject
* obj1
= 0 ;
36600 PyObject
* obj2
= 0 ;
36601 char * kwnames
[] = {
36602 (char *) "self",(char *) "item",(char *) "textOnly", NULL
36605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36607 if (!SWIG_IsOK(res1
)) {
36608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36610 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36611 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36612 if (!SWIG_IsOK(res2
)) {
36613 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36616 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36618 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36620 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36621 if (!SWIG_IsOK(ecode3
)) {
36622 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
36624 arg3
= static_cast< bool >(val3
);
36627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36628 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
36629 wxPyEndAllowThreads(__tstate
);
36630 if (PyErr_Occurred()) SWIG_fail
;
36632 resultobj
= result
;
36639 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36640 PyObject
*resultobj
= 0;
36641 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
36642 SwigValueWrapper
<wxVisualAttributes
> result
;
36645 PyObject
* obj0
= 0 ;
36646 char * kwnames
[] = {
36647 (char *) "variant", NULL
36650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
36652 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
36653 if (!SWIG_IsOK(ecode1
)) {
36654 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
36656 arg1
= static_cast< wxWindowVariant
>(val1
);
36659 if (!wxPyCheckForApp()) SWIG_fail
;
36660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36661 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
36662 wxPyEndAllowThreads(__tstate
);
36663 if (PyErr_Occurred()) SWIG_fail
;
36665 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
36672 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36673 PyObject
*resultobj
= 0;
36674 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36680 PyObject
* obj0
= 0 ;
36681 PyObject
* obj1
= 0 ;
36682 char * kwnames
[] = {
36683 (char *) "self",(char *) "q", NULL
36686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36688 if (!SWIG_IsOK(res1
)) {
36689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36691 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36692 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
36693 if (!SWIG_IsOK(ecode2
)) {
36694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
36696 arg2
= static_cast< bool >(val2
);
36698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36699 (arg1
)->SetQuickBestSize(arg2
);
36700 wxPyEndAllowThreads(__tstate
);
36701 if (PyErr_Occurred()) SWIG_fail
;
36703 resultobj
= SWIG_Py_Void();
36710 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36711 PyObject
*resultobj
= 0;
36712 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36716 PyObject
*swig_obj
[1] ;
36718 if (!args
) SWIG_fail
;
36719 swig_obj
[0] = args
;
36720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36721 if (!SWIG_IsOK(res1
)) {
36722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36724 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36727 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
36728 wxPyEndAllowThreads(__tstate
);
36729 if (PyErr_Occurred()) SWIG_fail
;
36732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36740 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36742 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36743 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
36744 return SWIG_Py_Void();
36747 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36748 return SWIG_Python_InitShadowInstance(args
);
36751 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
36752 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
36757 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
36758 PyObject
*pyobj
= 0;
36762 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
36764 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
36771 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36772 PyObject
*resultobj
= 0;
36773 wxWindow
*arg1
= (wxWindow
*) 0 ;
36774 int arg2
= (int) (int)-1 ;
36775 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
36776 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
36777 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
36778 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
36779 wxSize
const &arg5_defvalue
= wxDefaultSize
;
36780 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
36781 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
36782 wxString
const &arg7_defvalue
= wxPyEmptyString
;
36783 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
36784 int arg8
= (int) 0 ;
36785 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
36786 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
36787 wxGenericDirCtrl
*result
= 0 ;
36792 bool temp3
= false ;
36797 bool temp7
= false ;
36800 bool temp9
= false ;
36801 PyObject
* obj0
= 0 ;
36802 PyObject
* obj1
= 0 ;
36803 PyObject
* obj2
= 0 ;
36804 PyObject
* obj3
= 0 ;
36805 PyObject
* obj4
= 0 ;
36806 PyObject
* obj5
= 0 ;
36807 PyObject
* obj6
= 0 ;
36808 PyObject
* obj7
= 0 ;
36809 PyObject
* obj8
= 0 ;
36810 char * kwnames
[] = {
36811 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
36814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
36815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36816 if (!SWIG_IsOK(res1
)) {
36817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
36819 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36821 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36822 if (!SWIG_IsOK(ecode2
)) {
36823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
36825 arg2
= static_cast< int >(val2
);
36829 arg3
= wxString_in_helper(obj2
);
36830 if (arg3
== NULL
) SWIG_fail
;
36837 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36843 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
36847 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
36848 if (!SWIG_IsOK(ecode6
)) {
36849 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
36851 arg6
= static_cast< long >(val6
);
36855 arg7
= wxString_in_helper(obj6
);
36856 if (arg7
== NULL
) SWIG_fail
;
36861 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
36862 if (!SWIG_IsOK(ecode8
)) {
36863 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
36865 arg8
= static_cast< int >(val8
);
36869 arg9
= wxString_in_helper(obj8
);
36870 if (arg9
== NULL
) SWIG_fail
;
36875 if (!wxPyCheckForApp()) SWIG_fail
;
36876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36877 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
36878 wxPyEndAllowThreads(__tstate
);
36879 if (PyErr_Occurred()) SWIG_fail
;
36881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
36912 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36913 PyObject
*resultobj
= 0;
36914 wxGenericDirCtrl
*result
= 0 ;
36916 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
36918 if (!wxPyCheckForApp()) SWIG_fail
;
36919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36920 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
36921 wxPyEndAllowThreads(__tstate
);
36922 if (PyErr_Occurred()) SWIG_fail
;
36924 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
36931 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36932 PyObject
*resultobj
= 0;
36933 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36934 wxWindow
*arg2
= (wxWindow
*) 0 ;
36935 int arg3
= (int) (int)-1 ;
36936 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
36937 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
36938 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
36939 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
36940 wxSize
const &arg6_defvalue
= wxDefaultSize
;
36941 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
36942 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
36943 wxString
const &arg8_defvalue
= wxPyEmptyString
;
36944 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
36945 int arg9
= (int) 0 ;
36946 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
36947 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
36955 bool temp4
= false ;
36960 bool temp8
= false ;
36963 bool temp10
= false ;
36964 PyObject
* obj0
= 0 ;
36965 PyObject
* obj1
= 0 ;
36966 PyObject
* obj2
= 0 ;
36967 PyObject
* obj3
= 0 ;
36968 PyObject
* obj4
= 0 ;
36969 PyObject
* obj5
= 0 ;
36970 PyObject
* obj6
= 0 ;
36971 PyObject
* obj7
= 0 ;
36972 PyObject
* obj8
= 0 ;
36973 PyObject
* obj9
= 0 ;
36974 char * kwnames
[] = {
36975 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
36978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
36979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36980 if (!SWIG_IsOK(res1
)) {
36981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
36983 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36984 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36985 if (!SWIG_IsOK(res2
)) {
36986 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
36988 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
36990 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36991 if (!SWIG_IsOK(ecode3
)) {
36992 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
36994 arg3
= static_cast< int >(val3
);
36998 arg4
= wxString_in_helper(obj3
);
36999 if (arg4
== NULL
) SWIG_fail
;
37006 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37012 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37016 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37017 if (!SWIG_IsOK(ecode7
)) {
37018 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37020 arg7
= static_cast< long >(val7
);
37024 arg8
= wxString_in_helper(obj7
);
37025 if (arg8
== NULL
) SWIG_fail
;
37030 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37031 if (!SWIG_IsOK(ecode9
)) {
37032 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37034 arg9
= static_cast< int >(val9
);
37038 arg10
= wxString_in_helper(obj9
);
37039 if (arg10
== NULL
) SWIG_fail
;
37044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37045 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37046 wxPyEndAllowThreads(__tstate
);
37047 if (PyErr_Occurred()) SWIG_fail
;
37050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37082 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37083 PyObject
*resultobj
= 0;
37084 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37085 wxString
*arg2
= 0 ;
37089 bool temp2
= false ;
37090 PyObject
* obj0
= 0 ;
37091 PyObject
* obj1
= 0 ;
37092 char * kwnames
[] = {
37093 (char *) "self",(char *) "path", NULL
37096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37098 if (!SWIG_IsOK(res1
)) {
37099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37101 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37103 arg2
= wxString_in_helper(obj1
);
37104 if (arg2
== NULL
) SWIG_fail
;
37108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37109 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37110 wxPyEndAllowThreads(__tstate
);
37111 if (PyErr_Occurred()) SWIG_fail
;
37114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37130 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37131 PyObject
*resultobj
= 0;
37132 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37136 PyObject
*swig_obj
[1] ;
37138 if (!args
) SWIG_fail
;
37139 swig_obj
[0] = args
;
37140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37141 if (!SWIG_IsOK(res1
)) {
37142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37144 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37147 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37148 wxPyEndAllowThreads(__tstate
);
37149 if (PyErr_Occurred()) SWIG_fail
;
37153 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37155 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37164 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37165 PyObject
*resultobj
= 0;
37166 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37167 wxString
*arg2
= 0 ;
37170 bool temp2
= false ;
37171 PyObject
* obj0
= 0 ;
37172 PyObject
* obj1
= 0 ;
37173 char * kwnames
[] = {
37174 (char *) "self",(char *) "path", NULL
37177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37179 if (!SWIG_IsOK(res1
)) {
37180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37182 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37184 arg2
= wxString_in_helper(obj1
);
37185 if (arg2
== NULL
) SWIG_fail
;
37189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37190 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37191 wxPyEndAllowThreads(__tstate
);
37192 if (PyErr_Occurred()) SWIG_fail
;
37194 resultobj
= SWIG_Py_Void();
37209 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37210 PyObject
*resultobj
= 0;
37211 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37215 PyObject
*swig_obj
[1] ;
37217 if (!args
) SWIG_fail
;
37218 swig_obj
[0] = args
;
37219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37220 if (!SWIG_IsOK(res1
)) {
37221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37223 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37226 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37227 wxPyEndAllowThreads(__tstate
);
37228 if (PyErr_Occurred()) SWIG_fail
;
37232 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37234 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37243 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37244 PyObject
*resultobj
= 0;
37245 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37249 PyObject
*swig_obj
[1] ;
37251 if (!args
) SWIG_fail
;
37252 swig_obj
[0] = args
;
37253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37254 if (!SWIG_IsOK(res1
)) {
37255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37257 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37260 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37261 wxPyEndAllowThreads(__tstate
);
37262 if (PyErr_Occurred()) SWIG_fail
;
37266 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37268 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37277 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37278 PyObject
*resultobj
= 0;
37279 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37280 wxString
*arg2
= 0 ;
37283 bool temp2
= false ;
37284 PyObject
* obj0
= 0 ;
37285 PyObject
* obj1
= 0 ;
37286 char * kwnames
[] = {
37287 (char *) "self",(char *) "path", NULL
37290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37292 if (!SWIG_IsOK(res1
)) {
37293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37295 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37297 arg2
= wxString_in_helper(obj1
);
37298 if (arg2
== NULL
) SWIG_fail
;
37302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37303 (arg1
)->SetPath((wxString
const &)*arg2
);
37304 wxPyEndAllowThreads(__tstate
);
37305 if (PyErr_Occurred()) SWIG_fail
;
37307 resultobj
= SWIG_Py_Void();
37322 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37323 PyObject
*resultobj
= 0;
37324 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37330 PyObject
* obj0
= 0 ;
37331 PyObject
* obj1
= 0 ;
37332 char * kwnames
[] = {
37333 (char *) "self",(char *) "show", NULL
37336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37338 if (!SWIG_IsOK(res1
)) {
37339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37341 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37342 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37343 if (!SWIG_IsOK(ecode2
)) {
37344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
37346 arg2
= static_cast< bool >(val2
);
37348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37349 (arg1
)->ShowHidden(arg2
);
37350 wxPyEndAllowThreads(__tstate
);
37351 if (PyErr_Occurred()) SWIG_fail
;
37353 resultobj
= SWIG_Py_Void();
37360 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37361 PyObject
*resultobj
= 0;
37362 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37366 PyObject
*swig_obj
[1] ;
37368 if (!args
) SWIG_fail
;
37369 swig_obj
[0] = args
;
37370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37371 if (!SWIG_IsOK(res1
)) {
37372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37374 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37377 result
= (bool)(arg1
)->GetShowHidden();
37378 wxPyEndAllowThreads(__tstate
);
37379 if (PyErr_Occurred()) SWIG_fail
;
37382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37390 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37391 PyObject
*resultobj
= 0;
37392 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37396 PyObject
*swig_obj
[1] ;
37398 if (!args
) SWIG_fail
;
37399 swig_obj
[0] = args
;
37400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37401 if (!SWIG_IsOK(res1
)) {
37402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37404 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37407 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
37408 wxPyEndAllowThreads(__tstate
);
37409 if (PyErr_Occurred()) SWIG_fail
;
37413 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37415 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37424 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37425 PyObject
*resultobj
= 0;
37426 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37427 wxString
*arg2
= 0 ;
37430 bool temp2
= false ;
37431 PyObject
* obj0
= 0 ;
37432 PyObject
* obj1
= 0 ;
37433 char * kwnames
[] = {
37434 (char *) "self",(char *) "filter", NULL
37437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37439 if (!SWIG_IsOK(res1
)) {
37440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37442 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37444 arg2
= wxString_in_helper(obj1
);
37445 if (arg2
== NULL
) SWIG_fail
;
37449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37450 (arg1
)->SetFilter((wxString
const &)*arg2
);
37451 wxPyEndAllowThreads(__tstate
);
37452 if (PyErr_Occurred()) SWIG_fail
;
37454 resultobj
= SWIG_Py_Void();
37469 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37470 PyObject
*resultobj
= 0;
37471 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37475 PyObject
*swig_obj
[1] ;
37477 if (!args
) SWIG_fail
;
37478 swig_obj
[0] = args
;
37479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37480 if (!SWIG_IsOK(res1
)) {
37481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37483 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37486 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
37487 wxPyEndAllowThreads(__tstate
);
37488 if (PyErr_Occurred()) SWIG_fail
;
37490 resultobj
= SWIG_From_int(static_cast< int >(result
));
37497 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37498 PyObject
*resultobj
= 0;
37499 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37505 PyObject
* obj0
= 0 ;
37506 PyObject
* obj1
= 0 ;
37507 char * kwnames
[] = {
37508 (char *) "self",(char *) "n", NULL
37511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37513 if (!SWIG_IsOK(res1
)) {
37514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37516 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37518 if (!SWIG_IsOK(ecode2
)) {
37519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
37521 arg2
= static_cast< int >(val2
);
37523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37524 (arg1
)->SetFilterIndex(arg2
);
37525 wxPyEndAllowThreads(__tstate
);
37526 if (PyErr_Occurred()) SWIG_fail
;
37528 resultobj
= SWIG_Py_Void();
37535 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37536 PyObject
*resultobj
= 0;
37537 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37538 wxTreeItemId result
;
37541 PyObject
*swig_obj
[1] ;
37543 if (!args
) SWIG_fail
;
37544 swig_obj
[0] = args
;
37545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37546 if (!SWIG_IsOK(res1
)) {
37547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37549 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37552 result
= (arg1
)->GetRootId();
37553 wxPyEndAllowThreads(__tstate
);
37554 if (PyErr_Occurred()) SWIG_fail
;
37556 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37563 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37564 PyObject
*resultobj
= 0;
37565 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37566 wxPyTreeCtrl
*result
= 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_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37577 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37580 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
37581 wxPyEndAllowThreads(__tstate
);
37582 if (PyErr_Occurred()) SWIG_fail
;
37585 resultobj
= wxPyMake_wxObject(result
, 0);
37593 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37594 PyObject
*resultobj
= 0;
37595 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37596 wxDirFilterListCtrl
*result
= 0 ;
37599 PyObject
*swig_obj
[1] ;
37601 if (!args
) SWIG_fail
;
37602 swig_obj
[0] = args
;
37603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37604 if (!SWIG_IsOK(res1
)) {
37605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37607 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37610 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
37611 wxPyEndAllowThreads(__tstate
);
37612 if (PyErr_Occurred()) SWIG_fail
;
37614 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37621 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37622 PyObject
*resultobj
= 0;
37623 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37624 wxTreeItemId arg2
;
37625 wxString
*arg3
= 0 ;
37627 wxTreeItemId result
;
37632 bool temp3
= false ;
37634 int res4
= SWIG_TMPOBJ
;
37635 PyObject
* obj0
= 0 ;
37636 PyObject
* obj1
= 0 ;
37637 PyObject
* obj2
= 0 ;
37638 char * kwnames
[] = {
37639 (char *) "self",(char *) "parentId",(char *) "path", NULL
37643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37645 if (!SWIG_IsOK(res1
)) {
37646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37648 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37650 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37651 if (!SWIG_IsOK(res2
)) {
37652 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37655 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37657 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37659 if (SWIG_IsNewObj(res2
)) delete temp
;
37663 arg3
= wxString_in_helper(obj2
);
37664 if (arg3
== NULL
) SWIG_fail
;
37668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37669 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
37670 wxPyEndAllowThreads(__tstate
);
37671 if (PyErr_Occurred()) SWIG_fail
;
37673 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37674 if (SWIG_IsTmpObj(res4
)) {
37675 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
37677 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37678 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
37694 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37695 PyObject
*resultobj
= 0;
37696 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37699 PyObject
*swig_obj
[1] ;
37701 if (!args
) SWIG_fail
;
37702 swig_obj
[0] = args
;
37703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37704 if (!SWIG_IsOK(res1
)) {
37705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37707 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37710 (arg1
)->DoResize();
37711 wxPyEndAllowThreads(__tstate
);
37712 if (PyErr_Occurred()) SWIG_fail
;
37714 resultobj
= SWIG_Py_Void();
37721 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37722 PyObject
*resultobj
= 0;
37723 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37726 PyObject
*swig_obj
[1] ;
37728 if (!args
) SWIG_fail
;
37729 swig_obj
[0] = args
;
37730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37731 if (!SWIG_IsOK(res1
)) {
37732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37734 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37737 (arg1
)->ReCreateTree();
37738 wxPyEndAllowThreads(__tstate
);
37739 if (PyErr_Occurred()) SWIG_fail
;
37741 resultobj
= SWIG_Py_Void();
37748 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37750 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37751 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
37752 return SWIG_Py_Void();
37755 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37756 return SWIG_Python_InitShadowInstance(args
);
37759 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37760 PyObject
*resultobj
= 0;
37761 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37762 int arg2
= (int) (int)-1 ;
37763 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37764 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37765 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37766 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37767 long arg5
= (long) 0 ;
37768 wxDirFilterListCtrl
*result
= 0 ;
37777 PyObject
* obj0
= 0 ;
37778 PyObject
* obj1
= 0 ;
37779 PyObject
* obj2
= 0 ;
37780 PyObject
* obj3
= 0 ;
37781 PyObject
* obj4
= 0 ;
37782 char * kwnames
[] = {
37783 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
37786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37788 if (!SWIG_IsOK(res1
)) {
37789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37791 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37794 if (!SWIG_IsOK(ecode2
)) {
37795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
37797 arg2
= static_cast< int >(val2
);
37802 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37808 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37812 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
37813 if (!SWIG_IsOK(ecode5
)) {
37814 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
37816 arg5
= static_cast< long >(val5
);
37819 if (!wxPyCheckForApp()) SWIG_fail
;
37820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37821 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
37822 wxPyEndAllowThreads(__tstate
);
37823 if (PyErr_Occurred()) SWIG_fail
;
37825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
37832 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37833 PyObject
*resultobj
= 0;
37834 wxDirFilterListCtrl
*result
= 0 ;
37836 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
37838 if (!wxPyCheckForApp()) SWIG_fail
;
37839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37840 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
37841 wxPyEndAllowThreads(__tstate
);
37842 if (PyErr_Occurred()) SWIG_fail
;
37844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
37851 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37852 PyObject
*resultobj
= 0;
37853 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
37854 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
37855 int arg3
= (int) (int)-1 ;
37856 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37857 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37858 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37859 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37860 long arg6
= (long) 0 ;
37872 PyObject
* obj0
= 0 ;
37873 PyObject
* obj1
= 0 ;
37874 PyObject
* obj2
= 0 ;
37875 PyObject
* obj3
= 0 ;
37876 PyObject
* obj4
= 0 ;
37877 PyObject
* obj5
= 0 ;
37878 char * kwnames
[] = {
37879 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
37882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37884 if (!SWIG_IsOK(res1
)) {
37885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
37887 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
37888 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37889 if (!SWIG_IsOK(res2
)) {
37890 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
37892 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
37894 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37895 if (!SWIG_IsOK(ecode3
)) {
37896 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37898 arg3
= static_cast< int >(val3
);
37903 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37909 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37913 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37914 if (!SWIG_IsOK(ecode6
)) {
37915 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
37917 arg6
= static_cast< long >(val6
);
37920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37921 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
37922 wxPyEndAllowThreads(__tstate
);
37923 if (PyErr_Occurred()) SWIG_fail
;
37926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37934 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37935 PyObject
*resultobj
= 0;
37936 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
37937 wxString
*arg2
= 0 ;
37941 bool temp2
= false ;
37944 PyObject
* obj0
= 0 ;
37945 PyObject
* obj1
= 0 ;
37946 PyObject
* obj2
= 0 ;
37947 char * kwnames
[] = {
37948 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
37951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37953 if (!SWIG_IsOK(res1
)) {
37954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
37956 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
37958 arg2
= wxString_in_helper(obj1
);
37959 if (arg2
== NULL
) SWIG_fail
;
37962 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37963 if (!SWIG_IsOK(ecode3
)) {
37964 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
37966 arg3
= static_cast< int >(val3
);
37968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37969 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
37970 wxPyEndAllowThreads(__tstate
);
37971 if (PyErr_Occurred()) SWIG_fail
;
37973 resultobj
= SWIG_Py_Void();
37988 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37990 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37991 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
37992 return SWIG_Py_Void();
37995 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37996 return SWIG_Python_InitShadowInstance(args
);
37999 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38000 PyObject
*resultobj
= 0;
38001 wxWindow
*arg1
= (wxWindow
*) 0 ;
38002 int arg2
= (int) (int)-1 ;
38003 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38004 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38005 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38006 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38007 long arg5
= (long) 0 ;
38008 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38009 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38010 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38011 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38012 wxPyControl
*result
= 0 ;
38023 bool temp7
= false ;
38024 PyObject
* obj0
= 0 ;
38025 PyObject
* obj1
= 0 ;
38026 PyObject
* obj2
= 0 ;
38027 PyObject
* obj3
= 0 ;
38028 PyObject
* obj4
= 0 ;
38029 PyObject
* obj5
= 0 ;
38030 PyObject
* obj6
= 0 ;
38031 char * kwnames
[] = {
38032 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38037 if (!SWIG_IsOK(res1
)) {
38038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38040 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38042 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38043 if (!SWIG_IsOK(ecode2
)) {
38044 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38046 arg2
= static_cast< int >(val2
);
38051 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38057 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38061 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38062 if (!SWIG_IsOK(ecode5
)) {
38063 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38065 arg5
= static_cast< long >(val5
);
38068 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38069 if (!SWIG_IsOK(res6
)) {
38070 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38073 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38075 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38079 arg7
= wxString_in_helper(obj6
);
38080 if (arg7
== NULL
) SWIG_fail
;
38085 if (!wxPyCheckForApp()) SWIG_fail
;
38086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38087 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38088 wxPyEndAllowThreads(__tstate
);
38089 if (PyErr_Occurred()) SWIG_fail
;
38091 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38106 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38107 PyObject
*resultobj
= 0;
38108 wxPyControl
*result
= 0 ;
38110 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38112 if (!wxPyCheckForApp()) SWIG_fail
;
38113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38114 result
= (wxPyControl
*)new wxPyControl();
38115 wxPyEndAllowThreads(__tstate
);
38116 if (PyErr_Occurred()) SWIG_fail
;
38118 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38125 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38126 PyObject
*resultobj
= 0;
38127 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38128 PyObject
*arg2
= (PyObject
*) 0 ;
38129 PyObject
*arg3
= (PyObject
*) 0 ;
38132 PyObject
* obj0
= 0 ;
38133 PyObject
* obj1
= 0 ;
38134 PyObject
* obj2
= 0 ;
38135 char * kwnames
[] = {
38136 (char *) "self",(char *) "self",(char *) "_class", NULL
38139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38141 if (!SWIG_IsOK(res1
)) {
38142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38144 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38149 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38150 wxPyEndAllowThreads(__tstate
);
38151 if (PyErr_Occurred()) SWIG_fail
;
38153 resultobj
= SWIG_Py_Void();
38160 SWIGINTERN PyObject
*_wrap_PyControl_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38161 PyObject
*resultobj
= 0;
38162 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38167 PyObject
* obj0
= 0 ;
38168 PyObject
* obj1
= 0 ;
38169 char * kwnames
[] = {
38170 (char *) "self",(char *) "size", NULL
38173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38175 if (!SWIG_IsOK(res1
)) {
38176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38178 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38181 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38185 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
38186 wxPyEndAllowThreads(__tstate
);
38187 if (PyErr_Occurred()) SWIG_fail
;
38189 resultobj
= SWIG_Py_Void();
38196 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38197 PyObject
*resultobj
= 0;
38198 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38199 wxDC
*arg2
= (wxDC
*) 0 ;
38205 PyObject
* obj0
= 0 ;
38206 PyObject
* obj1
= 0 ;
38207 char * kwnames
[] = {
38208 (char *) "self",(char *) "dc", NULL
38211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38213 if (!SWIG_IsOK(res1
)) {
38214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38216 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38217 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38218 if (!SWIG_IsOK(res2
)) {
38219 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38221 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38224 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38225 wxPyEndAllowThreads(__tstate
);
38226 if (PyErr_Occurred()) SWIG_fail
;
38229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38237 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38238 PyObject
*resultobj
= 0;
38239 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38254 PyObject
* obj0
= 0 ;
38255 PyObject
* obj1
= 0 ;
38256 PyObject
* obj2
= 0 ;
38257 PyObject
* obj3
= 0 ;
38258 PyObject
* obj4
= 0 ;
38259 char * kwnames
[] = {
38260 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38265 if (!SWIG_IsOK(res1
)) {
38266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38268 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38269 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38270 if (!SWIG_IsOK(ecode2
)) {
38271 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38273 arg2
= static_cast< int >(val2
);
38274 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38275 if (!SWIG_IsOK(ecode3
)) {
38276 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38278 arg3
= static_cast< int >(val3
);
38279 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38280 if (!SWIG_IsOK(ecode4
)) {
38281 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38283 arg4
= static_cast< int >(val4
);
38284 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38285 if (!SWIG_IsOK(ecode5
)) {
38286 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38288 arg5
= static_cast< int >(val5
);
38290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38291 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38292 wxPyEndAllowThreads(__tstate
);
38293 if (PyErr_Occurred()) SWIG_fail
;
38295 resultobj
= SWIG_Py_Void();
38302 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38303 PyObject
*resultobj
= 0;
38304 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38309 int arg6
= (int) wxSIZE_AUTO
;
38322 PyObject
* obj0
= 0 ;
38323 PyObject
* obj1
= 0 ;
38324 PyObject
* obj2
= 0 ;
38325 PyObject
* obj3
= 0 ;
38326 PyObject
* obj4
= 0 ;
38327 PyObject
* obj5
= 0 ;
38328 char * kwnames
[] = {
38329 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38334 if (!SWIG_IsOK(res1
)) {
38335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38337 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38339 if (!SWIG_IsOK(ecode2
)) {
38340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
38342 arg2
= static_cast< int >(val2
);
38343 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38344 if (!SWIG_IsOK(ecode3
)) {
38345 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
38347 arg3
= static_cast< int >(val3
);
38348 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38349 if (!SWIG_IsOK(ecode4
)) {
38350 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
38352 arg4
= static_cast< int >(val4
);
38353 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38354 if (!SWIG_IsOK(ecode5
)) {
38355 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
38357 arg5
= static_cast< int >(val5
);
38359 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38360 if (!SWIG_IsOK(ecode6
)) {
38361 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
38363 arg6
= static_cast< int >(val6
);
38366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38367 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
38368 wxPyEndAllowThreads(__tstate
);
38369 if (PyErr_Occurred()) SWIG_fail
;
38371 resultobj
= SWIG_Py_Void();
38378 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38379 PyObject
*resultobj
= 0;
38380 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38389 PyObject
* obj0
= 0 ;
38390 PyObject
* obj1
= 0 ;
38391 PyObject
* obj2
= 0 ;
38392 char * kwnames
[] = {
38393 (char *) "self",(char *) "width",(char *) "height", NULL
38396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38398 if (!SWIG_IsOK(res1
)) {
38399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38401 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38403 if (!SWIG_IsOK(ecode2
)) {
38404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
38406 arg2
= static_cast< int >(val2
);
38407 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38408 if (!SWIG_IsOK(ecode3
)) {
38409 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
38411 arg3
= static_cast< int >(val3
);
38413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38414 (arg1
)->DoSetClientSize(arg2
,arg3
);
38415 wxPyEndAllowThreads(__tstate
);
38416 if (PyErr_Occurred()) SWIG_fail
;
38418 resultobj
= SWIG_Py_Void();
38425 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38426 PyObject
*resultobj
= 0;
38427 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38436 PyObject
* obj0
= 0 ;
38437 PyObject
* obj1
= 0 ;
38438 PyObject
* obj2
= 0 ;
38439 char * kwnames
[] = {
38440 (char *) "self",(char *) "x",(char *) "y", NULL
38443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38445 if (!SWIG_IsOK(res1
)) {
38446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38448 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38449 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38450 if (!SWIG_IsOK(ecode2
)) {
38451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
38453 arg2
= static_cast< int >(val2
);
38454 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38455 if (!SWIG_IsOK(ecode3
)) {
38456 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
38458 arg3
= static_cast< int >(val3
);
38460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38461 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
38462 wxPyEndAllowThreads(__tstate
);
38463 if (PyErr_Occurred()) SWIG_fail
;
38465 resultobj
= SWIG_Py_Void();
38472 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38473 PyObject
*resultobj
= 0;
38474 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38475 int *arg2
= (int *) 0 ;
38476 int *arg3
= (int *) 0 ;
38480 int res2
= SWIG_TMPOBJ
;
38482 int res3
= SWIG_TMPOBJ
;
38483 PyObject
*swig_obj
[1] ;
38487 if (!args
) SWIG_fail
;
38488 swig_obj
[0] = args
;
38489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38490 if (!SWIG_IsOK(res1
)) {
38491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38493 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38496 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
38497 wxPyEndAllowThreads(__tstate
);
38498 if (PyErr_Occurred()) SWIG_fail
;
38500 resultobj
= SWIG_Py_Void();
38501 if (SWIG_IsTmpObj(res2
)) {
38502 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38504 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38505 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38507 if (SWIG_IsTmpObj(res3
)) {
38508 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38510 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38511 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38519 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38520 PyObject
*resultobj
= 0;
38521 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38522 int *arg2
= (int *) 0 ;
38523 int *arg3
= (int *) 0 ;
38527 int res2
= SWIG_TMPOBJ
;
38529 int res3
= SWIG_TMPOBJ
;
38530 PyObject
*swig_obj
[1] ;
38534 if (!args
) SWIG_fail
;
38535 swig_obj
[0] = args
;
38536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38537 if (!SWIG_IsOK(res1
)) {
38538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38540 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38543 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
38544 wxPyEndAllowThreads(__tstate
);
38545 if (PyErr_Occurred()) SWIG_fail
;
38547 resultobj
= SWIG_Py_Void();
38548 if (SWIG_IsTmpObj(res2
)) {
38549 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38551 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38552 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38554 if (SWIG_IsTmpObj(res3
)) {
38555 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38557 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38558 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38566 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38567 PyObject
*resultobj
= 0;
38568 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38569 int *arg2
= (int *) 0 ;
38570 int *arg3
= (int *) 0 ;
38574 int res2
= SWIG_TMPOBJ
;
38576 int res3
= SWIG_TMPOBJ
;
38577 PyObject
*swig_obj
[1] ;
38581 if (!args
) SWIG_fail
;
38582 swig_obj
[0] = args
;
38583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38584 if (!SWIG_IsOK(res1
)) {
38585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38587 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38590 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
38591 wxPyEndAllowThreads(__tstate
);
38592 if (PyErr_Occurred()) SWIG_fail
;
38594 resultobj
= SWIG_Py_Void();
38595 if (SWIG_IsTmpObj(res2
)) {
38596 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38598 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38599 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38601 if (SWIG_IsTmpObj(res3
)) {
38602 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38604 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38605 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38613 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38614 PyObject
*resultobj
= 0;
38615 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38619 PyObject
*swig_obj
[1] ;
38621 if (!args
) SWIG_fail
;
38622 swig_obj
[0] = args
;
38623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38624 if (!SWIG_IsOK(res1
)) {
38625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38627 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38630 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
38631 wxPyEndAllowThreads(__tstate
);
38632 if (PyErr_Occurred()) SWIG_fail
;
38634 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
38641 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38642 PyObject
*resultobj
= 0;
38643 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38647 PyObject
*swig_obj
[1] ;
38649 if (!args
) SWIG_fail
;
38650 swig_obj
[0] = args
;
38651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38652 if (!SWIG_IsOK(res1
)) {
38653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38655 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38658 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
38659 wxPyEndAllowThreads(__tstate
);
38660 if (PyErr_Occurred()) SWIG_fail
;
38662 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
38669 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38670 PyObject
*resultobj
= 0;
38671 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38672 SwigValueWrapper
<wxVisualAttributes
> result
;
38675 PyObject
*swig_obj
[1] ;
38677 if (!args
) SWIG_fail
;
38678 swig_obj
[0] = args
;
38679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38680 if (!SWIG_IsOK(res1
)) {
38681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
38683 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38686 result
= (arg1
)->GetDefaultAttributes();
38687 wxPyEndAllowThreads(__tstate
);
38688 if (PyErr_Occurred()) SWIG_fail
;
38690 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
38697 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38698 PyObject
*resultobj
= 0;
38699 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38702 PyObject
*swig_obj
[1] ;
38704 if (!args
) SWIG_fail
;
38705 swig_obj
[0] = args
;
38706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38707 if (!SWIG_IsOK(res1
)) {
38708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
38710 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38713 (arg1
)->OnInternalIdle();
38714 wxPyEndAllowThreads(__tstate
);
38715 if (PyErr_Occurred()) SWIG_fail
;
38717 resultobj
= SWIG_Py_Void();
38724 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38726 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38727 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
38728 return SWIG_Py_Void();
38731 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38732 return SWIG_Python_InitShadowInstance(args
);
38735 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38736 PyObject
*resultobj
= 0;
38737 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
38738 int arg2
= (int) 0 ;
38739 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38740 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38741 wxHelpEvent
*result
= 0 ;
38747 PyObject
* obj0
= 0 ;
38748 PyObject
* obj1
= 0 ;
38749 PyObject
* obj2
= 0 ;
38750 char * kwnames
[] = {
38751 (char *) "type",(char *) "winid",(char *) "pt", NULL
38754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38756 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
38757 if (!SWIG_IsOK(ecode1
)) {
38758 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
38760 arg1
= static_cast< wxEventType
>(val1
);
38763 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38764 if (!SWIG_IsOK(ecode2
)) {
38765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
38767 arg2
= static_cast< int >(val2
);
38772 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38777 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
38778 wxPyEndAllowThreads(__tstate
);
38779 if (PyErr_Occurred()) SWIG_fail
;
38781 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
38788 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38789 PyObject
*resultobj
= 0;
38790 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38794 PyObject
*swig_obj
[1] ;
38796 if (!args
) SWIG_fail
;
38797 swig_obj
[0] = args
;
38798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38799 if (!SWIG_IsOK(res1
)) {
38800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38802 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38805 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
38806 wxPyEndAllowThreads(__tstate
);
38807 if (PyErr_Occurred()) SWIG_fail
;
38809 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
38816 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38817 PyObject
*resultobj
= 0;
38818 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38819 wxPoint
*arg2
= 0 ;
38823 PyObject
* obj0
= 0 ;
38824 PyObject
* obj1
= 0 ;
38825 char * kwnames
[] = {
38826 (char *) "self",(char *) "pos", NULL
38829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38831 if (!SWIG_IsOK(res1
)) {
38832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
38834 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38837 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38841 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
38842 wxPyEndAllowThreads(__tstate
);
38843 if (PyErr_Occurred()) SWIG_fail
;
38845 resultobj
= SWIG_Py_Void();
38852 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38853 PyObject
*resultobj
= 0;
38854 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38855 wxString
*result
= 0 ;
38858 PyObject
*swig_obj
[1] ;
38860 if (!args
) SWIG_fail
;
38861 swig_obj
[0] = args
;
38862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38863 if (!SWIG_IsOK(res1
)) {
38864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38866 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38870 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
38871 result
= (wxString
*) &_result_ref
;
38873 wxPyEndAllowThreads(__tstate
);
38874 if (PyErr_Occurred()) SWIG_fail
;
38878 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
38880 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
38889 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38890 PyObject
*resultobj
= 0;
38891 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38892 wxString
*arg2
= 0 ;
38895 bool temp2
= false ;
38896 PyObject
* obj0
= 0 ;
38897 PyObject
* obj1
= 0 ;
38898 char * kwnames
[] = {
38899 (char *) "self",(char *) "link", NULL
38902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38904 if (!SWIG_IsOK(res1
)) {
38905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
38907 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38909 arg2
= wxString_in_helper(obj1
);
38910 if (arg2
== NULL
) SWIG_fail
;
38914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38915 (arg1
)->SetLink((wxString
const &)*arg2
);
38916 wxPyEndAllowThreads(__tstate
);
38917 if (PyErr_Occurred()) SWIG_fail
;
38919 resultobj
= SWIG_Py_Void();
38934 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38935 PyObject
*resultobj
= 0;
38936 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38937 wxString
*result
= 0 ;
38940 PyObject
*swig_obj
[1] ;
38942 if (!args
) SWIG_fail
;
38943 swig_obj
[0] = args
;
38944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38945 if (!SWIG_IsOK(res1
)) {
38946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38948 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38952 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
38953 result
= (wxString
*) &_result_ref
;
38955 wxPyEndAllowThreads(__tstate
);
38956 if (PyErr_Occurred()) SWIG_fail
;
38960 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
38962 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
38971 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38972 PyObject
*resultobj
= 0;
38973 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38974 wxString
*arg2
= 0 ;
38977 bool temp2
= false ;
38978 PyObject
* obj0
= 0 ;
38979 PyObject
* obj1
= 0 ;
38980 char * kwnames
[] = {
38981 (char *) "self",(char *) "target", NULL
38984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38986 if (!SWIG_IsOK(res1
)) {
38987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
38989 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38991 arg2
= wxString_in_helper(obj1
);
38992 if (arg2
== NULL
) SWIG_fail
;
38996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38997 (arg1
)->SetTarget((wxString
const &)*arg2
);
38998 wxPyEndAllowThreads(__tstate
);
38999 if (PyErr_Occurred()) SWIG_fail
;
39001 resultobj
= SWIG_Py_Void();
39016 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39018 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39019 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39020 return SWIG_Py_Void();
39023 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39024 return SWIG_Python_InitShadowInstance(args
);
39027 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39028 PyObject
*resultobj
= 0;
39029 wxWindow
*arg1
= (wxWindow
*) NULL
;
39030 bool arg2
= (bool) true ;
39031 wxContextHelp
*result
= 0 ;
39036 PyObject
* obj0
= 0 ;
39037 PyObject
* obj1
= 0 ;
39038 char * kwnames
[] = {
39039 (char *) "window",(char *) "doNow", NULL
39042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39045 if (!SWIG_IsOK(res1
)) {
39046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39048 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39051 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39052 if (!SWIG_IsOK(ecode2
)) {
39053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39055 arg2
= static_cast< bool >(val2
);
39058 if (!wxPyCheckForApp()) SWIG_fail
;
39059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39060 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
39061 wxPyEndAllowThreads(__tstate
);
39062 if (PyErr_Occurred()) SWIG_fail
;
39064 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39071 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39072 PyObject
*resultobj
= 0;
39073 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39076 PyObject
*swig_obj
[1] ;
39078 if (!args
) SWIG_fail
;
39079 swig_obj
[0] = args
;
39080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39081 if (!SWIG_IsOK(res1
)) {
39082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39084 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39089 wxPyEndAllowThreads(__tstate
);
39090 if (PyErr_Occurred()) SWIG_fail
;
39092 resultobj
= SWIG_Py_Void();
39099 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39100 PyObject
*resultobj
= 0;
39101 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39102 wxWindow
*arg2
= (wxWindow
*) NULL
;
39108 PyObject
* obj0
= 0 ;
39109 PyObject
* obj1
= 0 ;
39110 char * kwnames
[] = {
39111 (char *) "self",(char *) "window", NULL
39114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39116 if (!SWIG_IsOK(res1
)) {
39117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39119 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39121 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39122 if (!SWIG_IsOK(res2
)) {
39123 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39125 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39129 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39130 wxPyEndAllowThreads(__tstate
);
39131 if (PyErr_Occurred()) SWIG_fail
;
39134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39142 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39143 PyObject
*resultobj
= 0;
39144 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39148 PyObject
*swig_obj
[1] ;
39150 if (!args
) SWIG_fail
;
39151 swig_obj
[0] = args
;
39152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39153 if (!SWIG_IsOK(res1
)) {
39154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39156 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39159 result
= (bool)(arg1
)->EndContextHelp();
39160 wxPyEndAllowThreads(__tstate
);
39161 if (PyErr_Occurred()) SWIG_fail
;
39164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39172 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39174 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39175 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
39176 return SWIG_Py_Void();
39179 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39180 return SWIG_Python_InitShadowInstance(args
);
39183 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39184 PyObject
*resultobj
= 0;
39185 wxWindow
*arg1
= (wxWindow
*) 0 ;
39186 int arg2
= (int) wxID_CONTEXT_HELP
;
39187 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39188 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39189 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39190 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39191 long arg5
= (long) wxBU_AUTODRAW
;
39192 wxContextHelpButton
*result
= 0 ;
39201 PyObject
* obj0
= 0 ;
39202 PyObject
* obj1
= 0 ;
39203 PyObject
* obj2
= 0 ;
39204 PyObject
* obj3
= 0 ;
39205 PyObject
* obj4
= 0 ;
39206 char * kwnames
[] = {
39207 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39212 if (!SWIG_IsOK(res1
)) {
39213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39215 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39217 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39218 if (!SWIG_IsOK(ecode2
)) {
39219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39221 arg2
= static_cast< int >(val2
);
39226 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39232 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39236 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39237 if (!SWIG_IsOK(ecode5
)) {
39238 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39240 arg5
= static_cast< long >(val5
);
39243 if (!wxPyCheckForApp()) SWIG_fail
;
39244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39245 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
39246 wxPyEndAllowThreads(__tstate
);
39247 if (PyErr_Occurred()) SWIG_fail
;
39249 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
39256 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39258 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39259 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
39260 return SWIG_Py_Void();
39263 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39264 return SWIG_Python_InitShadowInstance(args
);
39267 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39268 PyObject
*resultobj
= 0;
39269 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39272 PyObject
*swig_obj
[1] ;
39274 if (!args
) SWIG_fail
;
39275 swig_obj
[0] = args
;
39276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39277 if (!SWIG_IsOK(res1
)) {
39278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39280 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39285 wxPyEndAllowThreads(__tstate
);
39286 if (PyErr_Occurred()) SWIG_fail
;
39288 resultobj
= SWIG_Py_Void();
39295 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39296 PyObject
*resultobj
= 0;
39297 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39298 wxHelpProvider
*result
= 0 ;
39300 PyObject
* obj0
= 0 ;
39301 char * kwnames
[] = {
39302 (char *) "helpProvider", NULL
39305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
39306 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39307 if (!SWIG_IsOK(res1
)) {
39308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39312 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
39313 wxPyEndAllowThreads(__tstate
);
39314 if (PyErr_Occurred()) SWIG_fail
;
39316 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
39323 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39324 PyObject
*resultobj
= 0;
39325 wxHelpProvider
*result
= 0 ;
39327 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
39329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39330 result
= (wxHelpProvider
*)wxHelpProvider::Get();
39331 wxPyEndAllowThreads(__tstate
);
39332 if (PyErr_Occurred()) SWIG_fail
;
39334 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39341 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39342 PyObject
*resultobj
= 0;
39343 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39344 wxWindow
*arg2
= (wxWindow
*) 0 ;
39350 PyObject
* obj0
= 0 ;
39351 PyObject
* obj1
= 0 ;
39352 char * kwnames
[] = {
39353 (char *) "self",(char *) "window", NULL
39356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39358 if (!SWIG_IsOK(res1
)) {
39359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39361 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39362 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39363 if (!SWIG_IsOK(res2
)) {
39364 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
39366 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39369 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
39370 wxPyEndAllowThreads(__tstate
);
39371 if (PyErr_Occurred()) SWIG_fail
;
39375 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
39377 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
39386 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39387 PyObject
*resultobj
= 0;
39388 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39389 wxWindow
*arg2
= (wxWindow
*) 0 ;
39395 PyObject
* obj0
= 0 ;
39396 PyObject
* obj1
= 0 ;
39397 char * kwnames
[] = {
39398 (char *) "self",(char *) "window", NULL
39401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39403 if (!SWIG_IsOK(res1
)) {
39404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39406 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39407 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39408 if (!SWIG_IsOK(res2
)) {
39409 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39411 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39414 result
= (bool)(arg1
)->ShowHelp(arg2
);
39415 wxPyEndAllowThreads(__tstate
);
39416 if (PyErr_Occurred()) SWIG_fail
;
39419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39427 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39428 PyObject
*resultobj
= 0;
39429 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39430 wxWindow
*arg2
= (wxWindow
*) 0 ;
39431 wxString
*arg3
= 0 ;
39436 bool temp3
= false ;
39437 PyObject
* obj0
= 0 ;
39438 PyObject
* obj1
= 0 ;
39439 PyObject
* obj2
= 0 ;
39440 char * kwnames
[] = {
39441 (char *) "self",(char *) "window",(char *) "text", NULL
39444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39446 if (!SWIG_IsOK(res1
)) {
39447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39449 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39450 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39451 if (!SWIG_IsOK(res2
)) {
39452 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39454 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39456 arg3
= wxString_in_helper(obj2
);
39457 if (arg3
== NULL
) SWIG_fail
;
39461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39462 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39463 wxPyEndAllowThreads(__tstate
);
39464 if (PyErr_Occurred()) SWIG_fail
;
39466 resultobj
= SWIG_Py_Void();
39481 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39482 PyObject
*resultobj
= 0;
39483 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39485 wxString
*arg3
= 0 ;
39490 bool temp3
= false ;
39491 PyObject
* obj0
= 0 ;
39492 PyObject
* obj1
= 0 ;
39493 PyObject
* obj2
= 0 ;
39494 char * kwnames
[] = {
39495 (char *) "self",(char *) "id",(char *) "text", NULL
39498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39500 if (!SWIG_IsOK(res1
)) {
39501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39503 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39505 if (!SWIG_IsOK(ecode2
)) {
39506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
39508 arg2
= static_cast< int >(val2
);
39510 arg3
= wxString_in_helper(obj2
);
39511 if (arg3
== NULL
) SWIG_fail
;
39515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39516 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39517 wxPyEndAllowThreads(__tstate
);
39518 if (PyErr_Occurred()) SWIG_fail
;
39520 resultobj
= SWIG_Py_Void();
39535 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39536 PyObject
*resultobj
= 0;
39537 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39538 wxWindow
*arg2
= (wxWindow
*) 0 ;
39543 PyObject
* obj0
= 0 ;
39544 PyObject
* obj1
= 0 ;
39545 char * kwnames
[] = {
39546 (char *) "self",(char *) "window", NULL
39549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39551 if (!SWIG_IsOK(res1
)) {
39552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39554 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39555 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39556 if (!SWIG_IsOK(res2
)) {
39557 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39559 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39562 (arg1
)->RemoveHelp(arg2
);
39563 wxPyEndAllowThreads(__tstate
);
39564 if (PyErr_Occurred()) SWIG_fail
;
39566 resultobj
= SWIG_Py_Void();
39573 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39574 PyObject
*resultobj
= 0;
39575 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39578 PyObject
*swig_obj
[1] ;
39580 if (!args
) SWIG_fail
;
39581 swig_obj
[0] = args
;
39582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39583 if (!SWIG_IsOK(res1
)) {
39584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39586 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39589 wxHelpProvider_Destroy(arg1
);
39590 wxPyEndAllowThreads(__tstate
);
39591 if (PyErr_Occurred()) SWIG_fail
;
39593 resultobj
= SWIG_Py_Void();
39600 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39602 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39603 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
39604 return SWIG_Py_Void();
39607 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39608 PyObject
*resultobj
= 0;
39609 wxSimpleHelpProvider
*result
= 0 ;
39611 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
39613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39614 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
39615 wxPyEndAllowThreads(__tstate
);
39616 if (PyErr_Occurred()) SWIG_fail
;
39618 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
39625 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39627 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39628 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
39629 return SWIG_Py_Void();
39632 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39633 return SWIG_Python_InitShadowInstance(args
);
39636 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39637 PyObject
*resultobj
= 0;
39638 wxBitmap
*arg1
= 0 ;
39639 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39640 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39641 wxGenericDragImage
*result
= 0 ;
39646 PyObject
* obj0
= 0 ;
39647 PyObject
* obj1
= 0 ;
39648 char * kwnames
[] = {
39649 (char *) "image",(char *) "cursor", NULL
39652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39653 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
39654 if (!SWIG_IsOK(res1
)) {
39655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
39658 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
39660 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
39662 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39663 if (!SWIG_IsOK(res2
)) {
39664 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
39667 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
39669 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39672 if (!wxPyCheckForApp()) SWIG_fail
;
39673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39674 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
39675 wxPyEndAllowThreads(__tstate
);
39676 if (PyErr_Occurred()) SWIG_fail
;
39678 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
39685 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39686 PyObject
*resultobj
= 0;
39688 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39689 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39690 wxGenericDragImage
*result
= 0 ;
39695 PyObject
* obj0
= 0 ;
39696 PyObject
* obj1
= 0 ;
39697 char * kwnames
[] = {
39698 (char *) "image",(char *) "cursor", NULL
39701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39702 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
39703 if (!SWIG_IsOK(res1
)) {
39704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
39707 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
39709 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
39711 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39712 if (!SWIG_IsOK(res2
)) {
39713 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
39716 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
39718 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39721 if (!wxPyCheckForApp()) SWIG_fail
;
39722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39723 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
39724 wxPyEndAllowThreads(__tstate
);
39725 if (PyErr_Occurred()) SWIG_fail
;
39727 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39734 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39735 PyObject
*resultobj
= 0;
39736 wxString
*arg1
= 0 ;
39737 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39738 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39739 wxGenericDragImage
*result
= 0 ;
39740 bool temp1
= false ;
39743 PyObject
* obj0
= 0 ;
39744 PyObject
* obj1
= 0 ;
39745 char * kwnames
[] = {
39746 (char *) "str",(char *) "cursor", NULL
39749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39751 arg1
= wxString_in_helper(obj0
);
39752 if (arg1
== NULL
) SWIG_fail
;
39756 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39757 if (!SWIG_IsOK(res2
)) {
39758 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
39761 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
39763 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39766 if (!wxPyCheckForApp()) SWIG_fail
;
39767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39768 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
39769 wxPyEndAllowThreads(__tstate
);
39770 if (PyErr_Occurred()) SWIG_fail
;
39772 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39787 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39788 PyObject
*resultobj
= 0;
39789 wxPyTreeCtrl
*arg1
= 0 ;
39790 wxTreeItemId
*arg2
= 0 ;
39791 wxGenericDragImage
*result
= 0 ;
39796 PyObject
* obj0
= 0 ;
39797 PyObject
* obj1
= 0 ;
39798 char * kwnames
[] = {
39799 (char *) "treeCtrl",(char *) "id", NULL
39802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39803 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
39804 if (!SWIG_IsOK(res1
)) {
39805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
39808 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
39810 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
39811 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
39812 if (!SWIG_IsOK(res2
)) {
39813 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
39816 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
39818 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
39820 if (!wxPyCheckForApp()) SWIG_fail
;
39821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39822 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
39823 wxPyEndAllowThreads(__tstate
);
39824 if (PyErr_Occurred()) SWIG_fail
;
39826 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39833 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39834 PyObject
*resultobj
= 0;
39835 wxPyListCtrl
*arg1
= 0 ;
39837 wxGenericDragImage
*result
= 0 ;
39842 PyObject
* obj0
= 0 ;
39843 PyObject
* obj1
= 0 ;
39844 char * kwnames
[] = {
39845 (char *) "listCtrl",(char *) "id", NULL
39848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39849 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
39850 if (!SWIG_IsOK(res1
)) {
39851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
39854 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
39856 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
39857 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
39858 if (!SWIG_IsOK(ecode2
)) {
39859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
39861 arg2
= static_cast< long >(val2
);
39863 if (!wxPyCheckForApp()) SWIG_fail
;
39864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39865 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
39866 wxPyEndAllowThreads(__tstate
);
39867 if (PyErr_Occurred()) SWIG_fail
;
39869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39876 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39877 PyObject
*resultobj
= 0;
39878 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39881 PyObject
*swig_obj
[1] ;
39883 if (!args
) SWIG_fail
;
39884 swig_obj
[0] = args
;
39885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
39886 if (!SWIG_IsOK(res1
)) {
39887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39889 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39894 wxPyEndAllowThreads(__tstate
);
39895 if (PyErr_Occurred()) SWIG_fail
;
39897 resultobj
= SWIG_Py_Void();
39904 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39905 PyObject
*resultobj
= 0;
39906 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39907 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
39912 PyObject
* obj0
= 0 ;
39913 PyObject
* obj1
= 0 ;
39914 char * kwnames
[] = {
39915 (char *) "self",(char *) "bitmap", NULL
39918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39920 if (!SWIG_IsOK(res1
)) {
39921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39923 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39924 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
39925 if (!SWIG_IsOK(res2
)) {
39926 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
39928 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
39930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39931 (arg1
)->SetBackingBitmap(arg2
);
39932 wxPyEndAllowThreads(__tstate
);
39933 if (PyErr_Occurred()) SWIG_fail
;
39935 resultobj
= SWIG_Py_Void();
39942 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39943 PyObject
*resultobj
= 0;
39944 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39945 wxPoint
*arg2
= 0 ;
39946 wxWindow
*arg3
= (wxWindow
*) 0 ;
39947 bool arg4
= (bool) false ;
39948 wxRect
*arg5
= (wxRect
*) NULL
;
39959 PyObject
* obj0
= 0 ;
39960 PyObject
* obj1
= 0 ;
39961 PyObject
* obj2
= 0 ;
39962 PyObject
* obj3
= 0 ;
39963 PyObject
* obj4
= 0 ;
39964 char * kwnames
[] = {
39965 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
39968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39970 if (!SWIG_IsOK(res1
)) {
39971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39973 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39976 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39978 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39979 if (!SWIG_IsOK(res3
)) {
39980 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
39982 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
39984 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
39985 if (!SWIG_IsOK(ecode4
)) {
39986 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
39988 arg4
= static_cast< bool >(val4
);
39991 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
39992 if (!SWIG_IsOK(res5
)) {
39993 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
39995 arg5
= reinterpret_cast< wxRect
* >(argp5
);
39998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39999 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
40000 wxPyEndAllowThreads(__tstate
);
40001 if (PyErr_Occurred()) SWIG_fail
;
40004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40012 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40013 PyObject
*resultobj
= 0;
40014 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40015 wxPoint
*arg2
= 0 ;
40016 wxWindow
*arg3
= (wxWindow
*) 0 ;
40017 wxWindow
*arg4
= (wxWindow
*) 0 ;
40026 PyObject
* obj0
= 0 ;
40027 PyObject
* obj1
= 0 ;
40028 PyObject
* obj2
= 0 ;
40029 PyObject
* obj3
= 0 ;
40030 char * kwnames
[] = {
40031 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40036 if (!SWIG_IsOK(res1
)) {
40037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40039 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40042 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40044 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40045 if (!SWIG_IsOK(res3
)) {
40046 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40048 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40049 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40050 if (!SWIG_IsOK(res4
)) {
40051 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40053 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
40055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40056 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
40057 wxPyEndAllowThreads(__tstate
);
40058 if (PyErr_Occurred()) SWIG_fail
;
40061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40069 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40070 PyObject
*resultobj
= 0;
40071 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40075 PyObject
*swig_obj
[1] ;
40077 if (!args
) SWIG_fail
;
40078 swig_obj
[0] = args
;
40079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40080 if (!SWIG_IsOK(res1
)) {
40081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40083 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40086 result
= (bool)(arg1
)->EndDrag();
40087 wxPyEndAllowThreads(__tstate
);
40088 if (PyErr_Occurred()) SWIG_fail
;
40091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40099 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40100 PyObject
*resultobj
= 0;
40101 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40102 wxPoint
*arg2
= 0 ;
40107 PyObject
* obj0
= 0 ;
40108 PyObject
* obj1
= 0 ;
40109 char * kwnames
[] = {
40110 (char *) "self",(char *) "pt", NULL
40113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40115 if (!SWIG_IsOK(res1
)) {
40116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40118 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40121 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40125 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
40126 wxPyEndAllowThreads(__tstate
);
40127 if (PyErr_Occurred()) SWIG_fail
;
40130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40138 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40139 PyObject
*resultobj
= 0;
40140 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40144 PyObject
*swig_obj
[1] ;
40146 if (!args
) SWIG_fail
;
40147 swig_obj
[0] = args
;
40148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40149 if (!SWIG_IsOK(res1
)) {
40150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40152 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40155 result
= (bool)(arg1
)->Show();
40156 wxPyEndAllowThreads(__tstate
);
40157 if (PyErr_Occurred()) SWIG_fail
;
40160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40168 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40169 PyObject
*resultobj
= 0;
40170 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40174 PyObject
*swig_obj
[1] ;
40176 if (!args
) SWIG_fail
;
40177 swig_obj
[0] = args
;
40178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40179 if (!SWIG_IsOK(res1
)) {
40180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40182 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40185 result
= (bool)(arg1
)->Hide();
40186 wxPyEndAllowThreads(__tstate
);
40187 if (PyErr_Occurred()) SWIG_fail
;
40190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40198 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40199 PyObject
*resultobj
= 0;
40200 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40201 wxPoint
*arg2
= 0 ;
40206 PyObject
* obj0
= 0 ;
40207 PyObject
* obj1
= 0 ;
40208 char * kwnames
[] = {
40209 (char *) "self",(char *) "pos", NULL
40212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40214 if (!SWIG_IsOK(res1
)) {
40215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40217 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40220 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40224 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
40225 wxPyEndAllowThreads(__tstate
);
40226 if (PyErr_Occurred()) SWIG_fail
;
40228 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
40235 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40236 PyObject
*resultobj
= 0;
40237 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40239 wxPoint
*arg3
= 0 ;
40246 PyObject
* obj0
= 0 ;
40247 PyObject
* obj1
= 0 ;
40248 PyObject
* obj2
= 0 ;
40249 char * kwnames
[] = {
40250 (char *) "self",(char *) "dc",(char *) "pos", NULL
40253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40255 if (!SWIG_IsOK(res1
)) {
40256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40258 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40259 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40260 if (!SWIG_IsOK(res2
)) {
40261 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40264 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40266 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40269 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40273 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
40274 wxPyEndAllowThreads(__tstate
);
40275 if (PyErr_Occurred()) SWIG_fail
;
40278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40286 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40287 PyObject
*resultobj
= 0;
40288 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40290 wxMemoryDC
*arg3
= 0 ;
40302 PyObject
* obj0
= 0 ;
40303 PyObject
* obj1
= 0 ;
40304 PyObject
* obj2
= 0 ;
40305 PyObject
* obj3
= 0 ;
40306 PyObject
* obj4
= 0 ;
40307 char * kwnames
[] = {
40308 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
40311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40313 if (!SWIG_IsOK(res1
)) {
40314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40316 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40317 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40318 if (!SWIG_IsOK(res2
)) {
40319 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40322 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40324 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40325 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
40326 if (!SWIG_IsOK(res3
)) {
40327 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40330 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40332 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
40335 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
40339 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
40342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40343 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
40344 wxPyEndAllowThreads(__tstate
);
40345 if (PyErr_Occurred()) SWIG_fail
;
40348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40356 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40357 PyObject
*resultobj
= 0;
40358 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40359 wxPoint
*arg2
= 0 ;
40360 wxPoint
*arg3
= 0 ;
40372 PyObject
* obj0
= 0 ;
40373 PyObject
* obj1
= 0 ;
40374 PyObject
* obj2
= 0 ;
40375 PyObject
* obj3
= 0 ;
40376 PyObject
* obj4
= 0 ;
40377 char * kwnames
[] = {
40378 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
40381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40383 if (!SWIG_IsOK(res1
)) {
40384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40386 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40389 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40393 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40395 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40396 if (!SWIG_IsOK(ecode4
)) {
40397 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
40399 arg4
= static_cast< bool >(val4
);
40400 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
40401 if (!SWIG_IsOK(ecode5
)) {
40402 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
40404 arg5
= static_cast< bool >(val5
);
40406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40407 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
40408 wxPyEndAllowThreads(__tstate
);
40409 if (PyErr_Occurred()) SWIG_fail
;
40412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40420 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40422 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40423 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
40424 return SWIG_Py_Void();
40427 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40428 return SWIG_Python_InitShadowInstance(args
);
40431 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
40432 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
40437 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
40438 PyObject
*pyobj
= 0;
40442 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40444 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40451 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40452 PyObject
*resultobj
= 0;
40453 wxWindow
*arg1
= (wxWindow
*) 0 ;
40454 int arg2
= (int) -1 ;
40455 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
40456 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
40457 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
40458 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
40459 wxSize
const &arg5_defvalue
= wxDefaultSize
;
40460 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
40461 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
40462 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
40463 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
40464 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
40465 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
40466 wxDatePickerCtrl
*result
= 0 ;
40479 bool temp8
= false ;
40480 PyObject
* obj0
= 0 ;
40481 PyObject
* obj1
= 0 ;
40482 PyObject
* obj2
= 0 ;
40483 PyObject
* obj3
= 0 ;
40484 PyObject
* obj4
= 0 ;
40485 PyObject
* obj5
= 0 ;
40486 PyObject
* obj6
= 0 ;
40487 PyObject
* obj7
= 0 ;
40488 char * kwnames
[] = {
40489 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
40493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40494 if (!SWIG_IsOK(res1
)) {
40495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
40497 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40500 if (!SWIG_IsOK(ecode2
)) {
40501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
40503 arg2
= static_cast< int >(val2
);
40506 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40507 if (!SWIG_IsOK(res3
)) {
40508 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40511 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40513 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
40518 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
40524 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
40528 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
40529 if (!SWIG_IsOK(ecode6
)) {
40530 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
40532 arg6
= static_cast< long >(val6
);
40535 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
40536 if (!SWIG_IsOK(res7
)) {
40537 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
40540 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
40542 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
40546 arg8
= wxString_in_helper(obj7
);
40547 if (arg8
== NULL
) SWIG_fail
;
40552 if (!wxPyCheckForApp()) SWIG_fail
;
40553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40554 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
40555 wxPyEndAllowThreads(__tstate
);
40556 if (PyErr_Occurred()) SWIG_fail
;
40558 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
40573 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40574 PyObject
*resultobj
= 0;
40575 wxDatePickerCtrl
*result
= 0 ;
40577 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
40579 if (!wxPyCheckForApp()) SWIG_fail
;
40580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40581 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
40582 wxPyEndAllowThreads(__tstate
);
40583 if (PyErr_Occurred()) SWIG_fail
;
40585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
40592 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40593 PyObject
*resultobj
= 0;
40594 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40595 wxWindow
*arg2
= (wxWindow
*) 0 ;
40596 int arg3
= (int) -1 ;
40597 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
40598 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
40599 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
40600 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
40601 wxSize
const &arg6_defvalue
= wxDefaultSize
;
40602 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
40603 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
40604 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
40605 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
40606 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
40607 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
40623 bool temp9
= false ;
40624 PyObject
* obj0
= 0 ;
40625 PyObject
* obj1
= 0 ;
40626 PyObject
* obj2
= 0 ;
40627 PyObject
* obj3
= 0 ;
40628 PyObject
* obj4
= 0 ;
40629 PyObject
* obj5
= 0 ;
40630 PyObject
* obj6
= 0 ;
40631 PyObject
* obj7
= 0 ;
40632 PyObject
* obj8
= 0 ;
40633 char * kwnames
[] = {
40634 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
40638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40639 if (!SWIG_IsOK(res1
)) {
40640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40642 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40643 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40644 if (!SWIG_IsOK(res2
)) {
40645 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
40647 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40649 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
40650 if (!SWIG_IsOK(ecode3
)) {
40651 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
40653 arg3
= static_cast< int >(val3
);
40656 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40657 if (!SWIG_IsOK(res4
)) {
40658 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
40661 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
40663 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
40668 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
40674 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
40678 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
40679 if (!SWIG_IsOK(ecode7
)) {
40680 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
40682 arg7
= static_cast< long >(val7
);
40685 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
40686 if (!SWIG_IsOK(res8
)) {
40687 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
40690 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
40692 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
40696 arg9
= wxString_in_helper(obj8
);
40697 if (arg9
== NULL
) SWIG_fail
;
40702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40703 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
40704 wxPyEndAllowThreads(__tstate
);
40705 if (PyErr_Occurred()) SWIG_fail
;
40708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40724 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40725 PyObject
*resultobj
= 0;
40726 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40727 wxDateTime
*arg2
= 0 ;
40732 PyObject
* obj0
= 0 ;
40733 PyObject
* obj1
= 0 ;
40734 char * kwnames
[] = {
40735 (char *) "self",(char *) "dt", NULL
40738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40740 if (!SWIG_IsOK(res1
)) {
40741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40743 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40744 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40745 if (!SWIG_IsOK(res2
)) {
40746 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40749 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40751 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
40753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40754 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
40755 wxPyEndAllowThreads(__tstate
);
40756 if (PyErr_Occurred()) SWIG_fail
;
40758 resultobj
= SWIG_Py_Void();
40765 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40766 PyObject
*resultobj
= 0;
40767 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40771 PyObject
*swig_obj
[1] ;
40773 if (!args
) SWIG_fail
;
40774 swig_obj
[0] = args
;
40775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40776 if (!SWIG_IsOK(res1
)) {
40777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
40779 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40782 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
40783 wxPyEndAllowThreads(__tstate
);
40784 if (PyErr_Occurred()) SWIG_fail
;
40786 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
40793 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40794 PyObject
*resultobj
= 0;
40795 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40796 wxDateTime
*arg2
= 0 ;
40797 wxDateTime
*arg3
= 0 ;
40804 PyObject
* obj0
= 0 ;
40805 PyObject
* obj1
= 0 ;
40806 PyObject
* obj2
= 0 ;
40807 char * kwnames
[] = {
40808 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
40811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40813 if (!SWIG_IsOK(res1
)) {
40814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40816 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40817 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40818 if (!SWIG_IsOK(res2
)) {
40819 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40822 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40824 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
40825 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40826 if (!SWIG_IsOK(res3
)) {
40827 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40830 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40832 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
40834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40835 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
40836 wxPyEndAllowThreads(__tstate
);
40837 if (PyErr_Occurred()) SWIG_fail
;
40839 resultobj
= SWIG_Py_Void();
40846 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40847 PyObject
*resultobj
= 0;
40848 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40852 PyObject
*swig_obj
[1] ;
40854 if (!args
) SWIG_fail
;
40855 swig_obj
[0] = args
;
40856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40857 if (!SWIG_IsOK(res1
)) {
40858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40860 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40863 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
40864 wxPyEndAllowThreads(__tstate
);
40865 if (PyErr_Occurred()) SWIG_fail
;
40867 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
40874 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40875 PyObject
*resultobj
= 0;
40876 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40880 PyObject
*swig_obj
[1] ;
40882 if (!args
) SWIG_fail
;
40883 swig_obj
[0] = args
;
40884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40885 if (!SWIG_IsOK(res1
)) {
40886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40888 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40891 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
40892 wxPyEndAllowThreads(__tstate
);
40893 if (PyErr_Occurred()) SWIG_fail
;
40895 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
40902 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40904 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40905 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
40906 return SWIG_Py_Void();
40909 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40910 return SWIG_Python_InitShadowInstance(args
);
40913 static PyMethodDef SwigMethods
[] = {
40914 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40915 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
40916 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40917 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
40918 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
40919 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40920 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
40921 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
40922 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40923 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
40924 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40925 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
40926 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
40927 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
40928 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
40929 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
40930 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40931 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40932 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40933 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40934 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40935 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40936 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
40937 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
40938 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
40939 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
40940 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40941 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
40942 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40943 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
40944 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
40945 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40946 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
40947 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40948 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
40949 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
40950 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40951 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
40952 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
40953 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40954 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
40955 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40956 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
40957 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40958 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
40959 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
40960 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40961 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
40962 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40963 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
40964 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40965 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
40966 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
40967 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
40968 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40969 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
40970 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
40971 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40972 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40973 { (char *)"ComboBox_GetMark", (PyCFunction
)_wrap_ComboBox_GetMark
, METH_O
, NULL
},
40974 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
40975 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40976 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40977 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40978 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
40979 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40980 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
40981 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
40982 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
40983 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
40984 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
40985 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
40986 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
40987 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
40988 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
40989 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40990 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
40991 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
40992 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40993 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
40994 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40995 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40996 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
40997 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40998 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
40999 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
41000 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41001 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
41002 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41003 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
41004 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41005 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
41006 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
41007 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41008 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
41009 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41010 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41011 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
41012 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
41013 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41014 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
41015 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41016 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
41017 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
41018 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41019 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
41020 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
41021 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41022 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
41023 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41024 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41025 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41026 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
41027 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
41028 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41029 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
41030 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41031 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
41032 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41033 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41034 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41035 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
41036 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
41037 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41038 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
41039 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41040 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41041 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41042 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41043 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41044 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41045 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41046 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41047 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41048 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41049 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
41050 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41051 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41052 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41053 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41054 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
41055 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41056 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41057 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41058 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41059 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41060 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
41061 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
41062 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41063 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
41064 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41065 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41066 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41067 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
)_wrap_CheckListBox_GetItemHeight
, METH_O
, NULL
},
41068 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
41069 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
41070 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41071 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
41072 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
41073 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41074 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41075 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41076 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41077 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41078 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41079 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41080 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41081 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41082 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
41083 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
41084 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
41085 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
41086 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
41087 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
41088 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
41089 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41090 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
41091 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
41092 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
41093 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
41094 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
41095 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
41096 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
41097 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
41098 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
41099 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
41100 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41101 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
41102 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
41103 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41104 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
41105 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41106 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
41107 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41108 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41109 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41110 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41111 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
41112 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
41113 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
41114 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
41115 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
41116 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
41117 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
41118 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
41119 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41120 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41121 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41122 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41123 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
41124 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
41125 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41126 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41127 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41128 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41129 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41130 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41131 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41132 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
41133 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41134 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41135 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41136 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41137 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41138 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
41139 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
41140 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
41141 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
41142 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
41143 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
41144 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
41145 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
41146 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
41147 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
41148 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41149 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
41150 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
41151 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
41152 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41153 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
41154 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41155 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41156 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41157 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41158 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
41159 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
41160 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41161 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
41162 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
41163 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
41164 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
41165 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
41166 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41167 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
41168 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41169 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
41170 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
41171 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
41172 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
41173 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
41174 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41175 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41176 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
41177 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
41178 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41179 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
41180 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41181 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
41182 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
41183 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
41184 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41185 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41186 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41187 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41188 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
41189 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41190 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
41191 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
41192 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41193 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
41194 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41195 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
41196 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41197 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41198 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41199 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
41200 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
41201 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41202 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41203 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
41204 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
41205 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41206 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
41207 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41208 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
41209 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
41210 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41211 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
41212 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41213 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41214 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
41215 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
41216 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41217 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
41218 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41219 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41220 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41221 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41222 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41223 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41224 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41225 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
41226 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
41227 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41228 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41229 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41230 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41231 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
41232 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
41233 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41234 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
41235 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41236 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
41237 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41238 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41239 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
41240 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
41241 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41242 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
41243 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41244 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
41245 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41246 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41247 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
41248 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
41249 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41250 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41251 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41252 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41253 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
41254 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
41255 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41256 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
41257 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41258 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
41259 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
41260 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41261 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
41262 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
41263 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
41264 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41265 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41266 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
41267 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
41268 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41269 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
41270 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41271 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41272 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
41273 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41274 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
41275 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
41276 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
41277 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41278 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
41279 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
41280 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41281 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41282 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41283 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41284 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
41285 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41286 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41287 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41288 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41289 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
41290 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41291 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
41292 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41293 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
41294 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41295 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
41296 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
41297 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41298 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41299 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
41300 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41301 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41302 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41303 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41304 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41305 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
41306 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41307 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
41308 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41309 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
41310 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41311 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
41312 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
41313 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41314 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
41315 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41316 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
41317 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41318 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41319 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41320 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
41321 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41322 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
41323 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
41324 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41325 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
41326 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
41327 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41328 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
41329 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41330 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
41331 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
41332 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
41333 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41334 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
41335 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
41336 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41337 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
41338 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41339 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
41340 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
41341 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
41342 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41343 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
41344 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
41345 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41346 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
41347 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41348 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41349 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41350 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41351 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41352 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41353 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41354 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
41355 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
41356 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
41357 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41358 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
41359 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
41360 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41361 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
41362 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41363 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
41364 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
41365 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
41366 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
41367 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41368 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
41369 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
41370 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
41371 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
41372 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
41373 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
41374 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
41375 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
41376 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
41377 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
41378 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
41379 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
41380 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
41381 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
41382 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
41383 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
41384 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
41385 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
41386 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
41387 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41388 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
41389 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41390 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41391 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41392 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41393 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41394 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41395 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
41396 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41397 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
41398 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41399 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
41400 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41401 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41402 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41403 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41404 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41405 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41406 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41407 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
41408 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41409 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41410 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41411 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41412 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
41413 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
41414 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41415 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41416 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41417 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41418 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41419 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41420 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41421 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41422 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41423 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41424 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41425 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41426 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41427 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41428 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41429 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41430 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
41431 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
41432 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
41433 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
41434 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41435 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41436 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
41437 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
41438 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41439 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
41440 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
41441 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41442 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41443 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
41444 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
41445 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
41446 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41447 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
41448 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41449 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41450 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
41451 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
41452 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41453 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
41454 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41455 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41456 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41457 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
41458 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
41459 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
41460 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
41461 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
41462 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
41463 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41464 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
41465 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
41466 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
41467 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
41468 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
41469 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
41470 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
41471 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41472 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41473 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41474 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41475 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41476 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41477 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41478 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41479 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41480 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41481 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41482 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41483 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41484 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
41485 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
41486 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
41487 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
41488 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
41489 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
41490 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
41491 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
41492 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
41493 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
41494 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
41495 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
41496 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
41497 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
41498 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
41499 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
41500 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
41501 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
41502 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
41503 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
41504 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
41505 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
41506 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
41507 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
41508 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
41509 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
41510 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
41511 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
41512 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
41513 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
41514 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
41515 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
41516 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
41517 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
41518 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
41519 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
41520 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41521 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
41522 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
41523 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
41524 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
41525 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
41526 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
41527 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
41528 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
41529 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
41530 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
41531 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
41532 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
41533 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
41534 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
41535 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
41536 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
41537 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
41538 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
41539 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
41540 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
41541 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
41542 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
41543 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
41544 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
41545 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41546 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
41547 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
41548 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41549 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
41550 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41551 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41552 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41553 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41554 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41555 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41556 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
41557 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
41558 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
41559 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41560 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41561 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41562 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41563 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41564 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41565 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41566 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41567 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41568 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41569 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41570 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41571 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41572 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41573 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
41574 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
41575 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
41576 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41577 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
41578 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
41579 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41580 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
41581 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41582 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41583 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41584 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41585 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41586 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
41587 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
41588 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41589 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41590 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41591 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41592 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
41593 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41594 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
41595 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
41596 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41597 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41598 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41599 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41600 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41601 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41602 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41603 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41604 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41605 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41606 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41607 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41608 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41609 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41610 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41611 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41612 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41613 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41614 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41615 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41616 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41617 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
41618 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41619 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
41620 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
41621 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41622 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
41623 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41624 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41625 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41626 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
41627 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41628 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
41629 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41630 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41631 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41632 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
41633 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
41634 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
41635 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
41636 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
41637 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41638 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41639 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
41640 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
41641 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
41642 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
41643 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41644 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
41645 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
41646 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41647 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
41648 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41649 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
41650 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
41651 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
41652 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41653 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
41654 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41655 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
41656 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41657 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
41658 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41659 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
41660 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
41661 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41662 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
41663 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41664 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
41665 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41666 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41667 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
41668 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
41669 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
41670 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41671 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
41672 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41673 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41674 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
41675 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
41676 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41677 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
41678 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41679 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
41680 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
41681 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41682 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41683 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41684 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41685 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41686 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41687 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41688 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41689 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41690 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41691 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41692 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41693 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41694 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41695 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41696 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41697 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41698 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41699 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41700 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41701 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41702 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41703 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41704 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41705 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41706 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41707 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41708 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
41709 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
41710 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
41711 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41712 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41713 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41714 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41715 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41716 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41717 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
41718 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41719 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41720 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41721 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41722 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41723 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41724 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41725 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41726 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41727 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
41728 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41729 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41730 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41731 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41732 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
41733 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41734 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
41735 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41736 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41737 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41738 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41739 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41740 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
41741 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41742 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41743 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41744 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41745 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41746 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
41747 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
41748 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
41749 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41750 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
41751 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41752 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41753 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
41754 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41755 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
41756 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
41757 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41758 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41759 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
41760 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
41761 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41762 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
41763 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41764 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
41765 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
41766 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
41767 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41768 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
41769 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
41770 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
41771 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
41772 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41773 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
41774 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41775 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41776 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
41777 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
41778 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41779 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
41780 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41781 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41782 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41783 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41784 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41785 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41786 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41787 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
41788 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
41789 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
41790 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
41791 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
41792 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
41793 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
41794 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
41795 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
41796 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41797 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
41798 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41799 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
41800 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41801 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
41802 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41803 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
41804 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
41805 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41806 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
41807 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41808 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
41809 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
41810 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
41811 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41812 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
41813 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
41814 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
41815 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41816 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
41817 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41818 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41819 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41820 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41821 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41822 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
41823 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
41824 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
41825 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
41826 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
41827 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41828 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41829 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41830 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41831 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41832 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
41833 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41834 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41835 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41836 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
41837 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41838 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
41839 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
41840 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41841 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41842 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41843 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41844 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
41845 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
41846 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41847 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
41848 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41849 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41850 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
41851 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41852 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
41853 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
41854 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
41855 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
41856 { NULL
, NULL
, 0, NULL
}
41860 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41862 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
41863 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41865 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
41866 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
41868 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
41869 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
41871 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
41872 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41874 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41875 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41877 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
41878 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
41880 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
41881 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
41883 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41884 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41886 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41887 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41889 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41890 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41892 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
41893 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
41895 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41896 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41898 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41899 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41901 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
41902 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
41904 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
41905 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
41907 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
41908 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
41910 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
41911 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
41913 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
41914 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
41916 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
41917 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
41919 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
41920 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
41922 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41923 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41925 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41926 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41928 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41929 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41931 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41932 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41934 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
41935 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
41937 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
41938 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
41940 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
41941 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
41943 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
41944 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
41946 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
41947 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
41949 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
41950 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
41952 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
41953 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
41955 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
41956 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
41958 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
41959 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41961 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
41962 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41964 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
41965 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41967 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
41968 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41970 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
41971 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41973 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
41974 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
41976 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
41977 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
41979 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
41980 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41982 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
41983 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
41985 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
41986 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
41988 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
41989 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41991 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
41992 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41994 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
41995 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41997 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
41998 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
42000 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
42001 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
42003 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
42004 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
42006 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
42007 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
42009 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
42010 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42012 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
42013 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
42015 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
42016 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
42018 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
42019 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
42021 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
42022 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42024 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
42025 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
42027 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
42028 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
42030 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
42031 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
42033 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
42034 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
42036 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
42037 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
42039 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
42040 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
42042 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
42043 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
42045 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
42046 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42048 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
42049 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
42051 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
42052 return (void *)((wxControl
*) ((wxComboBox
*) x
));
42054 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
42055 return (void *)((wxControl
*) ((wxPyControl
*) x
));
42057 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
42058 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
42060 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
42061 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
42063 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
42064 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
42066 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
42067 return (void *)((wxControl
*) ((wxGauge
*) x
));
42069 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
42070 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
42072 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
42073 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42075 static void *_p_wxListbookTo_p_wxControl(void *x
) {
42076 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
42078 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
42079 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
42081 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
42082 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
42084 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
42085 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
42087 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
42088 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
42090 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
42091 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
42093 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
42094 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42096 static void *_p_wxListViewTo_p_wxControl(void *x
) {
42097 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
42099 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
42100 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
42102 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
42103 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
42105 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
42106 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
42108 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
42109 return (void *)((wxControl
*) ((wxStaticText
*) x
));
42111 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
42112 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
42114 static void *_p_wxSliderTo_p_wxControl(void *x
) {
42115 return (void *)((wxControl
*) ((wxSlider
*) x
));
42117 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
42118 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
42120 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
42121 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
42123 static void *_p_wxButtonTo_p_wxControl(void *x
) {
42124 return (void *)((wxControl
*) ((wxButton
*) x
));
42126 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
42127 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
42129 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
42130 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42132 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
42133 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
42135 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
42136 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
42138 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
42139 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
42141 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
42142 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42144 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
42145 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
42147 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
42148 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
42150 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
42151 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
42153 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
42154 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
42156 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
42157 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42159 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
42160 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42162 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
42163 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42165 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
42166 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42168 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
42169 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42171 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
42172 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42174 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
42175 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
42177 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
42178 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
42180 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
42181 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
42183 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
42184 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
42186 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
42187 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
42189 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
42190 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
42192 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
42193 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
42195 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
42196 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
42198 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
42199 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
42201 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
42202 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
42204 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
42205 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
42207 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
42208 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
42210 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
42211 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
42213 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
42214 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
42216 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
42217 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
42219 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
42220 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
42222 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
42223 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
42225 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
42226 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
42228 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
42229 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42231 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
42232 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
42234 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
42235 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
42237 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
42238 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
42240 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
42241 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
42243 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
42244 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42246 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
42247 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
42249 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
42250 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
42252 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
42253 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42255 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
42256 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
42258 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
42259 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
42261 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
42262 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
42264 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
42265 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
42267 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
42268 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42270 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
42271 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
42273 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
42274 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
42276 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
42277 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
42279 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
42280 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
42282 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
42283 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
42285 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
42286 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
42288 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
42289 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
42291 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
42292 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
42294 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
42295 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
42297 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
42298 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
42300 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
42301 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
42303 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
42304 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
42306 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
42307 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
42309 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
42310 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42312 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
42313 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
42315 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
42316 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
42318 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
42319 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
42321 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
42322 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
42324 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
42325 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42327 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
42328 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42330 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
42331 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
42333 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
42334 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
42336 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
42337 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
42339 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
42340 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
42342 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
42343 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
42345 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
42346 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
42348 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
42349 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
42351 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
42352 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
42354 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
42355 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42357 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
42358 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
42360 static void *_p_wxSizerTo_p_wxObject(void *x
) {
42361 return (void *)((wxObject
*) ((wxSizer
*) x
));
42363 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
42364 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42366 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
42367 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
42369 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
42370 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
42372 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
42373 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42375 static void *_p_wxEventTo_p_wxObject(void *x
) {
42376 return (void *)((wxObject
*) ((wxEvent
*) x
));
42378 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
42379 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42381 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
42382 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
42384 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
42385 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
42387 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
42388 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
42390 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
42391 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
42393 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
42394 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42396 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
42397 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
42399 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
42400 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
42402 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
42403 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
42405 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
42406 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42408 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
42409 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42411 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
42412 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42414 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
42415 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42417 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
42418 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
42420 static void *_p_wxControlTo_p_wxObject(void *x
) {
42421 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
42423 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
42424 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
42426 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
42427 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
42429 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
42430 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
42432 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
42433 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
42435 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
42436 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
42438 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
42439 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
42441 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
42442 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
42444 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
42445 return (void *)((wxObject
*) ((wxFSFile
*) x
));
42447 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
42448 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
42450 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
42451 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
42453 static void *_p_wxListViewTo_p_wxObject(void *x
) {
42454 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
42456 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
42457 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
42459 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
42460 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
42462 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
42463 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
42465 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
42466 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42468 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
42469 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42471 static void *_p_wxListbookTo_p_wxObject(void *x
) {
42472 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
42474 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
42475 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
42477 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
42478 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
42480 static void *_p_wxSliderTo_p_wxObject(void *x
) {
42481 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
42483 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
42484 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
42486 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
42487 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
42489 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
42490 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
42492 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
42493 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42495 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
42496 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42498 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
42499 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
42501 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
42502 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
42504 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
42505 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
42507 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
42508 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
42510 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
42511 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
42513 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
42514 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
42516 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
42517 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
42519 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
42520 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
42522 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
42523 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
42525 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
42526 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
42528 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
42529 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
42531 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
42532 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
42534 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
42535 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
42537 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
42538 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42540 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
42541 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42543 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
42544 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
42546 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
42547 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
42549 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
42550 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
42552 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
42553 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
42555 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
42556 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
42558 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
42559 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
42561 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
42562 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
42564 static void *_p_wxListEventTo_p_wxObject(void *x
) {
42565 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
42567 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
42568 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
42570 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
42571 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42573 static void *_p_wxButtonTo_p_wxObject(void *x
) {
42574 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
42576 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
42577 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
42579 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
42580 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
42582 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
42583 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42585 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
42586 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
42588 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
42589 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
42591 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
42592 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
42594 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
42595 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
42597 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
42598 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
42600 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
42601 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
42603 static void *_p_wxListItemTo_p_wxObject(void *x
) {
42604 return (void *)((wxObject
*) ((wxListItem
*) x
));
42606 static void *_p_wxImageTo_p_wxObject(void *x
) {
42607 return (void *)((wxObject
*) ((wxImage
*) x
));
42609 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
42610 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
42612 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
42613 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
42615 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
42616 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
42618 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
42619 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
42621 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
42622 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42624 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
42625 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42627 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
42628 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42630 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
42631 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42633 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
42634 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42636 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
42637 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42639 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
42640 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42642 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
42643 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
42645 static void *_p_wxWindowTo_p_wxObject(void *x
) {
42646 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
42648 static void *_p_wxMenuTo_p_wxObject(void *x
) {
42649 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
42651 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
42652 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
42654 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
42655 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
42657 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
42658 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42660 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
42661 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
42663 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
42664 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
42666 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
42667 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
42669 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
42670 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
42672 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
42673 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
42675 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
42676 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
42678 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
42679 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
42681 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
42682 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42684 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
42685 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
42687 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
42688 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
42690 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
42691 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
42693 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
42694 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
42696 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
42697 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42699 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
42700 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
42702 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
42703 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42705 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
42706 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
42708 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
42709 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
42711 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
42712 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
42714 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
42715 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
42717 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
42718 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
42720 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
42721 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
42723 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
42724 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
42726 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
42727 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
42729 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
42730 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
42732 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
42733 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
42735 static void *_p_wxControlTo_p_wxWindow(void *x
) {
42736 return (void *)((wxWindow
*) ((wxControl
*) x
));
42738 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
42739 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
42741 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
42742 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
42744 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
42745 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
42747 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
42748 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42750 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
42751 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
42753 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
42754 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
42756 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
42757 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
42759 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
42760 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
42762 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
42763 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
42765 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
42766 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
42768 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
42769 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42771 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
42772 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
42774 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
42775 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
42777 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
42778 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
42780 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
42781 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
42783 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
42784 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42786 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
42787 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
42789 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
42790 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
42792 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
42793 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
42795 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
42796 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
42798 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
42799 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
42801 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
42802 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
42804 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
42805 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
42807 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
42808 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
42810 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
42811 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
42813 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
42814 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
42816 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
42817 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
42819 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
42820 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
42822 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
42823 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
42825 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
42826 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42828 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
42829 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
42831 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
42832 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
42834 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42835 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42837 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42838 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42840 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42841 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42843 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42844 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42846 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42847 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42849 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
42850 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42852 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
42853 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
42855 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
42856 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
42858 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
42859 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
42861 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
42862 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42864 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
42865 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42867 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
42868 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42870 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
42871 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42873 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
42874 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42876 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
42877 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42879 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
42880 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42882 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
42883 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42885 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
42886 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
42888 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
42889 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42891 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
42892 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
42894 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
42895 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
42897 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
42898 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
42900 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
42901 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
42903 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
42904 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
42906 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
42907 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42909 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
42910 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42912 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
42913 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42915 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
42916 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
42918 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
42919 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
42921 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
42922 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
42924 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
42925 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
42927 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
42928 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
42929 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};
42930 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
42931 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
42932 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
42933 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
42934 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
42935 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
42936 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
42937 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
42938 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
42939 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
42940 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
42941 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
42942 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
42943 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
42944 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
42945 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
42946 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
42947 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
42948 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
42949 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
42950 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
42951 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
42952 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
42953 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
42954 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
42955 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
42956 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
42957 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
42958 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
42959 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
42960 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
42961 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
42962 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
42963 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
42964 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
42965 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
42966 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
42967 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
42968 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
42969 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
42970 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
42971 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
42972 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
42973 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
42974 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
42975 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
42976 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
42977 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
42978 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
42979 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
42980 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
42981 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
42982 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
42983 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
42984 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
42985 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
42986 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
42987 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
42988 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
42989 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
42990 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
42991 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
42992 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
42993 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
42994 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
42995 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
42996 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
42997 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
42998 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
42999 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
43000 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
43001 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
43002 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
43003 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
43004 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
43005 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
43006 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
43007 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
43008 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
43009 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
43010 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
43011 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
43012 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
43013 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
43014 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
43015 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
43016 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
43017 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
43018 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
43019 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
43020 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
43021 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
43022 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
43023 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
43024 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
43025 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
43026 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
43027 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
43028 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
43029 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
43030 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
43031 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
43032 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
43033 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
43034 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
43035 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
43036 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
43037 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
43038 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
43039 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
43040 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
43041 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
43042 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
43043 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
43044 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
43045 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
43046 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
43047 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
43048 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
43049 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
43050 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
43051 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
43052 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
43053 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
43054 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
43055 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
43056 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
43057 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
43058 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
43059 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
43060 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
43061 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
43062 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
43063 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
43064 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
43065 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
43066 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
43067 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
43068 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
43069 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
43070 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
43071 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
43072 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
43073 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
43074 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
43075 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
43076 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
43077 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
43078 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
43079 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
43080 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
43081 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
43082 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
43083 static swig_type_info _swigt__p_wxTreeCtrl
= {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
43084 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
43085 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
43086 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
43087 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
43088 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
43089 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
43090 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
43092 static swig_type_info
*swig_type_initial
[] = {
43095 &_swigt__p_form_ops_t
,
43098 &_swigt__p_unsigned_char
,
43099 &_swigt__p_unsigned_int
,
43100 &_swigt__p_unsigned_long
,
43102 &_swigt__p_wxANIHandler
,
43103 &_swigt__p_wxAcceleratorTable
,
43104 &_swigt__p_wxActivateEvent
,
43105 &_swigt__p_wxArrayInt
,
43106 &_swigt__p_wxArrayString
,
43107 &_swigt__p_wxBMPHandler
,
43108 &_swigt__p_wxBitmap
,
43109 &_swigt__p_wxBitmapButton
,
43110 &_swigt__p_wxBookCtrlBase
,
43111 &_swigt__p_wxBookCtrlBaseEvent
,
43112 &_swigt__p_wxBoxSizer
,
43113 &_swigt__p_wxButton
,
43114 &_swigt__p_wxCURHandler
,
43115 &_swigt__p_wxCheckBox
,
43116 &_swigt__p_wxCheckListBox
,
43117 &_swigt__p_wxChildFocusEvent
,
43118 &_swigt__p_wxChoice
,
43119 &_swigt__p_wxChoicebook
,
43120 &_swigt__p_wxChoicebookEvent
,
43121 &_swigt__p_wxClipboardTextEvent
,
43122 &_swigt__p_wxCloseEvent
,
43123 &_swigt__p_wxColour
,
43124 &_swigt__p_wxComboBox
,
43125 &_swigt__p_wxCommandEvent
,
43126 &_swigt__p_wxContextHelp
,
43127 &_swigt__p_wxContextHelpButton
,
43128 &_swigt__p_wxContextMenuEvent
,
43129 &_swigt__p_wxControl
,
43130 &_swigt__p_wxControlWithItems
,
43131 &_swigt__p_wxCursor
,
43133 &_swigt__p_wxDateEvent
,
43134 &_swigt__p_wxDatePickerCtrl
,
43135 &_swigt__p_wxDateTime
,
43136 &_swigt__p_wxDirFilterListCtrl
,
43137 &_swigt__p_wxDisplayChangedEvent
,
43138 &_swigt__p_wxDropFilesEvent
,
43139 &_swigt__p_wxDuplexMode
,
43140 &_swigt__p_wxEraseEvent
,
43141 &_swigt__p_wxEvent
,
43142 &_swigt__p_wxEvtHandler
,
43143 &_swigt__p_wxFSFile
,
43144 &_swigt__p_wxFileSystem
,
43145 &_swigt__p_wxFlexGridSizer
,
43146 &_swigt__p_wxFocusEvent
,
43148 &_swigt__p_wxGBSizerItem
,
43149 &_swigt__p_wxGIFHandler
,
43150 &_swigt__p_wxGauge
,
43151 &_swigt__p_wxGenericDirCtrl
,
43152 &_swigt__p_wxGenericDragImage
,
43153 &_swigt__p_wxGridBagSizer
,
43154 &_swigt__p_wxGridSizer
,
43155 &_swigt__p_wxHelpEvent
,
43156 &_swigt__p_wxHelpProvider
,
43157 &_swigt__p_wxICOHandler
,
43159 &_swigt__p_wxIconizeEvent
,
43160 &_swigt__p_wxIdleEvent
,
43161 &_swigt__p_wxImage
,
43162 &_swigt__p_wxImageHandler
,
43163 &_swigt__p_wxImageList
,
43164 &_swigt__p_wxIndividualLayoutConstraint
,
43165 &_swigt__p_wxInitDialogEvent
,
43166 &_swigt__p_wxItemContainer
,
43167 &_swigt__p_wxJPEGHandler
,
43168 &_swigt__p_wxKeyEvent
,
43169 &_swigt__p_wxLayoutConstraints
,
43170 &_swigt__p_wxListBox
,
43171 &_swigt__p_wxListEvent
,
43172 &_swigt__p_wxListItem
,
43173 &_swigt__p_wxListItemAttr
,
43174 &_swigt__p_wxListView
,
43175 &_swigt__p_wxListbook
,
43176 &_swigt__p_wxListbookEvent
,
43177 &_swigt__p_wxMaximizeEvent
,
43178 &_swigt__p_wxMemoryDC
,
43180 &_swigt__p_wxMenuBar
,
43181 &_swigt__p_wxMenuEvent
,
43182 &_swigt__p_wxMenuItem
,
43183 &_swigt__p_wxMouseCaptureChangedEvent
,
43184 &_swigt__p_wxMouseEvent
,
43185 &_swigt__p_wxMoveEvent
,
43186 &_swigt__p_wxNavigationKeyEvent
,
43187 &_swigt__p_wxNcPaintEvent
,
43188 &_swigt__p_wxNotebook
,
43189 &_swigt__p_wxNotebookEvent
,
43190 &_swigt__p_wxNotifyEvent
,
43191 &_swigt__p_wxObject
,
43192 &_swigt__p_wxPCXHandler
,
43193 &_swigt__p_wxPNGHandler
,
43194 &_swigt__p_wxPNMHandler
,
43195 &_swigt__p_wxPaintEvent
,
43196 &_swigt__p_wxPaletteChangedEvent
,
43197 &_swigt__p_wxPaperSize
,
43198 &_swigt__p_wxPoint
,
43199 &_swigt__p_wxPyApp
,
43200 &_swigt__p_wxPyCommandEvent
,
43201 &_swigt__p_wxPyControl
,
43202 &_swigt__p_wxPyEvent
,
43203 &_swigt__p_wxPyImageHandler
,
43204 &_swigt__p_wxPyListCtrl
,
43205 &_swigt__p_wxPySizer
,
43206 &_swigt__p_wxPyTreeCtrl
,
43207 &_swigt__p_wxPyTreeItemData
,
43208 &_swigt__p_wxPyValidator
,
43209 &_swigt__p_wxQueryNewPaletteEvent
,
43210 &_swigt__p_wxRadioBox
,
43211 &_swigt__p_wxRadioButton
,
43213 &_swigt__p_wxScrollBar
,
43214 &_swigt__p_wxScrollEvent
,
43215 &_swigt__p_wxScrollWinEvent
,
43216 &_swigt__p_wxSetCursorEvent
,
43217 &_swigt__p_wxShowEvent
,
43218 &_swigt__p_wxSimpleHelpProvider
,
43220 &_swigt__p_wxSizeEvent
,
43221 &_swigt__p_wxSizer
,
43222 &_swigt__p_wxSizerItem
,
43223 &_swigt__p_wxSlider
,
43224 &_swigt__p_wxSpinButton
,
43225 &_swigt__p_wxSpinCtrl
,
43226 &_swigt__p_wxSpinEvent
,
43227 &_swigt__p_wxStaticBitmap
,
43228 &_swigt__p_wxStaticBox
,
43229 &_swigt__p_wxStaticBoxSizer
,
43230 &_swigt__p_wxStaticLine
,
43231 &_swigt__p_wxStaticText
,
43232 &_swigt__p_wxStdDialogButtonSizer
,
43233 &_swigt__p_wxString
,
43234 &_swigt__p_wxSysColourChangedEvent
,
43235 &_swigt__p_wxTIFFHandler
,
43236 &_swigt__p_wxTextAttr
,
43237 &_swigt__p_wxTextCtrl
,
43238 &_swigt__p_wxTextUrlEvent
,
43239 &_swigt__p_wxToggleButton
,
43240 &_swigt__p_wxToolBar
,
43241 &_swigt__p_wxToolBarBase
,
43242 &_swigt__p_wxToolBarToolBase
,
43243 &_swigt__p_wxToolbook
,
43244 &_swigt__p_wxToolbookEvent
,
43245 &_swigt__p_wxTreeCtrl
,
43246 &_swigt__p_wxTreeEvent
,
43247 &_swigt__p_wxTreeItemId
,
43248 &_swigt__p_wxTreebook
,
43249 &_swigt__p_wxTreebookEvent
,
43250 &_swigt__p_wxUpdateUIEvent
,
43251 &_swigt__p_wxValidator
,
43252 &_swigt__p_wxVisualAttributes
,
43253 &_swigt__p_wxWindow
,
43254 &_swigt__p_wxWindowCreateEvent
,
43255 &_swigt__p_wxWindowDestroyEvent
,
43256 &_swigt__p_wxXPMHandler
,
43259 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
43260 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
43261 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
43262 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
43263 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
43264 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
43265 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
43266 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
43267 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
43268 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
43269 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
43270 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
43271 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}};
43272 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}};
43273 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}};
43274 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}};
43275 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
43276 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
43277 static swig_cast_info _swigc__p_wxChoice
[] = { {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0}, {&_swigt__p_wxChoice
, 0, 0, 0},{0, 0, 0, 0}};
43278 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
43279 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43280 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
43281 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
43282 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
43283 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
43284 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
43285 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
43286 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
43287 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
43288 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
43289 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
43290 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
43291 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_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}};
43292 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
43293 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
43294 static swig_cast_info _swigc__p_wxControl
[] = { {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControl
, 0, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxControl
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxControl
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxControl
, 0, 0},{0, 0, 0, 0}};
43295 static swig_cast_info _swigc__p_wxControlWithItems
[] = { {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxControlWithItems
, 0, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0},{0, 0, 0, 0}};
43296 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
43297 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
43298 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43299 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
43300 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43301 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
43302 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
43303 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
43304 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
43305 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
43306 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
43307 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
43308 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
43309 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
43310 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43311 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43312 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
43313 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43314 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
43315 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
43316 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
43317 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43318 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43319 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43320 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43321 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
43322 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
43323 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
43324 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
43325 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
43326 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_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}};
43327 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
43328 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
43329 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
43330 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
43331 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
43332 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
43333 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
43334 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43335 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
43336 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
43337 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}};
43338 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
43339 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
43340 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}};
43341 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
43342 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}};
43343 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
43344 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
43345 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
43346 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
43347 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
43348 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43349 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
43350 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
43351 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
43352 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43353 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}};
43354 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
43355 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
43356 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
43357 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
43358 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
43359 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
43360 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
43361 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
43362 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
43363 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
43364 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
43365 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
43366 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
43367 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
43368 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
43369 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
43370 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
43371 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
43372 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
43373 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
43374 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
43375 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
43376 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
43377 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
43378 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
43379 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
43380 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
43381 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
43382 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
43383 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
43384 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_wxTreebook
, _p_wxTreebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxObject
, 0, 0}, {&_swigt__p_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_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_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_wxButton
, _p_wxButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListItem
, _p_wxListItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDragImage
, _p_wxGenericDragImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarToolBase
, _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
43385 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
43386 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
43387 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
43388 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}};
43389 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43390 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
43391 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
43392 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
43393 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
43394 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
43395 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
43396 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
43397 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
43398 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
43399 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43400 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
43401 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
43402 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
43403 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
43404 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
43405 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
43406 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
43407 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43408 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
43409 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
43410 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
43411 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}};
43412 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
43413 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
43414 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43415 static swig_cast_info _swigc__p_wxTreeCtrl
[] = { {&_swigt__p_wxTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43416 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43417 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
43418 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
43419 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43420 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}};
43421 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
43422 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
43424 static swig_cast_info
*swig_cast_initial
[] = {
43427 _swigc__p_form_ops_t
,
43430 _swigc__p_unsigned_char
,
43431 _swigc__p_unsigned_int
,
43432 _swigc__p_unsigned_long
,
43434 _swigc__p_wxANIHandler
,
43435 _swigc__p_wxAcceleratorTable
,
43436 _swigc__p_wxActivateEvent
,
43437 _swigc__p_wxArrayInt
,
43438 _swigc__p_wxArrayString
,
43439 _swigc__p_wxBMPHandler
,
43440 _swigc__p_wxBitmap
,
43441 _swigc__p_wxBitmapButton
,
43442 _swigc__p_wxBookCtrlBase
,
43443 _swigc__p_wxBookCtrlBaseEvent
,
43444 _swigc__p_wxBoxSizer
,
43445 _swigc__p_wxButton
,
43446 _swigc__p_wxCURHandler
,
43447 _swigc__p_wxCheckBox
,
43448 _swigc__p_wxCheckListBox
,
43449 _swigc__p_wxChildFocusEvent
,
43450 _swigc__p_wxChoice
,
43451 _swigc__p_wxChoicebook
,
43452 _swigc__p_wxChoicebookEvent
,
43453 _swigc__p_wxClipboardTextEvent
,
43454 _swigc__p_wxCloseEvent
,
43455 _swigc__p_wxColour
,
43456 _swigc__p_wxComboBox
,
43457 _swigc__p_wxCommandEvent
,
43458 _swigc__p_wxContextHelp
,
43459 _swigc__p_wxContextHelpButton
,
43460 _swigc__p_wxContextMenuEvent
,
43461 _swigc__p_wxControl
,
43462 _swigc__p_wxControlWithItems
,
43463 _swigc__p_wxCursor
,
43465 _swigc__p_wxDateEvent
,
43466 _swigc__p_wxDatePickerCtrl
,
43467 _swigc__p_wxDateTime
,
43468 _swigc__p_wxDirFilterListCtrl
,
43469 _swigc__p_wxDisplayChangedEvent
,
43470 _swigc__p_wxDropFilesEvent
,
43471 _swigc__p_wxDuplexMode
,
43472 _swigc__p_wxEraseEvent
,
43474 _swigc__p_wxEvtHandler
,
43475 _swigc__p_wxFSFile
,
43476 _swigc__p_wxFileSystem
,
43477 _swigc__p_wxFlexGridSizer
,
43478 _swigc__p_wxFocusEvent
,
43480 _swigc__p_wxGBSizerItem
,
43481 _swigc__p_wxGIFHandler
,
43483 _swigc__p_wxGenericDirCtrl
,
43484 _swigc__p_wxGenericDragImage
,
43485 _swigc__p_wxGridBagSizer
,
43486 _swigc__p_wxGridSizer
,
43487 _swigc__p_wxHelpEvent
,
43488 _swigc__p_wxHelpProvider
,
43489 _swigc__p_wxICOHandler
,
43491 _swigc__p_wxIconizeEvent
,
43492 _swigc__p_wxIdleEvent
,
43494 _swigc__p_wxImageHandler
,
43495 _swigc__p_wxImageList
,
43496 _swigc__p_wxIndividualLayoutConstraint
,
43497 _swigc__p_wxInitDialogEvent
,
43498 _swigc__p_wxItemContainer
,
43499 _swigc__p_wxJPEGHandler
,
43500 _swigc__p_wxKeyEvent
,
43501 _swigc__p_wxLayoutConstraints
,
43502 _swigc__p_wxListBox
,
43503 _swigc__p_wxListEvent
,
43504 _swigc__p_wxListItem
,
43505 _swigc__p_wxListItemAttr
,
43506 _swigc__p_wxListView
,
43507 _swigc__p_wxListbook
,
43508 _swigc__p_wxListbookEvent
,
43509 _swigc__p_wxMaximizeEvent
,
43510 _swigc__p_wxMemoryDC
,
43512 _swigc__p_wxMenuBar
,
43513 _swigc__p_wxMenuEvent
,
43514 _swigc__p_wxMenuItem
,
43515 _swigc__p_wxMouseCaptureChangedEvent
,
43516 _swigc__p_wxMouseEvent
,
43517 _swigc__p_wxMoveEvent
,
43518 _swigc__p_wxNavigationKeyEvent
,
43519 _swigc__p_wxNcPaintEvent
,
43520 _swigc__p_wxNotebook
,
43521 _swigc__p_wxNotebookEvent
,
43522 _swigc__p_wxNotifyEvent
,
43523 _swigc__p_wxObject
,
43524 _swigc__p_wxPCXHandler
,
43525 _swigc__p_wxPNGHandler
,
43526 _swigc__p_wxPNMHandler
,
43527 _swigc__p_wxPaintEvent
,
43528 _swigc__p_wxPaletteChangedEvent
,
43529 _swigc__p_wxPaperSize
,
43532 _swigc__p_wxPyCommandEvent
,
43533 _swigc__p_wxPyControl
,
43534 _swigc__p_wxPyEvent
,
43535 _swigc__p_wxPyImageHandler
,
43536 _swigc__p_wxPyListCtrl
,
43537 _swigc__p_wxPySizer
,
43538 _swigc__p_wxPyTreeCtrl
,
43539 _swigc__p_wxPyTreeItemData
,
43540 _swigc__p_wxPyValidator
,
43541 _swigc__p_wxQueryNewPaletteEvent
,
43542 _swigc__p_wxRadioBox
,
43543 _swigc__p_wxRadioButton
,
43545 _swigc__p_wxScrollBar
,
43546 _swigc__p_wxScrollEvent
,
43547 _swigc__p_wxScrollWinEvent
,
43548 _swigc__p_wxSetCursorEvent
,
43549 _swigc__p_wxShowEvent
,
43550 _swigc__p_wxSimpleHelpProvider
,
43552 _swigc__p_wxSizeEvent
,
43554 _swigc__p_wxSizerItem
,
43555 _swigc__p_wxSlider
,
43556 _swigc__p_wxSpinButton
,
43557 _swigc__p_wxSpinCtrl
,
43558 _swigc__p_wxSpinEvent
,
43559 _swigc__p_wxStaticBitmap
,
43560 _swigc__p_wxStaticBox
,
43561 _swigc__p_wxStaticBoxSizer
,
43562 _swigc__p_wxStaticLine
,
43563 _swigc__p_wxStaticText
,
43564 _swigc__p_wxStdDialogButtonSizer
,
43565 _swigc__p_wxString
,
43566 _swigc__p_wxSysColourChangedEvent
,
43567 _swigc__p_wxTIFFHandler
,
43568 _swigc__p_wxTextAttr
,
43569 _swigc__p_wxTextCtrl
,
43570 _swigc__p_wxTextUrlEvent
,
43571 _swigc__p_wxToggleButton
,
43572 _swigc__p_wxToolBar
,
43573 _swigc__p_wxToolBarBase
,
43574 _swigc__p_wxToolBarToolBase
,
43575 _swigc__p_wxToolbook
,
43576 _swigc__p_wxToolbookEvent
,
43577 _swigc__p_wxTreeCtrl
,
43578 _swigc__p_wxTreeEvent
,
43579 _swigc__p_wxTreeItemId
,
43580 _swigc__p_wxTreebook
,
43581 _swigc__p_wxTreebookEvent
,
43582 _swigc__p_wxUpdateUIEvent
,
43583 _swigc__p_wxValidator
,
43584 _swigc__p_wxVisualAttributes
,
43585 _swigc__p_wxWindow
,
43586 _swigc__p_wxWindowCreateEvent
,
43587 _swigc__p_wxWindowDestroyEvent
,
43588 _swigc__p_wxXPMHandler
,
43592 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
43594 static swig_const_info swig_const_table
[] = {
43595 {0, 0, 0, 0.0, 0, 0}};
43600 /* -----------------------------------------------------------------------------
43601 * Type initialization:
43602 * This problem is tough by the requirement that no dynamic
43603 * memory is used. Also, since swig_type_info structures store pointers to
43604 * swig_cast_info structures and swig_cast_info structures store pointers back
43605 * to swig_type_info structures, we need some lookup code at initialization.
43606 * The idea is that swig generates all the structures that are needed.
43607 * The runtime then collects these partially filled structures.
43608 * The SWIG_InitializeModule function takes these initial arrays out of
43609 * swig_module, and does all the lookup, filling in the swig_module.types
43610 * array with the correct data and linking the correct swig_cast_info
43611 * structures together.
43613 * The generated swig_type_info structures are assigned staticly to an initial
43614 * array. We just loop though that array, and handle each type individually.
43615 * First we lookup if this type has been already loaded, and if so, use the
43616 * loaded structure instead of the generated one. Then we have to fill in the
43617 * cast linked list. The cast data is initially stored in something like a
43618 * two-dimensional array. Each row corresponds to a type (there are the same
43619 * number of rows as there are in the swig_type_initial array). Each entry in
43620 * a column is one of the swig_cast_info structures for that type.
43621 * The cast_initial array is actually an array of arrays, because each row has
43622 * a variable number of columns. So to actually build the cast linked list,
43623 * we find the array of casts associated with the type, and loop through it
43624 * adding the casts to the list. The one last trick we need to do is making
43625 * sure the type pointer in the swig_cast_info struct is correct.
43627 * First off, we lookup the cast->type name to see if it is already loaded.
43628 * There are three cases to handle:
43629 * 1) If the cast->type has already been loaded AND the type we are adding
43630 * casting info to has not been loaded (it is in this module), THEN we
43631 * replace the cast->type pointer with the type pointer that has already
43633 * 2) If BOTH types (the one we are adding casting info to, and the
43634 * cast->type) are loaded, THEN the cast info has already been loaded by
43635 * the previous module so we just ignore it.
43636 * 3) Finally, if cast->type has not already been loaded, then we add that
43637 * swig_cast_info to the linked list (because the cast->type) pointer will
43639 * ----------------------------------------------------------------------------- */
43649 #define SWIGRUNTIME_DEBUG
43653 SWIG_InitializeModule(void *clientdata
) {
43655 swig_module_info
*module_head
;
43656 static int init_run
= 0;
43658 clientdata
= clientdata
;
43660 if (init_run
) return;
43663 /* Initialize the swig_module */
43664 swig_module
.type_initial
= swig_type_initial
;
43665 swig_module
.cast_initial
= swig_cast_initial
;
43667 /* Try and load any already created modules */
43668 module_head
= SWIG_GetModule(clientdata
);
43670 swig_module
.next
= module_head
->next
;
43671 module_head
->next
= &swig_module
;
43673 /* This is the first module loaded */
43674 swig_module
.next
= &swig_module
;
43675 SWIG_SetModule(clientdata
, &swig_module
);
43678 /* Now work on filling in swig_module.types */
43679 #ifdef SWIGRUNTIME_DEBUG
43680 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
43682 for (i
= 0; i
< swig_module
.size
; ++i
) {
43683 swig_type_info
*type
= 0;
43684 swig_type_info
*ret
;
43685 swig_cast_info
*cast
;
43687 #ifdef SWIGRUNTIME_DEBUG
43688 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
43691 /* if there is another module already loaded */
43692 if (swig_module
.next
!= &swig_module
) {
43693 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
43696 /* Overwrite clientdata field */
43697 #ifdef SWIGRUNTIME_DEBUG
43698 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
43700 if (swig_module
.type_initial
[i
]->clientdata
) {
43701 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
43702 #ifdef SWIGRUNTIME_DEBUG
43703 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
43707 type
= swig_module
.type_initial
[i
];
43710 /* Insert casting types */
43711 cast
= swig_module
.cast_initial
[i
];
43712 while (cast
->type
) {
43713 /* Don't need to add information already in the list */
43715 #ifdef SWIGRUNTIME_DEBUG
43716 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
43718 if (swig_module
.next
!= &swig_module
) {
43719 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
43720 #ifdef SWIGRUNTIME_DEBUG
43721 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
43725 if (type
== swig_module
.type_initial
[i
]) {
43726 #ifdef SWIGRUNTIME_DEBUG
43727 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
43732 /* Check for casting already in the list */
43733 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
43734 #ifdef SWIGRUNTIME_DEBUG
43735 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
43737 if (!ocast
) ret
= 0;
43742 #ifdef SWIGRUNTIME_DEBUG
43743 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
43746 type
->cast
->prev
= cast
;
43747 cast
->next
= type
->cast
;
43753 /* Set entry in modules->types array equal to the type */
43754 swig_module
.types
[i
] = type
;
43756 swig_module
.types
[i
] = 0;
43758 #ifdef SWIGRUNTIME_DEBUG
43759 printf("**** SWIG_InitializeModule: Cast List ******\n");
43760 for (i
= 0; i
< swig_module
.size
; ++i
) {
43762 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
43763 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
43764 while (cast
->type
) {
43765 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
43769 printf("---- Total casts: %d\n",j
);
43771 printf("**** SWIG_InitializeModule: Cast List ******\n");
43775 /* This function will propagate the clientdata field of type to
43776 * any new swig_type_info structures that have been added into the list
43777 * of equivalent types. It is like calling
43778 * SWIG_TypeClientData(type, clientdata) a second time.
43781 SWIG_PropagateClientData(void) {
43783 swig_cast_info
*equiv
;
43784 static int init_run
= 0;
43786 if (init_run
) return;
43789 for (i
= 0; i
< swig_module
.size
; i
++) {
43790 if (swig_module
.types
[i
]->clientdata
) {
43791 equiv
= swig_module
.types
[i
]->cast
;
43793 if (!equiv
->converter
) {
43794 if (equiv
->type
&& !equiv
->type
->clientdata
)
43795 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
43797 equiv
= equiv
->next
;
43817 /* Python-specific SWIG API */
43818 #define SWIG_newvarlink() SWIG_Python_newvarlink()
43819 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
43820 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
43822 /* -----------------------------------------------------------------------------
43823 * global variable support code.
43824 * ----------------------------------------------------------------------------- */
43826 typedef struct swig_globalvar
{
43827 char *name
; /* Name of global variable */
43828 PyObject
*(*get_attr
)(void); /* Return the current value */
43829 int (*set_attr
)(PyObject
*); /* Set the value */
43830 struct swig_globalvar
*next
;
43833 typedef struct swig_varlinkobject
{
43835 swig_globalvar
*vars
;
43836 } swig_varlinkobject
;
43838 SWIGINTERN PyObject
*
43839 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
43840 return PyString_FromString("<Swig global variables>");
43843 SWIGINTERN PyObject
*
43844 swig_varlink_str(swig_varlinkobject
*v
) {
43845 PyObject
*str
= PyString_FromString("(");
43846 swig_globalvar
*var
;
43847 for (var
= v
->vars
; var
; var
=var
->next
) {
43848 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
43849 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
43851 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
43856 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
43857 PyObject
*str
= swig_varlink_str(v
);
43858 fprintf(fp
,"Swig global variables ");
43859 fprintf(fp
,"%s\n", PyString_AsString(str
));
43865 swig_varlink_dealloc(swig_varlinkobject
*v
) {
43866 swig_globalvar
*var
= v
->vars
;
43868 swig_globalvar
*n
= var
->next
;
43875 SWIGINTERN PyObject
*
43876 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
43877 PyObject
*res
= NULL
;
43878 swig_globalvar
*var
= v
->vars
;
43880 if (strcmp(var
->name
,n
) == 0) {
43881 res
= (*var
->get_attr
)();
43886 if (res
== NULL
&& !PyErr_Occurred()) {
43887 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
43893 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
43895 swig_globalvar
*var
= v
->vars
;
43897 if (strcmp(var
->name
,n
) == 0) {
43898 res
= (*var
->set_attr
)(p
);
43903 if (res
== 1 && !PyErr_Occurred()) {
43904 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
43909 SWIGINTERN PyTypeObject
*
43910 swig_varlink_type(void) {
43911 static char varlink__doc__
[] = "Swig var link object";
43912 static PyTypeObject varlink_type
;
43913 static int type_init
= 0;
43915 const PyTypeObject tmp
43917 PyObject_HEAD_INIT(NULL
)
43918 0, /* Number of items in variable part (ob_size) */
43919 (char *)"swigvarlink", /* Type name (tp_name) */
43920 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
43921 0, /* Itemsize (tp_itemsize) */
43922 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
43923 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
43924 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
43925 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
43926 0, /* tp_compare */
43927 (reprfunc
) swig_varlink_repr
, /* tp_repr */
43928 0, /* tp_as_number */
43929 0, /* tp_as_sequence */
43930 0, /* tp_as_mapping */
43933 (reprfunc
)swig_varlink_str
, /* tp_str */
43934 0, /* tp_getattro */
43935 0, /* tp_setattro */
43936 0, /* tp_as_buffer */
43938 varlink__doc__
, /* tp_doc */
43939 0, /* tp_traverse */
43941 0, /* tp_richcompare */
43942 0, /* tp_weaklistoffset */
43943 #if PY_VERSION_HEX >= 0x02020000
43944 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
43946 #if PY_VERSION_HEX >= 0x02030000
43949 #ifdef COUNT_ALLOCS
43950 0,0,0,0 /* tp_alloc -> tp_next */
43953 varlink_type
= tmp
;
43954 varlink_type
.ob_type
= &PyType_Type
;
43957 return &varlink_type
;
43960 /* Create a variable linking object for use later */
43961 SWIGINTERN PyObject
*
43962 SWIG_Python_newvarlink(void) {
43963 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
43967 return ((PyObject
*) result
);
43971 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
43972 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
43973 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
43975 size_t size
= strlen(name
)+1;
43976 gv
->name
= (char *)malloc(size
);
43978 strncpy(gv
->name
,name
,size
);
43979 gv
->get_attr
= get_attr
;
43980 gv
->set_attr
= set_attr
;
43981 gv
->next
= v
->vars
;
43987 SWIGINTERN PyObject
*
43989 static PyObject
*_SWIG_globals
= 0;
43990 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
43991 return _SWIG_globals
;
43994 /* -----------------------------------------------------------------------------
43995 * constants/methods manipulation
43996 * ----------------------------------------------------------------------------- */
43998 /* Install Constants */
44000 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
44003 for (i
= 0; constants
[i
].type
; ++i
) {
44004 switch(constants
[i
].type
) {
44005 case SWIG_PY_POINTER
:
44006 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
44008 case SWIG_PY_BINARY
:
44009 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
44016 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
44022 /* -----------------------------------------------------------------------------*/
44023 /* Fix SwigMethods to carry the callback ptrs when needed */
44024 /* -----------------------------------------------------------------------------*/
44027 SWIG_Python_FixMethods(PyMethodDef
*methods
,
44028 swig_const_info
*const_table
,
44029 swig_type_info
**types
,
44030 swig_type_info
**types_initial
) {
44032 for (i
= 0; methods
[i
].ml_name
; ++i
) {
44033 char *c
= methods
[i
].ml_doc
;
44034 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
44036 swig_const_info
*ci
= 0;
44037 char *name
= c
+ 10;
44038 for (j
= 0; const_table
[j
].type
; ++j
) {
44039 if (strncmp(const_table
[j
].name
, name
,
44040 strlen(const_table
[j
].name
)) == 0) {
44041 ci
= &(const_table
[j
]);
44046 size_t shift
= (ci
->ptype
) - types
;
44047 swig_type_info
*ty
= types_initial
[shift
];
44048 size_t ldoc
= (c
- methods
[i
].ml_doc
);
44049 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
44050 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
44053 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
44055 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
44057 strncpy(buff
, "swig_ptr: ", 10);
44059 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
44060 methods
[i
].ml_doc
= ndoc
;
44072 /* -----------------------------------------------------------------------------*
44073 * Partial Init method
44074 * -----------------------------------------------------------------------------*/
44079 SWIGEXPORT
void SWIG_init(void) {
44082 /* Fix SwigMethods to carry the callback ptrs when needed */
44083 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
44085 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
44086 d
= PyModule_GetDict(m
);
44088 SWIG_InitializeModule(0);
44089 SWIG_InstallConstants(d
,swig_const_table
);
44092 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
44093 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
44094 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
44095 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
44096 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
44097 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
44098 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
44099 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
44100 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
44101 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
44102 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
44103 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
44104 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
44105 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
44106 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
44107 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
44108 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
44109 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
44110 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
44111 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
44112 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
44113 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
44114 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
44115 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
44116 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
44117 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
44118 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
44119 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
44120 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
44121 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
44122 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
44123 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
44124 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
44125 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
44126 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
44127 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
44128 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
44129 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
44130 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
44131 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
44132 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
44133 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
44134 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
44135 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
44136 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
44137 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
44138 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
44139 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
44140 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
44141 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
44142 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
44143 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
44144 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
44145 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
44146 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
44147 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
44148 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
44149 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
44150 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
44151 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
44152 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
44153 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
44154 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
44155 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
44156 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
44157 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
44158 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
44159 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
44160 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
44161 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
44162 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
44163 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
44164 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
44165 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
44166 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
44167 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
44168 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
44169 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
44170 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
44171 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
44172 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
44173 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
44174 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
44175 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
44176 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
44177 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
44178 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
44179 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
44180 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
44181 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
44182 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
44183 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
44184 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
44185 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
44186 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
44187 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
44188 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
44189 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
44190 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
44191 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
44192 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
44193 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
44194 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
44195 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
44196 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
44197 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
44198 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
44199 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
44200 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
44201 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
44202 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
44203 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
44204 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
44205 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
44206 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
44207 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
44208 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
44209 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
44210 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
44211 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
44212 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
44213 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
44214 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
44215 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
44216 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
44217 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
44218 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
44219 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
44220 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
44221 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
44222 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
44223 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
44224 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
44225 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
44226 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
44227 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
44228 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
44229 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
44230 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
44231 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
44232 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
44233 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
44234 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
44235 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
44236 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
44237 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
44238 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
44239 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
44240 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
44241 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
44242 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
44243 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
44244 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
44245 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
44246 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
44247 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
44248 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
44249 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
44250 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
44251 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
44252 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
44253 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
44254 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
44255 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
44256 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
44257 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
44258 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
44259 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
44260 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
44261 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
44262 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
44263 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
44264 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
44265 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
44266 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
44267 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
44268 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
44269 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
44270 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
44271 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
44272 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
44273 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
44274 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
44275 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
44276 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
44277 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
44278 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
44279 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
44280 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
44281 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
44282 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
44283 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
44284 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
44285 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
44286 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
44287 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
44288 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
44289 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
44290 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
44291 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
44292 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
44293 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
44294 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
44295 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
44296 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
44297 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
44298 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
44299 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
44300 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
44301 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
44302 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
44303 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
44304 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
44305 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
44306 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
44307 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
44308 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
44309 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
44310 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
44311 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
44312 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
44313 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
44314 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
44315 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
44316 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
44317 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
44318 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
44319 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
44320 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
44321 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
44322 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
44323 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
44324 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
44325 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
44326 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
44327 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
44328 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
44329 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
44330 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
44331 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
44332 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
44333 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
44334 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
44335 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
44336 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
44337 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
44338 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
44340 // Map renamed classes back to their common name for OOR
44341 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
44343 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
44344 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
44345 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
44346 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
44347 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
44348 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
44349 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
44350 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
44351 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
44352 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
44353 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
44354 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
44355 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
44356 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
44357 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
44358 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
44359 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
44360 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
44361 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
44362 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
44363 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
44364 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
44365 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
44366 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
44367 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
44368 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
44369 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
44370 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
44371 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
44372 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
44373 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
44374 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
44375 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
44376 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
44377 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
44378 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
44379 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
44380 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
44381 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
44382 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
44383 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
44384 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
44385 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
44386 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
44387 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
44388 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
44389 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
44390 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
44391 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
44392 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
44393 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
44394 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
44395 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
44396 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
44397 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
44399 // Map renamed classes back to their common name for OOR
44400 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
44401 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
44403 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
44404 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
44405 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
44406 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
44407 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
44408 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
44409 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
44410 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
44411 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
44412 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
44414 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
44416 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
44417 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
44418 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
44419 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
44420 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
44421 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));